diff options
Diffstat (limited to 'meta/packages/gtk-engines')
-rw-r--r-- | meta/packages/gtk-engines/gtk-clearlooks-engine_0.6.2.bb | 23 | ||||
-rw-r--r-- | meta/packages/gtk-engines/gtk-engines_2.7.1.bb | 32 |
2 files changed, 55 insertions, 0 deletions
diff --git a/meta/packages/gtk-engines/gtk-clearlooks-engine_0.6.2.bb b/meta/packages/gtk-engines/gtk-clearlooks-engine_0.6.2.bb new file mode 100644 index 0000000000..34e1212694 --- /dev/null +++ b/meta/packages/gtk-engines/gtk-clearlooks-engine_0.6.2.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | SECTION = "x11/base" | ||
2 | DESCRIPTION = "Clearlooks theme engine for GTK" | ||
3 | MAINTAINER = "Koen Kooi <koenhandhelds.org>" | ||
4 | LICENSE = "GPL2" | ||
5 | DEPENDS = "gtk+" | ||
6 | |||
7 | SRC_URI = "${SOURCEFORGE_MIRROR}/clearlooks/clearlooks-0.6.2.tar.bz2" | ||
8 | |||
9 | S = "${WORKDIR}/clearlooks-${PV}" | ||
10 | |||
11 | PACKAGES += "gtk-theme-clearlooks" | ||
12 | FILES_${PN} = "${libdir}/gtk-2.0/*/engines/*.so" | ||
13 | FILES_${PN}-dev = "${libdir}/gtk-2.0/*/engines/*" | ||
14 | FILES_gtk-theme-clearlooks = "${datadir}/icons ${datadir}/themes" | ||
15 | |||
16 | inherit autotools | ||
17 | |||
18 | do_configure_prepend() { | ||
19 | for i in `ls gtk-common`; do | ||
20 | ln -sf ../gtk-common/$i gtk2-engine/$i | ||
21 | done | ||
22 | } | ||
23 | |||
diff --git a/meta/packages/gtk-engines/gtk-engines_2.7.1.bb b/meta/packages/gtk-engines/gtk-engines_2.7.1.bb new file mode 100644 index 0000000000..9d57ff72a0 --- /dev/null +++ b/meta/packages/gtk-engines/gtk-engines_2.7.1.bb | |||
@@ -0,0 +1,32 @@ | |||
1 | LICENSE = "GPL" | ||
2 | SECTION = "x11/base" | ||
3 | DESCRIPTION = "GTK theme engines" | ||
4 | DEPENDS = "gtk+" | ||
5 | |||
6 | DEFAULT_PREFERENCE = "-1" | ||
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 | RDEPENDS_gtk-theme-clearlooks = "gtk-engine-clearlooks" | ||
16 | |||
17 | SRC_URI = "${GNOME_MIRROR}/${PN}/2.7/${PN}-${PV}.tar.bz2" | ||
18 | |||
19 | CFLAGS_prepend = "-DHAVE_ANIMATION " | ||
20 | |||
21 | inherit autotools pkgconfig | ||
22 | |||
23 | python populate_packages_prepend() { | ||
24 | import os.path | ||
25 | |||
26 | engines_root = os.path.join(bb.data.getVar('libdir', d, 1), "gtk-2.0/2.4.0/engines") | ||
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 | |||