contrib/ffmpeg/Pkgfile
2006-12-01 14:55:49 -06:00

37 lines
910 B
Plaintext

# Description: Complete solution to record, convert and stream audio and video
# URL: http://ffmpeg.mplayerhq.hu/
# Maintainer: Matt Housh, jaeger at crux dot nu
# Depends on: imlib2, lame, libsdl, libvorbis, libogg, libxvid, faac
name=ffmpeg
version=20050806
release=1
source=(http://www1.mplayerhq.hu/MPlayer/old_stuff/snapshots/FFmpeg/2005/FFmpeg-$version.tar.bz2)
build() {
cd FFMpeg-$version
./configure \
--prefix=/usr \
--enable-mp3lame \
--enable-libogg \
--enable-ogg \
--enable-vorbis \
--enable-a52 \
--enable-xvid \
--enable-faad \
--enable-faadbin \
--enable-faac \
--enable-gpl \
--enable-shared \
--enable-pp \
--enable-shared-pp \
--extra-ldflags="-L/usr/X11R6/lib -L/usr/lib/X11 -lX11"
make
( cd doc; make ffmpeg.1 ffserver.1 ffplay.1 )
make install installlib \
prefix=$PKG/usr \
bindir=$PKG/usr/bin \
mandir=$PKG/usr/man \
libdir=$PKG/usr/lib
}