2020-03-12 15:27:32 -04:00
|
|
|
metainfo = app_id + '.metainfo.xml'
|
|
|
|
i18n.merge_file(metainfo,
|
2021-01-22 13:29:07 -05:00
|
|
|
input: base_id + '.metainfo.xml.in',
|
2020-03-12 15:27:32 -04:00
|
|
|
output: metainfo,
|
2019-11-30 21:01:02 -05:00
|
|
|
po_dir: po_dir,
|
2020-03-12 15:27:32 -04: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
|