diff options
Diffstat (limited to 'community/x265')
-rw-r--r-- | community/x265/APKBUILD | 8 | ||||
-rw-r--r-- | community/x265/fix_parsecpuname.patch | 11 |
2 files changed, 16 insertions, 3 deletions
diff --git a/community/x265/APKBUILD b/community/x265/APKBUILD index c14ff616b0..1aaf461dc5 100644 --- a/community/x265/APKBUILD +++ b/community/x265/APKBUILD @@ -2,14 +2,15 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=x265 pkgver=2.8 -pkgrel=0 +pkgrel=1 pkgdesc="Open Source H265/HEVC video encoder" url="http://x265.org" arch="all" license="GPL-2.0-or-later" makedepends="cmake nasm" subpackages="$pkgname-dev $pkgname-libs" -source="$pkgname-$pkgver.tar.gz::https://bitbucket.org/multicoreware/$pkgname/downloads/${pkgname}_${pkgver}.tar.gz" +source="$pkgname-$pkgver.tar.gz::https://bitbucket.org/multicoreware/$pkgname/downloads/${pkgname}_${pkgver}.tar.gz + fix_parsecpuname.patch" builddir="$srcdir/${pkgname}_$pkgver" build() { @@ -43,4 +44,5 @@ package() { make DESTDIR="$pkgdir" install } -sha512sums="c2a8eaec64aa022badcbcd2a96304a9abd9d08489300b6a9c4c9d76066f3d9848e6948238c84ae16ea91bff0b2fac528a67ee29950d94dcd0ea7c0e9e7baa714 x265-2.8.tar.gz" +sha512sums="c2a8eaec64aa022badcbcd2a96304a9abd9d08489300b6a9c4c9d76066f3d9848e6948238c84ae16ea91bff0b2fac528a67ee29950d94dcd0ea7c0e9e7baa714 x265-2.8.tar.gz +fe80a030d399662219d98399bb9372006902fcb74b84665fbf54c454ede4e62ef2fb4e5a60ad914f6def39fc665fd1150464a235a276a6cb0b5ecd050dd7d89b fix_parsecpuname.patch" diff --git a/community/x265/fix_parsecpuname.patch b/community/x265/fix_parsecpuname.patch new file mode 100644 index 0000000000..e1d9c9a9d2 --- /dev/null +++ b/community/x265/fix_parsecpuname.patch @@ -0,0 +1,11 @@ +--- a/source/common/param.cpp ++++ b/source/common/param.cpp +@@ -633,7 +633,7 @@ + if (bValueWasNull) + p->cpuid = atobool(value); + else +- p->cpuid = parseCpuName(value, bError); ++ p->cpuid = parseCpuName(value, bError, false); + #endif + } + OPT("fps") |