aboutsummaryrefslogtreecommitdiff
path: root/audio/jalv/setcap.sh
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-02-25 09:09:49 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-02-25 09:10:49 +0700
commit5bc3c29c1021f3db774d3c85d90fd739e017ccc8 (patch)
treecd3b7c789c53b0dbcf6ff3089ef129a90d4eb090 /audio/jalv/setcap.sh
parentcf82cee1bbc257fbeed5f76a09f0c390cb3c48b7 (diff)
audio/jalv: Added (host for LV2 plugins).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/jalv/setcap.sh')
-rw-r--r--audio/jalv/setcap.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/jalv/setcap.sh b/audio/jalv/setcap.sh
new file mode 100644
index 0000000000000..f9f44f5621e9f
--- /dev/null
+++ b/audio/jalv/setcap.sh
@@ -0,0 +1,5 @@
+if [ -x /sbin/setcap ]; then
+ for BIN in jalv jalv.gtk jalv.gtk3 jalv.gtkmm jalv.qt; do
+ [ -e usr/bin/$BIN ] && /sbin/setcap cap_ipc_lock,cap_sys_nice=ep usr/bin/$BIN
+ done
+fi