mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/x265 arm patch fix
This commit is contained in:
parent
db1d4f5f4a
commit
3721cb01cb
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ url='https://bitbucket.org/multicoreware/x265'
|
||||||
source=($url/get/$pkgver.tar.bz2
|
source=($url/get/$pkgver.tar.bz2
|
||||||
arm.patch)
|
arm.patch)
|
||||||
md5sums=('80efe963d3460caa051fe0b10d36bc10'
|
md5sums=('80efe963d3460caa051fe0b10d36bc10'
|
||||||
'84b4f95a14040711d298c1abfc4e373a')
|
'b34f36b81f351061fa83ef7ef1a30956')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd multicoreware-x265-*
|
cd multicoreware-x265-*
|
||||||
|
|
|
@ -5,7 +5,7 @@ diff -urN a/source/CMakeLists.txt b/source/CMakeLists.txt
|
||||||
set(X64 1)
|
set(X64 1)
|
||||||
add_definitions(-DX86_64=1)
|
add_definitions(-DX86_64=1)
|
||||||
endif()
|
endif()
|
||||||
+elseif(${SYSPROC} STREQUAL "armv5.*")
|
+elseif(${SYSPROC} MATCHES "armv5.*")
|
||||||
+ message(STATUS "Detected ARMV5 system processor")
|
+ message(STATUS "Detected ARMV5 system processor")
|
||||||
+ set(ARMV5 1)
|
+ set(ARMV5 1)
|
||||||
+ add_definitions(-DX265_ARCH_ARM=1 -DHAVE_ARMV6=0 -DHAVE_NEON=0)
|
+ add_definitions(-DX265_ARCH_ARM=1 -DHAVE_ARMV6=0 -DHAVE_NEON=0)
|
||||||
|
|
Loading…
Reference in a new issue