diff options
Diffstat (limited to 'community/jack2')
-rw-r--r-- | community/jack2/PKGBUILD | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/community/jack2/PKGBUILD b/community/jack2/PKGBUILD index 9507e7317..1f876dec7 100644 --- a/community/jack2/PKGBUILD +++ b/community/jack2/PKGBUILD @@ -10,12 +10,15 @@ pkgname=('jack2' 'jack2-dbus') _tarname=jack pkgver=1.9.8 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') makedepends=('python2' 'doxygen' 'libffado' 'libsamplerate' 'dbus-core' 'celt') +[ "$CARCH" = "mips64el" ] && \ +makedepends=('python2' 'doxygen' + 'libsamplerate' 'dbus-core' 'celt') source=("http://www.grame.fr/~letz/$_tarname-$pkgver.tgz" '99-audio.conf' '40-hpet-permissions.rules') @@ -29,9 +32,14 @@ _pyfix() { } _wafconf() { + if [ "$CARCH" = "mips64el" ]; then + firewire="" + else + firewire=--firewire + fi python2 waf configure --prefix=/usr \ --alsa \ - --firewire \ + $firewire \ --doxygen $@ } @@ -75,6 +83,10 @@ package_jack2() { optdepends=('libffado: FireWire support' 'dbus-core: jackdbus' 'python2: jack_control') +[ "$CARCH" = "mips64el" ] && \ + optdepends=('celt: NetJACK2 driver' + 'dbus-core: jackdbus' + 'python2: jack_control') conflicts=('jack') provides=('jack' 'jackmp' 'jackdmp' 'jackdbus') @@ -101,6 +113,9 @@ package_jack2-dbus() { depends=('libsamplerate' 'celt' 'dbus-core') optdepends=('libffado: FireWire support' 'python2: jack_control') +[ "$CARCH" = "mips64el" ] && \ + optdepends=('celt: NetJACK2 driver' + 'python2: jack_control') conflicts=('jack' 'jack2') provides=('jack' 'jack2' 'jackmp' 'jackdmp' 'jackdbus') |