aboutsummaryrefslogtreecommitdiffstats
path: root/main/x264/APKBUILD
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2014-06-26 21:21:10 +0200
committerBartłomiej Piotrowski <bpiotrowski@alpinelinux.org>2014-06-26 21:21:10 +0200
commit728c347fdb0b2613df3c6275ae6c8e0f5b6c3f54 (patch)
treeaaf388437c44b0470f8975f4302bf60022668fed /main/x264/APKBUILD
parent409f4a12f60b57d180eda76f27de799902530c3a (diff)
downloadaports-728c347fdb0b2613df3c6275ae6c8e0f5b6c3f54.tar.bz2
aports-728c347fdb0b2613df3c6275ae6c8e0f5b6c3f54.tar.xz
main/x264: upgrade to 20140625
Diffstat (limited to 'main/x264/APKBUILD')
-rw-r--r--main/x264/APKBUILD26
1 files changed, 14 insertions, 12 deletions
diff --git a/main/x264/APKBUILD b/main/x264/APKBUILD
index e766e0ac34..9e23509312 100644
--- a/main/x264/APKBUILD
+++ b/main/x264/APKBUILD
@@ -1,14 +1,14 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=x264
-pkgver=20130409
-pkgrel=2
+pkgver=20140625
+pkgrel=0
pkgdesc="free library for encoding H264/AVC video streams"
url="http://www.videolan.org/developers/x264.html"
arch="all"
license="GPL"
depends=
-makedepends="libx11-dev bash yasm coreutils"
-subpackages="$pkgname-dev"
+makedepends="libx11-dev bash yasm coreutils perl"
+subpackages="$pkgname-dev $pkgname-libs"
source="ftp://ftp.videolan.org/pub/x264/snapshots/x264-snapshot-$pkgver-2245-stable.tar.bz2"
_builddir="$srcdir/$pkgname-snapshot-$pkgver-2245-stable"
@@ -17,16 +17,15 @@ build() {
local _asmopts=
case "$CARCH" in
- # x86 assembly contains TEXTRELs
- # arm neon assembly contains TEXTRELs
- x86 | arm*) _asmopts="--disable-asm"
+ # x86 assembly contains TEXTRELs
+ # arm neon assembly contains TEXTRELs
+ x86 | arm*) _asmopts="--disable-asm"
esac
# note: not autotools
./configure \
--host=$CHOST \
--prefix=/usr \
- --enable-visualize \
--enable-shared \
$_asmopts \
--enable-pic \
@@ -37,8 +36,11 @@ build() {
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" bindir=/usr/bin libdir=/usr/lib includedir=/usr/include install || return 1
+ make -C "$_builddir" DESTDIR="$pkgdir" \
+ bindir=/usr/bin libdir=/usr/lib includedir=/usr/include \
+ install || return 1
}
-md5sums="fa3e9e971eb3c8e87fbb217510a609e4 x264-snapshot-20130409-2245-stable.tar.bz2"
-sha256sums="f15628ce3a1c04d1b06cd04160515bf1ecf160cffa22349c435029ba88779bdf x264-snapshot-20130409-2245-stable.tar.bz2"
-sha512sums="7fdd47913209e8edc6e1e6e21b3054b6dae54fb5f29cf89693afc5d21fc9e6a1bd6882ee853e8c0b3b5934b0745d373db81a67a725dd9abeb40c91cb28647611 x264-snapshot-20130409-2245-stable.tar.bz2"
+
+md5sums="9921a42b9c5f75929fd47c3b3751d573 x264-snapshot-20140625-2245-stable.tar.bz2"
+sha256sums="2b8e83482560a77873ffef70a96a3b324815450a96223128a619db71ff9abdb4 x264-snapshot-20140625-2245-stable.tar.bz2"
+sha512sums="36ee67fb15fb541bec0ea7d38a44a5cf618b6b5a7426581a6039bdb5c1444a47cae8b346d66e4b6856d053138e79132636c1c83234014517296f779bda672cf5 x264-snapshot-20140625-2245-stable.tar.bz2"