summaryrefslogtreecommitdiff
path: root/extra/ardour/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ardour/PKGBUILD')
-rw-r--r--extra/ardour/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/extra/ardour/PKGBUILD b/extra/ardour/PKGBUILD
index c153916c9..873ae87db 100644
--- a/extra/ardour/PKGBUILD
+++ b/extra/ardour/PKGBUILD
@@ -14,7 +14,7 @@ pkgname=ardour
pkgver=2.8.16
pkgrel=1
pkgdesc="A multichannel hard disk recorder and digital audio workstation"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://ardour.org/"
license=('GPL')
depends=('liblrdf' 'libusb-compat' 'liblo' 'soundtouch'
@@ -41,12 +41,16 @@ build() {
CXXFLAGS+=" -DBOOST_SYSTEM_NO_DEPRECATED"
export CFLAGS CXXFLAGS
+ # All unknown arches are considered i686 with SSE.
+ [ "$CARCH" == "mips64el" ] && extra="DIST_TARGET=none"
+
scons $MAKEFLAGS ARCH="${CFLAGS/-O[0-9]/-O3}" \
PREFIX="/usr" \
DIST_LIBDIR="lib" \
FREEDESKTOP=0 \
FREESOUND=1 \
- SYSLIBS=1
+ SYSLIBS=1 \
+ $extra
}
package() {