summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/python/python-pygtk_2.10.4.bb9
1 files changed, 8 insertions, 1 deletions
diff --git a/packages/python/python-pygtk_2.10.4.bb b/packages/python/python-pygtk_2.10.4.bb
index 4471cf515d..09cf2d224b 100644
--- a/packages/python/python-pygtk_2.10.4.bb
+++ b/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 = "ml4"
+PR = "ml5"
SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.10/${SRCNAME}-${PV}.tar.bz2 \
file://fix-gtkunixprint.patch;patch=1 \
@@ -32,6 +32,13 @@ do_install_append() {
# dirty fix #2: fix build system paths leaking in
require fix-path.inc
+PACKAGES =+ "${PN}-demo"
+FILES_${PN}-demo = "\
+ ${bindir}/pygtk-demo \
+ ${libdir}/pygtk \
+"
+RDEPENDS_${PN}-demo = "python-pygtk python-stringold python-tokenize"
+
# todo: revamp packaging, package demo seperatly
FILES_${PN}-dev += "\
${libdir}/pygtk/2.0 \