mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
wxwidgets: add back the possibility to add packageconfig opengl for native
Previous commit (ce604d453c) 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>
This commit is contained in:
committed by
Khem Raj
parent
f5246b7df4
commit
9ed5916ac8
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user