[gnome-software] build: limba: Install appstream metadata



commit 9aa1009e5b798c68f0ebb7b3233e7c31dd61d131
Author: Jeremy Bicha <jbicha ubuntu com>
Date:   Mon May 15 12:45:30 2017 -0400

    build: limba: Install appstream metadata
    
    https://bugzilla.gnome.org/show_bug.cgi?id=782662

 plugins/limba/meson.build |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/plugins/limba/meson.build b/plugins/limba/meson.build
index e61a2db..25c8877 100644
--- a/plugins/limba/meson.build
+++ b/plugins/limba/meson.build
@@ -14,3 +14,14 @@ shared_module(
   dependencies : [ plugin_libs, limba ]
   )
 endif
+
+metainfo = 'org.gnome.Software.Plugin.Limba.metainfo.xml'
+
+i18n.merge_file(
+  input: metainfo + '.in',
+  output: metainfo,
+  type: 'xml',
+  po_dir: join_paths(meson.source_root(), 'po'),
+  install: true,
+  install_dir: join_paths(get_option('datadir'), 'metainfo')
+)


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