From 06b0c98d5f9be1e85cd4588b1dfd182c8e45e2cc Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 9 Jun 2026 21:17:25 -0700 Subject: libsdl2-compat: upgrade 2.32.64 -> 2.32.70 Signed-off-by: Khem Raj --- .../libsdl3/libsdl2-compat_2.32.64.bb | 37 ---------------------- .../libsdl3/libsdl2-compat_2.32.70.bb | 37 ++++++++++++++++++++++ 2 files changed, 37 insertions(+), 37 deletions(-) delete mode 100644 meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.64.bb create mode 100644 meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.70.bb diff --git a/meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.64.bb b/meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.64.bb deleted file mode 100644 index c83b90f77b..0000000000 --- a/meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.64.bb +++ /dev/null @@ -1,37 +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=ca6eaff208365238403badb97aa6b3d2" - -SRC_URI = "http://www.libsdl.org/release/sdl2-compat-${PV}.tar.gz" -SRC_URI[sha256sum] = "b2fa522e7bb08113534904b3dc2d2f7ff7b0c259224d86c12374d5b4a4027930" -S = "${UNPACKDIR}/sdl2-compat-${PV}" - -DEPENDS += "libsdl3" - -PROVIDES = "virtual/libsdl2" - -inherit cmake pkgconfig upstream-version-is-even features_check - -REQUIRED_DISTRO_FEATURES = "opengl" - -PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" -PACKAGECONFIG[x11] = "-DSDL2COMPAT_X11=ON,-DSDL2COMPAT_X11=OFF,virtual/libx11" - -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.70.bb b/meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.70.bb new file mode 100644 index 0000000000..56134f805f --- /dev/null +++ b/meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.70.bb @@ -0,0 +1,37 @@ +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=ca6eaff208365238403badb97aa6b3d2" + +SRC_URI = "http://www.libsdl.org/release/sdl2-compat-${PV}.tar.gz" +SRC_URI[sha256sum] = "998fa62557eb46ffe7e5c3e2c123bc332f7df9d9f593b3ceed88ed1158428a44" +S = "${UNPACKDIR}/sdl2-compat-${PV}" + +DEPENDS += "libsdl3" + +PROVIDES = "virtual/libsdl2" + +inherit cmake pkgconfig upstream-version-is-even features_check + +REQUIRED_DISTRO_FEATURES = "opengl" + +PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" +PACKAGECONFIG[x11] = "-DSDL2COMPAT_X11=ON,-DSDL2COMPAT_X11=OFF,virtual/libx11" + +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