summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/libsdl2
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-01-07 14:32:19 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-01-07 23:10:26 +0000
commit4bb526f09ee5787344fdc982e846775317ecf8f2 (patch)
tree4bd37bce6a31ff210d22bf8b169befaa9a77774d /meta/recipes-graphics/libsdl2
parent2ae6a1ce19b82f8cec141f0cf69f69ca605341a1 (diff)
downloadpoky-4bb526f09ee5787344fdc982e846775317ecf8f2.tar.gz
libsdl2: Fix X11 configure options
We're seeing various failures where the X11 headers are found on the native system but not all libraries are present and hence autoconfiguration of the X11 subcomponents fails. We don't list any of these X11 subcomponents as a dependency so disable them by default. Configuration and dependencies can be added if people need them. (From OE-Core rev: f30ebc0b82b10f56f250a3a9c4f1f2fe9fb281b3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/libsdl2')
-rw-r--r--meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb11
1 files changed, 10 insertions, 1 deletions
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb
index 20e4942835..893386343a 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.18.bb
@@ -37,7 +37,16 @@ EXTRA_OECMAKE = "-DSDL_OSS=OFF -DSDL_ESD=OFF -DSDL_ARTS=OFF \
37 -DSDL_PTHREADS=ON \ 37 -DSDL_PTHREADS=ON \
38 -DSDL_RPATH=OFF \ 38 -DSDL_RPATH=OFF \
39 -DSDL_SNDIO=OFF \ 39 -DSDL_SNDIO=OFF \
40 " 40 -DSDL_X11_XVM=OFF \
41 -DSDL_X11_XCURSOR=OFF \
42 -DSDL_X11_XINERAMA=OFF \
43 -DSDL_X11_XDBE=OFF \
44 -DSDL_X11_XFIXES=OFF \
45 -DSDL_X11_XINPUT=OFF \
46 -DSDL_X11_XRANDR=OFF \
47 -DSDL_X11_XSCRNSAVER=OFF \
48 -DSDL_X11_XSHAPE=OFF \
49"
41 50
42# opengl packageconfig factored out to make it easy for distros 51# opengl packageconfig factored out to make it easy for distros
43# and BSP layers to pick either (desktop) opengl, gles2, or no GL 52# and BSP layers to pick either (desktop) opengl, gles2, or no GL