1 |
commit: 1366e05bec2732e7a69a747e4bb2ea006ff3d2b3 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 9 12:16:22 2017 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 9 12:16:54 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1366e05b |
7 |
|
8 |
dev-util/cmake: update icon/desktop mime/mimeinfo caches |
9 |
|
10 |
Closes: https://bugs.gentoo.org/630462 |
11 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
12 |
|
13 |
dev-util/cmake/cmake-3.9.2.ebuild | 12 +++++++++++- |
14 |
1 file changed, 11 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/dev-util/cmake/cmake-3.9.2.ebuild b/dev-util/cmake/cmake-3.9.2.ebuild |
17 |
index 5aa69e31bfc..768050931d4 100644 |
18 |
--- a/dev-util/cmake/cmake-3.9.2.ebuild |
19 |
+++ b/dev-util/cmake/cmake-3.9.2.ebuild |
20 |
@@ -5,7 +5,7 @@ EAPI=6 |
21 |
|
22 |
CMAKE_MAKEFILE_GENERATOR="emake" |
23 |
CMAKE_REMOVE_MODULES="no" |
24 |
-inherit bash-completion-r1 elisp-common toolchain-funcs eutils versionator cmake-utils virtualx flag-o-matic |
25 |
+inherit bash-completion-r1 elisp-common eutils flag-o-matic gnome2-utils toolchain-funcs versionator virtualx xdg-utils cmake-utils |
26 |
|
27 |
MY_P="${P/_/-}" |
28 |
|
29 |
@@ -198,8 +198,18 @@ src_install() { |
30 |
|
31 |
pkg_postinst() { |
32 |
use emacs && elisp-site-regen |
33 |
+ if use qt5; then |
34 |
+ gnome2_icon_cache_update |
35 |
+ xdg_desktop_database_update |
36 |
+ xdg_mimeinfo_database_update |
37 |
+ fi |
38 |
} |
39 |
|
40 |
pkg_postrm() { |
41 |
use emacs && elisp-site-regen |
42 |
+ if use qt5; then |
43 |
+ gnome2_icon_cache_update |
44 |
+ xdg_desktop_database_update |
45 |
+ xdg_mimeinfo_database_update |
46 |
+ fi |
47 |
} |