directfb: add version 0.9.25.1
authorMichael Lauer <mickey@vanille-media.de>
Sat, 13 May 2006 22:57:51 +0000 (22:57 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sat, 13 May 2006 22:57:51 +0000 (22:57 +0000)
packages/dfb++/.mtn2git_empty [deleted file]
packages/directfb/++dfb_0.9.23.bb [new file with mode: 0644]
packages/directfb/dfb++_0.9.23.bb [moved from packages/dfb++/dfb++_0.9.22.bb with 84% similarity]
packages/directfb/directfb_0.9.25.1.bb [new file with mode: 0644]

diff --git a/packages/dfb++/.mtn2git_empty b/packages/dfb++/.mtn2git_empty
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/packages/directfb/++dfb_0.9.23.bb b/packages/directfb/++dfb_0.9.23.bb
new file mode 100644 (file)
index 0000000..4574b8e
--- /dev/null
@@ -0,0 +1,30 @@
+DESCRIPTION = "A C++ Wrapper for the directfb framebuffer library."
+HOMEPAGE = "http://directfb.org"
+SECTION = "libs"
+PRIORITY = "optional"
+DEPENDS = "directfb"
+LICENSE = "LGPL"
+
+# needs a g++4 patch
+BROKEN = "1"
+
+SRC_URI = "http://www.directfb.org/downloads/Extras/++DFB-${PV}.tar.gz"
+S = "${WORKDIR}/++DFB-${PV}"
+
+inherit autotools pkgconfig
+
+do_stage() {
+        oe_runmake -C include 'libdir=/lib' 'includedir=/include/dfb++' \
+                          'oldincludedir=/include' 'datadir=/share' \
+                          'DESTDIR=${STAGING_LIBDIR}/..' \
+                          install-dfbppincludeHEADERS
+        oe_runmake -C dfb++ 'libdir=/lib' 'includedir=/include/dfb++' \
+                          'oldincludedir=/include' 'datadir=/share' \
+              'DESTDIR=${STAGING_LIBDIR}/..' \
+              install-libLTLIBRARIES
+}
+
+
+do_install() {
+        oe_runmake 'DESTDIR=${D}' install
+}
similarity index 84%
rename from packages/dfb++/dfb++_0.9.22.bb
rename to packages/directfb/dfb++_0.9.23.bb
index 2e88ba6..0e0772d 100644 (file)
@@ -1,17 +1,18 @@
 DESCRIPTION = "A C++ Wrapper for the directfb framebuffer library."
+HOMEPAGE = "http://directfb.org"
 SECTION = "libs"
 PRIORITY = "optional"
 DEPENDS = "directfb"
-
 LICENSE = "LGPL"
 
-SRC_URI = "http://www.directfb.org/downloads/Old/DFB++-${PV}.tar.gz"
+# needs a g++4 patch
+BROKEN = "1"
+
+SRC_URI = "http://www.directfb.org/downloads/Extras/DFB++-${PV}.tar.gz"
 S = "${WORKDIR}/DFB++-${PV}"
 
 inherit autotools pkgconfig
 
-EXTRA_OECONF = ""
-
 do_stage() {
         oe_runmake -C include 'libdir=/lib' 'includedir=/include/dfb++' \
                           'oldincludedir=/include' 'datadir=/share' \
diff --git a/packages/directfb/directfb_0.9.25.1.bb b/packages/directfb/directfb_0.9.25.1.bb
new file mode 100644 (file)
index 0000000..7a54f3f
--- /dev/null
@@ -0,0 +1,35 @@
+DESCRIPTION = "DirectFB is a thin library that provides developers \
+with hardware graphics acceleration, input device handling and \
+abstraction, an integrated windowing system with support for \
+translucent windows and multiple display layers on top of the \
+Linux framebuffer device."
+SECTION = "libs"
+LICENSE = "LGPL"
+PRIORITY = "optional"
+HOMEPAGE = "http://directfb.org"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+DEPENDS = "jpeg libpng freetype zlib"
+PR = "r0"
+RV = "0.9.25"
+
+SRC_URI = "http://directfb.org/downloads/Core/DirectFB-${PV}.tar.gz"
+S = "${WORKDIR}/DirectFB-${PV}"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--with-gfxdrivers=none --enable-libmpeg3=no --enable-freetype=yes --enable-sdl=no"
+PARALLEL_MAKE = ""
+
+do_stage() {
+       oe_runmake 'DESTDIR=${STAGING_LIBDIR}/' install
+}
+
+do_install() {
+        oe_runmake 'DESTDIR=${D}' install
+}
+
+FILES_directfb_append = " ${libdir}/directfb-${RV}/systems/*.so \
+                          ${libdir}/directfb-${RV}/inputdrivers/*.so \
+                          ${libdir}/directfb-${RV}/interfaces/*/*.so \
+                         ${libdir}/directfb-${RV}/wm/*.so \
+                          ${datadir}/directfb-${RV}"