[OE-core] [PATCH] python3-pygobject: add PACKAGECONFIG for cairo - enabled by default

Andreas Müller schnitzeltony at googlemail.com
Tue Jan 10 16:38:34 UTC 2017


Have onboard (onscreen-keyboard) in the pipe for meta-oe. For that working
properly we need python3-pygobject build with cairo support.

Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
---
 meta/recipes-devtools/python/python3-pygobject_3.22.0.bb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/python/python3-pygobject_3.22.0.bb b/meta/recipes-devtools/python/python3-pygobject_3.22.0.bb
index 1c8dc20..b6a7e98 100644
--- a/meta/recipes-devtools/python/python3-pygobject_3.22.0.bb
+++ b/meta/recipes-devtools/python/python3-pygobject_3.22.0.bb
@@ -18,8 +18,11 @@ SRC_URI[sha256sum] = "08b29cfb08efc80f7a8630a2734dec65a99c1b59f1e5771c671d2e4ed8
 
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
-BBCLASSEXTEND = "native"
 
-EXTRA_OECONF = "--disable-cairo"
+PACKAGECONFIG ??= "cairo"
+PACKAGECONFIG[cairo] = "--enable-cairo,--disable-cairo,cairo,python3-pycairo"
 
 RDEPENDS_${PN} += "python3-setuptools python3-importlib"
+
+BBCLASSEXTEND = "native"
+PACKAGECONFIG_class-native = ""
-- 
2.7.4




More information about the Openembedded-core mailing list