summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2017-09-11 19:24:49 +0200
committerMike Gilbert <floppym@gentoo.org>2017-09-11 14:39:16 -0400
commite7b9023f3409eaf71e2c3375d93138594c217527 (patch)
treefa466d8875ad2c3ce0d24432d36780ef6c2ab35c /net-irc/kvirc
parentnet-irc/kvirc: Update dependency on app-text/enchant. (diff)
downloadgentoo-e7b9023f3409eaf71e2c3375d93138594c217527.tar.gz
gentoo-e7b9023f3409eaf71e2c3375d93138594c217527.tar.bz2
gentoo-e7b9023f3409eaf71e2c3375d93138594c217527.zip
net-irc/kvirc: Call gnome2_icon_cache_update() and xdg_desktop_database_update().
Diffstat (limited to 'net-irc/kvirc')
-rw-r--r--net-irc/kvirc/kvirc-5.0_pre20170801214745.ebuild12
-rw-r--r--net-irc/kvirc/kvirc-9999.ebuild12
2 files changed, 22 insertions, 2 deletions
diff --git a/net-irc/kvirc/kvirc-5.0_pre20170801214745.ebuild b/net-irc/kvirc/kvirc-5.0_pre20170801214745.ebuild
index 4ffa35121c1..b7ca953b5f8 100644
--- a/net-irc/kvirc/kvirc-5.0_pre20170801214745.ebuild
+++ b/net-irc/kvirc/kvirc-5.0_pre20170801214745.ebuild
@@ -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
+}
diff --git a/net-irc/kvirc/kvirc-9999.ebuild b/net-irc/kvirc/kvirc-9999.ebuild
index 22be83de60f..f6b1cfac9a9 100644
--- a/net-irc/kvirc/kvirc-9999.ebuild
+++ b/net-irc/kvirc/kvirc-9999.ebuild
@@ -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
+}