diff options
author | Timo Teräs <timo.teras@iki.fi> | 2014-12-03 13:24:01 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2014-12-03 13:28:32 +0000 |
commit | c676cda05a92b78d7962d8ed4ea69de730ed900d (patch) | |
tree | dd62b862839258f918352e9f47ac043a18c0127b | |
parent | 25c75bab5e291a83f9d15dcab19005328da39125 (diff) | |
download | aports-c676cda05a92b78d7962d8ed4ea69de730ed900d.tar.bz2 aports-c676cda05a92b78d7962d8ed4ea69de730ed900d.tar.xz |
main/audacity: fix arm build
SSE is intel only, but still needs to be explicitly disabled
for audacity to compile on arm
-rw-r--r-- | main/audacity/APKBUILD | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/main/audacity/APKBUILD b/main/audacity/APKBUILD index 6e43b827ea..6137501f62 100644 --- a/main/audacity/APKBUILD +++ b/main/audacity/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=audacity pkgver=2.0.6 -pkgrel=0 +pkgrel=1 pkgdesc="Multitrack audio editor" url="http://audacity.sourceforge.net" arch="all" @@ -29,7 +29,15 @@ prepare() { } build() { + local _arch + cd "$_builddir" + + case "$CTARGET" in + x86|x86_64) _arch="--enable-sse";; + *) _arch="--disable-sse";; + esac + ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -39,6 +47,7 @@ build() { --with-libsndfile=system \ --with-libsamplerate=system \ --without-libresample \ + $_arch \ || return 1 make || return 1 } |