diff options
author | Kang Kai <kai.kang@windriver.com> | 2012-03-14 17:03:38 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-14 13:17:42 +0000 |
commit | 3882f40e57510c4806dac36490af84b4f0ff9441 (patch) | |
tree | f6d2bd8d060347e975cb7d298324306b3c9b124d /meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | |
parent | 897cdb692b27f5f7137ea0a58cdea99d21c66f3f (diff) | |
download | poky-3882f40e57510c4806dac36490af84b4f0ff9441.tar.gz |
libsdl: update to 1.2.15
Update libsdl to 1.2.15.
Patch add.XGetRequest.symbol.patch is merged by upstream, so remove it.
(From OE-Core rev: 94e18a1c574b97ba87724c0fea79d2af77ba4186)
Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/libsdl/libsdl_1.2.15.bb')
-rw-r--r-- | meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb new file mode 100644 index 0000000000..8b394428dc --- /dev/null +++ b/meta/recipes-graphics/libsdl/libsdl_1.2.15.bb | |||
@@ -0,0 +1,65 @@ | |||
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 = "LGPLv2.1" | ||
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4" | ||
12 | |||
13 | PROVIDES = "virtual/libsdl" | ||
14 | |||
15 | DEPENDS = "${@base_contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \ | ||
16 | ${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)} \ | ||
17 | ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxext libxrandr libxrender', '', d)} \ | ||
18 | tslib" | ||
19 | DEPENDS_virtclass-nativesdk = "${@base_contains('DISTRO_FEATURES', 'x11', 'libx11-nativesdk libxrandr-nativesdk libxrender-nativesdk libxext-nativesdk', '', d)}" | ||
20 | |||
21 | PR = "r0" | ||
22 | |||
23 | SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \ | ||
24 | file://configure_tweak.patch \ | ||
25 | " | ||
26 | |||
27 | S = "${WORKDIR}/SDL-${PV}" | ||
28 | |||
29 | SRC_URI[md5sum] = "9d96df8417572a2afb781a7c4c811a85" | ||
30 | SRC_URI[sha256sum] = "d6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00" | ||
31 | |||
32 | inherit autotools lib_package binconfig pkgconfig | ||
33 | |||
34 | EXTRA_OECONF = "--disable-static --disable-debug --enable-cdrom --enable-threads --enable-timers --enable-endian \ | ||
35 | --enable-file --disable-oss --disable-esd --disable-arts \ | ||
36 | --disable-diskaudio --disable-nas --disable-esd-shared --disable-esdtest \ | ||
37 | --disable-mintaudio --disable-nasm --disable-video-dga \ | ||
38 | --disable-video-fbcon --disable-video-ps2gs --disable-video-ps3 \ | ||
39 | --disable-video-xbios --disable-video-gem --disable-video-dummy \ | ||
40 | --enable-input-events --enable-input-tslib --enable-pthreads \ | ||
41 | ${@base_contains('DISTRO_FEATURES', 'directfb', '--enable-video-directfb', '--disable-video-directfb', d)} \ | ||
42 | ${@base_contains('DISTRO_FEATURES', 'opengl', '--enable-video-opengl', '--disable-video-opengl', d)} \ | ||
43 | ${@base_contains('DISTRO_FEATURES', 'x11', '--enable-video-x11', '--disable-video-x11', d)} \ | ||
44 | --disable-video-svga \ | ||
45 | --disable-video-picogui --disable-video-qtopia --enable-dlopen \ | ||
46 | --disable-rpath \ | ||
47 | --disable-pulseaudio" | ||
48 | |||
49 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}" | ||
50 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib," | ||
51 | |||
52 | PARALLEL_MAKE = "" | ||
53 | |||
54 | EXTRA_AUTORECONF += "--include=acinclude --exclude=autoheader" | ||
55 | |||
56 | do_configure_prepend() { | ||
57 | # Remove old libtool macros. | ||
58 | MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4" | ||
59 | for i in ${MACROS}; do | ||
60 | rm -f acinclude/$i | ||
61 | done | ||
62 | export SYSROOT=$PKG_CONFIG_SYSROOT_DIR | ||
63 | } | ||
64 | |||
65 | BBCLASSEXTEND = "nativesdk" | ||