libgpewidget: fix build with glib-2.32

* SRC_URI needs to be after inherit gpe
  and pkgconfig.patch wasn't ever used

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa 2012-04-30 07:52:24 +02:00
parent 16e72dfcf3
commit 67f9414daf
2 changed files with 17 additions and 4 deletions

View File

@ -0,0 +1,11 @@
diff -uNr libgpewidget-0.117.orig/gpehelp.c libgpewidget-0.117/gpehelp.c
--- libgpewidget-0.117.orig/gpehelp.c 2006-10-12 12:20:33.000000000 +0200
+++ libgpewidget-0.117/gpehelp.c 2012-04-30 07:45:57.813293792 +0200
@@ -33,7 +33,6 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gdk/gdk.h>
#include <glib.h>
-#include <glib/gkeyfile.h>
/* helper function definitions*/

View File

@ -5,16 +5,18 @@ LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=d8045f3b8f929c1cb29a1e3fd737b499"
DEPENDS = "gtk+ cairo libxinerama libxcomposite libxrender gtk-doc"
PR = "r1"
PR = "r2"
SRC_URI += "file://pkgconfig.patch;striplevel=0"
inherit gpe pkgconfig autotools
SRC_URI += "file://pkgconfig.patch;striplevel=0 \
file://glib-2.32.patch \
"
SRC_URI[md5sum] = "b85a839264a35d0faf9a1a38c486e189"
SRC_URI[sha256sum] = "f96d30c09b0395ea4e146730fd52d9ea303b619bb139051d9f12d3f868a9e18c"
GPE_TARBALL_SUFFIX = "bz2"
inherit gpe pkgconfig autotools
EXTRA_OECONF = "--enable-cairo"
LDFLAGS += " -L${STAGING_LIBDIR}"