public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in games-fps/quake4-bin: quake4-bin-1.4.2.ebuild ChangeLog
@ 2008-03-04  4:30 Chris Gianelloni (wolf31o2)
  0 siblings, 0 replies; only message in thread
From: Chris Gianelloni (wolf31o2) @ 2008-03-04  4:30 UTC (permalink / raw
  To: gentoo-commits

wolf31o2    08/03/04 04:30:26

  Modified:             quake4-bin-1.4.2.ebuild ChangeLog
  Log:
  Updated to check FILESDIR and DISTDIR for a PNG icon for bug #205362.
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.3                  games-fps/quake4-bin/quake4-bin-1.4.2.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/quake4-bin/quake4-bin-1.4.2.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/quake4-bin/quake4-bin-1.4.2.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/quake4-bin/quake4-bin-1.4.2.ebuild?r1=1.2&r2=1.3

Index: quake4-bin-1.4.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-fps/quake4-bin/quake4-bin-1.4.2.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- quake4-bin-1.4.2.ebuild	20 Aug 2007 17:23:52 -0000	1.2
+++ quake4-bin-1.4.2.ebuild	4 Mar 2008 04:30:25 -0000	1.3
@@ -1,6 +1,6 @@
-# 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-fps/quake4-bin/quake4-bin-1.4.2.ebuild,v 1.2 2007/08/20 17:23:52 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake4-bin/quake4-bin-1.4.2.ebuild,v 1.3 2008/03/04 04:30:25 wolf31o2 Exp $
 
 inherit eutils games
 
@@ -109,10 +109,18 @@
 		doicon quake4.bmp || die "doicon"
 		games_make_wrapper quake4 "./quake4.x86" "${dir}" "${dir}"
 		games_make_wrapper quake4-smp ./quake4smp.x86 "${dir}" "${dir}"
-#		doicon ${FILESDIR}/quake4.png || die "copying icon"
-#		make_desktop_entry quake4 "Quake IV" quake4.png
-#		make_desktop_entry quake4-smp "Quake IV (SMP)" quake4.png
-		make_desktop_entry quake4 "Quake IV" /usr/share/pixmaps/quake4.bmp
+		icon_path="quake4"
+		if [ -e "${FILESDIR}"/quake4.png ]
+		then
+			doicon "${FILESDIR}"/quake4.png || die "copying icon"
+		elif [ -e "${DISTDIR}"/quake4.png ]
+		then
+			doicon "${DISTDIR}"/quake4.png || die "copying icon"
+		else
+			icon_path=/usr/share/pixmaps/quake4.bmp
+		fi
+		make_desktop_entry quake4 "Quake IV" ${icon_path}
+		make_desktop_entry quake4-smp "Quake IV (SMP)" ${icon_path}
 	fi
 
 	prepgamesdirs



1.35                 games-fps/quake4-bin/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/quake4-bin/ChangeLog?rev=1.35&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/quake4-bin/ChangeLog?rev=1.35&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/quake4-bin/ChangeLog?r1=1.34&r2=1.35

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/games-fps/quake4-bin/ChangeLog,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- ChangeLog	20 Aug 2007 17:23:52 -0000	1.34
+++ ChangeLog	4 Mar 2008 04:30:25 -0000	1.35
@@ -1,6 +1,10 @@
 # ChangeLog for games-fps/quake4-bin
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake4-bin/ChangeLog,v 1.34 2007/08/20 17:23:52 wolf31o2 Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake4-bin/ChangeLog,v 1.35 2008/03/04 04:30:25 wolf31o2 Exp $
+
+  04 Mar 2008; Chris Gianelloni <wolf31o2@gentoo.org>
+  quake4-bin-1.4.2.ebuild:
+  Updated to check FILESDIR and DISTDIR for a PNG icon for bug #205362.
 
   20 Aug 2007; Chris Gianelloni <wolf31o2@gentoo.org>
   quake4-bin-1.4.2.ebuild:



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-04  4:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-04  4:30 [gentoo-commits] gentoo-x86 commit in games-fps/quake4-bin: quake4-bin-1.4.2.ebuild ChangeLog Chris Gianelloni (wolf31o2)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox