[gobject-introspection/ebassi/glib-update] build: Remove a version check that is always true




commit 41796d77b4f29260c622d326af724b31cc00f3b1
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Jul 13 14:57:05 2022 +0100

    build: Remove a version check that is always true
    
    We require Meson 0.60, to match newer GLib.

 meson.build | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/meson.build b/meson.build
index c30261e9..bf44ad22 100644
--- a/meson.build
+++ b/meson.build
@@ -288,10 +288,7 @@ pkg.generate(
 # be named girepo_dep for backward compatibility with projects that where already
 # using that name as fallback: dependency('gobject-introspection-1.0',
 # fallback : ['gobject-introspection', 'girepo_dep'])
-# FIXME: meson.override_dependency() and declare_dependency()'s variable arguments
-# are new in Meson 0.54.0, older versions of Meson won't be able to use g-i as
-# subproject anyway
-if meson.version().version_compare('>=0.54.0') and get_option('build_introspection_data') == true
+if get_option('build_introspection_data') == true
   girepo_dep = declare_dependency(
     sources: typelibs,
     dependencies: girepo_dep,


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