diff options
author | Ivan Tham <pickfire@riseup.net> | 2017-04-30 02:07:28 +0800 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-06-02 09:35:00 +0000 |
commit | ec7467941724236b6e718bea6a237736f11339db (patch) | |
tree | 5b65b4e3a8632fedad4947ed519eedea5868a6a4 /main/x265 | |
parent | 0f110a34260bcb904cc4279d857b56dbb7949b68 (diff) | |
download | aports-ec7467941724236b6e718bea6a237736f11339db.tar.bz2 aports-ec7467941724236b6e718bea6a237736f11339db.tar.xz |
main/x265: upgrade to 2.4
Diffstat (limited to 'main/x265')
-rw-r--r-- | main/x265/APKBUILD | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/main/x265/APKBUILD b/main/x265/APKBUILD index c12fa13a4c..a0a16572c0 100644 --- a/main/x265/APKBUILD +++ b/main/x265/APKBUILD @@ -1,32 +1,20 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=x265 -pkgver=2.3 +pkgver=2.4 pkgrel=0 pkgdesc="Open Source H265/HEVC video encoder" url="https://bitbucket.org/multicoreware/x265" arch="all" license="GPL" depends="" -depends_dev="" makedepends="$depends_dev cmake yasm" -install="" subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://bitbucket.org/multicoreware/$pkgname/downloads/${pkgname}_${pkgver}.tar.gz" - -_builddir="$srcdir"/x265_$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/x265_$pkgver build() { - cd "$_builddir"/build/linux + cd "$builddir"/build/linux local CMAKE_OPS="-DCMAKE_INSTALL_PREFIX=/usr" # has textrel on x86 so we disable asm if [ "$CARCH" = x86 ] ; then @@ -39,8 +27,8 @@ build() { } package() { - cd "$_builddir"/build/linux + cd "$builddir"/build/linux make DESTDIR="$pkgdir" install || return 1 } -sha512sums="c863e4bd95323baf5c1ee388c2d9e460749940b947a795e0bce7bffab620258fb7aafbbf2956225491f4532f715392df3d40f19301964e00c3ac2971cd7d8809 x265-2.3.tar.gz" +sha512sums="40d0e57104839454226cdba928806c12e533eade391a89e9587e1f9c11b8fd70cc54d20136a09a1127784fe7799c80425617280076b29e1a1ffff7ce44f07dbe x265-2.4.tar.gz" |