forked from ports/contrib
43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
# Description: Complete solution to record, convert and stream audio and video.
|
|
# URL: http://ffmpeg.mplayerhq.hu/
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
# Packager: Matt Housh, jaeger at crux dot nu
|
|
# Depends on: faac imlib2 lame libsdl libtheora libxvid x264 opencore-amr speex libva
|
|
|
|
name=ffmpeg
|
|
version=20110206
|
|
release=1
|
|
source=(http://www.hvlinux.net/crux/distfiles/$name/$name-$version-r26402.tar.xz)
|
|
|
|
build() {
|
|
cd $name
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--enable-vaapi \
|
|
--enable-gpl \
|
|
--enable-version3 \
|
|
--enable-avfilter \
|
|
--enable-libopencore-amrnb \
|
|
--enable-libopencore-amrwb \
|
|
--enable-libfaac \
|
|
--enable-libmp3lame \
|
|
--enable-libspeex \
|
|
--enable-libtheora \
|
|
--enable-libvorbis \
|
|
--enable-libx264 \
|
|
--enable-libxvid \
|
|
--enable-shared \
|
|
--enable-pthreads \
|
|
--enable-postproc \
|
|
--enable-x11grab \
|
|
--enable-nonfree \
|
|
--disable-debug \
|
|
--disable-static \
|
|
--disable-doc
|
|
|
|
make SHARED_PP='yes'
|
|
make DESTDIR=$PKG install install-man
|
|
}
|