[gtk/ebassi/gidocgen: 476/478] build: Add a GIR dependency to PangoCairo
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/gidocgen: 476/478] build: Add a GIR dependency to PangoCairo
- Date: Fri, 5 Mar 2021 23:02:44 +0000 (UTC)
commit 8dbacadbd0d58133251c05aab24d05d659381957
Author: Emmanuele Bassi <ebassi gnome org>
Date: Fri Mar 5 14:37:31 2021 +0000
build: Add a GIR dependency to PangoCairo
This is not strictly needed from an introspection perspective, but:
- GTK strictly depends on PangoCairo internally
- we want to integrate the GDK docs with PangoCairo's
So even though we don't have an explicit dependency on PangoCairo types
in our ABI, we do assume that people will be able to use the PangoCairo
API with GTK.
gtk/meson.build | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gtk/meson.build b/gtk/meson.build
index f35b545969..90d7b277a9 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -1152,8 +1152,9 @@ if build_gir
if pango_dep.type_name() == 'internal'
gdk_gir_inc += subproject('pango').get_variable('pango_gir').get(0)
+ gdk_gir_inc += subproject('pango').get_variable('pangocairo_gir').get(0)
else
- gdk_gir_inc += 'Pango-1.0'
+ gdk_gir_inc += ['Pango-1.0', 'PangoCairo-1.0']
endif
gdk_gir = gnome.generate_gir(libgtk,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]