summaryrefslogtreecommitdiff
path: root/audio/jack2/setcap.sh
diff options
context:
space:
mode:
authorMarcel Saegebarth <marc@mos6581.de>2014-10-18 05:24:08 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-18 05:24:08 +0700
commite737445e63ab071adfcd2150ac5a1d81d756515b (patch)
tree35a0b46c6ea756ad97b17b276f40ceb02a2c223b /audio/jack2/setcap.sh
parent7a801a798694eead67f03042f98bda7035ad24d8 (diff)
downloadslackbuilds-e737445e63ab071adfcd2150ac5a1d81d756515b.tar.gz
audio/jack2: Updated for version 1.9.10 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/jack2/setcap.sh')
-rw-r--r--audio/jack2/setcap.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/jack2/setcap.sh b/audio/jack2/setcap.sh
new file mode 100644
index 0000000000..44b2180da1
--- /dev/null
+++ b/audio/jack2/setcap.sh
@@ -0,0 +1,16 @@
+if [ -x /sbin/setcap ]; then
+ bin=(
+ jackdbus jack_monitor_client jack_latent_client alsa_in
+ jack_midi_dump jack_showtime jack_rec jack_zombie jack_midiseq
+ jack_thru jack_connect jack_net_slave jack_bufsize jack_wait
+ alsa_out jack_freewheel jack_server_control jack_net_master
+ jack_evmon jack_metro jack_simple_client jack_lsp jack_cpu
+ jack_control jack_netsource jack_test jack_session_notify
+ jack_alias jack_iodelay jackd jack_simple_session_client
+ jack_midisine jack_unload jack_load jack_samplerate
+ jack_midi_latency_test jack_cpu_load jack_multiple_metro)
+
+ for i in ${bin[@]}; do
+ /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/$i
+ done
+fi