[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4015/8267] python3-pygobject: add PACKAGECONFIG for cairo - enabled by default
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 4015/8267] python3-pygobject: add PACKAGECONFIG for cairo - enabled by default
- Date: Sun, 17 Dec 2017 01:26:36 +0000 (UTC)
commit 47608e0a9bc9424f6a77955f5b48e4a117f9e646
Author: Andreas Müller <schnitzeltony googlemail com>
Date: Tue Jan 10 18:53:19 2017 +0100
python3-pygobject: add PACKAGECONFIG for cairo - enabled by default
Have onboard (onscreen-keyboard) in the pipe for meta-oe. For that working
properly we need python3-pygobject build with cairo support.
(From OE-Core rev: 7355a3c4f665e066925ea6327ac72365ab1f2f39)
Signed-off-by: Andreas Müller <schnitzeltony googlemail com>
Signed-off-by: Ross Burton <ross burton intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
.../python/python3-pygobject_3.22.0.bb | 10 ++++++++--
1 files changed, 8 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..5a89544 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,14 @@ SRC_URI[sha256sum] = "08b29cfb08efc80f7a8630a2734dec65a99c1b59f1e5771c671d2e4ed8
S = "${WORKDIR}/${SRCNAME}-${PV}"
-BBCLASSEXTEND = "native"
-EXTRA_OECONF = "--disable-cairo"
+PACKAGECONFIG ??= "cairo"
+
+# python3-pycairo is checked on configuration -> DEPENDS
+# we don't link against python3-pycairo -> RDEPENDS
+PACKAGECONFIG[cairo] = "--enable-cairo,--disable-cairo,cairo python3-pycairo, python3-pycairo"
RDEPENDS_${PN} += "python3-setuptools python3-importlib"
+
+BBCLASSEXTEND = "native"
+PACKAGECONFIG_class-native = ""
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]