summaryrefslogtreecommitdiff
path: root/extra/audacity
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-06-30 22:41:19 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-06-30 22:41:19 +0200
commite308bd57b6581c2a63fda9e7eccdb4ca0d1dc776 (patch)
tree15c03302aa5d90f281824111a01ebf30abaa439e /extra/audacity
parent1b6914143017780c2912f861201a3cf005d5f08e (diff)
Disable SSE for audacity on mips64el.
Diffstat (limited to 'extra/audacity')
-rw-r--r--extra/audacity/PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/extra/audacity/PKGBUILD b/extra/audacity/PKGBUILD
index 9601a26ac..8bb25db14 100644
--- a/extra/audacity/PKGBUILD
+++ b/extra/audacity/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=audacity
pkgver=2.0.1
pkgrel=1
pkgdesc="A program that lets you manipulate digital audio waveforms"
-arch=(mips64el)
+arch=('i686' 'x86_64' 'mips64el')
url="http://audacity.sourceforge.net/"
license=('GPL')
depends=('libmad' 'libid3tag' 'wxgtk' 'lame' 'hicolor-icon-theme'
@@ -17,13 +17,14 @@ sha1sums=('366a10f3bd71c4d84c29437fff1e27a8560f691b')
build() {
cd "${srcdir}/${pkgname}-src-${pkgver}"
+ [ "$CARCH" = "mips64el" ] && extra="--disable-sse"
WX_CONFIG=/usr/bin/wx-config ./configure --prefix=/usr \
--with-portaudio --with-libsamplerate \
--without-libresample --with-libmad \
--with-ffmpeg --with-id3tag --with-libflac \
--with-vorbis --with-libexpat \
--with-libsndfile --with-soundtouch \
- --enable-unicode --without-taglib
+ --enable-unicode --without-taglib $extra
make
}