1 From ef5446af0ddad6a341b47957097ac40c6cb5e6d3 Mon Sep 17 00:00:00 2001
2 From: Alexander Kanavin <alex.kanavin@gmail.com>
3 Date: Tue, 20 Oct 2020 22:40:14 +0200
4 Subject: [PATCH] meson.build: exclude girepo_dep if introspection data is
7 Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/248]
8 Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11 1 file changed, 1 insertion(+), 1 deletion(-)
13 diff --git a/meson.build b/meson.build
14 index 14af2b1..a3c27c3 100644
17 @@ -283,7 +283,7 @@ pkg.generate(
18 # FIXME: meson.override_dependency() and declare_dependency()'s variable arguments
19 # are new in Meson 0.54.0, older versions of Meson won't be able to use g-i as
21 -if meson.version().version_compare('>=0.54.0')
22 +if meson.version().version_compare('>=0.54.0') and get_option('build_introspection_data') == true
23 girepo_dep = declare_dependency(
25 dependencies: girepo_dep,