From 3497108129d6316ee8695a91bc8b24e28c69352a Mon Sep 17 00:00:00 2001 From: Mingli Yu Date: Thu, 10 Nov 2022 16:36:13 +0800 Subject: [PATCH] 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 Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb b/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb index f075f2a3ae..0deed332c6 100644 --- a/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb +++ b/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb @@ -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 \