commit: 9dbc4543c87693ecf1faea9c11412c8769134047
Author: Devrin Talen <devrin <AT> fastmail <DOT> com>
AuthorDate: Mon Sep 16 14:21:56 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Sep 16 14:29:02 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9dbc4543
media-gfx/superpaper: add call to xdg_icon_cache_update()
Signed-off-by: Devrin Talen <devrin <AT> fastmail.com>
media-gfx/superpaper/superpaper-2.2.1.ebuild | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/media-gfx/superpaper/superpaper-2.2.1.ebuild
b/media-gfx/superpaper/superpaper-2.2.1.ebuild
index 1bebfb8a2..c162f8e60 100644
--- a/media-gfx/superpaper/superpaper-2.2.1.ebuild
+++ b/media-gfx/superpaper/superpaper-2.2.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
-inherit distutils-r1
+inherit distutils-r1 xdg-utils
DESCRIPTION="Advanced multi monitor wallpaper manager"
HOMEPAGE="https://github.com/hhannine/superpaper"
@@ -23,3 +23,13 @@ RDEPEND=">=dev-python/wxpython-4.0[${PYTHON_USEDEP}]
>=dev-python/system_hotkey-1.0[${PYTHON_USEDEP}]
>=dev-python/xcffib-0.8.0[${PYTHON_USEDEP}]
>=dev-python/xpybutil-0.0.5[${PYTHON_USEDEP}]"
+
+pkg_postinst() {
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+ xdg_desktop_database_update
+}