totem-pl-parser_2.30.0: fix configure without gobject introspection
authorFabian Ruff <fabian@progra.de>
Mon, 31 Jan 2011 18:32:15 +0000 (18:32 +0000)
committerTom Rini <tom_rini@mentor.com>
Fri, 4 Feb 2011 17:51:17 +0000 (10:51 -0700)
this bugfix removes the configure error:
  HAVE_INTROSPECTION does not appear in AM_CONDITIONAL

Acked-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Fabian Ruff <fabian@progra.de>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/totem/totem-pl-parser_2.30.0.bb

index 31d6b04..a69de38 100644 (file)
@@ -11,10 +11,9 @@ inherit gnome
 SRC_URI[archive.md5sum] = "81bf8e3043a9ec89bdd391c36ebd50d1"
 SRC_URI[archive.sha256sum] = "403b18c1582c14effb4e2dabf339dfdbc45285204a0cf958fc250a387b6fc65c"
 
-EXTRA_OECONF = "--enable-introspection=no"
-
 # Build of documentation is not yet possible:
 do_configure_prepend() {
+       sed -i -e 's:GOBJECT_INTROSPECTION_CHECK(\[0.6.7\]):AM_CONDITIONAL([HAVE_INTROSPECTION], [false]):g' ${S}/configure.in
        sed -i -e s:docs::g ${S}/Makefile.am
 }