diff options
author | Koen Kooi <koen@openembedded.org> | 2010-03-05 12:08:22 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-03-05 12:08:22 +0100 |
commit | 8cd06fd4e9db58ce24644572868b8dbef83d15a7 (patch) | |
tree | 131b73168f96e458108dffad86dcfd7964de337b /recipes/gnome | |
parent | 8495e5b2e2f4acd174d1389be84c9d6763e581f6 (diff) |
eog: fix build when gnome-python gets detected
Diffstat (limited to 'recipes/gnome')
-rw-r--r-- | recipes/gnome/eog_2.28.2.bb | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/recipes/gnome/eog_2.28.2.bb b/recipes/gnome/eog_2.28.2.bb index 0a55295b1b..0bb10971ab 100644 --- a/recipes/gnome/eog_2.28.2.bb +++ b/recipes/gnome/eog_2.28.2.bb @@ -1,11 +1,31 @@ DESCRIPTION = "Image viewer for gnome" LICENSE = "GPLv2" -PR = "r1" +PR = "r2" DEPENDS = "gtk+ glib-2.0 gnome-desktop gnome-icon-theme shared-mime-info zlib libexif lcms jpeg dbus-glib libxml2 " inherit gnome +do_configure_prepend() { + export HOST_SYS=${HOST_SYS} + export BUILD_SYS=${BUILD_SYS} + export PYGTK_CODEGEN="${STAGING_DATADIR}/pygobject/2.0/codegen/codegen.py" + sed -i \ + -e s:'`$PKG_CONFIG --variable defsdir pygobject-2.0`':\"${STAGING_DATADIR}/pygobject/2.0/defs\":g \ + -e s:'`$PKG_CONFIG --variable=defsdir pygobject-2.0`':\"${STAGING_DATADIR}/pygobject/2.0/defs\":g \ + -e s:'`$PKG_CONFIG --variable=defsdir pygtk-2.0`':\"${STAGING_DATADIR}/pygtk/2.0/defs\":g \ + -e s:'`$PKG_CONFIG --variable=pygtkincludedir pygobject-2.0`':\"${STAGING_INCDIR}/pygtk-2.0\":g \ + -e s:'`$PKG_CONFIG --variable=datadir pygobject-2.0`':\"${STAGING_DATADIR}\":g \ + -e s:'`$PKG_CONFIG --variable codegendir pygobject-2.0`':\"${STAGING_DATADIR}/pygobject/2.0/codegen\":g \ + -e s:'`$PKG_CONFIG --variable=codegendir pygobject-2.0`':\"${STAGING_DATADIR}/pygobject/2.0/codegen\":g \ + -e s:'`$PKG_CONFIG --variable=codegendir pygtk-2.0`':\"${STAGING_DATADIR}/pygobject/2.0/codegen\":g \ + -e s:'`$PKG_CONFIG --variable=fixxref pygobject-2.0`':\"${STAGING_DATADIR}/pygobject/xsl/fixxref.py\":g \ + -e 's:PYTHON_CFLAGS="-I$PY_PREFIX/include/python$PYTHON_VERSION":PYTHON_CFLAGS="-I${STAGING_INCDIR}/python$PYTHON_VERSION":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 +} + FILES_${PN}-dbg += "${libdir}/eog/plugins/.debug" |