diff options
-rw-r--r-- | meta/conf/distro/poky-bleeding.conf | 2 | ||||
-rw-r--r-- | meta/packages/gtk-engines/gtk-engines_2.11.7.bb | 29 |
2 files changed, 31 insertions, 0 deletions
diff --git a/meta/conf/distro/poky-bleeding.conf b/meta/conf/distro/poky-bleeding.conf index 921545f288..4ed12a0642 100644 --- a/meta/conf/distro/poky-bleeding.conf +++ b/meta/conf/distro/poky-bleeding.conf | |||
@@ -1,3 +1,5 @@ | |||
1 | PREFERRED_VERSION_gtk+ ?= "2.11.6" | 1 | PREFERRED_VERSION_gtk+ ?= "2.11.6" |
2 | 2 | ||
3 | PREFERRED_VERSION_gtk-engines ?= "2.11.7" | ||
4 | |||
3 | require conf/distro/poky.conf | 5 | require conf/distro/poky.conf |
diff --git a/meta/packages/gtk-engines/gtk-engines_2.11.7.bb b/meta/packages/gtk-engines/gtk-engines_2.11.7.bb new file mode 100644 index 0000000000..0305a5c47d --- /dev/null +++ b/meta/packages/gtk-engines/gtk-engines_2.11.7.bb | |||
@@ -0,0 +1,29 @@ | |||
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 | CFLAGS_prepend = "-DHAVE_ANIMATION " | ||
18 | |||
19 | inherit gnome | ||
20 | |||
21 | python populate_packages_prepend() { | ||
22 | import os.path | ||
23 | |||
24 | engines_root = os.path.join(bb.data.getVar('libdir', d, 1), "gtk-2.0/2.10.0/engines") | ||
25 | themes_root = os.path.join(bb.data.getVar('datadir', d, 1), "themes") | ||
26 | |||
27 | do_split_packages(d, engines_root, '^lib(.*)\.so$', 'gtk-engine-%s', 'GTK %s theme engine', extra_depends='') | ||
28 | do_split_packages(d, themes_root, '(.*)', 'gtk-theme-%s', 'GTK theme %s', allow_dirs=True, extra_depends='') | ||
29 | } | ||