summaryrefslogtreecommitdiff
path: root/packages/directfb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/directfb')
-rw-r--r--packages/directfb/directfb-examples_1.0.0.bb6
-rw-r--r--packages/directfb/directfb_1.1.0.bb20
-rw-r--r--packages/directfb/files/fix-configure-include-path.patch13
3 files changed, 29 insertions, 10 deletions
diff --git a/packages/directfb/directfb-examples_1.0.0.bb b/packages/directfb/directfb-examples_1.0.0.bb
index 8a792b4ae4..064a808273 100644
--- a/packages/directfb/directfb-examples_1.0.0.bb
+++ b/packages/directfb/directfb-examples_1.0.0.bb
@@ -3,8 +3,10 @@ DEPENDS = "directfb"
SECTION = "libs"
LICENSE = "GPL"
-SRC_URI = "http://www.directfb.org/downloads/Extras/DirectFB-extra-${PV}.tar.gz"
-S = "${WORKDIR}/DirectFB-extra-${PV}"
+SRC_URI = " \
+ http://www.directfb.org/downloads/Extras/DirectFB-examples-${PV}.tar.gz \
+ "
+S = "${WORKDIR}/DirectFB-examples-${PV}"
inherit autotools
diff --git a/packages/directfb/directfb_1.1.0.bb b/packages/directfb/directfb_1.1.0.bb
index 84772b6a25..2c600b409f 100644
--- a/packages/directfb/directfb_1.1.0.bb
+++ b/packages/directfb/directfb_1.1.0.bb
@@ -10,12 +10,15 @@ DEPENDS = "jpeg libpng freetype zlib tslib"
PR = "r1"
RV = "1.1-0"
-SRC_URI = "http://www.directfb.org/download/DirectFB/DirectFB-${PV}.tar.gz \
- file://fix-pkgconfig-cflags.patch;patch=1 \
- file://fix-font-missing-char.patch;patch=1 \
- file://getpagesize.patch;patch=1 \
- file://fix-includes.patch;patch=1 \
- file://mkdfiff.patch;patch=1"
+SRC_URI = " \
+ http://www.directfb.org/download/DirectFB/DirectFB-${PV}.tar.gz \
+ file://fix-configure-include-path.patch;patch=1 \
+ file://fix-pkgconfig-cflags.patch;patch=1 \
+ file://fix-font-missing-char.patch;patch=1 \
+ file://getpagesize.patch;patch=1 \
+ file://fix-includes.patch;patch=1 \
+ file://mkdfiff.patch;patch=1 \
+ "
S = "${WORKDIR}/DirectFB-${PV}"
@@ -23,11 +26,12 @@ LDFLAGS_append =" -lts -lm"
inherit autotools pkgconfig
-EXTRA_OECONF = "--with-gfxdrivers=none \
+EXTRA_OECONF = " \
+ --with-gfxdrivers=none \
--enable-libmpeg3=no \
--enable-freetype=yes \
--enable-sdl=no \
- --enable-vnc=no \
+ --enable-vnc=no \
--disable-x11 \
"
diff --git a/packages/directfb/files/fix-configure-include-path.patch b/packages/directfb/files/fix-configure-include-path.patch
new file mode 100644
index 0000000000..f9bbff8b00
--- /dev/null
+++ b/packages/directfb/files/fix-configure-include-path.patch
@@ -0,0 +1,13 @@
+--- DirectFB-1.1.0/configure.in-orig 2007-08-27 00:07:00.000000000 -0700
++++ DirectFB-1.1.0/configure.in 2007-11-26 12:05:52.000000000 -0800
+@@ -1380,8 +1380,8 @@
+
+ MODULEDIR=$libdir/$MODULEDIRNAME
+ DATADIR=$datadir/directfb-$VERSION
+-INCLUDEDIR=$includedir/directfb
+-INTERNALINCLUDEDIR=$includedir/directfb-internal
++INCLUDEDIR=$includedir/
++INTERNALINCLUDEDIR=$includedir/
+
+ SOPATH=$libdir/libdirectfb-$LT_RELEASE.so.$LT_CURRENT
+ AC_SUBST(SOPATH)