From b64746209030db510b34562be8b881d93b2a5d37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Tue, 3 Oct 2023 17:45:29 +0200 Subject: [PATCH] build: Use appstreamcli instead of appstream-util appstream-glib is in maintenance mode --- data/meson.build | 4 ++-- meson.build | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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)