From ed32c008dadfda56b69c2ee81189727ce0f33597 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Wed, 21 May 2025 17:09:24 +0200 Subject: libsdl2-compat: update 2.32.52 -> 2.32.56 2.32.56 This is a stable bugfix release, with the following changes: Fixed rendering in Mesen2 Fixed brightness in ioquake3 Fixed a hang at launch in the xemu emulator Fixed crackling and sped up audio in OpenRCT2 Fixed fullscreen window positioning on Wayland with multiple displays Key events are now sent for dead keys on X11 Fixed mouse wheel integer scrolling values Fixed a double-free when working with RLE surfaces Fixed a memory leak in SDL_LockTextureToSurface() Fixed sending SDL3 controller events to SDL2 applications 2.32.54 This is a stable bugfix release, with the following changes: sdl2_compat.pc was renamed to sdl2-compat.pc Fixed creating fullscreen exclusive windows Fixed relative mouse motion for Half-Life and mods on Windows Fixed crash during controller hotplug in RetroArch Fixed display scale under Wayland in ioquake3 Default to using X11 for the UE5 editor, fixing mouse input Fixed SDL_SetWindowInputFocus() return value Improved accuracy of SDL_GetRenderDriverInfo() Improved handling of very slight mouse movements Signed-off-by: Markus Volk Signed-off-by: Khem Raj --- .../libsdl3/libsdl2-compat_2.32.52.bb | 34 ---------------------- .../libsdl3/libsdl2-compat_2.32.56.bb | 34 ++++++++++++++++++++++ 2 files changed, 34 insertions(+), 34 deletions(-) delete mode 100644 meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.52.bb create mode 100644 meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.56.bb diff --git a/meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.52.bb b/meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.52.bb deleted file mode 100644 index 4553ac14e1..0000000000 --- a/meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.52.bb +++ /dev/null @@ -1,34 +0,0 @@ -SUMMARY = "Simple DirectMedia Layer (SDL) sdl2-compat" -DESCRIPTION = "This code is a compatibility layer; it provides a binary and source compatible \ -API for programs written against SDL2, but it uses SDL3 behind the scenes. If you are \ -writing new code, please target SDL3 directly and do not use this layer." -HOMEPAGE = "http://www.libsdl.org" -BUGTRACKER = "http://bugzilla.libsdl.org/" - -SECTION = "libs" - -LICENSE = "Zlib" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=98241180d857fe975e4b60d44d6c01a5" - -SRC_URI = "http://www.libsdl.org/release/sdl2-compat-${PV}.tar.gz" -SRC_URI[sha256sum] = "eb02c4c47d90e7a2585a65c712cf4a08ff4c37c0a1efc17af49d8ebde3292c23" -S = "${WORKDIR}/sdl2-compat-${PV}" - -DEPENDS += "libsdl3" - -PROVIDES = "virtual/libsdl2" - -inherit cmake pkgconfig upstream-version-is-even features_check - -REQUIRED_DISTRO_FEATURES = "opengl x11" - -do_install:append() { - mv ${D}${libdir}/pkgconfig/sdl2_compat.pc ${D}${libdir}/pkgconfig/sdl2.pc -} - -FILES:${PN} += "${datadir}/licenses" - -RCONFLICTS:${PN} = "libsdl2" -RPROVIDES:${PN} = "libsdl2" - -BBCLASSEXTEND = "nativesdk native" diff --git a/meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.56.bb b/meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.56.bb new file mode 100644 index 0000000000..7e3a06f34f --- /dev/null +++ b/meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.56.bb @@ -0,0 +1,34 @@ +SUMMARY = "Simple DirectMedia Layer (SDL) sdl2-compat" +DESCRIPTION = "This code is a compatibility layer; it provides a binary and source compatible \ +API for programs written against SDL2, but it uses SDL3 behind the scenes. If you are \ +writing new code, please target SDL3 directly and do not use this layer." +HOMEPAGE = "http://www.libsdl.org" +BUGTRACKER = "http://bugzilla.libsdl.org/" + +SECTION = "libs" + +LICENSE = "Zlib" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=98241180d857fe975e4b60d44d6c01a5" + +SRC_URI = "http://www.libsdl.org/release/sdl2-compat-${PV}.tar.gz" +SRC_URI[sha256sum] = "27e845b1b7dc0a91a85f1a1f18892ed205adb38caf767741eb258008d8264de0" +S = "${WORKDIR}/sdl2-compat-${PV}" + +DEPENDS += "libsdl3" + +PROVIDES = "virtual/libsdl2" + +inherit cmake pkgconfig upstream-version-is-even features_check + +REQUIRED_DISTRO_FEATURES = "opengl x11" + +do_install:append() { + mv ${D}${libdir}/pkgconfig/sdl2-compat.pc ${D}${libdir}/pkgconfig/sdl2.pc +} + +FILES:${PN} += "${datadir}/licenses" + +RCONFLICTS:${PN} = "libsdl2" +RPROVIDES:${PN} = "libsdl2" + +BBCLASSEXTEND = "nativesdk native" -- cgit v1.2.3-54-g00ecf