summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-01-01 14:30:48 +0100
committerMichał Górny <mgorny@gentoo.org>2018-01-01 14:47:27 +0100
commit36c6cd00ca05e844816eee53b36ca61049b003da (patch)
treecf0fac21ee3d7db5ffd39f04c038e9d8ce7e71c1 /games-emulation
parentgames-emulation/m64py: Bump to 0.2.4, with unbundled PySDL2 (diff)
downloadgentoo-36c6cd00ca05e844816eee53b36ca61049b003da.tar.gz
gentoo-36c6cd00ca05e844816eee53b36ca61049b003da.tar.bz2
gentoo-36c6cd00ca05e844816eee53b36ca61049b003da.zip
games-emulation/m64py: Regenerate .desktop cache
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/m64py/m64py-0.2.4.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/games-emulation/m64py/m64py-0.2.4.ebuild b/games-emulation/m64py/m64py-0.2.4.ebuild
index 539d28ed1665..67f1a08e3940 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
+}