diff options
| author | Yi Zhao <yi.zhao@eng.windriver.com> | 2024-02-20 12:40:45 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-20 11:39:45 +0000 |
| commit | fb697581642327317ea579551622bd140206a20d (patch) | |
| tree | 18b2cbc6ba80a5ac4c9ae2b24e0ee04cb0339064 /meta/recipes-graphics/libsdl2/libsdl2_2.28.5.bb | |
| parent | 1648d0e8f7327eb8ff34da2352e16f2591654be3 (diff) | |
| download | poky-fb697581642327317ea579551622bd140206a20d.tar.gz | |
libsdl2: upgrade 2.28.5 -> 2.30.0
License-Update: Copyright year updated to 2024.
ChangeLog (https://github.com/libsdl-org/SDL/releases/tag/release-2.30.0):
* Added support for 2 bits-per-pixel indexed surface formats
* Added the function SDL_GameControllerGetSteamHandle() to get the Steam
API handle for a controller, if available
* Added the event SDL_CONTROLLERSTEAMHANDLEUPDATED which is sent when
the Steam API handle for a controller changes. This could also change
the name, VID, and PID of the controller.
* Added the environment variable SDL_LOGGING to control default log
output
(From OE-Core rev: 7aef0ee68b612203fe5e0788c57642c4cabea1b4)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/libsdl2/libsdl2_2.28.5.bb')
| -rw-r--r-- | meta/recipes-graphics/libsdl2/libsdl2_2.28.5.bb | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.28.5.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.28.5.bb deleted file mode 100644 index fd876df0ad..0000000000 --- a/meta/recipes-graphics/libsdl2/libsdl2_2.28.5.bb +++ /dev/null | |||
| @@ -1,85 +0,0 @@ | |||
| 1 | SUMMARY = "Simple DirectMedia Layer" | ||
| 2 | DESCRIPTION = "Simple DirectMedia Layer is a cross-platform multimedia \ | ||
| 3 | library designed to provide low level access to audio, keyboard, mouse, \ | ||
| 4 | joystick, 3D hardware via OpenGL, and 2D video framebuffer." | ||
| 5 | HOMEPAGE = "http://www.libsdl.org" | ||
| 6 | BUGTRACKER = "http://bugzilla.libsdl.org/" | ||
| 7 | |||
| 8 | SECTION = "libs" | ||
| 9 | |||
| 10 | LICENSE = "Zlib & BSD-2-Clause" | ||
| 11 | LIC_FILES_CHKSUM = "\ | ||
| 12 | file://LICENSE.txt;md5=31f575634fd56b27fc6b6cbe8dc9bd38 \ | ||
| 13 | file://src/hidapi/LICENSE.txt;md5=7c3949a631240cb6c31c50f3eb696077 \ | ||
| 14 | file://src/hidapi/LICENSE-bsd.txt;md5=b5fa085ce0926bb50d0621620a82361f \ | ||
| 15 | file://src/video/yuv2rgb/LICENSE;md5=79f8f3418d91531e05f0fc94ca67e071 \ | ||
| 16 | " | ||
| 17 | |||
| 18 | # arm-neon adds MIT license | ||
| 19 | LICENSE:append = " ${@bb.utils.contains('PACKAGECONFIG', 'arm-neon', '& MIT', '', d)}" | ||
| 20 | LIC_FILES_CHKSUM:append = " ${@bb.utils.contains('PACKAGECONFIG', 'arm-neon', 'file://src/video/arm/pixman-arm-neon-asm.h;md5=9a9cc1e51abbf1da58f4d9528ec9d49b;beginline=1;endline=24', '', d)}" | ||
| 21 | |||
| 22 | PROVIDES = "virtual/libsdl2" | ||
| 23 | |||
| 24 | SRC_URI = "http://www.libsdl.org/release/SDL2-${PV}.tar.gz" | ||
| 25 | |||
| 26 | S = "${WORKDIR}/SDL2-${PV}" | ||
| 27 | |||
| 28 | SRC_URI[sha256sum] = "332cb37d0be20cb9541739c61f79bae5a477427d79ae85e352089afdaf6666e4" | ||
| 29 | |||
| 30 | inherit cmake lib_package binconfig-disabled pkgconfig upstream-version-is-even | ||
| 31 | |||
| 32 | BINCONFIG = "${bindir}/sdl2-config" | ||
| 33 | |||
| 34 | CVE_PRODUCT = "simple_directmedia_layer sdl" | ||
| 35 | |||
| 36 | EXTRA_OECMAKE = "-DSDL_OSS=OFF -DSDL_ESD=OFF -DSDL_ARTS=OFF \ | ||
| 37 | -DSDL_DISKAUDIO=OFF -DSDL_NAS=OFF -DSDL_ESD_SHARED=OFF \ | ||
| 38 | -DSDL_DUMMYVIDEO=OFF \ | ||
| 39 | -DSDL_RPI=OFF \ | ||
| 40 | -DSDL_PTHREADS=ON \ | ||
| 41 | -DSDL_RPATH=OFF \ | ||
| 42 | -DSDL_SNDIO=OFF \ | ||
| 43 | -DSDL_X11_XCURSOR=OFF \ | ||
| 44 | -DSDL_X11_XDBE=OFF \ | ||
| 45 | -DSDL_X11_XFIXES=OFF \ | ||
| 46 | -DSDL_X11_XINPUT=OFF \ | ||
| 47 | -DSDL_X11_XRANDR=OFF \ | ||
| 48 | -DSDL_X11_XSCRNSAVER=OFF \ | ||
| 49 | -DSDL_X11_XSHAPE=OFF \ | ||
| 50 | " | ||
| 51 | |||
| 52 | # opengl packageconfig factored out to make it easy for distros | ||
| 53 | # and BSP layers to pick either (desktop) opengl, gles2, or no GL | ||
| 54 | PACKAGECONFIG_GL ?= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}" | ||
| 55 | |||
| 56 | PACKAGECONFIG:class-native = "x11 ${PACKAGECONFIG_GL}" | ||
| 57 | PACKAGECONFIG:class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} ${PACKAGECONFIG_GL}" | ||
| 58 | PACKAGECONFIG ??= " \ | ||
| 59 | ${PACKAGECONFIG_GL} \ | ||
| 60 | ${@bb.utils.filter('DISTRO_FEATURES', 'alsa directfb pulseaudio pipewire x11 vulkan', d)} \ | ||
| 61 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland gles2', '', d)} \ | ||
| 62 | ${@bb.utils.contains("TUNE_FEATURES", "neon","arm-neon","",d)} \ | ||
| 63 | " | ||
| 64 | PACKAGECONFIG[alsa] = "-DSDL_ALSA=ON,-DSDL_ALSA=OFF,alsa-lib," | ||
| 65 | PACKAGECONFIG[arm-neon] = "-DSDL_ARMNEON=ON,-DSDL_ARMNEON=OFF" | ||
| 66 | PACKAGECONFIG[directfb] = "-DSDL_DIRECTFB=ON,-DSDL_DIRECTFB=OFF,directfb,directfb" | ||
| 67 | PACKAGECONFIG[gles2] = "-DSDL_OPENGLES=ON,-DSDL_OPENGLES=OFF,virtual/libgles2" | ||
| 68 | PACKAGECONFIG[jack] = "-DSDL_JACK=ON,-DSDL_JACK=OFF,jack" | ||
| 69 | PACKAGECONFIG[kmsdrm] = "-DSDL_KMSDRM=ON,-DSDL_KMSDRM=OFF,libdrm virtual/libgbm" | ||
| 70 | # The hidraw support doesn't catch Xbox, PS4 and Nintendo controllers, | ||
| 71 | # so we'll just use libusb when it's available. | ||
| 72 | PACKAGECONFIG[libusb] = ",,libusb1" | ||
| 73 | PACKAGECONFIG[libdecor] = "-DSDL_WAYLAND_LIBDECOR=ON,-DSDL_WAYLAND_LIBDECOR=OFF,libdecor,libdecor" | ||
| 74 | PACKAGECONFIG[opengl] = "-DSDL_OPENGL=ON,-DSDL_OPENGL=OFF,virtual/egl" | ||
| 75 | PACKAGECONFIG[pipewire] = "-DSDL_PIPEWIRE_SHARED=ON,-DSDL_PIPEWIRE_SHARED=OFF,pipewire" | ||
| 76 | PACKAGECONFIG[pulseaudio] = "-DSDL_PULSEAUDIO=ON,-DSDL_PULSEAUDIO=OFF,pulseaudio" | ||
| 77 | PACKAGECONFIG[vulkan] = "-DSDL_VULKAN=ON,-DSDL_VULKAN=OFF" | ||
| 78 | PACKAGECONFIG[wayland] = "-DSDL_WAYLAND=ON,-DSDL_WAYLAND=OFF,wayland-native wayland wayland-protocols libxkbcommon" | ||
| 79 | PACKAGECONFIG[x11] = "-DSDL_X11=ON,-DSDL_X11=OFF,virtual/libx11 libxext libxrandr libxrender" | ||
| 80 | |||
| 81 | CFLAGS:append:class-native = " -DNO_SHARED_MEMORY" | ||
| 82 | |||
| 83 | FILES:${PN} += "${datadir}/licenses/SDL2/LICENSE.txt" | ||
| 84 | |||
| 85 | BBCLASSEXTEND = "native nativesdk" | ||
