summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/libsdl2/libsdl2_2.0.12.bb
diff options
context:
space:
mode:
authorYann Dirson <yann@blade-group.com>2021-02-01 11:23:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-05 08:16:32 +0000
commit9449f2276422a21d5f9b9f05fbc1d79bc1a19f83 (patch)
treebc08ae1b9340c92345cc3c047c992665052d115d /meta/recipes-graphics/libsdl2/libsdl2_2.0.12.bb
parent4cb93cd028f171143089a64a1a17b3c9a085d4b2 (diff)
downloadpoky-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.bb84
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 @@
1SUMMARY = "Simple DirectMedia Layer"
2DESCRIPTION = "Simple DirectMedia Layer is a cross-platform multimedia \
3library designed to provide low level access to audio, keyboard, mouse, \
4joystick, 3D hardware via OpenGL, and 2D video framebuffer."
5HOMEPAGE = "http://www.libsdl.org"
6BUGTRACKER = "http://bugzilla.libsdl.org/"
7
8SECTION = "libs"
9
10LICENSE = "Zlib"
11LIC_FILES_CHKSUM = "file://COPYING.txt;md5=2d4af6adb4d89aad0cdedbcc18c9a32f"
12
13# arm-neon adds MIT license
14LICENSE_append = " ${@bb.utils.contains('PACKAGECONFIG', 'arm-neon', '& MIT', '', d)}"
15LIC_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
17PROVIDES = "virtual/libsdl2"
18
19SRC_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
25S = "${WORKDIR}/SDL2-${PV}"
26
27SRC_URI[md5sum] = "783b6f2df8ff02b19bb5ce492b99c8ff"
28SRC_URI[sha256sum] = "349268f695c02efbc9b9148a70b85e58cefbbf704abd3e91be654db7f1e2c863"
29
30inherit autotools lib_package binconfig-disabled pkgconfig
31
32BINCONFIG = "${bindir}/sdl2-config"
33
34CVE_PRODUCT = "simple_directmedia_layer sdl"
35
36EXTRA_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
49PACKAGECONFIG_GL ?= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}"
50
51PACKAGECONFIG_class-native = "x11 ${PACKAGECONFIG_GL}"
52PACKAGECONFIG_class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} ${PACKAGECONFIG_GL}"
53PACKAGECONFIG ??= " \
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"
59PACKAGECONFIG[alsa] = "--enable-alsa --disable-alsatest,--disable-alsa,alsa-lib,"
60PACKAGECONFIG[arm-neon] = "--enable-arm-neon,--disable-arm-neon"
61PACKAGECONFIG[directfb] = "--enable-video-directfb,--disable-video-directfb,directfb,directfb"
62PACKAGECONFIG[gles2] = "--enable-video-opengles,--disable-video-opengles,virtual/libgles2"
63PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack"
64PACKAGECONFIG[kmsdrm] = "--enable-video-kmsdrm,--disable-video-kmsdrm,libdrm virtual/libgbm"
65PACKAGECONFIG[opengl] = "--enable-video-opengl,--disable-video-opengl,virtual/libgl"
66PACKAGECONFIG[pulseaudio] = "--enable-pulseaudio,--disable-pulseaudio,pulseaudio"
67PACKAGECONFIG[tslib] = "--enable-input-tslib,--disable-input-tslib,tslib"
68PACKAGECONFIG[wayland] = "--enable-video-wayland,--disable-video-wayland,wayland-native wayland wayland-protocols libxkbcommon"
69PACKAGECONFIG[x11] = "--enable-video-x11,--disable-video-x11,virtual/libx11 libxext libxrandr libxrender"
70
71EXTRA_AUTORECONF += "--include=acinclude --exclude=autoheader"
72
73do_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
82FILES_${PN}-dev += "${libdir}/cmake"
83
84BBCLASSEXTEND = "native nativesdk"