diff options
author | Markus Volk <f_l_k@t-online.de> | 2025-03-13 13:38:44 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-03-13 22:09:36 -0700 |
commit | bbe435d1b5f18b43fe8f21cc74b6069b03dea0b1 (patch) | |
tree | 381a5504c2f76c6ec64e926a865808497cad85d1 | |
parent | 8bcfbe9f47dbdcb8c87cebdd2f66c47d31c57abe (diff) | |
download | meta-openembedded-bbe435d1b5f18b43fe8f21cc74b6069b03dea0b1.tar.gz |
libsdl2-compat: add recipe
This is a drop in replacement for libsdl2 that uses libsdl3 behind the scenes
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.52.bb | 21 |
1 files changed, 21 insertions, 0 deletions
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 new file mode 100644 index 0000000000..5052c85b3d --- /dev/null +++ b/meta-oe/recipes-graphics/libsdl3/libsdl2-compat_2.32.52.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | SUMMARY = "Simple DirectMedia Layer (SDL) sdl2-compat" | ||
2 | DESCRIPTION = "This code is a compatibility layer; it provides a binary and source compatible \ | ||
3 | API for programs written against SDL2, but it uses SDL3 behind the scenes. If you are \ | ||
4 | writing new code, please target SDL3 directly and do not use this layer." | ||
5 | HOMEPAGE = "http://www.libsdl.org" | ||
6 | BUGTRACKER = "http://bugzilla.libsdl.org/" | ||
7 | |||
8 | SECTION = "libs" | ||
9 | |||
10 | LICENSE = "Zlib" | ||
11 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=98241180d857fe975e4b60d44d6c01a5" | ||
12 | |||
13 | SRC_URI = "http://www.libsdl.org/release/sdl2-compat-${PV}.tar.gz" | ||
14 | SRC_URI[sha256sum] = "eb02c4c47d90e7a2585a65c712cf4a08ff4c37c0a1efc17af49d8ebde3292c23" | ||
15 | S = "${WORKDIR}/sdl2-compat-${PV}" | ||
16 | |||
17 | DEPENDS += "libsdl3" | ||
18 | |||
19 | inherit cmake pkgconfig upstream-version-is-even | ||
20 | |||
21 | FILES:${PN} += "${datadir}/licenses" | ||