meson: test version of appstreamcli.

Since the new AppStream URL types are only available since appstream
0.15.3.

Thanks to Eli Schwartz for notification of the availability of the
'version' option, even in find_program().
This commit is contained in:
Jehan 2022-05-05 14:36:13 +02:00
parent e97555adce
commit 19204d7f97
1 changed files with 1 additions and 1 deletions

View File

@ -1020,7 +1020,7 @@ xsltproc = find_program('xsltproc')
intltool_merge = find_program('intltool-merge')
desktop_validate = find_program('desktop-file-validate', required: false)
appstreamcli = find_program('appstreamcli', required: get_option('appdata-test'))
appstreamcli = find_program('appstreamcli', version: '>=0.15.3', required: get_option('appdata-test'))
# Check for doc generation tools