From 58ec56d569c43f81c2d76b8fc419d239a30af3b1 Mon Sep 17 00:00:00 2001 From: Minecrell Date: Tue, 31 Mar 2020 15:50:49 +0200 Subject: community/x264: enable ASM for arm* Text relocations were removed on ARM in https://code.videolan.org/videolan/x264/-/commit/df51d8efa8ce9afcedda64acc69c1dba2648716d --- community/x264/APKBUILD | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/community/x264/APKBUILD b/community/x264/APKBUILD index dfeeaaa496e..f7471b909f6 100644 --- a/community/x264/APKBUILD +++ b/community/x264/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa pkgname=x264 pkgver=20191119 -pkgrel=0 +pkgrel=1 pkgdesc="Free library for encoding H264/AVC video streams" url="http://www.videolan.org/developers/x264.html" arch="all" @@ -12,13 +12,10 @@ source="https://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot- builddir="$srcdir/$pkgname-snapshot-$pkgver-2245-stable" build() { - cd "$builddir" - local asmopts= case "$CARCH" in # x86 assembly contains TEXTRELs - # arm neon assembly contains TEXTRELs - x86 | arm*) asmopts="--disable-asm";; + x86) asmopts="--disable-asm";; # mips targets are soft-float mips*) asmopts="--disable-asm";; @@ -37,14 +34,10 @@ build() { } check() { - cd "$builddir" - ./x264 --version } package() { - cd "$builddir" - make DESTDIR="$pkgdir" \ bindir=/usr/bin libdir=/usr/lib includedir=/usr/include \ install -- cgit v1.2.3