at-spi_1.28.0.bb : fix compile on systems without host installen gnome devel
authorGraeme Gregory <dp@xora.org.uk>
Thu, 21 Jan 2010 00:09:17 +0000 (00:09 +0000)
committerGraeme Gregory <dp@xora.org.uk>
Thu, 21 Jan 2010 00:09:17 +0000 (00:09 +0000)
The configure script was generation paths in /usr/* when looking for
orbit-2-idl and bonobo idl files so feed our staging paths in instead.

recipes/gnome/at-spi_1.28.0.bb

index 3639407..79b48b3 100644 (file)
@@ -6,8 +6,16 @@ LICENSE = "LGPL"
 DEPENDS = "gtk+ atk libbonobo orbit2 orbit2-native"
 RDEPENDS_${PN} = "libgail-gnome gtk-module-gail"
 
+PR = "r1"
+
 inherit gnome
 
+do_configure_prepend () {
+       sed -i "s|ORBIT_IDL=.*|ORBIT_IDL=${STAGING_BINDIR_NATIVE}/orbit-idl-2|" ${S}/configure.in
+       sed -i "s|BONOBO_ACTIVATION_IDL_DIR=.*|BONOBO_ACTIVATION_IDL_DIR=${STAGING_DATADIR}/idl/bonobo-activation-2.0|" ${S}/configure.in
+       sed -i "s|LIBBONOBO_IDL_DIR=.*|LIBBONOBO_IDL_DIR=${STAGING_DATADIR}/idl//bonobo-2.0|" ${S}/configure.in
+}
+
 do_stage () {
        autotools_stage_all
 }