From b4ac21c58a95d757ed1354ed5dae3fc1a4a81be8 Mon Sep 17 00:00:00 2001 From: Kang Kai Date: Wed, 19 Oct 2011 10:32:32 +0800 Subject: libsdl: update to 1.2.14 Update libsdl to 1.2.14 * update configure_tweak.patch * update bb file, including add configure option --disable-video-ps3, drop acinclude.m4 and kernel-asm-page.patch and remove old libtool macros (From OE-Core rev: 4466055d83384fd12565e1de4e968330bff42ca2) Signed-off-by: Kang Kai Signed-off-by: Richard Purdie --- meta/recipes-graphics/libsdl/libsdl_1.2.14.bb | 50 +++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 meta/recipes-graphics/libsdl/libsdl_1.2.14.bb (limited to 'meta/recipes-graphics/libsdl/libsdl_1.2.14.bb') diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb b/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb new file mode 100644 index 0000000000..6b23344b49 --- /dev/null +++ b/meta/recipes-graphics/libsdl/libsdl_1.2.14.bb @@ -0,0 +1,50 @@ +SUMMARY = "Simple DirectMedia Layer" +DESCRIPTION = "Simple DirectMedia Layer is a cross-platform multimedia \ +library designed to provide low level access to audio, keyboard, mouse, \ +joystick, 3D hardware via OpenGL, and 2D video framebuffer." +HOMEPAGE = "http://www.libsdl.org" +BUGTRACKER = "http://bugzilla.libsdl.org/" + +SECTION = "libs" + +LICENSE = "LGPLv2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4" + +DEPENDS = "${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)} virtual/libx11 libxext libxrandr libxrender" +DEPENDS_virtclass-nativesdk = "libx11-nativesdk libxrandr-nativesdk libxrender-nativesdk libxext-nativesdk" + +PR = "r0" + +SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \ + file://configure_tweak.patch \ + " + +S = "${WORKDIR}/SDL-${PV}" + +SRC_URI[md5sum] = "e52086d1b508fa0b76c52ee30b55bec4" +SRC_URI[sha256sum] = "5d927e287034cb6bb0ebccfa382cb1d185cb113c8ab5115a0759798642eed9b6" + +inherit autotools binconfig pkgconfig + +EXTRA_OECONF = "--disable-static --disable-debug --disable-cdrom --enable-threads --enable-timers --enable-endian \ + --enable-file --disable-oss --disable-alsa --disable-esd --disable-arts \ + --disable-diskaudio --disable-nas --disable-esd-shared --disable-esdtest \ + --disable-mintaudio --disable-nasm --enable-video-x11 --disable-video-dga \ + --disable-video-fbcon --disable-video-directfb --disable-video-ps2gs --disable-video-ps3 \ + --disable-video-xbios --disable-video-gem --disable-video-dummy \ + --enable-input-events --enable-pthreads \ + ${@base_contains('DISTRO_FEATURES', 'opengl', '--enable-video-opengl', '--disable-video-opengl', d)} \ + --disable-video-svga \ + --disable-video-picogui --disable-video-qtopia --enable-dlopen" + +PARALLEL_MAKE = "" + +do_configure_prepend() { + # Remove old libtool macros. + MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4" + for i in ${MACROS}; do + rm -f acinclude/$i + done +} + +BBCLASSEXTEND = "nativesdk" -- cgit v1.2.3-54-g00ecf