diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-11-15 14:12:31 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-11-15 14:12:31 +0000 |
commit | 478a35dd7d11f289059c3fbcee749fbae74db54c (patch) | |
tree | dae2dae78743f6999326c7c1237ea60211633929 /meta-extras/packages/python/python-pygtk_2.10.4.bb | |
parent | f11feacddf98d506902a7666bf795e1d1b7aa867 (diff) | |
download | poky-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.bb | 42 |
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 @@ | |||
1 | DESCRIPTION = "Python GTK+ 2.10.x Bindings" | ||
2 | SECTION = "devel/python" | ||
3 | # needs gtk+ 2.10.x | ||
4 | DEPENDS = "gtk+ libglade python-pycairo python-pygobject" | ||
5 | RDEPENDS = "python-shell python-pycairo python-pygobject" | ||
6 | PROVIDES = "python-pygtk2" | ||
7 | SRCNAME = "pygtk" | ||
8 | LICENSE = "LGPL" | ||
9 | PR = "ml3" | ||
10 | |||
11 | SRC_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" | ||
14 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
15 | |||
16 | EXTRA_OECONF = "--disable-docs" | ||
17 | EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../" | ||
18 | |||
19 | inherit autotools pkgconfig distutils-base | ||
20 | |||
21 | do_configure_prepend() { | ||
22 | install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/ | ||
23 | } | ||
24 | |||
25 | do_configure_prepend() { | ||
26 | install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/ | ||
27 | } | ||
28 | |||
29 | require fix-path.inc | ||
30 | |||
31 | FILES_${PN}-dev += "${libdir}/pygtk/2.0 ${bindir}/pygtk-*" | ||
32 | |||
33 | do_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 | } | ||