summaryrefslogtreecommitdiff
path: root/community/jack2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/jack2/PKGBUILD')
-rw-r--r--community/jack2/PKGBUILD18
1 files changed, 13 insertions, 5 deletions
diff --git a/community/jack2/PKGBUILD b/community/jack2/PKGBUILD
index d8ad4d636..4bd49a92a 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=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' 'libffado' 'celt' 'opus' 'libsamplerate')
+makedepends=('python2' '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
@@ -82,8 +88,9 @@ package_jack2() {
! _isbuild jack2 && return 0
pkgdesc="The next-generation JACK with SMP support"
- depends=('libsamplerate' 'celt' 'opus' 'libffado')
+ depends=('libsamplerate' 'celt' 'opus')
optdepends=('python2: 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: jack_control')
conflicts=('jack' 'jack2')
provides=('jack' 'jack2' 'jackmp' 'jackdmp' 'jackdbus')