summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorMarkus Volk <f_l_k@t-online.de>2022-05-21 10:48:50 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-05-21 22:20:54 +0100
commit39ec265ecbf6f0cb64a352ce6af9bff94368df10 (patch)
treebc7026dba09b38a5a1f8cdb2a2e9a4ee1979f018 /meta/recipes-graphics
parentb0aba693de7b41dc4822ae591b99d307218ab1ef (diff)
downloadpoky-39ec265ecbf6f0cb64a352ce6af9bff94368df10.tar.gz
libsdl2: add PACKAGECONFIG for libusb1 and remove obsolete options
Support for XVM and Xinerama has been removed (From OE-Core rev: 09092685fdc8ffe6384bea441394ce02d6ff7e66) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb
index 7678319770..b112d63784 100644
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb
+++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.22.bb
@@ -43,9 +43,7 @@ EXTRA_OECMAKE = "-DSDL_OSS=OFF -DSDL_ESD=OFF -DSDL_ARTS=OFF \
43 -DSDL_PTHREADS=ON \ 43 -DSDL_PTHREADS=ON \
44 -DSDL_RPATH=OFF \ 44 -DSDL_RPATH=OFF \
45 -DSDL_SNDIO=OFF \ 45 -DSDL_SNDIO=OFF \
46 -DSDL_X11_XVM=OFF \
47 -DSDL_X11_XCURSOR=OFF \ 46 -DSDL_X11_XCURSOR=OFF \
48 -DSDL_X11_XINERAMA=OFF \
49 -DSDL_X11_XDBE=OFF \ 47 -DSDL_X11_XDBE=OFF \
50 -DSDL_X11_XFIXES=OFF \ 48 -DSDL_X11_XFIXES=OFF \
51 -DSDL_X11_XINPUT=OFF \ 49 -DSDL_X11_XINPUT=OFF \
@@ -72,6 +70,9 @@ PACKAGECONFIG[directfb] = "-DSDL_DIRECTFB=ON,-DSDL_DIRECTFB=OFF,directfb,direc
72PACKAGECONFIG[gles2] = "-DSDL_OPENGLES=ON,-DSDL_OPENGLES=OFF,virtual/libgles2" 70PACKAGECONFIG[gles2] = "-DSDL_OPENGLES=ON,-DSDL_OPENGLES=OFF,virtual/libgles2"
73PACKAGECONFIG[jack] = "-DSDL_JACK=ON,-DSDL_JACK=OFF,jack" 71PACKAGECONFIG[jack] = "-DSDL_JACK=ON,-DSDL_JACK=OFF,jack"
74PACKAGECONFIG[kmsdrm] = "-DSDL_KMSDRM=ON,-DSDL_KMSDRM=OFF,libdrm virtual/libgbm" 72PACKAGECONFIG[kmsdrm] = "-DSDL_KMSDRM=ON,-DSDL_KMSDRM=OFF,libdrm virtual/libgbm"
73# The hidraw support doesn't catch Xbox, PS4 and Nintendo controllers,
74# so we'll just use libusb when it's available.
75PACKAGECONFIG[libusb] = ",,libusb1"
75PACKAGECONFIG[opengl] = "-DSDL_OPENGL=ON,-DSDL_OPENGL=OFF,virtual/egl" 76PACKAGECONFIG[opengl] = "-DSDL_OPENGL=ON,-DSDL_OPENGL=OFF,virtual/egl"
76PACKAGECONFIG[pulseaudio] = "-DSDL_PULSEAUDIO=ON,-DSDL_PULSEAUDIO=OFF,pulseaudio" 77PACKAGECONFIG[pulseaudio] = "-DSDL_PULSEAUDIO=ON,-DSDL_PULSEAUDIO=OFF,pulseaudio"
77PACKAGECONFIG[wayland] = "-DSDL_WAYLAND=ON,-DSDL_WAYLAND=OFF,wayland-native wayland wayland-protocols libxkbcommon" 78PACKAGECONFIG[wayland] = "-DSDL_WAYLAND=ON,-DSDL_WAYLAND=OFF,wayland-native wayland wayland-protocols libxkbcommon"