From a4ab2ec2c7d1a6ada520af9ab3c493830a02e4ca Mon Sep 17 00:00:00 2001 From: Vladimir Vaskov Date: Thu, 23 May 2024 23:42:03 +0300 Subject: [PATCH] build: replace `appstream-utils` with `appstreamcli`, according to the changes on fluthub `appstream-utils` did not allow the tests to pass, because of the images padding. Flathub has changed the utility for checking appdata files. Link: https://github.com/flathub-infra/flatpak-builder-lint/commit/bbfc701d87c53d6336febf6d4e1121dad424f367 --- data/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/meson.build b/data/meson.build index 514a1f9..1df8206 100644 --- a/data/meson.build +++ b/data/meson.build @@ -29,9 +29,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, args: ['validate', appstream_file]) +appstreamcli = find_program('appstreamcli', required: false) +if appstreamcli.found() + test('Validate appstream file', appstreamcli, args: ['validate', appstream_file]) endif install_data('io.github.nokse22.asciidraw.gschema.xml',