build: Use appstream for appdata validation test
appstream-glib is under heavy maintenance mode and recommends using appstream instead.
This commit is contained in:
parent
b990e2ac38
commit
e56734a97d
5 changed files with 10 additions and 31 deletions
|
|
@ -66,12 +66,12 @@ appdata_merged = i18n.merge_file(
|
|||
install_dir: join_paths(data_dir, 'metainfo')
|
||||
)
|
||||
|
||||
if appstream_util.found()
|
||||
if appstreamcli.found()
|
||||
test(
|
||||
appdata_file + '-validate',
|
||||
appstream_util,
|
||||
appstreamcli,
|
||||
args: [
|
||||
'validate-relax', '--nonet', appdata_merged.full_path()
|
||||
'validate', '--no-net', '--explain', appdata_merged.full_path()
|
||||
],
|
||||
depends: [
|
||||
appdata_merged,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue