sci-visualization/paraview: Update GTK+ icon cache
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 15 Jul 2018 09:36:11 +0000 (11:36 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 15 Jul 2018 16:08:58 +0000 (18:08 +0200)
Package-Manager: Portage-2.3.41, Repoman-2.3.9

sci-visualization/paraview/paraview-5.5.2.ebuild

index 8f9a79d3dae56304a5ad956403bf73cdbdc8dac6..801dd7dea96d8ebe9a53a8c1d8a75110c7f7d9e5 100644 (file)
@@ -4,7 +4,7 @@
 EAPI=6
 
 PYTHON_COMPAT=( python2_7 )
-inherit cmake-utils desktop eapi7-ver python-single-r1 toolchain-funcs
+inherit cmake-utils desktop eapi7-ver gnome2-utils python-single-r1 toolchain-funcs
 
 MAIN_PV=$(ver_cut 0-1)
 MAJOR_PV=$(ver_cut 1-2)
@@ -271,3 +271,11 @@ src_install() {
 
        use python && python_optimize "${D}"/usr/$(get_libdir)/${PN}-${MAJOR_PV}
 }
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}