[gnome-software/gnome-3-30] build: Localize the polkit policy file



commit b573b1b21e084a072f09c02d68b31a38d88f050e
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Wed Sep 26 21:12:08 2018 +0200

    build: Localize the polkit policy file

 data/meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/data/meson.build b/data/meson.build
index e4e17532..8e5443a8 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -11,9 +11,10 @@ if get_option('external_appstream')
   conf_data = configuration_data()
   conf_data.set('libexecdir', join_paths(get_option('prefix'),
                                          get_option('libexecdir')))
-  configure_file(
+  i18n.merge_file(
     input : 'org.gnome.software.external-appstream.policy.in',
     output : 'org.gnome.software.external-appstream.policy',
+    po_dir: join_paths(meson.source_root(), 'po'),
     install: true,
     install_dir: join_paths(get_option('datadir'), 'polkit-1', 'actions'),
     configuration : conf_data


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]