From 9a8cfd772538539776654401d7a1293595405c90 Mon Sep 17 00:00:00 2001 From: zhuyaliang <15132211195@163.com> Date: Mon, 16 Oct 2023 16:17:40 +0800 Subject: Add meson build support --- policy/meson.build | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 policy/meson.build (limited to 'policy/meson.build') diff --git a/policy/meson.build b/policy/meson.build new file mode 100644 index 0000000..0c55ae8 --- /dev/null +++ b/policy/meson.build @@ -0,0 +1,15 @@ +po_dir = join_paths(meson.source_root(), 'po') +dataconf = configuration_data() +dataconf.set('sbindir', matesbindir) + +i18n.merge_file( + input : configure_file( + configuration: dataconf, + input : 'org.mate.power.policy.in2', + output: 'org.mate.power.policy.in' + ), + output: 'org.mate.power.policy', + po_dir: po_dir, + install: true, + install_dir: join_paths(get_option('datadir'), 'polkit-1', 'actions'), +) -- cgit v1.2.1