[gnome-continuous-yocto/gnomeostree-3.28-rocko: 3909/8267] waffle: add opengl to REQUIRED_DISTRO_FEATURES
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 3909/8267] waffle: add opengl to REQUIRED_DISTRO_FEATURES
- Date: Sun, 17 Dec 2017 01:17:40 +0000 (UTC)
commit 99ae8c091999bc6841a21374f9ec09cc55289e98
Author: Christopher Larson <chris_larson mentor com>
Date: Wed Jan 4 15:57:50 2017 -0700
waffle: add opengl to REQUIRED_DISTRO_FEATURES
Multiple packageconfigs depend upon virtual/libgl, whose providers require the
opengl distro feature.
(From OE-Core rev: 930c5a17b543bef9d5c2efe71680f82993d77269)
Signed-off-by: Christopher Larson <chris_larson mentor com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/recipes-graphics/waffle/waffle_1.5.2.bb | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/meta/recipes-graphics/waffle/waffle_1.5.2.bb b/meta/recipes-graphics/waffle/waffle_1.5.2.bb
index f7db1bc..9d6b0e0 100644
--- a/meta/recipes-graphics/waffle/waffle_1.5.2.bb
+++ b/meta/recipes-graphics/waffle/waffle_1.5.2.bb
@@ -20,6 +20,9 @@ PACKAGECONFIG ??= "glx"
# libx11 requires x11 in DISTRO_FEATURES.
REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'glx', 'x11', '', d)}"
+# virtual/libgl requires opengl in DISTRO_FEATURES.
+REQUIRED_DISTRO_FEATURES += "${@bb.utils.contains('DEPENDS', 'virtual/libgl', 'opengl', '', d)}"
+
# I say virtual/libgl, actually wants gl.pc
PACKAGECONFIG[glx] = "-Dwaffle_has_glx=1,-Dwaffle_has_glx=0,virtual/libgl libx11"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]