goffice: add 0.3.2
authorKoen Kooi <koen@openembedded.org>
Sun, 22 Oct 2006 11:24:18 +0000 (11:24 +0000)
committerKoen Kooi <koen@openembedded.org>
Sun, 22 Oct 2006 11:24:18 +0000 (11:24 +0000)
* default preferece is -1 since the API goes backwards:
libgoffice-0-3_0.3.2-r0_armv5te.ipk
libgoffice-1-2_0.2.1-r0_armv5te.ipk
this is likely to be an upstream issue

packages/gnome/goffice_0.3.2.bb [new file with mode: 0644]

diff --git a/packages/gnome/goffice_0.3.2.bb b/packages/gnome/goffice_0.3.2.bb
new file mode 100644 (file)
index 0000000..90586ff
--- /dev/null
@@ -0,0 +1,23 @@
+DESCRIPTION="Gnome Office Library"
+LICENSE="GPLv2"
+PR="r0"
+
+DEFAULT_PREFERENCE = "-1"
+
+DEPENDS="glib-2.0 gtk+ pango cairo libgnomeprint libgsf libglade libxml2 libart-lgpl"
+
+inherit gnome pkgconfig
+
+do_stage() {
+        gnome_stage_includes
+       oe_libinstall -so -C goffice libgoffice-0 ${STAGING_LIBDIR}
+}
+
+PACKAGES_DYNAMIC = "goffice-plugin-*"
+
+python populate_packages_prepend () {
+        goffice_libdir = bb.data.expand('${libdir}/goffice/${PV}/plugins', d)
+
+        do_split_packages(d, goffice_libdir, '(.*)', 'goffice-plugin-%s', 'Goffice plugin for %s', allow_dirs=True)
+}
+