[gimp] meson: test version of appstreamcli.



commit 19204d7f97f1b3d0d3be686ee6df2640d776e507
Author: Jehan <jehan girinstud io>
Date:   Thu May 5 14:36:13 2022 +0200

    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().

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index d95776374e..6408fc8404 100644
--- a/meson.build
+++ b/meson.build
@@ -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
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]