Florian Müllner dfff65bf05 extensions-app: Fix app ID in .Devel metainfo
The ID is currently hard-coded to the non-development one, with
the result that the .Devel app effectively doesn't have any
metainfo.

Fix that by configuring the file with the correct ID.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3158>
2024-02-01 12:11:17 +00:00

30 lines
675 B
Meson

metainfo = app_id + '.metainfo.xml'
i18n.merge_file(
input: configure_file(
input: base_id + '.metainfo.xml.in',
output: app_id + '.metainfo.xml.in',
configuration: {'app_id': app_id},
),
output: metainfo,
po_dir: po_dir,
install: true,
install_dir: metainfodir
)
if (appstream_util.found())
test('Validating via appstream_util ' + metainfo,
appstream_util,
args: ['validate', '--nonet', metainfo],
workdir: meson.current_build_dir()
)
endif
# Validate Appdata
if (appstreamcli.found())
test('Validating ' + metainfo,
appstreamcli,
args: ['validate', '--no-net', metainfo],
workdir: meson.current_build_dir()
)
endif