summaryrefslogtreecommitdiff
path: root/community/jack2
diff options
context:
space:
mode:
Diffstat (limited to 'community/jack2')
-rw-r--r--community/jack2/PKGBUILD12
1 files changed, 11 insertions, 1 deletions
diff --git a/community/jack2/PKGBUILD b/community/jack2/PKGBUILD
index 6a7b489f7..26d285379 100644
--- a/community/jack2/PKGBUILD
+++ b/community/jack2/PKGBUILD
@@ -10,7 +10,7 @@ pkgname=('jack2' 'jack2-dbus')
_tarname=jack
pkgver=1.9.9.5
pkgrel=1
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://jackaudio.org/"
backup=(etc/security/limits.d/99-audio.conf)
license=('GPL')
@@ -29,6 +29,11 @@ _pyfix() {
}
_wafconf() {
+ if [ "$CARCH" = "mips64el" ]; then
+ firewire=""
+ else
+ firewire=--firewire
+ fi
python2 waf configure --prefix=/usr \
--alsa \
--firewire $@
@@ -83,6 +88,9 @@ package_jack2() {
optdepends=('libffado: FireWire support'
'dbus-core: jackdbus'
'python2: jack_control')
+[ "$CARCH" = "mips64el" ] && \
+ optdepends=('dbus-core: jackdbus'
+ 'python2: jack_control')
conflicts=('jack')
provides=('jack' 'jackmp' 'jackdmp' 'jackdbus')
@@ -109,6 +117,8 @@ package_jack2-dbus() {
depends=('libsamplerate' 'celt' 'dbus-core')
optdepends=('libffado: FireWire support'
'python2: jack_control')
+[ "$CARCH" = "mips64el" ] && \
+ optdepends=('python2: jack_control')
conflicts=('jack' 'jack2')
provides=('jack' 'jack2' 'jackmp' 'jackdmp' 'jackdbus')