diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/ffmpeg | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core-testing/ffmpeg')
-rw-r--r-- | abs/core-testing/ffmpeg/PKGBUILD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/abs/core-testing/ffmpeg/PKGBUILD b/abs/core-testing/ffmpeg/PKGBUILD new file mode 100644 index 0000000..463fa98 --- /dev/null +++ b/abs/core-testing/ffmpeg/PKGBUILD @@ -0,0 +1,48 @@ +# $Id: PKGBUILD 5671 2008-07-20 05:09:25Z eric $ +# Contributor: Tom Newsom <Jeepster@gmx.co.uk> +# Maintainer: Paul Mattal <paul@archlinux.org> + +pkgname=ffmpeg +pkgver=20080715 +pkgrel=3 +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>=20080625' '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: |