a8fbb57cdd
- Use the `<developer><name>` tag instead of the deprecated `<developer_name>` - Implement appstreamcli for extra appdata validation - Fix a release description - Update the donation URL - Add the translation tag Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3071>
26 lines
563 B
Meson
26 lines
563 B
Meson
metainfo = app_id + '.metainfo.xml'
|
|
i18n.merge_file(
|
|
input: base_id + '.metainfo.xml.in',
|
|
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
|