ti-img-rogue-umlibs: Make x11 dependency optional
PATCH 1/1 ti-img-rogue-umlibs: Make x11 dependency optional
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(-)
meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.1.6404501.bb +4 -1
@@ -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 \
Signature · 1 line
2.25.1
Quoted 7 lines · Daniel Schultz
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]>---
Hold on, let me get you a proper fix now that I'm packaging components separately.