From 9ed5916ac8826e9554ebb2dfe1c741a201712eb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Henrique=20Ferreira=20de=20Freitas?= Date: Sun, 14 Sep 2025 20:40:53 -0300 Subject: [PATCH] wxwidgets: add back the possibility to add packageconfig opengl for native Previous commit (ce604d453c9d119e992bdcd7e0e0a01960b8d2de) removed packageconfig opengl for -native. The removal was done in a way that it is not possible to append or add opengl from a .bbappend wxwidgets recipe [1]. This commit adds back the possibility to add opengl to packageconfig when native, using a weak assignment. 1: https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-metadata.html#removal-override-style-syntax Signed-off-by: Khem Raj --- meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.8.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.8.bb b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.8.bb index 8d1090a171..fcb30b41b0 100644 --- a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.8.bb +++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.8.bb @@ -52,7 +52,7 @@ PACKAGECONFIG ?= "${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland', 'gt " PACKAGECONFIG:append:class-target = " mediactrl ${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland', 'webkit', '', d)}" -PACKAGECONFIG:remove:class-native = "opengl" +PACKAGECONFIG:class-native ?= "${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland', 'gtk', 'no_gui', d)}" # Note on toolkit-PACKAGECONFIGs: select exactly one of 'no_gui' / 'gtk' / 'qt' PACKAGECONFIG[no_gui] = "-DwxUSE_GUI=OFF,,,,,qt gtk opengl"