summaryrefslogtreecommitdiffstats
path: root/main/ffmpeg/APKBUILD
diff options
context:
space:
mode:
authorAndrew Manison <amanison@anselsystems.com>2010-06-19 09:05:29 +0000
committerAndrew Manison <amanison@anselsystems.com>2010-06-19 09:05:29 +0000
commitcd39cdcaac4bb080e939cd79288a3fa626528f7f (patch)
tree9ff9f55a84f988b8095d02240e74ae91eddd3e24 /main/ffmpeg/APKBUILD
parent85fd77589be2f6c970ca6895afa1520e0a2fda04 (diff)
parentbf31029cd1255d11b787a857a103139ddbe2b29d (diff)
downloadaports-cd39cdcaac4bb080e939cd79288a3fa626528f7f.tar.bz2
aports-cd39cdcaac4bb080e939cd79288a3fa626528f7f.tar.xz
Merge remote branch 'alpine/master'
Diffstat (limited to 'main/ffmpeg/APKBUILD')
-rw-r--r--main/ffmpeg/APKBUILD26
1 files changed, 15 insertions, 11 deletions
diff --git a/main/ffmpeg/APKBUILD b/main/ffmpeg/APKBUILD
index 840d01f6f..6d1dcd4d5 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"