From: Lars Wendler Date: Tue, 23 Jan 2018 09:56:00 +0000 (+0100) Subject: games-emulation/snes9x: Use xdg-utils.eclass to handle .desktop files. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=9bcb0635f088e4978552720cb91f8699b502ed85;p=gentoo.git games-emulation/snes9x: Use xdg-utils.eclass to handle .desktop files. Package-Manager: Portage-2.3.20, Repoman-2.3.6 --- diff --git a/games-emulation/snes9x/snes9x-1.55.ebuild b/games-emulation/snes9x/snes9x-1.55.ebuild index ba25e25b642c..f95ee81863fb 100644 --- a/games-emulation/snes9x/snes9x-1.55.ebuild +++ b/games-emulation/snes9x/snes9x-1.55.ebuild @@ -3,7 +3,7 @@ EAPI=6 -inherit autotools flag-o-matic gnome2-utils +inherit autotools flag-o-matic gnome2-utils xdg-utils DESCRIPTION="Super Nintendo Entertainment System (SNES) emulator" HOMEPAGE="https://github.com/snes9xgit/snes9x" @@ -113,9 +113,15 @@ pkg_preinst() { } pkg_postinst() { - use gtk && gnome2_icon_cache_update + if use gtk ; then + gnome2_icon_cache_update + xdg_desktop_database_update + fi } pkg_postrm() { - use gtk && gnome2_icon_cache_update + if use gtk ; then + gnome2_icon_cache_update + xdg_desktop_database_update + fi }