From 9bcb0635f088e4978552720cb91f8699b502ed85 Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Tue, 23 Jan 2018 10:56:00 +0100 Subject: games-emulation/snes9x: Use xdg-utils.eclass to handle .desktop files. Package-Manager: Portage-2.3.20, Repoman-2.3.6 --- games-emulation/snes9x/snes9x-1.55.ebuild | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'games-emulation/snes9x') 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 } -- cgit v1.2.3-65-gdbad