[at-spi2-core: 1/32] Use a variable for the required version of gobject-introspection




commit 8a98d0963fdf9f485e9119771e3301cba9dd8a54
Author: Federico Mena Quintero <federico gnome org>
Date:   Fri Dec 10 10:25:22 2021 -0600

    Use a variable for the required version of gobject-introspection
    
    For consistency with the way the versions for other dependencies are declared.

 meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index cfd2e091..fa6ca53e 100644
--- a/meson.build
+++ b/meson.build
@@ -47,6 +47,7 @@ libdbus_req_version = '>= 1.5'
 glib_req_version = '>= 2.62.0'
 gobject_req_version = '>= 2.0.0'
 gio_req_version = '>= 2.28.0'
+gir_req_version = '>= 0.6.7'
 
 libdbus_dep = dependency('dbus-1', version: libdbus_req_version)
 glib_dep = dependency('glib-2.0', version: glib_req_version)
@@ -106,7 +107,7 @@ have_gir = false
 
 introspection_option = get_option('introspection')
 if introspection_option != 'no'
-  gir_dep = dependency('gobject-introspection-1.0', version: '>= 0.6.7', required: false)
+  gir_dep = dependency('gobject-introspection-1.0', version: gir_req_version, required: false)
 
   if gir_dep.found()
     have_gir = true


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