net-irc/kvirc: Call gnome2_icon_cache_update() and xdg_desktop_database_update().
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
Mon, 11 Sep 2017 17:24:49 +0000 (19:24 +0200)
committerMike Gilbert <floppym@gentoo.org>
Mon, 11 Sep 2017 18:39:16 +0000 (14:39 -0400)
net-irc/kvirc/kvirc-5.0_pre20170801214745.ebuild
net-irc/kvirc/kvirc-9999.ebuild

index 4ffa35121c196ec680173c43222827be5e609cbf..b7ca953b5f8ed3b136a480a135c264502b4a4dc8 100644 (file)
@@ -4,7 +4,7 @@
 EAPI="5"
 PYTHON_COMPAT=(python2_7)
 
-inherit cmake-utils flag-o-matic multilib python-single-r1
+inherit cmake-utils flag-o-matic gnome2-utils multilib python-single-r1 xdg-utils
 
 if [[ "${PV}" == "9999" ]]; then
        inherit git-r3
@@ -136,3 +136,13 @@ src_configure() {
 
        cmake-utils_src_configure
 }
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+}
index 22be83de60ffb0705d6a7b2c3910c459dcf44418..f6b1cfac9a9c79b3201354f28efc8d8e10ddb28f 100644 (file)
@@ -4,7 +4,7 @@
 EAPI="5"
 PYTHON_COMPAT=(python2_7)
 
-inherit cmake-utils flag-o-matic multilib python-single-r1
+inherit cmake-utils flag-o-matic gnome2-utils multilib python-single-r1 xdg-utils
 
 if [[ "${PV}" == "9999" ]]; then
        inherit git-r3
@@ -136,3 +136,13 @@ src_configure() {
 
        cmake-utils_src_configure
 }
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+       xdg_desktop_database_update
+}