537f754fb0
The time we really care about current release information in appdata is when preparing a release, not during regular builds. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1968>
17 lines
361 B
Meson
17 lines
361 B
Meson
metainfo = app_id + '.metainfo.xml'
|
|
i18n.merge_file(metainfo,
|
|
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
|