summaryrefslogtreecommitdiffstats
path: root/data/com.mesonbuild.install.policy
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:41:38 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-29 04:41:38 +0000
commit7b6e527f440cd7e6f8be2b07cee320ee6ca18786 (patch)
tree4a2738d69fa2814659fdadddf5826282e73d81f4 /data/com.mesonbuild.install.policy
parentInitial commit. (diff)
downloadmeson-7b6e527f440cd7e6f8be2b07cee320ee6ca18786.tar.xz
meson-7b6e527f440cd7e6f8be2b07cee320ee6ca18786.zip
Adding upstream version 1.0.1.upstream/1.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'data/com.mesonbuild.install.policy')
-rw-r--r--data/com.mesonbuild.install.policy22
1 files changed, 22 insertions, 0 deletions
diff --git a/data/com.mesonbuild.install.policy b/data/com.mesonbuild.install.policy
new file mode 100644
index 0000000..65bf3ef
--- /dev/null
+++ b/data/com.mesonbuild.install.policy
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD polkit Policy Configuration 1.0//EN"
+"http://www.freedesktop.org/software/polkit/policyconfig-1.dtd">
+<policyconfig>
+
+ <vendor>The Meson Build System</vendor>
+ <vendor_url>https://github.com/mesonbuild/meson</vendor_url>
+
+ <action id="com.mesonbuild.install.run">
+ <description>Install the given project via Meson</description>
+ <message>Authentication is required to install this project</message>
+ <icon_name>preferences-system</icon_name>
+ <defaults>
+ <allow_any>no</allow_any>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>auth_admin_keep</allow_active>
+ </defaults>
+ <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/python3</annotate>
+ <annotate key="org.freedesktop.policykit.exec.argv1">/usr/bin/meson</annotate>
+ </action>
+
+</policyconfig>