diff options
Diffstat (limited to 'user/x264')
-rw-r--r-- | user/x264/APKBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/user/x264/APKBUILD b/user/x264/APKBUILD index 81412a1bb..edae76ade 100644 --- a/user/x264/APKBUILD +++ b/user/x264/APKBUILD @@ -8,7 +8,9 @@ arch="all" license="GPL-2.0+" options="textrels" makedepends="bash coreutils libx11-dev perl" -[ $CARCH == x86_64 ] && makedepends="$makedepends yasm" +case $CTARGET_ARCH in + x86_64) makedepends="$makedepends yasm";; +esac subpackages="$pkgname-dev $pkgname-libs" source="ftp://ftp.videolan.org/pub/x264/snapshots/x264-snapshot-$pkgver-2245-stable.tar.bz2" builddir="$srcdir/$pkgname-snapshot-$pkgver-2245-stable" @@ -19,7 +21,7 @@ build() { local asmopts= case "$CARCH" in # ppc requires AltiVec, we run on G3s - ppc) asmopts="--disable-asm" ;; + ppc | pmmx) asmopts="--disable-asm" ;; # VSX was added in power8 ppc64) asmopts="--disable-vsx" ;; esac |