forked from ports/contrib
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
# Description: Complete solution to record, convert and stream audio and video.
|
|
# URL: http://ffmpeg.mplayerhq.hu/
|
|
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
|
# Packager: Matt Housh, jaeger at crux dot nu
|
|
# Depends on: amrnb amrwb liba52 faac imlib2 lame libsdl libtheora libxvid x264
|
|
|
|
name=ffmpeg
|
|
version=20080826
|
|
release=2
|
|
source=(http://www.dcaf-security.org/distfiles/$name-$version-14974.tar.bz2
|
|
ffmpeg-20080826-14974-missing-header.patch)
|
|
|
|
build() {
|
|
cd $name
|
|
patch -p 1 -i $SRC/ffmpeg-20080826-14974-missing-header.patch
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--enable-gpl \
|
|
--enable-liba52 \
|
|
--enable-liba52bin \
|
|
--enable-libfaac \
|
|
--enable-libfaad \
|
|
--enable-libfaadbin \
|
|
--enable-libmp3lame \
|
|
--enable-libtheora \
|
|
--enable-libvorbis \
|
|
--enable-libx264 \
|
|
--enable-libxvid \
|
|
--enable-shared \
|
|
--enable-pthreads \
|
|
--enable-postproc \
|
|
--enable-swscale \
|
|
--enable-x11grab \
|
|
--enable-libamr-nb \
|
|
--enable-libamr-wb \
|
|
--enable-nonfree \
|
|
--disable-debug \
|
|
--disable-static
|
|
|
|
make SHARED_PP='yes'
|
|
make DESTDIR=$PKG install install-man
|
|
}
|
|
|