summaryrefslogtreecommitdiff
path: root/extra/audacity/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/audacity/PKGBUILD')
-rw-r--r--extra/audacity/PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/extra/audacity/PKGBUILD b/extra/audacity/PKGBUILD
index 92c46ae73..fc91e0526 100644
--- a/extra/audacity/PKGBUILD
+++ b/extra/audacity/PKGBUILD
@@ -5,7 +5,7 @@ pkgname=audacity
pkgver=2.0.2
pkgrel=1
pkgdesc="A program that lets you manipulate digital audio waveforms"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://audacity.sourceforge.net/"
license=('GPL')
depends=('libmad' 'libid3tag' 'wxgtk' 'lame' 'hicolor-icon-theme'
@@ -17,6 +17,9 @@ sha1sums=('c5e4058346c96713a0d39fcd6b33f27137589b06')
build() {
cd "${srcdir}/${pkgname}-src-${pkgver}"
+
+ [ "$CARCH" = "mips64el" ] && extra="--disable-sse"
+
WX_CONFIG=/usr/bin/wx-config PKG_CONFIG_PATH+="/usr/lib/ffmpeg-compat/pkgconfig" \
./configure --prefix=/usr \
--with-portaudio --with-libsamplerate \
@@ -24,7 +27,7 @@ build() {
--with-ffmpeg --with-id3tag --with-libflac \
--with-vorbis --with-libexpat \
--with-libsndfile --with-soundtouch \
- --enable-unicode --without-taglib
+ --enable-unicode --without-taglib $extra
make
}