appdata: Improve appdata for AppStream 1.0
- Add the `<developer><name>` tag - Mark the `<developer_name>` as deprecated - Use appstreamcli to validate appdata - Remove one of Purism tag to pass appstreamcli validation
This commit is contained in:
parent
410e71141f
commit
3ed3b26450
2 changed files with 14 additions and 1 deletions
|
|
@ -88,6 +88,16 @@ appstream_file = i18n.merge_file(
|
|||
install_dir: iv_datadir / 'metainfo'
|
||||
)
|
||||
|
||||
# Validate Appdata
|
||||
appstreamcli = find_program('appstreamcli', required: false)
|
||||
if (appstreamcli.found())
|
||||
test('Validate metainfo file',
|
||||
appstreamcli,
|
||||
args: ['validate', '--no-net', appstream_file],
|
||||
workdir: meson.current_build_dir()
|
||||
)
|
||||
endif
|
||||
|
||||
subdir('icons')
|
||||
|
||||
# GSchema
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue