# $Id: PKGBUILD 5671 2008-07-20 05:09:25Z eric $ # Contributor: Tom Newsom # Maintainer: Paul Mattal pkgname=ffmpeg pkgver=20080715 pkgrel=4 pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix" arch=(i686 x86_64) url="http://ffmpeg.mplayerhq.hu/" license=('LGPL') depends=('lame' 'sdl' 'libvorbis' 'a52dec' 'faad2>=2.6.1' 'faac' 'xvidcore' 'zlib' 'imlib2' 'x264=20090108' 'libtheora') #remake snapshot with: svn export svn://svn.mplayerhq.hu/ffmpeg/trunk@14236 source=(ftp://ftp.archlinux.org/other/ffmpeg/ffmpeg-20080715-14236.tar.bz2) md5sums=('899ee3dd56a779b1152e48a94fde69f0') build() { cd "$srcdir/$pkgname" || return 1 ./configure \ --prefix=/usr \ --enable-gpl \ --enable-libmp3lame \ --enable-libvorbis \ --enable-libfaac \ --enable-libfaad \ --enable-liba52 \ --enable-libxvid \ --enable-libx264 \ --enable-libtheora \ --enable-postproc \ --enable-shared \ --enable-pthreads \ --enable-x11grab \ --enable-swscale \ || return 1 make -j 2 || return 1 make doc/ff{mpeg,play,server}.1 || return 1 make DESTDIR="$pkgdir" install || return 1 make DESTDIR="$pkgdir" install-man || return 1 # since makepkg currently declines to strip .a files, do this for now strip --strip-debug $startdir/pkg/usr/lib/*.a || return 1 } # vim:set ts=2 sw=2 et: