diff --git a/data/meson.build b/data/meson.build index e4d9cc76..498b4a2b 100644 --- a/data/meson.build +++ b/data/meson.build @@ -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() ] diff --git a/meson.build b/meson.build index 2248e90c..f3cf89d5 100644 --- a/meson.build +++ b/meson.build @@ -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)