summaryrefslogtreecommitdiff
path: root/meta/recipes-sato/sato-icon-theme/sato-icon-theme.inc
blob: 0eff9dd7ae5e602d90ae34fec9d740644a117006 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
DESCRIPTION = "Sato Icon Theme"
HOMEPAGE = "http://www.o-hand.com"
BUGTRACKER = "http://bugzilla.openedhand.com/"

LICENSE = "CCPL"
LIC_FILES_CHKSUM = "file://COPYING;md5=56a830bbe6e4697fe6cbbae01bb7c2b2"

SECTION = "x11"
DEPENDS = ""

inherit autotools pkgconfig

FILES_${PN} += "${datadir}"

PACKAGE_ARCH = "all"

EXTRA_OECONF += "--with-iconmap=${STAGING_LIBDIR_NATIVE}/../libexec/icon-name-mapping"

#explictly setting "Sato" as default icon theme to avoid icon missing due to
#tricky race condition
pkg_postinst_${PN} () {
        if [ "x$D" != "x" ]; then
                exit 1
        fi
        gtk-update-icon-cache -q /usr/share/icons/Sato
        echo 'gtk-icon-theme-name = "Sato"' >> /etc/gtk-2.0/gtkrc
}