diff options
Diffstat (limited to 'meta/recipes-devtools/python/python-pygtk_2.17.0.bb')
-rw-r--r-- | meta/recipes-devtools/python/python-pygtk_2.17.0.bb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python-pygtk_2.17.0.bb b/meta/recipes-devtools/python/python-pygtk_2.17.0.bb index ef63b51038..3dcfd64a9d 100644 --- a/meta/recipes-devtools/python/python-pygtk_2.17.0.bb +++ b/meta/recipes-devtools/python/python-pygtk_2.17.0.bb | |||
@@ -6,7 +6,7 @@ RDEPENDS = "python-shell python-pycairo python-pygobject" | |||
6 | PROVIDES = "python-pygtk2" | 6 | PROVIDES = "python-pygtk2" |
7 | SRCNAME = "pygtk" | 7 | SRCNAME = "pygtk" |
8 | LICENSE = "LGPL" | 8 | LICENSE = "LGPL" |
9 | PR = "ml8.2" | 9 | PR = "ml8.3" |
10 | 10 | ||
11 | SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.17/${SRCNAME}-${PV}.tar.bz2 \ | 11 | SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.17/${SRCNAME}-${PV}.tar.bz2 \ |
12 | file://fix-gtkunixprint.patch \ | 12 | file://fix-gtkunixprint.patch \ |
@@ -21,6 +21,14 @@ inherit autotools pkgconfig distutils-base | |||
21 | 21 | ||
22 | do_configure_prepend() { | 22 | do_configure_prepend() { |
23 | install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/ | 23 | install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/ |
24 | sed -i \ | ||
25 | -e s:'`$PKG_CONFIG --variable defsdir pygobject-2.0`':\"${STAGING_DATADIR}/pygobject/2.0/defs\":g \ | ||
26 | -e s:'`$PKG_CONFIG --variable=pygtkincludedir pygobject-2.0`':\"${STAGING_INCDIR}/pygtk-2.0\":g \ | ||
27 | -e s:'`$PKG_CONFIG --variable=datadir pygobject-2.0`':\"${STAGING_DATADIR}\":g \ | ||
28 | -e s:'`$PKG_CONFIG --variable codegendir pygobject-2.0`':\"${STAGING_DATADIR}/pygobject/2.0/codegen\":g \ | ||
29 | -e s:'`$PKG_CONFIG --variable=fixxref pygobject-2.0`':\"${STAGING_DATADIR}/pygobject/xsl/fixxref.py\":g \ | ||
30 | ${S}/configure.ac | ||
31 | sed -i 's:tests docs:tests:' Makefile.am | ||
24 | } | 32 | } |
25 | 33 | ||
26 | # dirty fix #1: remove dependency on python-pygobject-dev | 34 | # dirty fix #1: remove dependency on python-pygobject-dev |