clutter-gst: Fix broken build for images depending on gobject-introspection-native...
authorAndreas Müller <schnitzeltony@gmx.de>
Thu, 20 Jan 2011 08:32:40 +0000 (08:32 +0000)
committerKhem Raj <raj.khem@gmail.com>
Sat, 22 Jan 2011 17:27:38 +0000 (09:27 -0800)
* Error situation:
* 1. configure detects gobject-introspection:
*
configure:12133: checking for gobject-introspection
configure:12164: $PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.8"
*
* 2. compile fails:
*
  CCLD   libclutter-gst-1.0.la
  GEN    ClutterGst-1.0.gir
Couldn't find include 'Clutter-1.0.gir' (search path: ['.', 'path=.', '/home/Superandi/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/share/gir-1.0', '/home/Superandi/tmp/sysroots/i686-linux/usr/share/gir-1.0', '/usr/share/gir-1.0', '/home/Superandi/tmp/sysroots/i686-linux/usr/share/gir-1.0'])
make[3]: *** [ClutterGst-1.0.gir] Error 1
*
* After fix configure disables gobject-introspection
*
configure:12133: checking for gobject-introspection
configure:12178: result: no (disabled, use --enable-introspection to enable)

Signed-off-by: Andreas Mueller <schnitzeltony@gmx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/clutter/clutter-gst.inc

index b25f31e..814f493 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Clutter GStreamer integration library"
 HOMEPAGE = "http://www.clutter-project.org/"
 LICENSE = "LGPLv2.1"
 
-INC_PR = "r1"
+INC_PR = "r2"
 
 DEPENDS = "clutter gstreamer gst-plugins-base"
 
@@ -10,6 +10,8 @@ require clutter-common.inc
 
 inherit autotools pkgconfig
 
+EXTRA_OECONF = "--disable-introspection"
+
 align_examples_data_location() {
        for full_name in $(find ${S}/examples -name *.png) ; do
                data_name=${full_name##*/}