gnome-icon-theme: add missing icon-cache inherit
authorKoen Kooi <koen@dominion.thruhere.net>
Thu, 18 Apr 2013 13:51:30 +0000 (15:51 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 22 Apr 2013 13:45:03 +0000 (14:45 +0100)
When installing this manually the icon cache won't get refreshed.

Rearrange recipe to comply the the styleguide as well.

(From OE-Core rev: a0643812b05cf7ed8b6f530f81925f60089c2410)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-gnome/gnome/gnome-icon-theme_2.31.0.bb

index ab541ed..920ee4f 100644 (file)
@@ -1,17 +1,16 @@
 DESCRIPTION = "GNOME 2 default icon themes"
 HOMEPAGE = "http://www.gnome.org/"
 BUGTRACKER = "https://bugzilla.gnome.org/"
+SECTION = "x11/gnome"
 
 LICENSE = "LGPLv3+ | CC-BY-SA-3.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=e7e289d90fc8bdceed5e3f142f98229e"
 
-SECTION = "x11/gnome"
+PR = "r5"
+
 DEPENDS = "icon-naming-utils-native glib-2.0 intltool-native libxml-simple-perl-native"
-RDEPENDS_${PN} = "hicolor-icon-theme"
-RRECOMMENDS_${PN} = "librsvg-gtk"
-PR = "r4"
 
-FILES_${PN} += "${datadir}/*"
+inherit autotools perlnative gtk-icon-cache
 
 SRC_URI = "${GNOME_MIRROR}/${BPN}/2.31/${BPN}-${PV}.tar.bz2 \
            file://iconpath-option.patch"
@@ -21,4 +20,5 @@ SRC_URI[sha256sum] = "ea7e05b77ead159379392b3b275ca0c9cbacd7d936014e447cc7c5e27a
 
 EXTRA_OECONF = "--with-iconmap=${@d.getVar('STAGING_LIBEXECDIR_NATIVE', True).replace('gnome-icon-theme', 'icon-naming-utils')}/icon-name-mapping"
 
-inherit autotools perlnative
+FILES_${PN} += "${datadir}/*"
+RRECOMMENDS_${PN} += "librsvg-gtk"