M7350/oe-core/meta/recipes-sato/sato-icon-theme/sato-icon-theme.inc
2024-09-09 08:52:07 +00:00

26 lines
713 B
PHP

DESCRIPTION = "Sato Icon Theme"
HOMEPAGE = "http://www.o-hand.com"
BUGTRACKER = "http://bugzilla.openedhand.com/"
LICENSE = "CC-BY-SA-3.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=56a830bbe6e4697fe6cbbae01bb7c2b2"
SECTION = "x11"
DEPENDS = ""
inherit autotools pkgconfig allarch
FILES_${PN} += "${datadir}"
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
}