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 000000000..34e121269 --- /dev/null +++ b/meta/packages/gtk-engines/gtk-clearlooks-engine_0.6.2.bb @@ -0,0 +1,23 @@ +SECTION = "x11/base" +DESCRIPTION = "Clearlooks theme engine for GTK" +MAINTAINER = "Koen Kooi <koenhandhelds.org>" +LICENSE = "GPL2" +DEPENDS = "gtk+" + +SRC_URI = "${SOURCEFORGE_MIRROR}/clearlooks/clearlooks-0.6.2.tar.bz2" + +S = "${WORKDIR}/clearlooks-${PV}" + +PACKAGES += "gtk-theme-clearlooks" +FILES_${PN} = "${libdir}/gtk-2.0/*/engines/*.so" +FILES_${PN}-dev = "${libdir}/gtk-2.0/*/engines/*" +FILES_gtk-theme-clearlooks = "${datadir}/icons ${datadir}/themes" + +inherit autotools + +do_configure_prepend() { + for i in `ls gtk-common`; do + ln -sf ../gtk-common/$i gtk2-engine/$i + done +} + 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 000000000..9d57ff72a --- /dev/null +++ b/meta/packages/gtk-engines/gtk-engines_2.7.1.bb @@ -0,0 +1,32 @@ +LICENSE = "GPL" +SECTION = "x11/base" +DESCRIPTION = "GTK theme engines" +DEPENDS = "gtk+" + +DEFAULT_PREFERENCE = "-1" + +RDEPENDS_gtk-theme-redmond = "gtk-engine-redmond95" +RDEPENDS_gtk-theme-metal = "gtk-engine-metal" +RDEPENDS_gtk-theme-mist = "gtk-engine-mist" +RDEPENDS_gtk-theme-crux = "gtk-engine-crux-engine" +RDEPENDS_gtk-theme-lighthouseblue = "gtk-engine-lighthouseblue" +RDEPENDS_gtk-theme-thinice = "gtk-engine-thinice" +RDEPENDS_gtk-theme-industrial = "gtk-engine-industrial" +RDEPENDS_gtk-theme-clearlooks = "gtk-engine-clearlooks" + +SRC_URI = "${GNOME_MIRROR}/${PN}/2.7/${PN}-${PV}.tar.bz2" + +CFLAGS_prepend = "-DHAVE_ANIMATION " + +inherit autotools pkgconfig + +python populate_packages_prepend() { + import os.path + + engines_root = os.path.join(bb.data.getVar('libdir', d, 1), "gtk-2.0/2.4.0/engines") + themes_root = os.path.join(bb.data.getVar('datadir', d, 1), "themes") + + do_split_packages(d, engines_root, '^lib(.*)\.so$', 'gtk-engine-%s', 'GTK %s theme engine', extra_depends='') + do_split_packages(d, themes_root, '(.*)', 'gtk-theme-%s', 'GTK theme %s', allow_dirs=True, extra_depends='') +} + |