Skip to contentSkip to conversation

waffle: The surfaceless-egl and gbm requires opengl

PATCH New Robert Yang 1 participant 2 messages Apr 4, 2022

lore
Share & tools
lore
#0 lore raw

cover waffle: The surfaceless-egl and gbm requires opengl

The following changes since commit ff75909f2a9e970aaf389e0012888c29f02376e3:

meson: Robustify compiler detection logic (2022-04-01 23:11:32 +0100)

are available in the Git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/pc
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/pc

Robert Yang (1):
waffle: The surfaceless-egl and gbm requires opengl

 meta/recipes-graphics/waffle/waffle_1.7.0.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.31.1
#1 lore raw

PATCH 1/1 waffle: The surfaceless-egl and gbm requires opengl

Fixed when opengl is not in DISTRO_FEATURES:
ERROR: Nothing PROVIDES 'virtual/libgbm' (but /path/to/waffle/waffle_1.7.0.bb DEPENDS on or otherwise requires it)

---
 meta/recipes-graphics/waffle/waffle_1.7.0.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-graphics/waffle/waffle_1.7.0.bb +2 -1
index b9315157007..f1fd9e7630d 100644
@@ -23,7 +23,8 @@ DEPENDS:append = " python3 cmake-native"
 # stack.
 PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'glx x11-egl', '', d)} \
                    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \
-                   surfaceless-egl gbm"
+                   ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gbm surfaceless-egl', '', d)} \
+"
 
 # virtual/libgl requires opengl in DISTRO_FEATURES.
 REQUIRED_DISTRO_FEATURES += "${@bb.utils.contains('DEPENDS', 'virtual/${MLPREFIX}libgl', 'opengl', '', d)}"
Signature · 1 line
2.31.1