aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevrin Talen <devrin@fastmail.com>2024-09-16 10:21:56 -0400
committerDevrin Talen <devrin@fastmail.com>2024-09-16 10:29:02 -0400
commit9dbc4543c87693ecf1faea9c11412c8769134047 (patch)
tree438a43dbe5a334ff537ebbb0cc8e052032a1c113 /media-gfx
parentdev-python/pydantic-settings: add 2.5.2 (diff)
downloadguru-9dbc4543c87693ecf1faea9c11412c8769134047.tar.gz
guru-9dbc4543c87693ecf1faea9c11412c8769134047.tar.bz2
guru-9dbc4543c87693ecf1faea9c11412c8769134047.zip
media-gfx/superpaper: add call to xdg_icon_cache_update()
Signed-off-by: Devrin Talen <devrin@fastmail.com>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/superpaper/superpaper-2.2.1.ebuild12
1 files changed, 11 insertions, 1 deletions
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
+}