summaryrefslogtreecommitdiff
path: root/packages/directfb
diff options
context:
space:
mode:
authorTom Rini <trini@embeddedalley.com>2009-02-04 14:54:11 -0500
committerTom Rini <trini@embeddedalley.com>2009-02-04 14:54:11 -0500
commit0d90b73f1dcd9eb561ac9a7263cd0ecfb6031efc (patch)
tree65c22e4a3fe16b89e34efaf3990c97493a3aafa6 /packages/directfb
parent8420ec567d995b19d680162f2288d19bd1930ced (diff)
directfb: Add 1.2.7
We move the 1.2.3 fix-pkgconfig-cflags patch to files and rename and we have to refresh ts_lib_autotools.patch for 1.2.7
Diffstat (limited to 'packages/directfb')
-rw-r--r--packages/directfb/directfb-1.2.7/ts_lib_autotools.patch22
-rw-r--r--packages/directfb/directfb_1.2.3.bb4
-rw-r--r--packages/directfb/directfb_1.2.7.bb28
-rw-r--r--packages/directfb/files/directfb-1.2.x-fix-pkgconfig-cflags.patch (renamed from packages/directfb/directfb-1.2.3/fix-pkgconfig-cflags.patch)0
4 files changed, 52 insertions, 2 deletions
diff --git a/packages/directfb/directfb-1.2.7/ts_lib_autotools.patch b/packages/directfb/directfb-1.2.7/ts_lib_autotools.patch
new file mode 100644
index 0000000000..f19c724a00
--- /dev/null
+++ b/packages/directfb/directfb-1.2.7/ts_lib_autotools.patch
@@ -0,0 +1,22 @@
+---
+ configure.in | 7 +++++--
+ 1 file changed, 5 insertions(+), 2 deletions(-)
+
+Index: DirectFB-1.2.7/configure.in
+===================================================================
+--- DirectFB-1.2.7.orig/configure.in
++++ DirectFB-1.2.7/configure.in
+@@ -1288,8 +1288,11 @@ fi
+
+ 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/packages/directfb/directfb_1.2.3.bb b/packages/directfb/directfb_1.2.3.bb
index 85e42a1fa3..e4d50a3458 100644
--- a/packages/directfb/directfb_1.2.3.bb
+++ b/packages/directfb/directfb_1.2.3.bb
@@ -1,13 +1,13 @@
require directfb.inc
RV = "1.2-0"
-PR = "r0"
+PR = "r1"
DEPENDS += "sysfsutils"
SRC_URI = " \
http://www.directfb.org/downloads/Old/DirectFB-${PV}.tar.gz \
- file://fix-pkgconfig-cflags.patch;patch=1 \
+ 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 \
diff --git a/packages/directfb/directfb_1.2.7.bb b/packages/directfb/directfb_1.2.7.bb
new file mode 100644
index 0000000000..be6a6daa52
--- /dev/null
+++ b/packages/directfb/directfb_1.2.7.bb
@@ -0,0 +1,28 @@
+require directfb.inc
+
+RV = "1.2-0"
+PR = "r0"
+
+DEPENDS += "sysfsutils"
+
+SRC_URI = " \
+ http://directfb.org/downloads/Core/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-libmpeg3 \
+ --disable-sdl \
+ --disable-vnc \
+ --disable-x11 \
+"
+
+LDFLAGS_append = ""
+
+LEAD_SONAME = "libdirectfb-1.2.so.0"
diff --git a/packages/directfb/directfb-1.2.3/fix-pkgconfig-cflags.patch b/packages/directfb/files/directfb-1.2.x-fix-pkgconfig-cflags.patch
index 745c561cc0..745c561cc0 100644
--- a/packages/directfb/directfb-1.2.3/fix-pkgconfig-cflags.patch
+++ b/packages/directfb/files/directfb-1.2.x-fix-pkgconfig-cflags.patch