build: Use appstream for appdata validation test

appstream-glib is under heavy maintenance mode and recommends using
appstream instead.
This commit is contained in:
Balló György 2024-12-28 12:01:40 +01:00 committed by Niels De Graef
parent b990e2ac38
commit e56734a97d
5 changed files with 10 additions and 31 deletions

View file

@ -69,9 +69,6 @@ sqlite = dependency('sqlite3', version: '>= 3.24')
webkit2gtk = dependency('webkit2gtk-4.1', version: '>=' + target_webkit)
# Secondary deps - keep sorted alphabetically
# We need appdata.its from appstream-glib:
# https://gitlab.gnome.org/GNOME/geary/issues/439
appstream_glib = dependency('appstream-glib', version: '>=0.7.10')
cairo = dependency('cairo')
enchant = dependency('enchant-2', version: '>=2.1')
folks = dependency('folks', version: '>=0.11')
@ -157,7 +154,7 @@ if not libhandy.found()
endif
# Optional dependencies
appstream_util = find_program('appstream-util', required: false)
appstreamcli = find_program('appstreamcli', required: false)
desktop_file_validate = find_program('desktop-file-validate', required: false)
libmessagingmenu_dep = dependency('messaging-menu', version: '>= 12.10', required: false)