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