aboutsummaryrefslogtreecommitdiffstats
path: root/main/ffmpeg
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-25 20:09:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-25 20:09:49 +0000
commit4ecf0f9e1b9dc12bc70eb47a3966cfa75633b737 (patch)
tree3262641e993f0c9c7743f549c7c76f8b0a463a19 /main/ffmpeg
parent54462fbda0b8d6e16b85cd92f0605b0ba979dedf (diff)
downloadaports-4ecf0f9e1b9dc12bc70eb47a3966cfa75633b737.tar.bz2
aports-4ecf0f9e1b9dc12bc70eb47a3966cfa75633b737.tar.xz
main/ffmpeg: upgrade to 20100108
Diffstat (limited to 'main/ffmpeg')
-rw-r--r--main/ffmpeg/APKBUILD19
1 files changed, 12 insertions, 7 deletions
diff --git a/main/ffmpeg/APKBUILD b/main/ffmpeg/APKBUILD
index fcad6fe1b3..e0052d8211 100644
--- a/main/ffmpeg/APKBUILD
+++ b/main/ffmpeg/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ffmpeg
-pkgver=0.5
+pkgver=20100108
pkgrel=0
pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix"
url="http://ffmpeg.mplayerhq.hu/"
@@ -9,12 +9,12 @@ 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"
depends=""
-source="http://$pkgname.mplayerhq.hu/releases/$pkgname-$pkgver.tar.bz2
+source="ftp://ftp.archlinux.org/other/ffmpeg/ffmpeg-${pkgver}-21104.tar.bz2
pic.patch"
-build ()
-{
- cd "$srcdir/$pkgname-$pkgver" || return 1
+_builddir="$srcdir"/$pkgname
+build() {
+ cd "$_builddir"
patch -p1 < ../pic.patch || return 1
./configure --prefix=/usr \
@@ -26,6 +26,7 @@ build ()
--enable-libxvid \
--enable-libx264 \
--enable-libtheora \
+ --enable-nonfree \
--enable-postproc \
--enable-shared \
--enable-pthreads \
@@ -33,13 +34,17 @@ build ()
--disable-mmx \
--disable-mmx2 \
--disable-stripping \
- --enable-swscale || return 1
+ || return 1
make || return 1
make tools/qt-faststart || return 1
make doc/ffmpeg.1 doc/ffplay.1 doc/ffserver.1 || return 1
+}
+
+package() {
+ cd "$_builddir"
make DESTDIR="$pkgdir" install install-man || return 1
install -D -m755 tools/qt-faststart "$pkgdir/usr/bin/qt-faststart" || return 1
# strip --strip-debug "$pkgdir"/usr/lib/*.a || return 1
}
-md5sums="be8503f15c3b81ba00eb8379ca8dcf33 ffmpeg-0.5.tar.bz2
+md5sums="1b90259dc8cb08ce64c37f650ba715a0 ffmpeg-20100108-21104.tar.bz2
3c5d446db8d512a3bca5f5a860bbcc04 pic.patch"