summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-01-06 21:55:57 +0100
committerMichał Górny <mgorny@gentoo.org>2018-01-06 21:59:32 +0100
commitde0b545301f3dd72a01e6954f4e3a0c50a5bc7cb (patch)
tree18a9358a7bfa5517946a571caeabc84247b0d594 /games-emulation/mupen64plus-ui-console
parentgames-emulation/mupen64plus-ui-console: Remove -fno-PIE to fix build (diff)
downloadgentoo-de0b545301f3dd72a01e6954f4e3a0c50a5bc7cb.tar.gz
gentoo-de0b545301f3dd72a01e6954f4e3a0c50a5bc7cb.tar.bz2
gentoo-de0b545301f3dd72a01e6954f4e3a0c50a5bc7cb.zip
games-emulation/mupen64plus-ui-console: Regenerate desktop & icon caches
Diffstat (limited to 'games-emulation/mupen64plus-ui-console')
-rw-r--r--games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.5-r1.ebuild (renamed from games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.5.ebuild)12
1 files changed, 11 insertions, 1 deletions
diff --git a/games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.5.ebuild b/games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.5-r1.ebuild
index 5f293ce409ee..d937a15d77d5 100644
--- a/games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.5.ebuild
+++ b/games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.5-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=5
MY_P=${PN}-src-${PV}
-inherit eutils multilib toolchain-funcs
+inherit eutils gnome2-utils multilib toolchain-funcs xdg-utils
DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, console UI"
HOMEPAGE="http://www.mupen64plus.org/"
@@ -78,3 +78,13 @@ src_install() {
emake "${MAKEARGS[@]}" DESTDIR="${D}" install
einstalldocs
}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ gnome2_icon_cache_update
+}