summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-07-15 11:36:11 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-07-15 18:08:58 +0200
commitde72078c0cd18d583f798d91968d33ca3201c9b6 (patch)
treea8a41457909b19a507b62926478c033c0366dca7
parentsci-visualization/paraview: Switch to eapi7-ver (diff)
downloadgentoo-de72078c0cd18d583f798d91968d33ca3201c9b6.tar.gz
gentoo-de72078c0cd18d583f798d91968d33ca3201c9b6.tar.bz2
gentoo-de72078c0cd18d583f798d91968d33ca3201c9b6.zip
sci-visualization/paraview: Update GTK+ icon cache
Package-Manager: Portage-2.3.41, Repoman-2.3.9
-rw-r--r--sci-visualization/paraview/paraview-5.5.2.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/sci-visualization/paraview/paraview-5.5.2.ebuild b/sci-visualization/paraview/paraview-5.5.2.ebuild
index 8f9a79d3dae5..801dd7dea96d 100644
--- a/sci-visualization/paraview/paraview-5.5.2.ebuild
+++ b/sci-visualization/paraview/paraview-5.5.2.ebuild
@@ -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
+}