waylandpp: add opengl to REQUIRED_DISTRO_FEATURES

waylandpp needs virtual/libgles2 which is available when opengl
is enabled in mesa recipe, so also add the check for waylandpp.

Fixes:
  ERROR: Nothing PROVIDES 'virtual/libgles2' (but /build/layers/meta-openembedded/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb DEPENDS on or otherwise requires it). Close matches:
    virtual/imlib2
    virtual/libc
    virtual/libsdl2
  ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
  Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'waylandpp', 'virtual/libgles2']

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Mingli Yu
2022-11-10 16:36:13 +08:00
committed by Khem Raj
parent 8df9202524
commit 3497108129
@@ -10,7 +10,9 @@ DEPENDS:append:class-target = " waylandpp-native wayland virtual/egl virtual/lib
S = "${WORKDIR}/git"
SRCREV = "4321ed5c7b4bffa41b8a2a13dc7f3ece1191f4f3"
inherit cmake pkgconfig
inherit cmake pkgconfig features_check
REQUIRED_DISTRO_FEATURES = "opengl"
EXTRA_OECMAKE:class-native = " \
-DBUILD_SCANNER=ON \