summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/birdtray/birdtray-1.7.0.ebuild10
-rw-r--r--x11-misc/birdtray/birdtray-9999.ebuild10
2 files changed, 18 insertions, 2 deletions
diff --git a/x11-misc/birdtray/birdtray-1.7.0.ebuild b/x11-misc/birdtray/birdtray-1.7.0.ebuild
index a3777b79577c..27005bff4ede 100644
--- a/x11-misc/birdtray/birdtray-1.7.0.ebuild
+++ b/x11-misc/birdtray/birdtray-1.7.0.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit cmake
+inherit cmake xdg-utils
DESCRIPTION="A new mail system tray notification icon for Thunderbird"
HOMEPAGE="https://github.com/gyunaev/birdtray"
@@ -29,3 +29,11 @@ RDEPEND="dev-db/sqlite:=
x11-libs/libX11"
DEPEND="${RDEPEND}"
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/x11-misc/birdtray/birdtray-9999.ebuild b/x11-misc/birdtray/birdtray-9999.ebuild
index a3777b79577c..27005bff4ede 100644
--- a/x11-misc/birdtray/birdtray-9999.ebuild
+++ b/x11-misc/birdtray/birdtray-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit cmake
+inherit cmake xdg-utils
DESCRIPTION="A new mail system tray notification icon for Thunderbird"
HOMEPAGE="https://github.com/gyunaev/birdtray"
@@ -29,3 +29,11 @@ RDEPEND="dev-db/sqlite:=
x11-libs/libX11"
DEPEND="${RDEPEND}"
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}