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:26:20 +0100 |
commit | 9939c3664e8cfa2ad0308958ad1281a71c35af00 (patch) | |
tree | 952c5d6da409688b41cb940a75d68141ef23abbe | |
parent | 8f56fc89cc533255bab0c3477b0990d75cfa75b1 (diff) | |
download | poky-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>
-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 @@ | |||
1 | DESCRIPTION = "Simple DirectMedia Layer - native Edition" | 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." | ||
2 | HOMEPAGE = "http://www.libsdl.org" | 5 | HOMEPAGE = "http://www.libsdl.org" |
6 | BUGTRACKER = "http://bugzilla.libsdl.org/" | ||
7 | |||
3 | SECTION = "libs" | 8 | SECTION = "libs" |
4 | LICENSE = "LGPLv2.1" | ||
5 | DEPENDS = "libx11-nativesdk libxext-nativesdk libxrandr-nativesdk libxrender-nativesdk" | ||
6 | RDEPENDS_${PN} = "libx11-nativesdk libxrandr-nativesdk libxrender-nativesdk libxext-nativesdk" | ||
7 | PR = "r5" | ||
8 | 9 | ||
10 | LICENSE = "LGPLv2.1" | ||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4" | 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4" |
10 | 12 | ||
13 | DEPENDS = "virtual/libx11 libxext libxrandr libxrender" | ||
14 | DEPENDS_virtclass-nativesdk = "libx11-nativesdk libxrandr-nativesdk libxrender-nativesdk libxext-nativesdk" | ||
15 | |||
16 | PR = "r6" | ||
17 | |||
11 | SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \ | 18 | SRC_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 | |||
15 | S = "${WORKDIR}/SDL-${PV}" | 23 | S = "${WORKDIR}/SDL-${PV}" |
16 | 24 | ||
17 | SRC_URI[md5sum] = "418b42956b7cd103bfab1b9077ccc149" | 25 | SRC_URI[md5sum] = "418b42956b7cd103bfab1b9077ccc149" |
@@ -34,3 +42,5 @@ PARALLEL_MAKE = "" | |||
34 | do_configure_prepend() { | 42 | do_configure_prepend() { |
35 | cp ${WORKDIR}/acinclude.m4 ${S}/acinclude.m4 | 43 | cp ${WORKDIR}/acinclude.m4 ${S}/acinclude.m4 |
36 | } | 44 | } |
45 | |||
46 | BBCLASSEXTEND = "nativesdk" | ||