[oe-commits] org.oe.dev add libsdl-native 1.2.11 - this one compiles with gcc4

mickeyl commit openembedded-commits at lists.openembedded.org
Fri Oct 20 12:03:16 UTC 2006


add libsdl-native 1.2.11 - this one compiles with gcc4

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: 510080deb3c17d963a02c6fd6fedc64b62da1bba
ViewMTN: http://monotone.openembedded.org/revision.psp?id=510080deb3c17d963a02c6fd6fedc64b62da1bba
Files:
1
packages/libsdl/libsdl-native_1.2.7.bb
packages/libsdl/libsdl-native_1.2.11.bb
Diffs:

#
# mt diff -rba012b738e47fc8d38e7cc3f0252a71f9a07ccff -r510080deb3c17d963a02c6fd6fedc64b62da1bba
#
# 
# 
# delete "packages/libsdl/libsdl-native_1.2.7.bb"
# 
# add_file "packages/libsdl/libsdl-native_1.2.11.bb"
#  content [c78c7f20c4abf6d066610c7c6e033679f163f8c6]
# 
============================================================
--- packages/libsdl/libsdl-native_1.2.11.bb	c78c7f20c4abf6d066610c7c6e033679f163f8c6
+++ packages/libsdl/libsdl-native_1.2.11.bb	c78c7f20c4abf6d066610c7c6e033679f163f8c6
@@ -0,0 +1,36 @@
+DESCRIPTION = "Simple DirectMedia Layer - native Edition"
+HOMEPAGE = "http://www.libsdl.org"
+SECTION = "libs"
+LICENSE = "LGPL"
+PR = "r0"
+
+SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
+	   file://acinclude.m4"
+S = "${WORKDIR}/SDL-${PV}"
+
+inherit autotools pkgconfig native
+
+EXTRA_OECONF = "--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 --disable-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-picogui --disable-video-qtopia --enable-dlopen"
+
+do_configure() {
+	rm -f ${S}/acinclude.m4
+	cp ${WORKDIR}/acinclude.m4 ${S}/
+	gnu-configize
+	oe_runconf
+	cd ${S}
+	# prevent libtool from linking libs against libstdc++, libgcc, ...
+	cat ${TARGET_PREFIX}libtool | sed -e 's/postdeps=".*"/postdeps=""/' > ${TARGET_PREFIX}libtool.tmp
+	mv ${TARGET_PREFIX}libtool.tmp ${TARGET_PREFIX}libtool
+}
+
+do_stage() {
+	autotools_stage_all
+	install -m 0644 build/libSDLmain.a ${STAGING_LIBDIR}
+}






More information about the Openembedded-commits mailing list