diff options
author | B. Watson <yalhcru@gmail.com> | 2014-02-25 09:09:49 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-02-25 09:10:49 +0700 |
commit | 5bc3c29c1021f3db774d3c85d90fd739e017ccc8 (patch) | |
tree | cd3b7c789c53b0dbcf6ff3089ef129a90d4eb090 /audio/jalv/setcap.sh | |
parent | cf82cee1bbc257fbeed5f76a09f0c390cb3c48b7 (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.sh | 5 |
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 |