[oe] [PATCH 2/2] gnome-python-desktop: build a separate python-rsvg package.

Yann Dirson ydirson at free.fr
Tue Aug 3 23:01:32 UTC 2010


That package has no dependency on gnome, and is useful of its own.

Signed-off-by: Yann Dirson <ydirson at altern.org>
---
 recipes/gnome/gnome-python-desktop_2.30.0.bb |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/recipes/gnome/gnome-python-desktop_2.30.0.bb b/recipes/gnome/gnome-python-desktop_2.30.0.bb
index 8dd73fa..9c72ed4 100644
--- a/recipes/gnome/gnome-python-desktop_2.30.0.bb
+++ b/recipes/gnome/gnome-python-desktop_2.30.0.bb
@@ -1,6 +1,8 @@
 LICENSE = "GPL/LGPL"
 DEPENDS = "librsvg libwnck totem-pl-parser libgtop gnome-panel gnome-desktop eds-dbus python-pygtk gnome-python libgnomeprint libgnomeprintui"
 
+PR = "r1"
+
 inherit gnome distutils-base
 
 EXTRA_OECONF += " ac_cv_path_PYGOBJECT_CODEGEN=${STAGING_DATADIR}/pygobject/2.0/codegen/codegen.py \
@@ -26,5 +28,10 @@ do_configure_prepend() {
 
 FILES_${PN}-dev += "${datadir}/pygtk"
 
+PACKAGES =+ "python-rsvg"
+FILES_python-rsvg = " \
+	/usr/lib/python*/site-packages/gtk-2.0/rsvg.* \
+"
+
 SRC_URI[archive.md5sum] = "a6d448d46a6b3062ce7a1b6a9fddfb48"
 SRC_URI[archive.sha256sum] = "db997a3c81967d6dc7210dd83e06f18ac6417f804f672e42f15a1d68af371f49"
-- 
1.7.1





More information about the Openembedded-devel mailing list