diff options
author | Koen Kooi <koen@openembedded.org> | 2010-02-04 13:30:36 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-02-04 20:12:09 +0100 |
commit | 64c594914a4e4fbeae927e7df28fc8c826f4b731 (patch) | |
tree | 1e42b01dc24e31f26c2d7a10d4aeda4564800563 /recipes/gnome | |
parent | 56ca0e65fa85be57dc2b0f8be5160201a68cdb1d (diff) |
gnome-python-desktop: add 2.28.0
* this is made to build with pygobject codegen instead of pygtk codegen
Diffstat (limited to 'recipes/gnome')
-rw-r--r-- | recipes/gnome/gnome-python-desktop_2.28.0.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes/gnome/gnome-python-desktop_2.28.0.bb b/recipes/gnome/gnome-python-desktop_2.28.0.bb new file mode 100644 index 0000000000..5806e75c18 --- /dev/null +++ b/recipes/gnome/gnome-python-desktop_2.28.0.bb @@ -0,0 +1,27 @@ +LICENSE = "GPL/LGPL" +DEPENDS = "librsvg libwnck totem-pl-parser libgtop gnome-panel gnome-desktop eds-dbus python-pygtk gnome-python libgnomeprint libgnomeprintui" + +inherit gnome distutils-base + +EXTRA_OECONF += " ac_cv_path_PYGOBJECT_CODEGEN=${STAGING_DATADIR}/pygobject/2.0/codegen/codegen.py \ + ac_cv_path_PYGTK_CODEGEN=${STAGING_DATADIR}/pygobject/2.0/codegen/codegen.py \ + --with-python-includes=${STAGING_INCDIR}/../" + +do_configure_prepend() { + export HOST_SYS=${HOST_SYS} + export BUILD_SYS=${BUILD_SYS} + sed -i \ + -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 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}-dev += "${datadir}/pygtk" |