summaryrefslogtreecommitdiffstats
path: root/meta-extras/packages/python/python-pygtk_2.10.4.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2007-11-15 14:12:31 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2007-11-15 14:12:31 +0000
commit478a35dd7d11f289059c3fbcee749fbae74db54c (patch)
treedae2dae78743f6999326c7c1237ea60211633929 /meta-extras/packages/python/python-pygtk_2.10.4.bb
parentf11feacddf98d506902a7666bf795e1d1b7aa867 (diff)
downloadpoky-478a35dd7d11f289059c3fbcee749fbae74db54c.tar.gz
python-pygtk: upgrade to 2.10.4 from OE and add PROVIDES to keep compability
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3183 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta-extras/packages/python/python-pygtk_2.10.4.bb')
-rw-r--r--meta-extras/packages/python/python-pygtk_2.10.4.bb42
1 files changed, 42 insertions, 0 deletions
diff --git a/meta-extras/packages/python/python-pygtk_2.10.4.bb b/meta-extras/packages/python/python-pygtk_2.10.4.bb
new file mode 100644
index 0000000000..0584d119c9
--- /dev/null
+++ b/meta-extras/packages/python/python-pygtk_2.10.4.bb
@@ -0,0 +1,42 @@
1DESCRIPTION = "Python GTK+ 2.10.x Bindings"
2SECTION = "devel/python"
3# needs gtk+ 2.10.x
4DEPENDS = "gtk+ libglade python-pycairo python-pygobject"
5RDEPENDS = "python-shell python-pycairo python-pygobject"
6PROVIDES = "python-pygtk2"
7SRCNAME = "pygtk"
8LICENSE = "LGPL"
9PR = "ml3"
10
11SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.10/${SRCNAME}-${PV}.tar.bz2 \
12 file://fix-gtkunixprint.patch;patch=1 \
13 file://acinclude.m4"
14S = "${WORKDIR}/${SRCNAME}-${PV}"
15
16EXTRA_OECONF = "--disable-docs"
17EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../"
18
19inherit autotools pkgconfig distutils-base
20
21do_configure_prepend() {
22 install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/
23}
24
25do_configure_prepend() {
26 install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/
27}
28
29require fix-path.inc
30
31FILES_${PN}-dev += "${libdir}/pygtk/2.0 ${bindir}/pygtk-*"
32
33do_stage() {
34 autotools_stage_includes
35 sed -i s:/usr/share:${STAGING_DATADIR}: codegen/pygtk-codegen-2.0
36 install -m 0755 codegen/pygtk-codegen-2.0 ${STAGING_BINDIR_NATIVE}/
37 install -d ${STAGING_DATADIR}/pygtk/2.0/codegen
38 install -d ${STAGING_DATADIR}/pygtk/2.0/defs/
39 cp -pPr codegen/*.py* ${STAGING_DATADIR}/pygtk/2.0/codegen/
40 cp -pPr *.defs ${STAGING_DATADIR}/pygtk/2.0/defs/
41 cp -pPr gtk/*.defs ${STAGING_DATADIR}/pygtk/2.0/defs/
42}