libx11-xcb has a hard dependency for x11 but is included by the
libvk-rogue package. Only include libvk-rogue when the
DISTRO_FEATURES "vulkan x11 wayland" are enabled, which is identical
to the RRECOMMENDS variable.

Signed-off-by: Daniel Schultz <[email protected]>
---
 .../powervr-umlibs/ti-img-rogue-umlibs_23.1.6404501.bb       | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.1.6404501.bb
 
b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.1.6404501.bb
index 26090038..23596895 100644
--- 
a/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.1.6404501.bb
+++ 
b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.1.6404501.bb
@@ -33,13 +33,16 @@ do_install:append() {
         mv ${D}/lib/firmware ${D}${nonarch_base_libdir}
         rmdir ${D}/lib
     fi
+    if ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'false', 'true', d)}; 
then
+        rm -rf ${D}${libdir}/libVK_IMG.so*
+    fi
 }
 
 PACKAGES = " \
     libgles1-rogue libgles1-rogue-dev \
     libgles2-rogue libgles2-rogue-dev \
     libgles3-rogue libgles3-rogue-dev \
-    libvk-rogue libvk-rogue-dev \
+    ${@bb.utils.contains("DISTRO_FEATURES", "vulkan x11 wayland", "libvk-rogue 
libvk-rogue-dev", "", d)} \
     libopencl-rogue libopencl-rogue-dev \
     libopencl-rogue-tools \
     ${PN}-tools \
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#16757): 
https://lists.yoctoproject.org/g/meta-ti/message/16757
Mute This Topic: https://lists.yoctoproject.org/mt/99672242/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to