summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/sato-icon-theme/sato-icon-theme_0.4.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-sato/sato-icon-theme/sato-icon-theme_0.4.1.bb')
-rw-r--r--meta/recipes-sato/sato-icon-theme/sato-icon-theme_0.4.1.bb25
1 files changed, 23 insertions, 2 deletions
diff --git a/meta/recipes-sato/sato-icon-theme/sato-icon-theme_0.4.1.bb b/meta/recipes-sato/sato-icon-theme/sato-icon-theme_0.4.1.bb
index ead2f7dcfd..cb3b68c16e 100644
--- a/meta/recipes-sato/sato-icon-theme/sato-icon-theme_0.4.1.bb
+++ b/meta/recipes-sato/sato-icon-theme/sato-icon-theme_0.4.1.bb
@@ -1,12 +1,33 @@
1require sato-icon-theme.inc 1DESCRIPTION = "Sato Icon Theme"
2HOMEPAGE = "http://www.o-hand.com"
3BUGTRACKER = "http://bugzilla.openedhand.com/"
2 4
3DEPENDS += "icon-naming-utils-native libxml-simple-perl-native" 5LICENSE = "CC-BY-SA-3.0"
6LIC_FILES_CHKSUM = "file://COPYING;md5=56a830bbe6e4697fe6cbbae01bb7c2b2"
7SECTION = "x11"
4 8
5PR = "r6" 9PR = "r6"
6 10
11DEPENDS = "icon-naming-utils-native libxml-simple-perl-native"
12
7SRC_URI = "http://pokylinux.org/releases/sato/${BPN}-${PV}.tar.gz \ 13SRC_URI = "http://pokylinux.org/releases/sato/${BPN}-${PV}.tar.gz \
8 file://iconpath-option.patch \ 14 file://iconpath-option.patch \
9 file://0001-Inherit-the-GNOME-icon-theme.patch" 15 file://0001-Inherit-the-GNOME-icon-theme.patch"
10 16
11SRC_URI[md5sum] = "86a847f3128a43a9cf23b7029a656f50" 17SRC_URI[md5sum] = "86a847f3128a43a9cf23b7029a656f50"
12SRC_URI[sha256sum] = "0b0a2807a6a96918ac799a86094ec3e8e2c892be0fd679a4232c2a77f2f61732" 18SRC_URI[sha256sum] = "0b0a2807a6a96918ac799a86094ec3e8e2c892be0fd679a4232c2a77f2f61732"
19
20inherit autotools pkgconfig allarch gtk-icon-cache perlnative
21
22FILES_${PN} += "${datadir}"
23
24EXTRA_OECONF += "--with-iconmap=${@d.getVar('STAGING_LIBEXECDIR_NATIVE', True).replace('sato-icon-theme', 'icon-naming-utils')}/icon-name-mapping"
25
26# Explictly setting "Sato" as the default icon theme to avoid flickering from
27# the desktop and settings daemon racing. This shouldn't be done here but in the sato image
28pkg_postinst_${PN} () {
29 mkdir -p $D/etc/gtk-2.0
30
31 grep -s -q -e ^gtk-icon-theme-name.*\"Sato\" $D/etc/gtk-2.0/gtkrc || \
32 echo 'gtk-icon-theme-name = "Sato"' >> $D/etc/gtk-2.0/gtkrc
33}