Skip to contentSkip to conversation

khronos-cts: Replace wayland feature dependancy with vulkan

PATCH New Peter Kjellerstedt 1 participant 1 message Aug 15, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 khronos-cts: Replace wayland feature dependancy with vulkan

From: Linus Jacobson <[email protected]>

Khronos-cts.inc is used for building vulkan-cts or opengl-es-cts. Even though vulkan-cts depends on vulkan-loader, which automatically requires vulkan distro feature, it is more explicitly stated if written here next to opengl.

Some systems do not support a windowing service (like wayland) but still might use standard khronos GPU libraries. For these cases, wayland dependancy is invalid.

Patch replaces the invalid wayland distro feature dependancy with vulkan for clarity.

---
 meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc +1 -1
index 01f4a572f..4fd32d93c 100644
@@ -21,7 +21,7 @@ S = "${WORKDIR}/git"
 
 inherit pkgconfig cmake features_check python3native qemu
 
-ANY_OF_DISTRO_FEATURES += "opengl wayland"
+ANY_OF_DISTRO_FEATURES += "opengl vulkan"
 
 DEPENDS += "python3-lxml-native libpng zlib virtual/libgles2 qemu-native"