diff options
author | Jiajun Xu <jiajun.xu@intel.com> | 2011-08-15 20:57:21 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-15 15:13:34 +0100 |
commit | 2d719f69676e9a64f7baf34f058441b887dfa14a (patch) | |
tree | cb80eb39669979b4cff47acf1cdf1426180105a8 /meta/recipes-graphics/libsdl/libsdl_1.2.11.bb | |
parent | 74f7e5c683dfd71c4042789b8dd4908f76f7e07a (diff) | |
download | openembedded-core-2d719f69676e9a64f7baf34f058441b887dfa14a.tar.gz openembedded-core-2d719f69676e9a64f7baf34f058441b887dfa14a.tar.bz2 openembedded-core-2d719f69676e9a64f7baf34f058441b887dfa14a.zip |
libsdl: add target version
Rename libsdl-nativesdk to libsdl to enable target version. libsdl
is needed in some graphics testing.
Signed-off-by: Jiajun Xu <jiajun.xu@intel.com>
Acked-by: Phil Blundell <philb@gnu.org>
Diffstat (limited to 'meta/recipes-graphics/libsdl/libsdl_1.2.11.bb')
-rw-r--r-- | meta/recipes-graphics/libsdl/libsdl_1.2.11.bb | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/recipes-graphics/libsdl/libsdl_1.2.11.bb b/meta/recipes-graphics/libsdl/libsdl_1.2.11.bb new file mode 100644 index 0000000000..7c1c507666 --- /dev/null +++ b/meta/recipes-graphics/libsdl/libsdl_1.2.11.bb @@ -0,0 +1,46 @@ +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 = "virtual/libx11 libxext libxrandr libxrender" +DEPENDS_virtclass-nativesdk = "libx11-nativesdk libxrandr-nativesdk libxrender-nativesdk libxext-nativesdk" + +PR = "r6" + +SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \ + file://acinclude.m4 \ + file://configure_tweak.patch;patch=1 \ + file://kernel-asm-page.patch;patch=1 " + +S = "${WORKDIR}/SDL-${PV}" + +SRC_URI[md5sum] = "418b42956b7cd103bfab1b9077ccc149" +SRC_URI[sha256sum] = "6985823287b224b57390b1c1b6cbc54cc9a7d7757fbf9934ed20754b4cd23730" + +inherit autotools binconfig pkgconfig nativesdk + +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-xbios --disable-video-gem --disable-video-dummy \ + --disable-video-opengl --enable-input-events --enable-pthreads \ + --disable-video-svga \ + --disable-video-picogui --disable-video-qtopia --enable-dlopen" + +PARALLEL_MAKE = "" + +do_configure_prepend() { + cp ${WORKDIR}/acinclude.m4 ${S}/acinclude.m4 +} + +BBCLASSEXTEND = "nativesdk" |