summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Turco <mail@fturco.net>2020-07-12 14:40:10 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-07-13 01:07:44 +0200
commitb616e3a64b8df535ab4404fca3b2da258125b6f2 (patch)
treea3da419971edc4453fed9c70df4c8164001700b2
parentkde-frameworks/plasma: remove unused patch(es) (diff)
downloadgentoo-b616e3a64b8df535ab4404fca3b2da258125b6f2.tar.gz
gentoo-b616e3a64b8df535ab4404fca3b2da258125b6f2.tar.bz2
gentoo-b616e3a64b8df535ab4404fca3b2da258125b6f2.zip
kde-frameworks/breeze-icons: update icon cache
Signed-off-by: Francesco Turco <mail@fturco.net> Closes: https://github.com/gentoo/gentoo/pull/16677 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-frameworks/breeze-icons/breeze-icons-5.70.0.ebuild10
-rw-r--r--kde-frameworks/breeze-icons/breeze-icons-5.72.0.ebuild10
2 files changed, 18 insertions, 2 deletions
diff --git a/kde-frameworks/breeze-icons/breeze-icons-5.70.0.ebuild b/kde-frameworks/breeze-icons/breeze-icons-5.70.0.ebuild
index f7857b609ea..275d9de7602 100644
--- a/kde-frameworks/breeze-icons/breeze-icons-5.70.0.ebuild
+++ b/kde-frameworks/breeze-icons/breeze-icons-5.70.0.ebuild
@@ -4,7 +4,7 @@
EAPI=7
PVCUT=$(ver_cut 1-2)
-inherit cmake kde.org
+inherit cmake kde.org xdg-utils
DESCRIPTION="Breeze SVG icon theme"
LICENSE="LGPL-3"
@@ -31,3 +31,11 @@ src_configure() {
)
cmake_src_configure
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/kde-frameworks/breeze-icons/breeze-icons-5.72.0.ebuild b/kde-frameworks/breeze-icons/breeze-icons-5.72.0.ebuild
index 47b25314066..9904bfe215d 100644
--- a/kde-frameworks/breeze-icons/breeze-icons-5.72.0.ebuild
+++ b/kde-frameworks/breeze-icons/breeze-icons-5.72.0.ebuild
@@ -4,7 +4,7 @@
EAPI=7
PVCUT=$(ver_cut 1-2)
-inherit cmake kde.org
+inherit cmake kde.org xdg-utils
DESCRIPTION="Breeze SVG icon theme"
LICENSE="LGPL-3"
@@ -31,3 +31,11 @@ src_configure() {
)
cmake_src_configure
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}