summaryrefslogtreecommitdiff
path: root/community/jack2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/jack2/PKGBUILD')
-rw-r--r--community/jack2/PKGBUILD16
1 files changed, 12 insertions, 4 deletions
diff --git a/community/jack2/PKGBUILD b/community/jack2/PKGBUILD
index 20da91cc8..e59542bb9 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=4
-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-dbus' 'libffado' 'celt' 'opus' 'libsamplerate')
+makedepends=('python2-dbus' 'celt' 'opus' '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')
@@ -32,9 +33,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
@@ -84,6 +90,7 @@ package_jack2() {
pkgdesc="The next-generation JACK with SMP support"
depends=('libsamplerate' 'celt' 'opus' 'libffado')
optdepends=('python2-dbus: jack_control')
+ [ "$CARCH" != "mips64el" ] && depends+=('libffado')
conflicts=('jack')
provides=('jack' 'jackmp' 'jackdmp' 'jackdbus')
@@ -107,7 +114,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' 'opus' 'libffado')
+ depends=('libsamplerate' 'celt' 'opus')
+ [ "$CARCH" != "mips64el" ] && depends+=('libffado')
optdepends=('python2-dbus: jack_control')
conflicts=('jack' 'jack2')
provides=('jack' 'jack2' 'jackmp' 'jackdmp' 'jackdbus')