summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Henrique Ferreira de Freitas <joaohf@gmail.com>2025-09-14 20:40:53 -0300
committerKhem Raj <raj.khem@gmail.com>2025-09-15 09:55:16 -0700
commit9ed5916ac8826e9554ebb2dfe1c741a201712eb4 (patch)
tree73fc6597f000f4194cb3c900f395cc34330e0ec1
parentf5246b7df447ac76ec04c6e5add398862d1c9ccd (diff)
downloadmeta-openembedded-9ed5916ac8826e9554ebb2dfe1c741a201712eb4.tar.gz
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 <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.8.bb2
1 files changed, 1 insertions, 1 deletions
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
52" 52"
53PACKAGECONFIG:append:class-target = " mediactrl ${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland', 'webkit', '', d)}" 53PACKAGECONFIG:append:class-target = " mediactrl ${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland', 'webkit', '', d)}"
54 54
55PACKAGECONFIG:remove:class-native = "opengl" 55PACKAGECONFIG:class-native ?= "${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland', 'gtk', 'no_gui', d)}"
56 56
57# Note on toolkit-PACKAGECONFIGs: select exactly one of 'no_gui' / 'gtk' / 'qt' 57# Note on toolkit-PACKAGECONFIGs: select exactly one of 'no_gui' / 'gtk' / 'qt'
58PACKAGECONFIG[no_gui] = "-DwxUSE_GUI=OFF,,,,,qt gtk opengl" 58PACKAGECONFIG[no_gui] = "-DwxUSE_GUI=OFF,,,,,qt gtk opengl"