From: Jiajun Xu Date: Mon, 15 Aug 2011 12:57:21 +0000 (+0800) Subject: libsdl: add target version X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~44500 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d719f69676e9a64f7baf34f058441b887dfa14a;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Acked-by: Phil Blundell --- diff --git a/meta/recipes-graphics/libsdl/libsdl-nativesdk_1.2.11.bb b/meta/recipes-graphics/libsdl/libsdl_1.2.11.bb similarity index 73% rename from meta/recipes-graphics/libsdl/libsdl-nativesdk_1.2.11.bb rename to meta/recipes-graphics/libsdl/libsdl_1.2.11.bb index e64a62e6684..7c1c5076662 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 @@ -DESCRIPTION = "Simple DirectMedia Layer - native Edition" +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" -DEPENDS = "libx11-nativesdk libxext-nativesdk libxrandr-nativesdk libxrender-nativesdk" -RDEPENDS_${PN} = "libx11-nativesdk libxrandr-nativesdk libxrender-nativesdk libxext-nativesdk" -PR = "r5" +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" @@ -34,3 +42,5 @@ PARALLEL_MAKE = "" do_configure_prepend() { cp ${WORKDIR}/acinclude.m4 ${S}/acinclude.m4 } + +BBCLASSEXTEND = "nativesdk"