aboutsummaryrefslogtreecommitdiff
path: root/extra/meson_post_install.sh
diff options
context:
space:
mode:
authorA person <agooglygooglr@gmail.com>2024-06-10 22:38:19 -0400
committerdec05eba <dec05eba@protonmail.com>2024-06-11 17:01:51 +0200
commitdfa7dc6659755b7a8385aad5003fd80483dd4ffe (patch)
tree4644056c6eef43103dcaeab53d1a3d9cfe3a15cc /extra/meson_post_install.sh
parente43934e2d2219bdd9a99c78463aa47cfc0404dcd (diff)
Migrate to Meson build system
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