2008-08-26 20:51:46 +10:00
|
|
|
# Description: Complete solution to record, convert and stream audio and video.
|
2011-10-17 23:43:48 +11:00
|
|
|
# URL: http://ffmpeg.org/
|
2008-12-30 00:56:41 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
2008-08-26 20:51:46 +10:00
|
|
|
# Packager: Matt Housh, jaeger at crux dot nu
|
2010-11-14 18:28:47 +11:00
|
|
|
# Depends on: faac imlib2 lame libsdl libtheora libxvid x264 opencore-amr speex libva
|
2006-12-01 14:55:49 -06:00
|
|
|
|
|
|
|
name=ffmpeg
|
2011-10-17 23:43:48 +11:00
|
|
|
version=0.7.6
|
2011-02-06 14:04:50 +11:00
|
|
|
release=1
|
2011-10-17 23:43:48 +11:00
|
|
|
source=(http://ffmpeg.org/releases/$name-$version.tar.bz2)
|
2006-12-01 14:55:49 -06:00
|
|
|
|
|
|
|
build() {
|
2011-10-17 23:43:48 +11:00
|
|
|
cd $name-$version
|
2008-08-26 20:51:46 +10:00
|
|
|
|
2006-12-01 14:55:49 -06:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2008-08-26 20:51:46 +10:00
|
|
|
--mandir=/usr/man \
|
2010-11-14 18:28:47 +11:00
|
|
|
--enable-vaapi \
|
2006-12-01 14:55:49 -06:00
|
|
|
--enable-gpl \
|
2009-12-26 16:24:48 +11:00
|
|
|
--enable-version3 \
|
|
|
|
--enable-avfilter \
|
|
|
|
--enable-libopencore-amrnb \
|
|
|
|
--enable-libopencore-amrwb \
|
2008-08-26 20:51:46 +10:00
|
|
|
--enable-libfaac \
|
|
|
|
--enable-libmp3lame \
|
2009-12-26 16:24:48 +11:00
|
|
|
--enable-libspeex \
|
2008-08-26 20:51:46 +10:00
|
|
|
--enable-libtheora \
|
|
|
|
--enable-libvorbis \
|
|
|
|
--enable-libx264 \
|
|
|
|
--enable-libxvid \
|
2006-12-01 14:55:49 -06:00
|
|
|
--enable-shared \
|
2008-08-26 20:51:46 +10:00
|
|
|
--enable-pthreads \
|
|
|
|
--enable-postproc \
|
|
|
|
--enable-x11grab \
|
|
|
|
--enable-nonfree \
|
|
|
|
--disable-debug \
|
2009-12-26 16:24:48 +11:00
|
|
|
--disable-static \
|
|
|
|
--disable-doc
|
2008-08-26 20:51:46 +10:00
|
|
|
|
|
|
|
make SHARED_PP='yes'
|
2007-02-06 22:57:12 -06:00
|
|
|
make DESTDIR=$PKG install install-man
|
2006-12-01 14:55:49 -06:00
|
|
|
}
|