x265: fix cross

The arm* and aarch64* architectures don't (yet) use any
acceleration or assembler code. All cross targets only
use the C implementations.
This commit is contained in:
Jürgen Buchmüller 2017-01-15 14:12:15 +01:00
parent 001d864368
commit 58c5cfd62b

View file

@ -12,8 +12,10 @@ homepage="http://x265.org/"
license="GPL-2"
distfiles="https://bitbucket.org/multicoreware/x265/downloads/x265_${version}.tar.gz"
checksum=b872552535e41fbffa03ba7cbcd3479c42c4053868309292e78e147b7773ac4b
nocross=yes
only_for_archs="i686 i686-musl x86_64 x86_64-musl" # CMakeList is utterly broken.
if [ -n "$CROSS_BUILD" ]; then
configure_args+=" -DCMAKE_SYSTEM_PROCESSOR=${CROSS_BUILD%-musl}"
fi
x265-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"