summaryrefslogtreecommitdiff
path: root/recipes/gnome/goffice_0.6.2.bb
blob: 9a36af54256aacb4e97569b80d03e7c62e7dfd87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
DESCRIPTION="Gnome Office Library"
LICENSE="GPLv2"
PR ="r1"

DEFAULT_PREFERENCE = "-1"

DEPENDS="glib-2.0 gtk+ pango cairo libgnomeprint libgsf libglade libpcre libxml2 libart-lgpl"

FILES_${PN}-dbg += "${libdir}/goffice/${PV}/plugins/*/.debug"

inherit gnome pkgconfig

do_stage() {
        gnome_stage_includes
	oe_libinstall -so -C goffice libgoffice-0.6 ${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)
}