summaryrefslogtreecommitdiff
path: root/policy
diff options
context:
space:
mode:
authorVictor A. Santos <[email protected]>2020-03-30 18:54:42 -0300
committerraveit65 <[email protected]>2020-09-03 13:19:35 +0200
commit1db4b409322e559a3d3a03677dd482a0613f3b29 (patch)
tree5b7f03980579416d78135db46287799eb0a6a0ba /policy
parent301549e96d34a3b79fa471aaff5402689bf5868f (diff)
downloadmate-power-manager-1db4b409322e559a3d3a03677dd482a0613f3b29.tar.bz2
mate-power-manager-1db4b409322e559a3d3a03677dd482a0613f3b29.tar.xz
add meson project
fix indentation in some files
Diffstat (limited to 'policy')
-rw-r--r--policy/meson.build17
1 files changed, 17 insertions, 0 deletions
diff --git a/policy/meson.build b/policy/meson.build
new file mode 100644
index 0000000..1b012b0
--- /dev/null
+++ b/policy/meson.build
@@ -0,0 +1,17 @@
+backlight_policy_data = configuration_data()
+backlight_policy_data.set('sbindir', sbindir_path)
+
+backlight_policy = configure_file(
+ input: 'org.mate.power.policy.in2',
+ output: 'org.mate.power.policy.in',
+ configuration: backlight_policy_data
+)
+
+i18n.merge_file(
+ input: backlight_policy,
+ output: 'org.mate.power.policy',
+ type: 'xml',
+ po_dir: podir,
+ install: true,
+ install_dir: join_paths(datadir_path, 'polkit-1', 'actions')
+)