Commit c676cda0 authored by Timo Teräs's avatar Timo Teräs

main/audacity: fix arm build

SSE is intel only, but still needs to be explicitly disabled
for audacity to compile on arm
parent 25c75bab
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=audacity pkgname=audacity
pkgver=2.0.6 pkgver=2.0.6
pkgrel=0 pkgrel=1
pkgdesc="Multitrack audio editor" pkgdesc="Multitrack audio editor"
url="http://audacity.sourceforge.net" url="http://audacity.sourceforge.net"
arch="all" arch="all"
...@@ -29,7 +29,15 @@ prepare() { ...@@ -29,7 +29,15 @@ prepare() {
} }
build() { build() {
local _arch
cd "$_builddir" cd "$_builddir"
case "$CTARGET" in
x86|x86_64) _arch="--enable-sse";;
*) _arch="--disable-sse";;
esac
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \
...@@ -39,6 +47,7 @@ build() { ...@@ -39,6 +47,7 @@ build() {
--with-libsndfile=system \ --with-libsndfile=system \
--with-libsamplerate=system \ --with-libsamplerate=system \
--without-libresample \ --without-libresample \
$_arch \
|| return 1 || return 1
make || return 1 make || return 1
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment