summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/libsdl
diff options
context:
space:
mode:
authorJiajun Xu <jiajun.xu@intel.com>2011-08-15 20:57:21 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-15 15:26:20 +0100
commit9939c3664e8cfa2ad0308958ad1281a71c35af00 (patch)
tree952c5d6da409688b41cb940a75d68141ef23abbe /meta/recipes-graphics/libsdl
parent8f56fc89cc533255bab0c3477b0990d75cfa75b1 (diff)
downloadpoky-9939c3664e8cfa2ad0308958ad1281a71c35af00.tar.gz
libsdl: add target version
Rename libsdl-nativesdk to libsdl to enable target version. libsdl is needed in some graphics testing. (From OE-Core rev: 2d719f69676e9a64f7baf34f058441b887dfa14a) Signed-off-by: Jiajun Xu <jiajun.xu@intel.com> Acked-by: Phil Blundell <philb@gnu.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/libsdl')
-rw-r--r--meta/recipes-graphics/libsdl/libsdl_1.2.11.bb (renamed from meta/recipes-graphics/libsdl/libsdl-nativesdk_1.2.11.bb)20
1 files changed, 15 insertions, 5 deletions
diff --git a/meta/recipes-graphics/libsdl/libsdl-nativesdk_1.2.11.bb b/meta/recipes-graphics/libsdl/libsdl_1.2.11.bb
index e64a62e668..7c1c507666 100644
--- a/meta/recipes-graphics/libsdl/libsdl-nativesdk_1.2.11.bb
+++ b/meta/recipes-graphics/libsdl/libsdl_1.2.11.bb
@@ -1,17 +1,25 @@
1DESCRIPTION = "Simple DirectMedia Layer - native Edition" 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."
2HOMEPAGE = "http://www.libsdl.org" 5HOMEPAGE = "http://www.libsdl.org"
6BUGTRACKER = "http://bugzilla.libsdl.org/"
7
3SECTION = "libs" 8SECTION = "libs"
4LICENSE = "LGPLv2.1"
5DEPENDS = "libx11-nativesdk libxext-nativesdk libxrandr-nativesdk libxrender-nativesdk"
6RDEPENDS_${PN} = "libx11-nativesdk libxrandr-nativesdk libxrender-nativesdk libxext-nativesdk"
7PR = "r5"
8 9
10LICENSE = "LGPLv2.1"
9LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4" 11LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4"
10 12
13DEPENDS = "virtual/libx11 libxext libxrandr libxrender"
14DEPENDS_virtclass-nativesdk = "libx11-nativesdk libxrandr-nativesdk libxrender-nativesdk libxext-nativesdk"
15
16PR = "r6"
17
11SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \ 18SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
12 file://acinclude.m4 \ 19 file://acinclude.m4 \
13 file://configure_tweak.patch;patch=1 \ 20 file://configure_tweak.patch;patch=1 \
14 file://kernel-asm-page.patch;patch=1 " 21 file://kernel-asm-page.patch;patch=1 "
22
15S = "${WORKDIR}/SDL-${PV}" 23S = "${WORKDIR}/SDL-${PV}"
16 24
17SRC_URI[md5sum] = "418b42956b7cd103bfab1b9077ccc149" 25SRC_URI[md5sum] = "418b42956b7cd103bfab1b9077ccc149"
@@ -34,3 +42,5 @@ PARALLEL_MAKE = ""
34do_configure_prepend() { 42do_configure_prepend() {
35 cp ${WORKDIR}/acinclude.m4 ${S}/acinclude.m4 43 cp ${WORKDIR}/acinclude.m4 ${S}/acinclude.m4
36} 44}
45
46BBCLASSEXTEND = "nativesdk"