diff options
Diffstat (limited to 'community/jack2/PKGBUILD')
-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 c6b75a3b4..f457100d7 100644 --- a/community/jack2/PKGBUILD +++ b/community/jack2/PKGBUILD @@ -10,12 +10,15 @@ pkgname=('jack2' 'jack2-dbus') _tarname=jack pkgver=1.9.7 pkgrel=3 -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.tar.bz2" '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 $@ } @@ -76,6 +84,10 @@ package_jack2() { 'celt: NetJACK2 driver' 'dbus-core: jackdbus' 'python2: jack_control') +[ "$CARCH" = "mips64el" ] && \ + optdepends=('celt: NetJACK2 driver' + 'dbus-core: jackdbus' + 'python2: jack_control') conflicts=('jack') provides=('jack' 'jack-audio-connection-kit' 'jackmp' 'jackdmp' 'jackdbus') @@ -104,6 +116,9 @@ package_jack2-dbus() { optdepends=('libffado: FireWire support' 'celt: NetJACK2 driver' 'python2: jack_control') +[ "$CARCH" = "mips64el" ] && \ + optdepends=('celt: NetJACK2 driver' + 'python2: jack_control') conflicts=('jack' 'jack2') provides=('jack' 'jack2' 'jack-audio-connection-kit' 'jackmp' 'jackdmp' 'jackdbus') |