39e6375aff
The Extensions app code is now independent enough from the rest of the code base to move it to its own subprojects, like we did for the extensions-tool. This allows for stand-alone builds of the app, which we are about to use for distributing it as flatpak. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1133
26 lines
662 B
Meson
26 lines
662 B
Meson
metainfo = app_id + '.metainfo.xml'
|
|
i18n.merge_file(metainfo,
|
|
input: metainfo + '.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()
|
|
)
|
|
|
|
r = run_command(appstream_util, '--help')
|
|
if (r.stdout().contains('validate-version'))
|
|
test('Checking release entry for @0@'.format(meson.project_version()),
|
|
appstream_util,
|
|
args: ['validate-version', metainfo, meson.project_version()],
|
|
workdir: meson.current_build_dir()
|
|
)
|
|
endif
|
|
endif
|