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