summaryrefslogtreecommitdiff
path: root/user/mlt/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-08-01 17:40:15 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-08-01 17:40:15 -0500
commit26baf6ee4e010ad434c4b3c3d4bd4c7ebf981ecc (patch)
tree6f37299ada9aaf625c7d4f16cb2d225b3e1c26c5 /user/mlt/APKBUILD
parent214c81603081e7dd9b3ec0981a6154be1e44ee0a (diff)
downloadpackages-26baf6ee4e010ad434c4b3c3d4bd4c7ebf981ecc.tar.gz
packages-26baf6ee4e010ad434c4b3c3d4bd4c7ebf981ecc.tar.bz2
packages-26baf6ee4e010ad434c4b3c3d4bd4c7ebf981ecc.tar.xz
packages-26baf6ee4e010ad434c4b3c3d4bd4c7ebf981ecc.zip
user/mlt: fix pmmx build
Diffstat (limited to 'user/mlt/APKBUILD')
-rw-r--r--user/mlt/APKBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/user/mlt/APKBUILD b/user/mlt/APKBUILD
index 39f3fb299..0e2bda030 100644
--- a/user/mlt/APKBUILD
+++ b/user/mlt/APKBUILD
@@ -18,6 +18,12 @@ source="https://github.com/mltframework/mlt/releases/download/v$pkgver/mlt-$pkgv
build() {
cd "$builddir"
+ local _maybe_asm=""
+
+ case $CTARGET_ARCH in
+ pmmx) _maybe_asm="--disable-sse --target-arch=i586" ;;
+ esac
+
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -29,7 +35,8 @@ build() {
--enable-motion-est \
--enable-gpl \
--enable-gpl3 \
- --disable-rtaudio
+ --disable-rtaudio \
+ $_maybe_asm
make
}