diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-05-05 07:04:50 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-05-05 21:17:37 +0100 |
| commit | 8558c5292af05f86bda1f3d880fe0694dda18577 (patch) | |
| tree | 1c27de7637922370e8ea23f2fa738fb37a725d2b /meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb | |
| parent | bf6c6623612d2712e5f99818f0f5ed8905bc90cc (diff) | |
| download | poky-8558c5292af05f86bda1f3d880fe0694dda18577.tar.gz | |
libsdl2: upgrade 2.0.20 -> 2.0.22
(From OE-Core rev: 047f05c7a641db4138cbf3b3ea965873fe75035c)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb')
| -rw-r--r-- | meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb deleted file mode 100644 index c1c827af79..0000000000 --- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.20.bb +++ /dev/null | |||
| @@ -1,83 +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=68a088513da90254b2fbe664f42af315 \ | ||
| 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 | file://optional-libunwind-generic.patch \ | ||
| 26 | file://0001-sdlchecks.cmake-pass-cflags-to-the-appropriate-cmake.patch \ | ||
| 27 | " | ||
| 28 | SRC_URI:append:class-native = " file://0001-Disable-libunwind-in-native-OE-builds-by-not-looking.patch" | ||
| 29 | |||
| 30 | S = "${WORKDIR}/SDL2-${PV}" | ||
| 31 | |||
| 32 | SRC_URI[sha256sum] = "c56aba1d7b5b0e7e999e4a7698c70b63a3394ff9704b5f6e1c57e0c16f04dd06" | ||
| 33 | |||
| 34 | inherit cmake lib_package binconfig-disabled pkgconfig | ||
| 35 | |||
| 36 | BINCONFIG = "${bindir}/sdl2-config" | ||
| 37 | |||
| 38 | CVE_PRODUCT = "simple_directmedia_layer sdl" | ||
| 39 | |||
| 40 | EXTRA_OECMAKE = "-DSDL_OSS=OFF -DSDL_ESD=OFF -DSDL_ARTS=OFF \ | ||
| 41 | -DSDL_DISKAUDIO=OFF -DSDL_NAS=OFF -DSDL_ESD_SHARED=OFF \ | ||
| 42 | -DSDL_DUMMYVIDEO=OFF \ | ||
| 43 | -DSDL_RPI=OFF \ | ||
| 44 | -DSDL_PTHREADS=ON \ | ||
| 45 | -DSDL_RPATH=OFF \ | ||
| 46 | -DSDL_SNDIO=OFF \ | ||
| 47 | -DSDL_X11_XVM=OFF \ | ||
| 48 | -DSDL_X11_XCURSOR=OFF \ | ||
| 49 | -DSDL_X11_XINERAMA=OFF \ | ||
| 50 | -DSDL_X11_XDBE=OFF \ | ||
| 51 | -DSDL_X11_XFIXES=OFF \ | ||
| 52 | -DSDL_X11_XINPUT=OFF \ | ||
| 53 | -DSDL_X11_XRANDR=OFF \ | ||
| 54 | -DSDL_X11_XSCRNSAVER=OFF \ | ||
| 55 | -DSDL_X11_XSHAPE=OFF \ | ||
| 56 | " | ||
| 57 | |||
| 58 | # opengl packageconfig factored out to make it easy for distros | ||
| 59 | # and BSP layers to pick either (desktop) opengl, gles2, or no GL | ||
| 60 | PACKAGECONFIG_GL ?= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}" | ||
| 61 | |||
| 62 | PACKAGECONFIG:class-native = "x11 ${PACKAGECONFIG_GL}" | ||
| 63 | PACKAGECONFIG:class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} ${PACKAGECONFIG_GL}" | ||
| 64 | PACKAGECONFIG ??= " \ | ||
| 65 | ${PACKAGECONFIG_GL} \ | ||
| 66 | ${@bb.utils.filter('DISTRO_FEATURES', 'alsa directfb pulseaudio x11', d)} \ | ||
| 67 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland gles2', '', d)} \ | ||
| 68 | ${@bb.utils.contains("TUNE_FEATURES", "neon","arm-neon","",d)} \ | ||
| 69 | " | ||
| 70 | PACKAGECONFIG[alsa] = "-DSDL_ALSA=ON,-DSDL_ALSA=OFF,alsa-lib," | ||
| 71 | PACKAGECONFIG[arm-neon] = "-DSDL_ARMNEON=ON,-DSDL_ARMNEON=OFF" | ||
| 72 | PACKAGECONFIG[directfb] = "-DSDL_DIRECTFB=ON,-DSDL_DIRECTFB=OFF,directfb,directfb" | ||
| 73 | PACKAGECONFIG[gles2] = "-DSDL_OPENGLES=ON,-DSDL_OPENGLES=OFF,virtual/libgles2" | ||
| 74 | PACKAGECONFIG[jack] = "-DSDL_JACK=ON,-DSDL_JACK=OFF,jack" | ||
| 75 | PACKAGECONFIG[kmsdrm] = "-DSDL_KMSDRM=ON,-DSDL_KMSDRM=OFF,libdrm virtual/libgbm" | ||
| 76 | PACKAGECONFIG[opengl] = "-DSDL_OPENGL=ON,-DSDL_OPENGL=OFF,virtual/egl" | ||
| 77 | PACKAGECONFIG[pulseaudio] = "-DSDL_PULSEAUDIO=ON,-DSDL_PULSEAUDIO=OFF,pulseaudio" | ||
| 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 | BBCLASSEXTEND = "native nativesdk" | ||
