Openembedded Core Discussions
 help / color / mirror / Atom feed
* [oe-core][RFC PATCHv5 1/5] libsdl2: align native and target build
@ 2022-05-22  8:47 Markus Volk
  2022-05-22  8:47 ` [oe-core][RFC PATCHv5 2/5] libxkbcommon: allow to build native/nativesdk Markus Volk
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Markus Volk @ 2022-05-22  8:47 UTC (permalink / raw)
  To: openembedded-core; +Cc: Markus Volk

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
index c1c827af79..358efc8694 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb
@@ -57,14 +57,11 @@ EXTRA_OECMAKE = "-DSDL_OSS=OFF -DSDL_ESD=OFF -DSDL_ARTS=OFF \
 
 # opengl packageconfig factored out to make it easy for distros
 # and BSP layers to pick either (desktop) opengl, gles2, or no GL
-PACKAGECONFIG_GL ?= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}"
+PACKAGECONFIG_GL ?= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl gles2', d)}"
 
-PACKAGECONFIG:class-native = "x11 ${PACKAGECONFIG_GL}"
-PACKAGECONFIG:class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} ${PACKAGECONFIG_GL}"
 PACKAGECONFIG ??= " \
     ${PACKAGECONFIG_GL} \
-    ${@bb.utils.filter('DISTRO_FEATURES', 'alsa directfb pulseaudio x11', d)} \
-    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland gles2', '', d)} \
+    ${@bb.utils.filter('DISTRO_FEATURES', 'alsa directfb pulseaudio x11 wayland', d)} \
     ${@bb.utils.contains("TUNE_FEATURES", "neon","arm-neon","",d)} \
 "
 PACKAGECONFIG[alsa]       = "-DSDL_ALSA=ON,-DSDL_ALSA=OFF,alsa-lib,"
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-05-23 12:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-22  8:47 [oe-core][RFC PATCHv5 1/5] libsdl2: align native and target build Markus Volk
2022-05-22  8:47 ` [oe-core][RFC PATCHv5 2/5] libxkbcommon: allow to build native/nativesdk Markus Volk
2022-05-22  8:47 ` [oe-core][RFC PATCHv5 3/5] xkexboard-config: " Markus Volk
2022-05-22  8:47 ` [oe-core][RFC PATCHv5 4/5] libdecor: initial add recipe Markus Volk
2022-05-22  8:47 ` [oe-core][RFC PATCHv5 5/5] libsdl2: add PACKAGECONFIG options Markus Volk
2022-05-23 12:33   ` Luca Ceresoli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox