[OE-core] [PATCH] gobject-introspection: fix floating dep on python-mako

Sujith Haridasan sujith.h at gmail.com
Thu Apr 21 12:29:35 UTC 2016


From: Christopher Larson <chris_larson at mentor.com>

This was resulting in non-deterministic builds where g-ir-doc-tool may or may
not exist depending on whether python-mako was built previously. Add
a PACKAGECONFIG so the dependency is explicit.

Signed-off-by: Sujith H <sujith.h at gmail.com>
Signed-off-by: Christopher Larson <chris_larson at mentor.com>
Signed-off-by: Sujith Haridasan <Sujith_Haridasan at mentor.com>
---
 .../recipes-gnome/gobject-introspection/gobject-introspection_1.46.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.46.0.bb b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.46.0.bb
index 9b16147..67891a2 100644
--- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.46.0.bb
+++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.46.0.bb
@@ -108,6 +108,8 @@ EXTRA_OECONF_class-target += "--enable-host-gi \
                               ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '--enable-introspection-data', '--disable-introspection-data', d)} \
                              "
 
+PACKAGECONFIG ?= ""
+PACKAGECONFIG[doctool] = "--enable-doctool,--disable-doctool,python-mako,"
 
 do_compile_prepend_class-target() {
         # This prevents g-ir-scanner from writing cache data to $HOME
-- 
1.9.1




More information about the Openembedded-core mailing list