summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-04-17 22:59:55 +0100
committerMarek Szuba <marecki@gentoo.org>2020-04-17 23:18:34 +0100
commit4c1abb91d9a6c190a45d59569e749940e859e718 (patch)
tree6fb77247c365bf6737e29774787ab05d027eb5f0 /x11-misc
parentdev-libs/libfido2: remove old (diff)
downloadgentoo-4c1abb91d9a6c190a45d59569e749940e859e718.tar.gz
gentoo-4c1abb91d9a6c190a45d59569e749940e859e718.tar.bz2
gentoo-4c1abb91d9a6c190a45d59569e749940e859e718.zip
x11-misc/birdtray: update XDG icon cache
Signed-off-by: Marek Szuba <marecki@gentoo.org>
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
+}