diff options
Diffstat (limited to 'x11')
-rw-r--r-- | x11/x264/APKBUILD | 25 |
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" |