1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
From 01ea4edc448b626a7096ca3c3bb251e1eb2f6b0a Mon Sep 17 00:00:00 2001
From: Matthias Klumpp <matthias@tenstral.net>
Date: Sat, 3 May 2025 18:04:36 +0200
Subject: [PATCH] Use appstreamcli for MetaInfo validation
---
data/meson.build | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/data/meson.build b/data/meson.build
index 5427cf2..c8309f1 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -22,10 +22,10 @@ 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', '--nonet', appstream_file]
+appstreamcli = find_program('appstreamcli', required: false)
+if appstreamcli.found()
+ test('Validate appstream file', appstreamcli,
+ args: ['validate', '--no-net', '--explain', appstream_file]
)
endif
--
2.47.2
|