aboutsummaryrefslogtreecommitdiff
path: root/extra/meson_post_install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extra/meson_post_install.sh')
-rwxr-xr-xextra/meson_post_install.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/extra/meson_post_install.sh b/extra/meson_post_install.sh
new file mode 100755
index 0000000..f1f6a5a
--- /dev/null
+++ b/extra/meson_post_install.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+setcap cap_sys_admin+ep ${MESON_INSTALL_DESTDIR_PREFIX}/bin/gsr-kms-server \
+ || echo "\n!!! Please re-run install as root\n"
+setcap cap_sys_nice+ep ${MESON_INSTALL_DESTDIR_PREFIX}/bin/gpu-screen-recorder