Compare commits

...

2 Commits

Author SHA1 Message Date
Emmanuele Bassi
70997c51bc Depend on G-I 1.67.1
Contains various fixes that allow building GTK without introspection
warnings.
2020-04-27 14:30:41 +01:00
Emmanuele Bassi
c31727d0dc Add g-i as a subproject
If the version of Meson is high enough, we can use gobject-introspection
as a Meson sub-project.
2020-04-27 14:26:20 +01:00
2 changed files with 12 additions and 0 deletions

View File

@@ -694,6 +694,13 @@ if graphene_has_sse2 or graphene_has_gcc
endif
endif
introspection_enabled = get_option('introspection')
if introspection_enabled and meson.version().version_compare('>= 0.54.0')
gi_dep = dependency('gobject-introspection-1.0', version: '>= 1.65.1', required: true,
fallback: ['gobject-introspection', 'girepo_dep'],
)
endif
subdir('gtk/css')
subdir('gdk')
subdir('gsk')

View File

@@ -0,0 +1,5 @@
[wrap-git]
directory=gobject-introspection
url=https://gitlab.gnome.org/GNOME/gobject-introspection.git
push-url=ssh://git@gitlab.gnome.org:GNOME/gobject-introspection.git
revision=master