summaryrefslogtreecommitdiffstats
path: root/subprojects/extensions-app/data/metainfo/meson.build
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:54:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:54:43 +0000
commite4283f6d48b98e764b988b43bbc86b9d52e6ec94 (patch)
treec8f7f7a6c2f5faa2942d27cefc6fd46cca492656 /subprojects/extensions-app/data/metainfo/meson.build
parentInitial commit. (diff)
downloadgnome-shell-e4283f6d48b98e764b988b43bbc86b9d52e6ec94.tar.xz
gnome-shell-e4283f6d48b98e764b988b43bbc86b9d52e6ec94.zip
Adding upstream version 43.9.upstream/43.9upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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