summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-02-03 14:05:27 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2021-02-03 14:05:27 +0000
commit592b33cb48fabb02d416814e3b476cb03c37e98b (patch)
tree8ea6897f432e39543852828d7a8af1889c4732d8
parent9efaa0b51d5483d6192ecdfd892784741d3b2edd (diff)
downloadgtk+-592b33cb48fabb02d416814e3b476cb03c37e98b.tar.gz
Graphene is a dependency of Gsk, not Gdk
So let's put it in the right place when building the introspection data.
-rw-r--r--gtk/meson.build12
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/meson.build b/gtk/meson.build
index c1b2186e89..42cb07a205 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -1142,12 +1142,6 @@ if build_gir
# the installed one
gdk_gir_inc = [ 'cairo-1.0', 'Gio-2.0', ]
- if graphene_dep.type_name() == 'internal'
- gdk_gir_inc += subproject('graphene').get_variable('graphene_gir').get(0)
- else
- gdk_gir_inc += 'Graphene-1.0'
- endif
-
if pixbuf_dep.type_name() == 'internal'
gdk_gir_inc += subproject('gdk-pixbuf').get_variable('gdkpixbuf_gir').get(0)
else
@@ -1211,6 +1205,12 @@ if build_gir
gsk_gir_inc = [ gdk_gir[0] ]
+ if graphene_dep.type_name() == 'internal'
+ gsk_gir_inc += subproject('graphene').get_variable('graphene_gir').get(0)
+ else
+ gsk_gir_inc += 'Graphene-1.0'
+ endif
+
gsk_gir = gnome.generate_gir(libgtk,
sources: gsk_public_headers + gsk_public_sources + [ gskenum_h ],
namespace: 'Gsk',