build: Use appstream for appdata validation test

appstream-glib is under heavy maintenance mode and recommends using
appstream instead.
This commit is contained in:
Balló György 2024-12-28 12:01:40 +01:00 committed by Niels De Graef
parent b990e2ac38
commit e56734a97d
5 changed files with 10 additions and 31 deletions

View file

@ -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,