appdata: Use appstreamcli for appdata validation

appstream-util is obsoleted by appstreamcli.
This commit is contained in:
Sabri Ünal 2023-10-27 17:46:45 +03:00
parent ca170e4ca6
commit d785fb0272

View File

@ -33,9 +33,9 @@ appstream_file = i18n.merge_file(
install_dir: join_paths(get_option('datadir'), 'metainfo')
)
appstream_util = find_program('appstream-util', required: false)
if appstream_util.found()
test('Validate appstream file', appstream_util,
appstreamcli = find_program('appstreamcli', required: false)
if appstreamcli.found()
test('Validate appstream file', appstreamcli,
args: ['validate', appstream_file]
)
endif