[oe] [PATCH 2/2] libsdl-directfb: new upstream version 1.2.14

Zygo Blaxell oe-dev-esightcorp at mailtoo.hungrycats.org
Wed May 19 20:24:24 UTC 2010


This is a copy of libsdl-x11_1.2.14.bb, with EXTRA_OECONF and
DEPENDS from libsdl-directfb_1.2.11.bb.
---
 recipes/libsdl/libsdl-directfb_1.2.14.bb |   56 ++++++++++++++++++++++++++++++
 1 files changed, 56 insertions(+), 0 deletions(-)
 create mode 100644 recipes/libsdl/libsdl-directfb_1.2.14.bb

diff --git a/recipes/libsdl/libsdl-directfb_1.2.14.bb b/recipes/libsdl/libsdl-directfb_1.2.14.bb
new file mode 100644
index 0000000..056ca8e
--- /dev/null
+++ b/recipes/libsdl/libsdl-directfb_1.2.14.bb
@@ -0,0 +1,56 @@
+DESCRIPTION = "Simple DirectMedia Layer (Framebuffer support only)"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "LGPL"
+DEPENDS = "alsa-lib directfb"
+
+DEFAULT_PREFERENCE = "-1"
+
+PROVIDES = "virtual/libsdl"
+PR = "r0"
+
+SRC_URI = "\
+  http://www.libsdl.org/release/SDL-${PV}.tar.gz \
+  file://sdl.m4 \
+"
+
+S = "${WORKDIR}/SDL-${PV}"
+
+inherit autotools binconfig pkgconfig
+
+EXTRA_OECONF = "--disable-static --disable-debug --enable-cdrom --enable-threads --enable-timers --enable-endian \
+                --enable-file --enable-oss --enable-alsa --disable-esd --disable-arts \
+                --disable-diskaudio --disable-nas --disable-esd-shared --disable-esdtest \
+                --disable-mintaudio --disable-nasm --disable-video-x11 --disable-video-dga \
+                --enable-video-fbcon --enable-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() {
+  oe_runconf
+}
+
+do_configure_append () {
+  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
+
+  # copy new sdl.m4 macrofile to the dir for installing
+  cp ${WORKDIR}/sdl.m4 ${S}/
+}
+
+do_stage() {
+  autotools_stage_all		
+  rm ${STAGING_LIBDIR}/libSDL.la
+}
+
+FILES_${PN} = "${libdir}/lib*.so.*"
+FILES_${PN}-dev += "${bindir}/*config"
+
+CFLAGS_append  += " -I${STAGING_INCDIR}/directfb"
+
+SRC_URI[md5sum] = "e52086d1b508fa0b76c52ee30b55bec4"
+SRC_URI[sha256sum] = "5d927e287034cb6bb0ebccfa382cb1d185cb113c8ab5115a0759798642eed9b6"
-- 
1.7.1





More information about the Openembedded-devel mailing list