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 c7790d9f7bce0158e4e3902677357df433985ef7 Mon Sep 17 00:00:00 2001
From: Matthias Klumpp <matthias@tenstral.net>
Date: Sat, 3 May 2025 01:56:53 +0200
Subject: [PATCH] Use modern appstream, instead of appstream-util for
validation
---
src/bin/clapper-app/data/meson.build | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/bin/clapper-app/data/meson.build b/src/bin/clapper-app/data/meson.build
index 22177e9c..99f30fef 100644
--- a/src/bin/clapper-app/data/meson.build
+++ b/src/bin/clapper-app/data/meson.build
@@ -1,10 +1,11 @@
-appstream_util = find_program('appstream-util', required: false)
-if appstream_util.found()
+appstream_cli = find_program('appstreamcli', required: false)
+if appstream_cli.found()
test('Validate appstream file',
- appstream_util,
+ appstream_cli,
args: [
- 'validate-relax',
- '--nonet',
+ 'validate',
+ '--no-net',
+ '--explain',
join_paths(meson.current_source_dir(), 'metainfo', 'com.github.rafostar.Clapper.metainfo.xml'),
]
)
|