aboutsummaryrefslogtreecommitdiffstats
path: root/x11/x264
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-22 15:57:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-22 15:57:53 +0000
commit641526818eb9b9debd4a68c8c6889957e87c8ce1 (patch)
tree477ae6dc94591095eccce554db5497fe82d7f7bc /x11/x264
parentdf681663e7f6d9dc1b00d1b1383f56c154b556ba (diff)
downloadaports-641526818eb9b9debd4a68c8c6889957e87c8ce1.tar.bz2
aports-641526818eb9b9debd4a68c8c6889957e87c8ce1.tar.xz
x11/x264: new aport
free library for encoding H264/AVC video streams http://www.videolan.org/developers/x264.html
Diffstat (limited to 'x11/x264')
-rw-r--r--x11/x264/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/x11/x264/APKBUILD b/x11/x264/APKBUILD
new file mode 100644
index 0000000000..aa10d5d993
--- /dev/null
+++ b/x11/x264/APKBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=x264
+pkgver=20090706
+pkgrel=0
+pkgdesc="free library for encoding H264/AVC video streams"
+url="http://www.videolan.org/developers/x264.html"
+license="GPL"
+depends=
+makedepends="libx11-dev"
+subpackages="$pkgname-dev"
+source="http://ftp.videolan.org/pub/videolan/$pkgname/snapshots/$pkgname-snapshot-$pkgver-2245.tar.bz2"
+
+build ()
+{
+ cd "$srcdir/$pkgname-snapshot-$pkgver-2245" || return 1
+ ./configure --prefix=/usr \
+ --enable-pthread \
+ --enable-visualize \
+ --enable-shared \
+ --disable-asm \
+ --enable-pic || return 1
+ make || return 1
+ make DESTDIR="$pkgdir" bindir=/usr/bin libdir=/usr/lib includedir=/usr/include install || return 1
+}
+md5sums="1b321022c9b023d520714d1e5153b1f6 x264-snapshot-20090706-2245.tar.bz2"