diff options
Diffstat (limited to 'jack2/Pkgfile')
-rw-r--r-- | jack2/Pkgfile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/jack2/Pkgfile b/jack2/Pkgfile new file mode 100644 index 0000000..c14ec0a --- /dev/null +++ b/jack2/Pkgfile @@ -0,0 +1,36 @@ +# Description: Serveur audio à faible latence. +# URL: http://jackaudio.org/ +# Maintainer: piernov <piernov@piernov.org> +# Packager: piernov <piernov@piernov.org> +# Depends on: dbus, celt, libsndfile, libsamplerate +# Run on: dbus,celt,libsndfile,libsamplerate + +name=jack2 +version=1.9.8 +release=1 +source=(http://www.grame.fr/~letz/jack-$version.tgz) + +build() { + cd jack-$version/jack-$version + python2 waf configure --prefix=/usr \ + --dbus \ + --classic \ + --alsa \ +# --freebob \ +# --firewire + + python2 waf build $MAKEFLAGS + python2 waf install --destdir=$PKG + + sed 's|bin/env python|bin/env python2|' -i $PKG/usr/bin/jack_control + + mkdir -p $PKG/lib/udev/rules.d/ + echo 'KERNEL=="rtc0", GROUP="audio"' > $PKG/lib/udev/rules.d/40-rtc-permissions.rules + echo 'KERNEL=="hpet", GROUP="audio"' > $PKG/lib/udev/rules.d/40-hpet-permissions.rules + + mkdir -p $PKG/etc/security/limits.d/ + cat > $PKG/etc/security/limits.d/99-audio.conf <<EOF +@audio - rtprio 99 +@audio - memlock unlimited +EOF +} |