build: Stop using appstream-util for metainfo validation

Everything, including flathub[0], should be using appstreamcli
now, so stop supporting the old tool as well.

[0] https://docs.flathub.org/blog/improved-build-validation

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3520>
This commit is contained in:
Florian Müllner 2024-10-21 02:43:24 +02:00 committed by Marge Bot
parent 7405f7c360
commit a79d517c12
2 changed files with 0 additions and 9 deletions

View File

@ -14,14 +14,6 @@ metainfo = i18n.merge_file(
install_dir: metainfodir
)
if (appstream_util.found())
test('Validating metainfo via appstream_util',
appstream_util,
args: ['validate', '--nonet', metainfo],
workdir: meson.current_build_dir()
)
endif
# Validate Appdata
if (appstreamcli.found())
test('Validating metainfo',

View File

@ -48,7 +48,6 @@ schemadir = join_paths(datadir, 'glib-2.0', 'schemas')
servicedir = join_paths(datadir, 'dbus-1', 'services')
gjs = find_program('gjs')
appstream_util = find_program('appstream-util', required: false)
appstreamcli = find_program('appstreamcli', required: false)
desktop_file_validate = find_program('desktop-file-validate', required: false)