1 |
commit: 36c6cd00ca05e844816eee53b36ca61049b003da |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 1 13:30:48 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 1 13:47:27 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36c6cd00 |
7 |
|
8 |
games-emulation/m64py: Regenerate .desktop cache |
9 |
|
10 |
games-emulation/m64py/m64py-0.2.4.ebuild | 8 +++++++- |
11 |
1 file changed, 7 insertions(+), 1 deletion(-) |
12 |
|
13 |
diff --git a/games-emulation/m64py/m64py-0.2.4.ebuild b/games-emulation/m64py/m64py-0.2.4.ebuild |
14 |
index 539d28ed166..67f1a08e394 100644 |
15 |
--- a/games-emulation/m64py/m64py-0.2.4.ebuild |
16 |
+++ b/games-emulation/m64py/m64py-0.2.4.ebuild |
17 |
@@ -5,7 +5,7 @@ EAPI=5 |
18 |
|
19 |
PYTHON_COMPAT=( python3_{4,5} ) |
20 |
|
21 |
-inherit distutils-r1 versionator |
22 |
+inherit distutils-r1 versionator xdg-utils |
23 |
|
24 |
DESCRIPTION="A frontend for Mupen64Plus" |
25 |
HOMEPAGE="http://m64py.sourceforge.net/" |
26 |
@@ -32,6 +32,8 @@ _EOF_ |
27 |
} |
28 |
|
29 |
pkg_postinst() { |
30 |
+ xdg_desktop_database_update |
31 |
+ |
32 |
local vr |
33 |
for vr in ${REPLACING_VERSIONS}; do |
34 |
if ! version_is_at_least 0.2.1-r1 ${vr}; then |
35 |
@@ -60,3 +62,7 @@ pkg_postinst() { |
36 |
elog "or dev-python/pylzma." |
37 |
fi |
38 |
} |
39 |
+ |
40 |
+pkg_postrm() { |
41 |
+ xdg_desktop_database_update |
42 |
+} |