[oe-commits] Koen Kooi : gnome-python-extras: fix up patch to python stuff

git version control git at git.openembedded.org
Thu Oct 22 09:30:15 UTC 2009


Module: openembedded.git
Branch: shr/merge
Commit: 9fb7e7b2d2f2563a78e128da8377bff110ad7775
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=9fb7e7b2d2f2563a78e128da8377bff110ad7775

Author: Koen Kooi <koen at openembedded.org>
Date:   Wed Oct 21 14:16:28 2009 +0200

gnome-python-extras: fix up patch to python stuff

---

 recipes/gnome/gnome-python-extras_2.25.3.bb |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/recipes/gnome/gnome-python-extras_2.25.3.bb b/recipes/gnome/gnome-python-extras_2.25.3.bb
index 9d8e786..cf3d84e 100644
--- a/recipes/gnome/gnome-python-extras_2.25.3.bb
+++ b/recipes/gnome/gnome-python-extras_2.25.3.bb
@@ -5,12 +5,17 @@ inherit gnome distutils-base
 
 SRC_URI += "file://acinclude.m4"
 
+EXTRA_OECONF = "--with-python-includes=${STAGING_INCDIR}/../"
+
 do_configure_prepend() {
         install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/
 }
 
 do_configure_prepend() {
-	sed -i -e s:'`$PKG_CONFIG --variable=defsdir pygtk-2.0`':\"${STAGING_DATADIR}/pygtk/2.0/defs\":g ${S}/configure.ac
+	sed -i -e s:'`$PKG_CONFIG --variable=defsdir pygtk-2.0`':\"${STAGING_DATADIR}/pygtk/2.0/defs\":g  \
+	       -e s:'`$PKG_CONFIG --variable=defsdir gnome-python-2.0`':\"${STAGING_DATADIR}/pygtk/2.0/defs\":g \
+	       -e s:'`$PKG_CONFIG --variable=argtypesdir gnome-python-2.0`':\"${STAGING_DATADIR}/pygtk/2.0/argtypes/\":g \
+	       ${S}/configure.ac
 }	
 
 AUTOTOOLS_STAGE_PKGCONFIG = "1"





More information about the Openembedded-commits mailing list