summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/libsdl2/libsdl2_2.0.4.bb
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2016-10-27 22:07:19 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-01 10:05:45 +0000
commit470e6225e3109a63b2bffb072d0636c7ce9946d3 (patch)
treee932402010d5d4b0e42d5567d79cbdb75e12b1a3 /meta/recipes-graphics/libsdl2/libsdl2_2.0.4.bb
parent003b053498aea91fdb8c5418d0d8bbda7b23dbc0 (diff)
downloadpoky-470e6225e3109a63b2bffb072d0636c7ce9946d3.tar.gz
libsdl2: update to 2.0.5
* 0001-src-video-make-it-compatible-with-wayland-1.10.patch is removed because the problem has been resolved upstream * Add 0001-prepend-our-sysroot-path-so-that-make-finds-our-wayl.patch so that WAYLAND_PROTOCOLS_SYSROOT_DIR is substituted in a way similar to gtk3 (From OE-Core rev: 97fff54efe6b03798ad1c5e39155eaeab0a33300) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.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.4.bb')
-rw-r--r--meta/recipes-graphics/libsdl2/libsdl2_2.0.4.bb68
1 files changed, 0 insertions, 68 deletions
diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.4.bb b/meta/recipes-graphics/libsdl2/libsdl2_2.0.4.bb
deleted file mode 100644
index 844ff333cb..0000000000
--- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.4.bb
+++ /dev/null
@@ -1,68 +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 = "http://www.libsdl.org/release/SDL2-${PV}.tar.gz \
18 file://linkage.patch \
19 file://0001-src-video-make-it-compatible-with-wayland-1.10.patch \
20"
21
22S = "${WORKDIR}/SDL2-${PV}"
23
24SRC_URI[md5sum] = "44fc4a023349933e7f5d7a582f7b886e"
25SRC_URI[sha256sum] = "da55e540bf6331824153805d58b590a29c39d2d506c6d02fa409aedeab21174b"
26
27inherit autotools lib_package binconfig pkgconfig
28
29EXTRA_OECONF = "--disable-oss --disable-esd --disable-arts \
30 --disable-diskaudio --disable-nas --disable-esd-shared --disable-esdtest \
31 --disable-video-dummy \
32 --enable-pthreads \
33 --enable-sdl-dlopen \
34 --disable-rpath"
35
36# opengl packageconfig factored out to make it easy for distros
37# and BSP layers to pick either (desktop) opengl, gles2, or no GL
38PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl', '', d)}"
39
40PACKAGECONFIG ??= " \
41 ${PACKAGECONFIG_GL} \
42 ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \
43 ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \
44 ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \
45 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland gles2', '', d)} \
46 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
47"
48PACKAGECONFIG[alsa] = "--enable-alsa --disable-alsatest,--disable-alsa,alsa-lib,"
49PACKAGECONFIG[directfb] = "--enable-video-directfb,--disable-video-directfb,directfb"
50PACKAGECONFIG[gles2] = "--enable-video-opengles,--disable-video-opengles,virtual/libgles2"
51PACKAGECONFIG[opengl] = "--enable-video-opengl,--disable-video-opengl,virtual/libgl"
52PACKAGECONFIG[pulseaudio] = "--enable-pulseaudio,--disable-pulseaudio,pulseaudio"
53PACKAGECONFIG[tslib] = "--enable-input-tslib,--disable-input-tslib,tslib"
54PACKAGECONFIG[wayland] = "--enable-video-wayland,--disable-video-wayland,wayland libxkbcommon"
55PACKAGECONFIG[x11] = "--enable-video-x11,--disable-video-x11,virtual/libx11 libxext libxrandr libxrender"
56
57EXTRA_AUTORECONF += "--include=acinclude --exclude=autoheader"
58
59do_configure_prepend() {
60 # Remove old libtool macros.
61 MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
62 for i in ${MACROS}; do
63 rm -f ${S}/acinclude/$i
64 done
65 export SYSROOT=$PKG_CONFIG_SYSROOT_DIR
66}
67
68FILES_${PN}-dev += "${libdir}/cmake"