build: Do not require appstream-util for metainfo version check
appstream-util is deprecated in favor of appstreamcli. The new tool does not have a `validate-version` command, so implement the check in directly in the check-version.py script. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3520>
This commit is contained in:

committed by
Marge Bot

parent
fd8d923a34
commit
7405f7c360
@ -69,12 +69,10 @@ if not meson.is_subproject()
|
||||
gtk_update_icon_cache: true
|
||||
)
|
||||
|
||||
if appstream_util.found()
|
||||
meson.add_dist_script('build-aux/meson/check-version.py',
|
||||
meson.project_version(),
|
||||
'--type=metainfo',
|
||||
'data/metainfo/org.gnome.Extensions.metainfo.xml.in')
|
||||
endif
|
||||
meson.add_dist_script('build-aux/meson/check-version.py',
|
||||
meson.project_version(),
|
||||
'--type=metainfo',
|
||||
'data/metainfo/org.gnome.Extensions.metainfo.xml.in')
|
||||
|
||||
summary_dirs = {
|
||||
'prefix': get_option('prefix'),
|
||||
|
Reference in New Issue
Block a user