From 50dd9de9996b0326d68a4a964775257cd01ff5ff Mon Sep 17 00:00:00 2001 From: Nedko Arnaudov Date: Sat, 28 Jan 2023 03:20:52 +0200 Subject: [PATCH] media-sound/ladish: xdg_icon_cache_update --- media-sound/ladish/ladish-1.9999.ebuild | 10 +++++++++- media-sound/ladish/ladish-9999.ebuild | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/media-sound/ladish/ladish-1.9999.ebuild b/media-sound/ladish/ladish-1.9999.ebuild index 2291e33..1cc6a3f 100644 --- a/media-sound/ladish/ladish-1.9999.ebuild +++ b/media-sound/ladish/ladish-1.9999.ebuild @@ -6,7 +6,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8,9,10,11} ) PYTHON_REQ_USE='threads(+)' -inherit flag-o-matic python-single-r1 waf-utils +inherit flag-o-matic python-single-r1 waf-utils xdg-utils DESCRIPTION="LADI Session Handler - a session management system for JACK applications" HOMEPAGE="https://ladish.org" @@ -70,3 +70,11 @@ src_install() { waf-utils_src_install python_fix_shebang "${ED}" } + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} diff --git a/media-sound/ladish/ladish-9999.ebuild b/media-sound/ladish/ladish-9999.ebuild index 498c7f1..c509369 100644 --- a/media-sound/ladish/ladish-9999.ebuild +++ b/media-sound/ladish/ladish-9999.ebuild @@ -6,7 +6,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8,9,10,11} ) PYTHON_REQ_USE='threads(+)' -inherit flag-o-matic python-single-r1 waf-utils +inherit flag-o-matic python-single-r1 waf-utils xdg-utils DESCRIPTION="LADI Session Handler - a session management system for JACK applications" HOMEPAGE="https://ladish.org" @@ -69,3 +69,11 @@ src_install() { waf-utils_src_install python_fix_shebang "${ED}" } + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} -- 2.11.4.GIT