summaryrefslogtreecommitdiff
path: root/packages/gnome/gnome-icon-theme_2.24.0.bb
blob: 755e39151ec5e98407105f67d25e4975c79cb961 (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
28
29
LICENSE = "GPL"
SECTION = "x11/gnome"
DEPENDS = "icon-naming-utils-native glib-2.0 intltool-native"
RDEPENDS = "hicolor-icon-theme"
RRECOMMENDS = "librsvg-gtk"

PR = "r2"

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

EXTRA_OECONF = "--disable-hicolor-check"

inherit gnome

pkg_postinst_${PN}() {
if [ "x$D" != "x" ]; then
        exit 1
fi

# Update the pixbuf loaders in case they haven't been registered yet
gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders

gtk-update-icon-cache -q /usr/share/icons/gnome
}

pkg_postrm_${PN}() {
gtk-update-icon-cache -q /usr/share/icons/gnome
}