diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-01-23 10:56:00 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-01-23 10:56:22 +0100 |
commit | 9bcb0635f088e4978552720cb91f8699b502ed85 (patch) | |
tree | 38edc0d3303b330152576a0c7d3435fae71843e1 /games-emulation/snes9x | |
parent | mail-filter/policyd-weight: Rev bump (diff) | |
download | gentoo-9bcb0635f088e4978552720cb91f8699b502ed85.tar.gz gentoo-9bcb0635f088e4978552720cb91f8699b502ed85.tar.bz2 gentoo-9bcb0635f088e4978552720cb91f8699b502ed85.zip |
games-emulation/snes9x: Use xdg-utils.eclass to handle .desktop files.
Package-Manager: Portage-2.3.20, Repoman-2.3.6
Diffstat (limited to 'games-emulation/snes9x')
-rw-r--r-- | games-emulation/snes9x/snes9x-1.55.ebuild | 12 |
1 files changed, 9 insertions, 3 deletions
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 } |