Skip to contentSkip to conversation

wxwidgets: fix pkgconfig no_gui conflict with opengl

PATCH In review [email protected] 2 participants 2 messages Apr 11, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wxwidgets: fix pkgconfig no_gui conflict with opengl

From: Preeti Sachan <[email protected]>

PACKAGECONFIG can not have both 'no_gui' and 'opengl'. This fixes parsing error: PACKAGECONFIG[no_gui] Conflict package config 'opengl' set in PACKAGECONFIG.

---
 meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb +1 -0
index e82143040..c14179386 100644
@@ -48,6 +48,7 @@ PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', 'no_gui'
     ${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)} \
 "
 
+PACKAGECONFIG:remove:class-target = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'opengl', d)}"
 PACKAGECONFIG:remove:class-native = "opengl"
 
 # Note on toolkit-PACKAGECONFIGs: select exactly one of 'no_gui' / 'gtk' / 'qt'
Signature · 1 line
2.25.1
#1 lore raw

is this needed on top of latest master ?

Quoted 36 lines · On Sun, Apr 10, 2022 at 10:06 AM <[email protected]> wrote:

From: Preeti Sachan <[email protected]>

PACKAGECONFIG can not have both 'no_gui' and 'opengl'. This fixes parsing error: PACKAGECONFIG[no_gui] Conflict package config 'opengl' set in PACKAGECONFIG.

---
 meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-extended/wxwidgets/wxwidgets_3.1.5.bb +1 -1
index e82143040..c14179386 100644
@@ -48,6 +48,7 @@ PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', 'no_gui'
     ${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)} \
 "
 
+PACKAGECONFIG:remove:class-target = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'opengl', d)}"
 PACKAGECONFIG:remove:class-native = "opengl"
 
 # Note on toolkit-PACKAGECONFIGs: select exactly one of 'no_gui' / 'gtk' / 'qt'
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#96505): https://lists.openembedded.org/g/openembedded-devel/message/96505
Mute This Topic: https://lists.openembedded.org/mt/90377860/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-