2013-02-15 12:35:13 +11:00
|
|
|
# Description: Complete solution to record, convert and stream audio and video.
|
|
|
|
# URL: http://ffmpeg.org/
|
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
|
|
# Depends on: faac imlib2 lame libsdl libtheora libxvid x264 opencore-amr speex libva
|
|
|
|
|
|
|
|
name=ffmpeg-compat
|
2014-05-18 21:21:42 +10:00
|
|
|
version=0.10.12
|
2013-02-15 12:35:13 +11:00
|
|
|
release=1
|
|
|
|
source=(http://ffmpeg.org/releases/ffmpeg-$version.tar.bz2)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ffmpeg-$version
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--incdir=/usr/include/$name \
|
|
|
|
--libdir=/usr/lib/$name \
|
|
|
|
--shlibdir=/usr/lib/$name \
|
|
|
|
--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-doc
|
|
|
|
|
2013-05-21 00:23:37 +10:00
|
|
|
[ "$CC" ] || CC=gcc
|
|
|
|
make CC="$CC" SHARED_PP='yes' $MAKEFLAGS
|
2013-02-15 12:35:13 +11:00
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
rm -r $PKG/usr/{bin,share}
|
|
|
|
}
|