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 771499dceae2d91ac831e04ed3e681f8dea5a826 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor@gmail.com>
Date: Fri, 11 Apr 2025 07:59:45 +0000
Subject: [PATCH] Use appstream for appdata validation test
appstream-glib is under heavy maintenance mode and recommends using
appstream instead.
---
data/meson.build | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/data/meson.build b/data/meson.build
index 5aaffaa1..ed2b1df1 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -45,9 +45,9 @@ appdata_file = i18n.merge_file(
install_dir: get_option('datadir') / 'metainfo'
)
-appstream_util = find_program('appstream-util', required: false)
-if appstream_util.found()
- test('validate-appdata', appstream_util, args: ['validate-relax', '--nonet', appdata_file])
+appstreamcli = find_program('appstreamcli', required: false)
+if appstreamcli.found()
+ test('validate-appdata', appstreamcli, args: ['validate', '--no-net', '--explain', appdata_file])
endif
install_data('shortcuts-gnote.ui', install_dir: get_option('datadir') / meson.project_name())
--
GitLab
|