directfb : Update include file paths so that directfb-examples builds.
authorSteve Sakoman <steve@sakoman.com>
Sun, 2 Dec 2007 21:19:27 +0000 (21:19 +0000)
committerPhilip Balister <philip@balister.org>
Sun, 2 Dec 2007 21:19:27 +0000 (21:19 +0000)
packages/directfb/directfb-examples_1.0.0.bb
packages/directfb/directfb_1.1.0.bb
packages/directfb/files/fix-configure-include-path.patch [new file with mode: 0644]

index 8a792b4..064a808 100644 (file)
@@ -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
 
index 84772b6..2c600b4 100644 (file)
@@ -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 (file)
index 0000000..f9bbff8
--- /dev/null
@@ -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)