diff options
author | Yann Dirson <yann@blade-group.com> | 2021-02-01 11:23:00 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-05 08:16:32 +0000 |
commit | 9449f2276422a21d5f9b9f05fbc1d79bc1a19f83 (patch) | |
tree | bc08ae1b9340c92345cc3c047c992665052d115d /meta/recipes-graphics/libsdl2/libsdl2_2.0.12.bb | |
parent | 4cb93cd028f171143089a64a1a17b3c9a085d4b2 (diff) | |
download | poky-9449f2276422a21d5f9b9f05fbc1d79bc1a19f83.tar.gz |
libsdl2: upgrade to 2.0.14
This version does not support tslib any more, as can be seen by the
failed AUH run.
Originally-by: Romain Roffé <romain.roffe@blade-group.com>
(From OE-Core rev: 5b54e97594ab021a73d3225ed42dac0dfaf3fc15)
Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/libsdl2/libsdl2_2.0.12.bb')
-rw-r--r-- | meta/recipes-graphics/libsdl2/libsdl2_2.0.12.bb | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.12.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.12.bb deleted file mode 100644 index 5fa99821c4..0000000000 --- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.12.bb +++ /dev/null | |||
@@ -1,84 +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" | ||
11 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=2d4af6adb4d89aad0cdedbcc18c9a32f" | ||
12 | |||
13 | # arm-neon adds MIT license | ||
14 | LICENSE_append = " ${@bb.utils.contains('PACKAGECONFIG', 'arm-neon', '& MIT', '', d)}" | ||
15 | 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)}" | ||
16 | |||
17 | PROVIDES = "virtual/libsdl2" | ||
18 | |||
19 | SRC_URI = "http://www.libsdl.org/release/SDL2-${PV}.tar.gz \ | ||
20 | file://more-gen-depends.patch \ | ||
21 | file://directfb-spurious-curly-brace-missing-e.patch \ | ||
22 | file://directfb-renderfillrect-fix.patch \ | ||
23 | " | ||
24 | |||
25 | S = "${WORKDIR}/SDL2-${PV}" | ||
26 | |||
27 | SRC_URI[md5sum] = "783b6f2df8ff02b19bb5ce492b99c8ff" | ||
28 | SRC_URI[sha256sum] = "349268f695c02efbc9b9148a70b85e58cefbbf704abd3e91be654db7f1e2c863" | ||
29 | |||
30 | inherit autotools lib_package binconfig-disabled pkgconfig | ||
31 | |||
32 | BINCONFIG = "${bindir}/sdl2-config" | ||
33 | |||
34 | CVE_PRODUCT = "simple_directmedia_layer sdl" | ||
35 | |||
36 | EXTRA_OECONF = "--disable-oss --disable-esd --disable-arts \ | ||
37 | --disable-diskaudio --disable-nas --disable-esd-shared --disable-esdtest \ | ||
38 | --disable-video-dummy \ | ||
39 | --disable-video-rpi \ | ||
40 | --enable-pthreads \ | ||
41 | --enable-sdl-dlopen \ | ||
42 | --disable-rpath \ | ||
43 | --disable-sndio \ | ||
44 | --disable-fcitx --disable-ibus \ | ||
45 | " | ||
46 | |||
47 | # opengl packageconfig factored out to make it easy for distros | ||
48 | # and BSP layers to pick either (desktop) opengl, gles2, or no GL | ||
49 | PACKAGECONFIG_GL ?= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}" | ||
50 | |||
51 | PACKAGECONFIG_class-native = "x11 ${PACKAGECONFIG_GL}" | ||
52 | PACKAGECONFIG_class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} ${PACKAGECONFIG_GL}" | ||
53 | PACKAGECONFIG ??= " \ | ||
54 | ${PACKAGECONFIG_GL} \ | ||
55 | ${@bb.utils.filter('DISTRO_FEATURES', 'alsa directfb pulseaudio x11', d)} \ | ||
56 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland gles2', '', d)} \ | ||
57 | ${@bb.utils.contains("TUNE_FEATURES", "neon","arm-neon","",d)} \ | ||
58 | " | ||
59 | PACKAGECONFIG[alsa] = "--enable-alsa --disable-alsatest,--disable-alsa,alsa-lib," | ||
60 | PACKAGECONFIG[arm-neon] = "--enable-arm-neon,--disable-arm-neon" | ||
61 | PACKAGECONFIG[directfb] = "--enable-video-directfb,--disable-video-directfb,directfb,directfb" | ||
62 | PACKAGECONFIG[gles2] = "--enable-video-opengles,--disable-video-opengles,virtual/libgles2" | ||
63 | PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack" | ||
64 | PACKAGECONFIG[kmsdrm] = "--enable-video-kmsdrm,--disable-video-kmsdrm,libdrm virtual/libgbm" | ||
65 | PACKAGECONFIG[opengl] = "--enable-video-opengl,--disable-video-opengl,virtual/libgl" | ||
66 | PACKAGECONFIG[pulseaudio] = "--enable-pulseaudio,--disable-pulseaudio,pulseaudio" | ||
67 | PACKAGECONFIG[tslib] = "--enable-input-tslib,--disable-input-tslib,tslib" | ||
68 | PACKAGECONFIG[wayland] = "--enable-video-wayland,--disable-video-wayland,wayland-native wayland wayland-protocols libxkbcommon" | ||
69 | PACKAGECONFIG[x11] = "--enable-video-x11,--disable-video-x11,virtual/libx11 libxext libxrandr libxrender" | ||
70 | |||
71 | EXTRA_AUTORECONF += "--include=acinclude --exclude=autoheader" | ||
72 | |||
73 | do_configure_prepend() { | ||
74 | # Remove old libtool macros. | ||
75 | MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4" | ||
76 | for i in ${MACROS}; do | ||
77 | rm -f ${S}/acinclude/$i | ||
78 | done | ||
79 | export SYSROOT=$PKG_CONFIG_SYSROOT_DIR | ||
80 | } | ||
81 | |||
82 | FILES_${PN}-dev += "${libdir}/cmake" | ||
83 | |||
84 | BBCLASSEXTEND = "native nativesdk" | ||