summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-07-12 23:29:43 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-07-13 01:07:44 +0200
commit535ed55c931f1ea94fce5b079d70cc05fc0bfab0 (patch)
tree905d62b689f87322b890ec289f275c4f35a875a0
parentkde-frameworks/breeze-icons: update icon cache (diff)
downloadgentoo-535ed55c931f1ea94fce5b079d70cc05fc0bfab0.tar.gz
gentoo-535ed55c931f1ea94fce5b079d70cc05fc0bfab0.tar.bz2
gentoo-535ed55c931f1ea94fce5b079d70cc05fc0bfab0.zip
kde-frameworks/oxygen-icons: update icon cache
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-frameworks/oxygen-icons/oxygen-icons-5.70.0.ebuild10
-rw-r--r--kde-frameworks/oxygen-icons/oxygen-icons-5.72.0.ebuild10
2 files changed, 18 insertions, 2 deletions
diff --git a/kde-frameworks/oxygen-icons/oxygen-icons-5.70.0.ebuild b/kde-frameworks/oxygen-icons/oxygen-icons-5.70.0.ebuild
index d64a7f659da..5c03e77bfec 100644
--- a/kde-frameworks/oxygen-icons/oxygen-icons-5.70.0.ebuild
+++ b/kde-frameworks/oxygen-icons/oxygen-icons-5.70.0.ebuild
@@ -6,7 +6,7 @@ EAPI=7
KDE_ORG_NAME="oxygen-icons5"
PVCUT=$(ver_cut 1-2)
QTMIN=5.12.3
-inherit cmake kde.org
+inherit cmake kde.org xdg-utils
DESCRIPTION="Oxygen SVG icon theme"
@@ -27,3 +27,11 @@ src_prepare() {
cmake_src_prepare
use test || cmake_comment_add_subdirectory autotests
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/kde-frameworks/oxygen-icons/oxygen-icons-5.72.0.ebuild b/kde-frameworks/oxygen-icons/oxygen-icons-5.72.0.ebuild
index ed436f5301c..e4cbd64523e 100644
--- a/kde-frameworks/oxygen-icons/oxygen-icons-5.72.0.ebuild
+++ b/kde-frameworks/oxygen-icons/oxygen-icons-5.72.0.ebuild
@@ -6,7 +6,7 @@ EAPI=7
KDE_ORG_NAME="oxygen-icons5"
PVCUT=$(ver_cut 1-2)
QTMIN=5.14.2
-inherit cmake kde.org
+inherit cmake kde.org xdg-utils
DESCRIPTION="Oxygen SVG icon theme"
@@ -27,3 +27,11 @@ src_prepare() {
cmake_src_prepare
use test || cmake_comment_add_subdirectory autotests
}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}