diff options
author | B. Watson <yalhcru@gmail.com> | 2014-02-18 18:20:50 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-02-18 14:59:56 -0600 |
commit | 8f537fb3ee92c9703fe4afb5822edf7b384904bb (patch) | |
tree | a10460893693c245cb7af6c379a4f9b6eab2c7e3 /audio/ngjackspa/setcap.sh | |
parent | 9da5bc0dffe7973e2a406fb1dd3554e62969ce2a (diff) | |
download | slackbuilds-8f537fb3ee92c9703fe4afb5822edf7b384904bb.tar.gz |
audio/ngjackspa: Added (JACK host for LADSPA plugins).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/ngjackspa/setcap.sh')
-rw-r--r-- | audio/ngjackspa/setcap.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/ngjackspa/setcap.sh b/audio/ngjackspa/setcap.sh new file mode 100644 index 0000000000..5c2dff80ab --- /dev/null +++ b/audio/ngjackspa/setcap.sh @@ -0,0 +1,5 @@ +if [ -x /sbin/setcap ]; then + for setcapfile in gjackspa jackspa-cli njackspa qjackspa; do + [ -e usr/bin/$setcapfile ] && /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/$setcapfile + done +fi |