summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-09-29 17:44:40 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-09-29 17:44:40 +0000
commit68dba8b586cd6f48787d3787f80c87b8a986cc61 (patch)
tree194dc40ad381a2de1404a68c61c6f686db59fb2a /games-arcade/frozen-bubble
parentpackage.mask abcl-cvs. See bug #227629 for more details. (diff)
downloadgentoo-2-68dba8b586cd6f48787d3787f80c87b8a986cc61.tar.gz
gentoo-2-68dba8b586cd6f48787d3787f80c87b8a986cc61.tar.bz2
gentoo-2-68dba8b586cd6f48787d3787f80c87b8a986cc61.zip
better icon handling with modified patch from Pacho Ramos (bug #238966)
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-arcade/frozen-bubble')
-rw-r--r--games-arcade/frozen-bubble/ChangeLog6
-rw-r--r--games-arcade/frozen-bubble/frozen-bubble-2.1.0.ebuild29
2 files changed, 29 insertions, 6 deletions
diff --git a/games-arcade/frozen-bubble/ChangeLog b/games-arcade/frozen-bubble/ChangeLog
index 6a0547ae91b6..a4fa056a6222 100644
--- a/games-arcade/frozen-bubble/ChangeLog
+++ b/games-arcade/frozen-bubble/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-arcade/frozen-bubble
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/frozen-bubble/ChangeLog,v 1.28 2008/02/29 18:46:39 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/frozen-bubble/ChangeLog,v 1.29 2008/09/29 17:44:40 mr_bones_ Exp $
+
+ 29 Sep 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ frozen-bubble-2.1.0.ebuild:
+ better icon handling with modified patch from Pacho Ramos (bug #238966)
29 Feb 2008; Carsten Lohrke <carlo@gentoo.org> ChangeLog:
Remove icon extension from desktop entry to match Icon Theme Specification.
diff --git a/games-arcade/frozen-bubble/frozen-bubble-2.1.0.ebuild b/games-arcade/frozen-bubble/frozen-bubble-2.1.0.ebuild
index f30b1e8da87e..ec17ab2684c4 100644
--- a/games-arcade/frozen-bubble/frozen-bubble-2.1.0.ebuild
+++ b/games-arcade/frozen-bubble/frozen-bubble-2.1.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/frozen-bubble/frozen-bubble-2.1.0.ebuild,v 1.5 2008/02/29 18:46:39 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/frozen-bubble/frozen-bubble-2.1.0.ebuild,v 1.6 2008/09/29 17:44:40 mr_bones_ Exp $
-inherit eutils multilib perl-module games
+inherit gnome2-utils perl-module games
DESCRIPTION="A Puzzle Bubble clone written in perl (now with network support)"
HOMEPAGE="http://www.frozen-bubble.org/"
@@ -51,12 +51,31 @@ src_unpack() {
}
src_install() {
+ local res
+
emake DESTDIR="${D}" install || die "make install failed"
dosed /usr/games/bin/frozen-bubble
dodoc AUTHORS NEWS README TIPS
- newicon icons/frozen-bubble-icon-48x48.png ${PN}.png
- make_desktop_entry ${PN} ${PN} ${PN}
+ for res in 16x16 32x32 48x48 64x64 ; do
+ insinto /usr/share/icons/hicolor/${res}/apps
+ newins icons/frozen-bubble-icon-${res}.png ${PN}.png
+ done
+ make_desktop_entry ${PN} Frozen-Bubble ${PN}
fixlocalpod
prepgamesdirs
}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}