From 62a82aed0812b8518bb16bd3a4474ad4b15362d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Sun, 7 Jan 2024 02:48:26 +0300 Subject: [PATCH] feat(build): use appstreamcli to validate appdata --- data/meson.build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/data/meson.build b/data/meson.build index ab3d4d0..3e05a9a 100644 --- a/data/meson.build +++ b/data/meson.build @@ -33,10 +33,10 @@ if build_machine.system() == 'linux' install_dir: join_paths(get_option('datadir'), 'appdata') ) - 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', '--no-net', '--explain', appstream_file] ) endif endif