2008-08-26 20:51:46 +10:00
|
|
|
# Description: Complete solution to record, convert and stream audio and video.
|
2006-12-01 14:55:49 -06:00
|
|
|
# URL: http://ffmpeg.mplayerhq.hu/
|
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
|
2010-11-14 03:51:41 +11:00
|
|
|
version=20101114
|
2010-11-14 18:28:47 +11:00
|
|
|
release=2
|
2010-11-14 03:51:41 +11:00
|
|
|
source=(http://www.hvlinux.net/crux/distfiles/$name/$name-$version-r25748.tar.xz)
|
2006-12-01 14:55:49 -06:00
|
|
|
|
|
|
|
build() {
|
2009-12-26 16:24:48 +11:00
|
|
|
cd $name
|
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-avfilter-lavf \
|
|
|
|
--enable-libopencore-amrnb \
|
|
|
|
--enable-libopencore-amrwb \
|
2008-08-26 20:51:46 +10:00
|
|
|
--enable-libfaac \
|
|
|
|
--enable-libfaad \
|
|
|
|
--enable-libfaadbin \
|
|
|
|
--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
|
|
|
}
|