diff options
Diffstat (limited to 'meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb')
-rw-r--r-- | meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb index 0d9a12993f..d747cf18f0 100644 --- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb +++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb | |||
@@ -38,15 +38,12 @@ EXTRA_OECONF = "--disable-oss --disable-esd --disable-arts \ | |||
38 | 38 | ||
39 | # opengl packageconfig factored out to make it easy for distros | 39 | # opengl packageconfig factored out to make it easy for distros |
40 | # and BSP layers to pick either (desktop) opengl, gles2, or no GL | 40 | # and BSP layers to pick either (desktop) opengl, gles2, or no GL |
41 | PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl', '', d)}" | 41 | PACKAGECONFIG_GL ?= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}" |
42 | 42 | ||
43 | PACKAGECONFIG ??= " \ | 43 | PACKAGECONFIG ??= " \ |
44 | ${PACKAGECONFIG_GL} \ | 44 | ${PACKAGECONFIG_GL} \ |
45 | ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \ | 45 | ${@bb.utils.filter('DISTRO_FEATURES', 'alsa directfb pulseaudio x11', d)} \ |
46 | ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \ | ||
47 | ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \ | ||
48 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland gles2', '', d)} \ | 46 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland gles2', '', d)} \ |
49 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ | ||
50 | " | 47 | " |
51 | PACKAGECONFIG[alsa] = "--enable-alsa --disable-alsatest,--disable-alsa,alsa-lib," | 48 | PACKAGECONFIG[alsa] = "--enable-alsa --disable-alsatest,--disable-alsa,alsa-lib," |
52 | PACKAGECONFIG[directfb] = "--enable-video-directfb,--disable-video-directfb,directfb" | 49 | PACKAGECONFIG[directfb] = "--enable-video-directfb,--disable-video-directfb,directfb" |