1 |
commit: 8d0b5cb79b18937ef0417d5856782da4348c5a8d |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 30 09:53:48 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 30 09:53:48 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=8d0b5cb7 |
7 |
|
8 |
kde-frameworks/purpose: Add missing xdg_icon_cache_update |
9 |
|
10 |
Closes: https://bugs.gentoo.org/739538 |
11 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
kde-frameworks/purpose/purpose-9999.ebuild | 9 +++++++-- |
15 |
1 file changed, 7 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/kde-frameworks/purpose/purpose-9999.ebuild b/kde-frameworks/purpose/purpose-9999.ebuild |
18 |
index 54ebf66ed9..33f6fb17bf 100644 |
19 |
--- a/kde-frameworks/purpose/purpose-9999.ebuild |
20 |
+++ b/kde-frameworks/purpose/purpose-9999.ebuild |
21 |
@@ -7,7 +7,7 @@ ECM_QTHELP="false" |
22 |
ECM_TEST="forceoptional" |
23 |
PVCUT=$(ver_cut 1-2) |
24 |
QTMIN=5.14.2 |
25 |
-inherit ecm kde.org |
26 |
+inherit ecm kde.org xdg-utils |
27 |
|
28 |
DESCRIPTION="Library for providing abstractions to get the developer's purposes fulfilled" |
29 |
LICENSE="LGPL-2.1+" |
30 |
@@ -48,11 +48,16 @@ src_configure() { |
31 |
ecm_src_configure |
32 |
} |
33 |
|
34 |
-pkg_postinst(){ |
35 |
+pkg_postinst() { |
36 |
ecm_pkg_postinst |
37 |
+ xdg_icon_cache_update |
38 |
|
39 |
if ! has_version "kde-misc/kdeconnect[app]" ; then |
40 |
elog "Optional runtime dependency:" |
41 |
elog "kde-misc/kdeconnect[app] (send through KDE Connect)" |
42 |
fi |
43 |
} |
44 |
+ |
45 |
+pkg_postrm() { |
46 |
+ xdg_icon_cache_update |
47 |
+} |