build: Use appstreamcli instead of appstream-util
appstream-glib is in maintenance mode
This commit is contained in:
parent
2c4b97b658
commit
b647462090
2 changed files with 3 additions and 3 deletions
|
@ -58,9 +58,9 @@ appdata_file = i18n.merge_file(
|
|||
install_dir: datadir / 'metainfo'
|
||||
)
|
||||
# Validate Appdata
|
||||
if appstream_util.found()
|
||||
if appstreamcli.found()
|
||||
test(
|
||||
'validate-appdata', appstream_util,
|
||||
'validate-appdata', appstreamcli,
|
||||
args: [
|
||||
'validate', '--nonet', appdata_file.full_path()
|
||||
]
|
||||
|
|
|
@ -39,7 +39,7 @@ dependency('xdg-desktop-portal', version: '>= 1.14.1')
|
|||
glib_compile_resources = find_program('glib-compile-resources', required: true)
|
||||
glib_compile_schemas = find_program('glib-compile-schemas', required: true)
|
||||
desktop_file_validate = find_program('desktop-file-validate', required: false)
|
||||
appstream_util = find_program('appstream-util', required: false)
|
||||
appstreamcli = find_program('appstreamcli', required: false)
|
||||
cargo = find_program('cargo', required: true)
|
||||
cargo_version = run_command(cargo, '--version', check: true).stdout().strip()
|
||||
message(cargo_version)
|
||||
|
|
Loading…
Reference in a new issue