[oe-commits] Henning Heinold : directfb: update to version 1.4.2

git version control git at git.openembedded.org
Thu Sep 10 23:13:22 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: b76c22a5c61a06c64c0baefec048690cf0c88806
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=b76c22a5c61a06c64c0baefec048690cf0c88806

Author: Henning Heinold <heinold at inf.fu-berlin.de>
Date:   Fri Sep 11 01:12:10 2009 +0200

directfb: update to version 1.4.2

---

 conf/checksums.ini                                 |    4 +++
 .../directfb/directfb-1.4.2/ts_lib_autotools.patch |   22 ++++++++++++++++
 recipes/directfb/directfb_1.4.2.bb                 |   26 ++++++++++++++++++++
 3 files changed, 52 insertions(+), 0 deletions(-)

diff --git a/conf/checksums.ini b/conf/checksums.ini
index c5ce891..5de82f5 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -250,6 +250,10 @@ sha256=cbf94eb10e9c305c81b24e298e55c7825df5ab9060d82443f7b9734f760f859d
 md5=e7df079ff44ec98187c24a00500e597a
 sha256=aa9d532ec4481a3c9f7b3298b1786a84825a3474b714690b901d0617743d8221
 
+[http://directfb.org/downloads/Core/DirectFB-1.4/DirectFB-1.4.2.tar.gz]
+md5=e4376c6c5b8e27d735edb7f62a7a8e86
+sha256=051847e21e88a9c32ee78f8920014602d8b21928602075c5266433cd58addbc6
+
 [http://www.directfb.org/downloads/Extras/DirectFB-examples-0.9.25.tar.gz]
 md5=835e850fddba8d8214d39ddd0646c3e8
 sha256=f83af60d53ab4319e5d71a4459cc10464ffd683efabacd6bd773bb807f8771fa
diff --git a/recipes/directfb/directfb-1.4.2/ts_lib_autotools.patch b/recipes/directfb/directfb-1.4.2/ts_lib_autotools.patch
new file mode 100644
index 0000000..414d48c
--- /dev/null
+++ b/recipes/directfb/directfb-1.4.2/ts_lib_autotools.patch
@@ -0,0 +1,22 @@
+---
+ configure.in |    7 +++++--
+ 1 file changed, 5 insertions(+), 2 deletions(-)
+
+Index: DirectFB-1.4.1/configure.in
+===================================================================
+--- DirectFB-1.4.1.orig/configure.in	2009-06-26 23:30:03.000000000 +0200
++++ DirectFB-1.4.1/configure.in	2009-07-13 00:23:19.558669631 +0200
+@@ -1334,8 +1334,11 @@
+ 
+ enable_tslib=no
+ if test "$checkfor_tslib" = "yes"; then
+-  PKG_CHECK_MODULES([TSLIB], [tslib-0.0], enable_tslib=yes, enable_tslib=no 
+-    AC_MSG_WARN([*** no tslib -- tslib driver will not be built.]))
++  PKG_CHECK_MODULES([TSLIB], [tslib-1.0 >= 1.0.0], [enable_tslib=yes], [enable_tslib=no])
++  if test "$enable_tslib" = "no"; then
++     PKG_CHECK_MODULES([TSLIB], [tslib-0.0], [enable_tslib=yes], [enable_tslib=no,
++       AC_MSG_WARN([*** no tslib -- tslib driver will not be built.])])
++  fi
+ fi
+ 
+ enable_ucb1x00_ts=no
diff --git a/recipes/directfb/directfb_1.4.2.bb b/recipes/directfb/directfb_1.4.2.bb
new file mode 100644
index 0000000..1e15186
--- /dev/null
+++ b/recipes/directfb/directfb_1.4.2.bb
@@ -0,0 +1,26 @@
+require directfb.inc
+
+RV = "1.4-0"
+
+DEPENDS += "sysfsutils"
+
+SRC_URI = " \
+    http://directfb.org/downloads/Core/DirectFB-1.4/DirectFB-${PV}.tar.gz \
+    file://directfb-1.2.x-fix-pkgconfig-cflags.patch;patch=1 \
+    file://mkdfiff.patch;patch=1 \
+    file://dont-use-linux-config.patch;patch=1 \
+    file://ts_lib_autotools.patch;patch=1 \
+"
+
+EXTRA_OECONF = "\
+  --enable-freetype=yes \
+  --enable-zlib \
+  --with-gfxdrivers=none \
+  --disable-sdl \
+  --disable-vnc \
+  --disable-x11 \
+"
+
+LDFLAGS_append = ""
+
+LEAD_SONAME = "libdirectfb-1.4.so.0"





More information about the Openembedded-commits mailing list