mirror of
https://github.com/Huluti/Curtail.git
synced 2024-08-16 09:30:28 +03:00
appdata: Use appstreamcli for appdata validation
appstream-util is obsoleted by appstreamcli.
This commit is contained in:
parent
ca170e4ca6
commit
d785fb0272
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user