summaryrefslogtreecommitdiffstats
path: root/subprojects/extensions-app/data/metainfo/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/extensions-app/data/metainfo/meson.build')
-rw-r--r--subprojects/extensions-app/data/metainfo/meson.build16
1 files changed, 16 insertions, 0 deletions
diff --git a/subprojects/extensions-app/data/metainfo/meson.build b/subprojects/extensions-app/data/metainfo/meson.build
new file mode 100644
index 0000000..a19bfa8
--- /dev/null
+++ b/subprojects/extensions-app/data/metainfo/meson.build
@@ -0,0 +1,16 @@
+metainfo = app_id + '.metainfo.xml'
+i18n.merge_file(
+ input: base_id + '.metainfo.xml.in',
+ output: metainfo,
+ po_dir: po_dir,
+ install: true,
+ install_dir: metainfodir
+)
+
+if (appstream_util.found())
+ test('Validating ' + metainfo,
+ appstream_util,
+ args: ['validate', '--nonet', metainfo],
+ workdir: meson.current_build_dir()
+ )
+endif