mirror of
https://github.com/GNOME/gedit
synced 2024-06-30 23:15:01 +00:00
Meson: use appstreamcli to validate the metainfo file
Apparently appstream-util is obsolete.
This commit is contained in:
parent
5b0dc58659
commit
9d5f42de02
|
@ -11,12 +11,12 @@ metainfo_file = i18n.merge_file(
|
|||
install_dir: get_option('datadir') / 'metainfo'
|
||||
)
|
||||
|
||||
appstream_util = find_program('appstream-util', required: get_option('require_all_tests'))
|
||||
if appstream_util.found()
|
||||
appstreamcli = find_program('appstreamcli', required: get_option('require_all_tests'))
|
||||
if appstreamcli.found()
|
||||
test(
|
||||
'validate-metainfo',
|
||||
appstream_util,
|
||||
args: ['validate-relax', '--nonet', metainfo_file]
|
||||
appstreamcli,
|
||||
args: ['validate', metainfo_file]
|
||||
)
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user