diff options
author | Minecrell <minecrell@minecrell.net> | 2020-03-31 15:50:49 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-03-31 18:47:00 +0000 |
commit | 58ec56d569c43f81c2d76b8fc419d239a30af3b1 (patch) | |
tree | 17482499512a2de0422433631c30df1d15f66665 /community | |
parent | 104e290b2e3f271694cab5d53b25621a0a418a43 (diff) | |
download | aports-58ec56d569c43f81c2d76b8fc419d239a30af3b1.tar.bz2 aports-58ec56d569c43f81c2d76b8fc419d239a30af3b1.tar.xz |
community/x264: enable ASM for arm*
Text relocations were removed on ARM in
https://code.videolan.org/videolan/x264/-/commit/df51d8efa8ce9afcedda64acc69c1dba2648716d
Diffstat (limited to 'community')
-rw-r--r-- | community/x264/APKBUILD | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/community/x264/APKBUILD b/community/x264/APKBUILD index dfeeaaa496..f7471b909f 100644 --- a/community/x264/APKBUILD +++ b/community/x264/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> 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 |