gob2: updated to 2.0.17
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Sat, 4 Dec 2010 23:36:53 +0000 (00:36 +0100)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Sat, 4 Dec 2010 23:43:22 +0000 (00:43 +0100)
When trying to build gmpc on our autobuilder (64 bit ubuntu 10.04) I got compile errors
because gob2 apparently corrupted some data it generated causing type names to be changed.
On opensuse 11.2, 32bit it worked like a charm.
As our gob2 was 2.0.14 from 2006 and the latest one was 2.0.17 from earlier this year I
decided to update first.
Apparently this has fixed the issue. (32 and 64 bit work fine)
Also merged the native recipe in the target recipe.

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
recipes/gob2/gob2_2.0.17.bb [new file with mode: 0644]

diff --git a/recipes/gob2/gob2_2.0.17.bb b/recipes/gob2/gob2_2.0.17.bb
new file mode 100644 (file)
index 0000000..b349ba8
--- /dev/null
@@ -0,0 +1,23 @@
+LICENSE = "LGPL"
+DESCRIPTION = "A library to make creating GObjects easier"
+HOMEPAGE = "http://www.5z.com/jirka/gob.html"
+SECTION = "libs"
+DEPENDS = "gtk+ bison flex"
+
+SRC_URI = "http://ftp.5z.com/pub/gob/gob2-2.0.17.tar.gz"
+SRC_URI[md5sum] = "05fa7384b30ebb2921430b2615d2c2e5"
+SRC_URI[sha256sum] = "80b4683af653809970ef237fa45427b203653edf0dd5e3dc8897433e9c29346c"
+
+inherit autotools pkgconfig
+
+do_compile_prepend() {
+    find ${S} -name Makefile | xargs sed -i 's~-I/usr/include~-I${STAGING_INCDIR}~g'
+    find ${S} -name Makefile | xargs sed -i 's~-I$(includedir)~-I${STAGING_INCDIR}~g'
+}
+
+do_stage() {
+    install -m 0644 ${S}/gob2.m4 ${STAGING_DATADIR}/aclocal
+}
+
+BBCLASSEXTEND = "native"
+