diff options
Diffstat (limited to 'main/ffmpeg/APKBUILD')
-rw-r--r-- | main/ffmpeg/APKBUILD | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/main/ffmpeg/APKBUILD b/main/ffmpeg/APKBUILD index 840d01f6f2..6d1dcd4d54 100644 --- a/main/ffmpeg/APKBUILD +++ b/main/ffmpeg/APKBUILD @@ -1,36 +1,40 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=ffmpeg -_svnrev=30526 -pkgver=0.5_svn$_svnrev -pkgrel=3 +pkgver=0.6 +pkgrel=0 pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix" url="http://ffmpeg.mplayerhq.hu/" license="GPL" subpackages="$pkgname-dev $pkgname-doc" makedepends="lame-dev libvorbis-dev faad2-dev faac-dev xvidcore-dev zlib-dev - imlib2-dev x264-dev libtheora-dev coreutils bzip2-dev perl" + imlib2-dev x264-dev libtheora-dev coreutils bzip2-dev perl libvpx-dev" depends= -source="ftp://ftp.archlinux.org/other/ffmpeg/ffmpeg-$_svnrev.tar.bz2 +source="http://ffmpeg.org/releases/ffmpeg-$pkgver.tar.bz2 pic.patch" -_builddir="$srcdir"/$pkgname -build() { +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { cd "$_builddir" - patch -p1 < ../pic.patch || return 1 + patch -p1 -i "$srcdir"/pic.patch +} +build() { + cd "$_builddir" ./configure --prefix=/usr \ --enable-gpl \ --enable-libmp3lame \ --enable-libvorbis \ --enable-libfaac \ --enable-libfaad \ + --enable-libvpx \ --enable-libxvid \ --enable-libx264 \ --enable-libtheora \ --enable-nonfree \ --enable-postproc \ - --enable-shared \ + --enable-pic \ --enable-pthreads \ + --enable-shared \ --enable-x11grab \ --disable-mmx \ --disable-mmx2 \ @@ -47,5 +51,5 @@ package() { install -D -m755 tools/qt-faststart "$pkgdir/usr/bin/qt-faststart" || return 1 # strip --strip-debug "$pkgdir"/usr/lib/*.a || return 1 } -md5sums="36710a8fa2bb91556c355aeb0e662c81 ffmpeg-30526.tar.bz2 -3c5d446db8d512a3bca5f5a860bbcc04 pic.patch" +md5sums="d6142a9a5821d6a6262a6edb903faa24 ffmpeg-0.6.tar.bz2 +d4870ae7350caed041d2b39e406a173b pic.patch" |