summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-30 10:10:35 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-30 10:10:35 +0000
commit499c15a61c0f3b5c6bdd808778304a1a3451d95b (patch)
tree79b84d110eb4e8b64499e648a2e943cdb47963b4 /meta
parent67a8d2dc46cd5e5444374df6eab2ab3f846c687c (diff)
downloadopenembedded-core-499c15a61c0f3b5c6bdd808778304a1a3451d95b.tar.gz
openembedded-core-499c15a61c0f3b5c6bdd808778304a1a3451d95b.tar.bz2
openembedded-core-499c15a61c0f3b5c6bdd808778304a1a3451d95b.tar.xz
openembedded-core-499c15a61c0f3b5c6bdd808778304a1a3451d95b.zip
pycairo: Fix staging
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/python/python-pycairo_1.4.0.bb9
-rw-r--r--meta/packages/python/python-pygtk_2.10.4.bb2
2 files changed, 9 insertions, 2 deletions
diff --git a/meta/packages/python/python-pycairo_1.4.0.bb b/meta/packages/python/python-pycairo_1.4.0.bb
index 824877558..cd00c61c1 100644
--- a/meta/packages/python/python-pycairo_1.4.0.bb
+++ b/meta/packages/python/python-pycairo_1.4.0.bb
@@ -3,10 +3,17 @@ SECTION = "python-devel"
HOMEPAGE = "http://cairographics.org/pycairo"
LICENSE = "LGPL MPL"
DEPENDS = "cairo"
-PR = "ml1"
+PR = "ml1.3"
SRC_URI = "http://cairographics.org/releases/pycairo-${PV}.tar.gz"
S = "${WORKDIR}/pycairo-${PV}"
inherit distutils pkgconfig
+do_install_append () {
+ install -d ${D}${includedir}
+ install -d ${D}${libdir}
+ mv ${D}${datadir}/include/* ${D}${includedir}
+ mv ${D}${datadir}/lib/* ${D}${libdir}
+ sed -i -e 's#prefix=.*#prefix=${prefix}#' ${D}${libdir}/pkgconfig/pycairo.pc
+}
diff --git a/meta/packages/python/python-pygtk_2.10.4.bb b/meta/packages/python/python-pygtk_2.10.4.bb
index c37f64e51..00abd048e 100644
--- a/meta/packages/python/python-pygtk_2.10.4.bb
+++ b/meta/packages/python/python-pygtk_2.10.4.bb
@@ -6,7 +6,7 @@ RDEPENDS = "python-shell python-pycairo python-pygobject"
PROVIDES = "python-pygtk2"
SRCNAME = "pygtk"
LICENSE = "LGPL"
-PR = "ml8"
+PR = "ml8.2"
SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.10/${SRCNAME}-${PV}.tar.bz2 \
file://fix-gtkunixprint.patch;patch=1 \