summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-03-14 19:30:58 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-03-14 19:30:58 +0000
commitd09aaac8965add1f98bf5fe787ad0b2f54b68ff3 (patch)
treeb41115e6ff1aeb0e71043b9c1e983095ac096232 /games-emulation/snes9x
parentalpha/ia64/sparc stable wrt #307045 (diff)
downloadgentoo-2-d09aaac8965add1f98bf5fe787ad0b2f54b68ff3.tar.gz
gentoo-2-d09aaac8965add1f98bf5fe787ad0b2f54b68ff3.tar.bz2
gentoo-2-d09aaac8965add1f98bf5fe787ad0b2f54b68ff3.zip
Update icon cache too
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'games-emulation/snes9x')
-rw-r--r--games-emulation/snes9x/snes9x-1.52.ebuild18
1 files changed, 16 insertions, 2 deletions
diff --git a/games-emulation/snes9x/snes9x-1.52.ebuild b/games-emulation/snes9x/snes9x-1.52.ebuild
index a767284378df..ecb5119b9fd5 100644
--- a/games-emulation/snes9x/snes9x-1.52.ebuild
+++ b/games-emulation/snes9x/snes9x-1.52.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/snes9x-1.52.ebuild,v 1.2 2010/03/14 18:59:08 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/snes9x-1.52.ebuild,v 1.3 2010/03/14 19:30:58 ssuominen Exp $
EAPI=3
-inherit autotools eutils flag-o-matic multilib games
+inherit autotools eutils flag-o-matic multilib gnome2-utils games
DESCRIPTION="Super Nintendo Entertainment System (SNES) emulator"
HOMEPAGE="http://code.google.com/p/snes9x-gtk/"
@@ -106,3 +106,17 @@ src_install() {
prepgamesdirs
}
+
+pkg_preinst() {
+ games_pkg_preinst
+ use gtk && gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ use gtk && gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ use gtk && gnome2_icon_cache_update
+}