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 @@
# 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
}
......
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