2020-03-12 19:27:32 +00:00
|
|
|
metainfo = app_id + '.metainfo.xml'
|
2021-12-23 16:18:16 +00:00
|
|
|
i18n.merge_file(
|
2021-01-22 18:29:07 +00:00
|
|
|
input: base_id + '.metainfo.xml.in',
|
2020-03-12 19:27:32 +00:00
|
|
|
output: metainfo,
|
2019-12-01 02:01:02 +00:00
|
|
|
po_dir: po_dir,
|
2020-03-12 19:27:32 +00:00
|
|
|
install: true,
|
|
|
|
install_dir: metainfodir
|
|
|
|
)
|
|
|
|
|
|
|
|
if (appstream_util.found())
|
|
|
|
test('Validating ' + metainfo,
|
|
|
|
appstream_util,
|
|
|
|
args: ['validate', '--nonet', metainfo],
|
|
|
|
workdir: meson.current_build_dir()
|
|
|
|
)
|
|
|
|
endif
|