extra/x265 arm patch fix

This commit is contained in:
Kevin Mihelich 2014-05-06 12:46:34 +00:00
parent db1d4f5f4a
commit 3721cb01cb
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ url='https://bitbucket.org/multicoreware/x265'
source=($url/get/$pkgver.tar.bz2
arm.patch)
md5sums=('80efe963d3460caa051fe0b10d36bc10'
'84b4f95a14040711d298c1abfc4e373a')
'b34f36b81f351061fa83ef7ef1a30956')
prepare() {
cd multicoreware-x265-*

View file

@ -5,7 +5,7 @@ diff -urN a/source/CMakeLists.txt b/source/CMakeLists.txt
set(X64 1)
add_definitions(-DX86_64=1)
endif()
+elseif(${SYSPROC} STREQUAL "armv5.*")
+elseif(${SYSPROC} MATCHES "armv5.*")
+ message(STATUS "Detected ARMV5 system processor")
+ set(ARMV5 1)
+ add_definitions(-DX265_ARCH_ARM=1 -DHAVE_ARMV6=0 -DHAVE_NEON=0)