From dee9b235f490a5aadbd40420e4ac52900b116753 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sabri=20=C3=9Cnal?= Date: Sat, 11 Nov 2023 06:20:09 +0300 Subject: [PATCH] appdata: use appstreamcli for appdata validation appstream-util is obsoleted by appstreamcli. --- DEVELOPMENT.md | 2 +- data/meson.build | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index c922ca3b..5438dabe 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -11,7 +11,7 @@ _The below instructions have been tested on Ubuntu 20.04_ ```bash sudo apt update sudo apt install \ - appstream-util \ + appstreamcli \ cmake \ gettext \ git \ diff --git a/data/meson.build b/data/meson.build index a32d61bc..7eb59a61 100644 --- a/data/meson.build +++ b/data/meson.build @@ -38,9 +38,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', '--no-net', appstream_file] ) endif