aboutsummaryrefslogtreecommitdiff
path: root/audio/jalv/setcap.sh
diff options
context:
space:
mode:
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