diff options
Diffstat (limited to 'community/jack2')
-rw-r--r-- | community/jack2/PKGBUILD | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/community/jack2/PKGBUILD b/community/jack2/PKGBUILD index 0546e39df..f03152b49 100644 --- a/community/jack2/PKGBUILD +++ b/community/jack2/PKGBUILD @@ -10,11 +10,12 @@ pkgname=('jack2' 'jack2-dbus') _tarname=jack pkgver=1.9.9.5 pkgrel=2 -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' 'libffado' 'celt' 'libsamplerate') +makedepends=('python2' 'celt' 'libsamplerate') +[ "$CARCH" != "mips64el" ] && makedepends+=('libffado') source=("https://dl.dropbox.com/u/28869550/jack-1.9.9.5.tar.bz2" '99-audio.conf' '40-hpet-permissions.rules') @@ -28,9 +29,14 @@ _pyfix() { } _wafconf() { + if [ "$CARCH" = "mips64el" ]; then + firewire="" + else + firewire=--firewire + fi python2 waf configure --prefix=/usr \ --alsa \ - --firewire $@ + $firewire $@ # not building with doxygen # see https://github.com/jackaudio/jack2/issues/22 @@ -78,8 +84,9 @@ package_jack2() { ! _isbuild jack2 && return 0 pkgdesc="The next-generation JACK with SMP support" - depends=('libsamplerate' 'celt' 'libffado') + depends=('libsamplerate' 'celt') optdepends=('python2: jack_control') + [ "$CARCH" != "mips64el" ] && depends+=('libffado') conflicts=('jack') provides=('jack' 'jackmp' 'jackdmp' 'jackdbus') @@ -103,7 +110,8 @@ package_jack2-dbus() { ! _isbuild jack2-dbus && return 0 pkgdesc="The next-generation JACK with SMP support (for D-BUS interaction only)" - depends=('libsamplerate' 'celt' 'libffado') + depends=('libsamplerate' 'celt') + [ "$CARCH" != "mips64el" ] && depends+=('libffado') optdepends=('python2: jack_control') conflicts=('jack' 'jack2') provides=('jack' 'jack2' 'jackmp' 'jackdmp' 'jackdbus') |