aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/directfb
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2009-07-14 18:23:54 +0200
committerHenning Heinold <heinold@inf.fu-berlin.de>2009-07-15 01:59:49 +0200
commitc8bd8298435afc1cb02fc2b1e294aa14ef398bef (patch)
treedc85b95a5cf548945defafb5fa7ded11cbe5cb80 /recipes/directfb
parentdf4e23b23661e332e5a4286d6e475a91b26e8dec (diff)
downloadopenembedded-c8bd8298435afc1cb02fc2b1e294aa14ef398bef.tar.gz
directfb: upgrade to version 1.4.1
Diffstat (limited to 'recipes/directfb')
-rw-r--r--recipes/directfb/directfb-1.4.1/ts_lib_autotools.patch22
-rw-r--r--recipes/directfb/directfb_1.4.1.bb26
2 files changed, 48 insertions, 0 deletions
diff --git a/recipes/directfb/directfb-1.4.1/ts_lib_autotools.patch b/recipes/directfb/directfb-1.4.1/ts_lib_autotools.patch
new file mode 100644
index 0000000000..414d48c2d6
--- /dev/null
+++ b/recipes/directfb/directfb-1.4.1/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.1.bb b/recipes/directfb/directfb_1.4.1.bb
new file mode 100644
index 0000000000..1e15186cd3
--- /dev/null
+++ b/recipes/directfb/directfb_1.4.1.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"