diff options
author | piernov <piernov@piernov.org> | 2012-01-19 21:46:03 +0100 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2012-01-19 21:46:03 +0100 |
commit | 0bf1fecbf74513ac5a6ea0b8e8c65a06fd980357 (patch) | |
tree | 0b292aed773df6c61e36dcc411c24347f430c062 /jack2/Pkgfile | |
parent | 4142559149dfb58a815f22cf2374b49cb36bb5e9 (diff) | |
download | nutyx-multimedia-0bf1fecbf74513ac5a6ea0b8e8c65a06fd980357.tar.gz nutyx-multimedia-0bf1fecbf74513ac5a6ea0b8e8c65a06fd980357.tar.bz2 nutyx-multimedia-0bf1fecbf74513ac5a6ea0b8e8c65a06fd980357.tar.xz nutyx-multimedia-0bf1fecbf74513ac5a6ea0b8e8c65a06fd980357.zip |
jack2 1.9.8-1 ajout port > Serveur de son faible latence
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 +} |