summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2016-02-29 13:57:22 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-12 23:47:17 +0100
commit947d41a60c449e9ee8315d71bada71c4091230e1 (patch)
tree347f125fc17708f36d43b55b99de50ed3c0f5cc4 /meta
parent21343ac500395e13b9b2e5ccab95543ca2a9cd8b (diff)
downloadpoky-947d41a60c449e9ee8315d71bada71c4091230e1.tar.gz
gnome-themes-standard: Add new GTK+2 theme
This is useful as it matches the default GTK+3 theme well. Only the Adwaita theme currently gets installed. (From OE-Core rev: aabfce5c31dd2faff54d293c5c237346b748a184) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-gnome/gnome/gnome-themes-standard_3.18.0.bb37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gnome/gnome-themes-standard_3.18.0.bb b/meta/recipes-gnome/gnome/gnome-themes-standard_3.18.0.bb
new file mode 100644
index 0000000000..06135e0192
--- /dev/null
+++ b/meta/recipes-gnome/gnome/gnome-themes-standard_3.18.0.bb
@@ -0,0 +1,37 @@
1SUMMARY = "GTK+2 standard themes"
2HOMEPAGE = "http://ftp.gnome.org/pub/GNOME/sources/gnome-themes-standard/"
3BUGTRACKER = "https://bugzilla.gnome.org/"
4SECTION = "x11/gnome"
5
6LICENSE = "LGPL-2.1"
7LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1"
8
9inherit autotools pkgconfig gettext gtk-icon-cache upstream-version-is-even
10
11DEPENDS += "intltool-native gtk+"
12
13MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
14SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \
15 "
16
17SRC_URI[md5sum] = "4d17bc62e4d0c5440fc4eda3d9271367"
18SRC_URI[sha256sum] = "e646eb04c225282b7df7fff65741adaad4cf9ed2c12616b7310e7edd27d2bacb"
19
20EXTRA_OECONF = "--disable-gtk3-engine"
21
22do_install_append() {
23 # Only building Adwaita, remove highcontrast files
24 rm -rf ${D}${prefix}/share/themes/HighContrast \
25 ${D}${prefix}/share/icons
26}
27
28# There could be gnome-theme-highcontrast as well but that requires
29# gtk+3 and includes lots of icons (is also broken with B != S).
30PACKAGES += "gnome-theme-adwaita \
31 gnome-theme-adwaita-dbg \
32 gnome-theme-adwaita-dev"
33
34FILES_gnome-theme-adwaita = "${prefix}/share/themes/Adwaita \
35 ${libdir}/gtk-2.0/2.10.0/engines/libadwaita.so"
36FILES_gnome-theme-adwaita-dev = "${libdir}/gtk-2.0/2.10.0/engines/libadwaita.la"
37FILES_gnome-theme-adwaita-dbg = "${libdir}/gtk-2.0/2.10.0/engines/.debug/libadwaita.so"