* depends on virtual/libgles2, virtual/egl and in DISTROs without opengl causes:
  ERROR: Nothing PROVIDES 'virtual/libgles2' (but 
meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb 
DEPENDS on or otherwise requires it)
  ERROR: Nothing PROVIDES 'virtual/egl' (but 
meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb 
DEPENDS on or otherwise requires it)
  ERROR: Nothing RPROVIDES 'opengl-es-cts-dev' (but 
meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb 
RDEPENDS on or otherwise requires it)
  ERROR: Nothing RPROVIDES 'opengl-es-cts' (but 
meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.6.1.bb 
RDEPENDS on or otherwise requires it)

Signed-off-by: Martin Jansa <martin.ja...@gmail.com>
---
 meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc 
b/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc
index bd75cdb1f4..4a297c313a 100644
--- a/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc
+++ b/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc
@@ -16,7 +16,9 @@ SRCREV_FORMAT = "vk-gl-cts"
 
 S = "${WORKDIR}/git"
 
-inherit pkgconfig cmake
+inherit pkgconfig cmake features_check
+
+REQUIRED_DISTRO_FEATURES += "opengl"
 
 DEPENDS += "libpng zlib virtual/libgles2 virtual/egl"
 
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#85932): 
https://lists.openembedded.org/g/openembedded-devel/message/85932
Mute This Topic: https://lists.openembedded.org/mt/75794310/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to