busybox: enable mkfs.vfat
[openembedded.git] / recipes / gtk-engines / gtk-engines_2.6.5.bb
1 DESCRIPTION = "GTK theme engines"
2 SECTION = "x11/base"
3 PRIORITY = "optional"
4 LICENSE = "GPL"
5 DEPENDS = "gtk+"
6 PR = "r1"
7
8 RDEPENDS_gtk-theme-redmond = "gtk-engine-redmond95"
9 RDEPENDS_gtk-theme-metal = "gtk-engine-metal"
10 RDEPENDS_gtk-theme-mist = "gtk-engine-mist"
11 RDEPENDS_gtk-theme-crux = "gtk-engine-crux-engine"
12 RDEPENDS_gtk-theme-lighthouseblue = "gtk-engine-lighthouseblue"
13 RDEPENDS_gtk-theme-thinice = "gtk-engine-thinice"
14 RDEPENDS_gtk-theme-industrial = "gtk-engine-industrial"
15
16 SRC_URI = "${GNOME_MIRROR}/${PN}/2.6/${PN}-${PV}.tar.bz2"
17
18 inherit autotools pkgconfig gtk-binver
19
20 PACKAGES_DYNAMIC = "gtk-engine-* gtk-theme-*"
21
22 python populate_packages_prepend() {
23         import os.path
24
25         engines_ver = ['gtk-2.0/', gtkbinver_find(d), '/engines']
26
27         engines_root = os.path.join(bb.data.getVar('libdir', d, 1), ''.join(engines_ver))
28         themes_root = os.path.join(bb.data.getVar('datadir', d, 1), "themes")
29
30         do_split_packages(d, engines_root, '^lib(.*)\.so$', 'gtk-engine-%s', 'GTK %s theme engine', extra_depends='')
31         do_split_packages(d, themes_root, '(.*)', 'gtk-theme-%s', 'GTK theme %s', allow_dirs=True, extra_depends='')
32 }