summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-11-14 01:58:49 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-21 13:06:13 +0000
commitf955ef4758ec88a88084b9aafb7ce11ff9bf475e (patch)
tree83f1b933903868bd07557f1e969c0f8cc361d77b /meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb
parent3b439ef177187f99e465ea44e90fdb21dae10175 (diff)
downloadpoky-f955ef4758ec88a88084b9aafb7ce11ff9bf475e.tar.gz
libsdl2: 2.0.5 -> 2.0.7
* Drop linkage.patch, this version already links .lo object. * Remove backported patch fix-build-failure-on-ppc.patch * Update LIC_FILES_CHKSUM since the year is changed. (From OE-Core rev: 2702506f48a1b7e72e1786d24bd0113396dbc85d) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb')
-rw-r--r--meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb67
1 files changed, 0 insertions, 67 deletions
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb
deleted file mode 100644
index 032f45bb20..0000000000
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.5.bb
+++ /dev/null
@@ -1,67 +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=b2304ad7e91711027590d3f102a754b7"
12
13PROVIDES = "virtual/libsdl2"
14
15DEPENDS_class-nativesdk = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/nativesdk-libx11 nativesdk-libxrandr nativesdk-libxrender nativesdk-libxext', '', d)}"
16
17SRC_URI = " \
18 http://www.libsdl.org/release/SDL2-${PV}.tar.gz \
19 file://linkage.patch \
20 file://fix-build-failure-on-ppc.patch \
21"
22
23S = "${WORKDIR}/SDL2-${PV}"
24
25SRC_URI[md5sum] = "d4055424d556b4a908aa76fad63abd3c"
26SRC_URI[sha256sum] = "442038cf55965969f2ff06d976031813de643af9c9edc9e331bd761c242e8785"
27
28inherit autotools lib_package binconfig pkgconfig
29
30EXTRA_OECONF = "--disable-oss --disable-esd --disable-arts \
31 --disable-diskaudio --disable-nas --disable-esd-shared --disable-esdtest \
32 --disable-video-dummy \
33 --enable-pthreads \
34 --enable-sdl-dlopen \
35 --disable-rpath \
36 "
37
38# opengl packageconfig factored out to make it easy for distros
39# and BSP layers to pick either (desktop) opengl, gles2, or no GL
40PACKAGECONFIG_GL ?= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}"
41
42PACKAGECONFIG ??= " \
43 ${PACKAGECONFIG_GL} \
44 ${@bb.utils.filter('DISTRO_FEATURES', 'alsa directfb pulseaudio x11', d)} \
45 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland gles2', '', d)} \
46"
47PACKAGECONFIG[alsa] = "--enable-alsa --disable-alsatest,--disable-alsa,alsa-lib,"
48PACKAGECONFIG[directfb] = "--enable-video-directfb,--disable-video-directfb,directfb"
49PACKAGECONFIG[gles2] = "--enable-video-opengles,--disable-video-opengles,virtual/libgles2"
50PACKAGECONFIG[opengl] = "--enable-video-opengl,--disable-video-opengl,virtual/libgl"
51PACKAGECONFIG[pulseaudio] = "--enable-pulseaudio,--disable-pulseaudio,pulseaudio"
52PACKAGECONFIG[tslib] = "--enable-input-tslib,--disable-input-tslib,tslib"
53PACKAGECONFIG[wayland] = "--enable-video-wayland,--disable-video-wayland,wayland-native wayland wayland-protocols libxkbcommon"
54PACKAGECONFIG[x11] = "--enable-video-x11,--disable-video-x11,virtual/libx11 libxext libxrandr libxrender"
55
56EXTRA_AUTORECONF += "--include=acinclude --exclude=autoheader"
57
58do_configure_prepend() {
59 # Remove old libtool macros.
60 MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
61 for i in ${MACROS}; do
62 rm -f ${S}/acinclude/$i
63 done
64 export SYSROOT=$PKG_CONFIG_SYSROOT_DIR
65}
66
67FILES_${PN}-dev += "${libdir}/cmake"