summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-02-14 00:34:36 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-02-14 00:34:36 +0000
commit18bb1bb3264281199ea26b0904b88fac9f7c9af8 (patch)
tree91b7b216177f9dd58a0a0c94de2bfdb6cacfb30b /games-action/gltron
parentStable on alpha wrt bug #165798. (diff)
downloadgentoo-2-18bb1bb3264281199ea26b0904b88fac9f7c9af8.tar.gz
gentoo-2-18bb1bb3264281199ea26b0904b88fac9f7c9af8.tar.bz2
gentoo-2-18bb1bb3264281199ea26b0904b88fac9f7c9af8.zip
Move icon to mirror://gentoo
(Portage version: 2.1.2-r9)
Diffstat (limited to 'games-action/gltron')
-rw-r--r--games-action/gltron/ChangeLog8
-rw-r--r--games-action/gltron/files/digest-gltron-0.70-r13
-rw-r--r--games-action/gltron/files/gltron.pngbin7570 -> 0 bytes
-rw-r--r--games-action/gltron/gltron-0.70-r1.ebuild31
4 files changed, 20 insertions, 22 deletions
diff --git a/games-action/gltron/ChangeLog b/games-action/gltron/ChangeLog
index b03dd25cc116..45529975defa 100644
--- a/games-action/gltron/ChangeLog
+++ b/games-action/gltron/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-action/gltron
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/gltron/ChangeLog,v 1.12 2006/03/09 18:14:39 tupone Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/gltron/ChangeLog,v 1.13 2007/02/14 00:34:36 nyhm Exp $
+
+ 14 Feb 2007; Tristan Heaven <nyhm@gentoo.org> -files/gltron.png,
+ gltron-0.70-r1.ebuild:
+ Move icon to mirror://gentoo
09 Mar 2006; <Tupone@gentoo.org> +files/gltron.png, gltron-0.70-r1.ebuild:
Fixing bug #85586 (lacking of desktop entry). Thanks to Josh Nichols.
diff --git a/games-action/gltron/files/digest-gltron-0.70-r1 b/games-action/gltron/files/digest-gltron-0.70-r1
index f94495f05257..8074e4aade74 100644
--- a/games-action/gltron/files/digest-gltron-0.70-r1
+++ b/games-action/gltron/files/digest-gltron-0.70-r1
@@ -1,3 +1,6 @@
MD5 300e54914844f36c199415d6d8b0372a gltron-0.70-source.tar.gz 2182440
RMD160 78f624cb622e9bc4847b912a6f7686949c197e54 gltron-0.70-source.tar.gz 2182440
SHA256 e0c8ebb41a18a1f8d7302a9c2cb466f5b1dd63e9a9966c769075e6b6bdad8bb0 gltron-0.70-source.tar.gz 2182440
+MD5 2fed378f74edee1fc28e101ef358321f gltron.png 7570
+RMD160 a60c2a2b8e84c3af6f4614d0a5cd1700c253d821 gltron.png 7570
+SHA256 1f7262feb4f3bdff36573fe51dedd93905feb2ec9a54a3f8ec0a964489c40abd gltron.png 7570
diff --git a/games-action/gltron/files/gltron.png b/games-action/gltron/files/gltron.png
deleted file mode 100644
index 0c3508db0b50..000000000000
--- a/games-action/gltron/files/gltron.png
+++ /dev/null
Binary files differ
diff --git a/games-action/gltron/gltron-0.70-r1.ebuild b/games-action/gltron/gltron-0.70-r1.ebuild
index 468e4b08e4a9..10d08dc57673 100644
--- a/games-action/gltron/gltron-0.70-r1.ebuild
+++ b/games-action/gltron/gltron-0.70-r1.ebuild
@@ -1,12 +1,13 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/gltron/gltron-0.70-r1.ebuild,v 1.4 2006/07/25 07:00:23 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/gltron/gltron-0.70-r1.ebuild,v 1.5 2007/02/14 00:34:36 nyhm Exp $
inherit eutils games
DESCRIPTION="3d tron, just like the movie"
HOMEPAGE="http://gltron.sourceforge.net/"
-SRC_URI="mirror://sourceforge/gltron/${P}-source.tar.gz"
+SRC_URI="mirror://sourceforge/${PN}/${P}-source.tar.gz
+ mirror://gentoo/${PN}.png"
LICENSE="GPL-2"
SLOT="0"
@@ -14,16 +15,16 @@ KEYWORDS="amd64 ppc x86"
IUSE=""
DEPEND="virtual/opengl
- sys-libs/zlib
media-libs/libpng
- >=media-libs/libsdl-1.2
+ media-libs/libsdl
media-libs/sdl-mixer
media-libs/sdl-sound"
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}"/${P}-configure.patch \
+ epatch \
+ "${FILESDIR}"/${P}-configure.patch \
"${FILESDIR}"/${P}-prototypes.patch \
"${FILESDIR}"/${P}-debian.patch
}
@@ -36,24 +37,14 @@ src_compile() {
--disable-debug \
--disable-profile \
|| die
- emake || die
+ emake || die "emake failed"
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die "emake install failed"
dodoc ChangeLog README
dohtml *.html
- doicon ${FILESDIR}/${PN}.png
- make_desktop_entry ${PN} GLtron ${PN}.png
+ doicon "${DISTDIR}"/${PN}.png
+ make_desktop_entry ${PN} GLtron
prepgamesdirs
}
-
-pkg_postinst() {
- games_pkg_postinst
- echo
- if ! use mikmod ; then
- echo
- ewarn "Since you don't have the mikmod USE flag set, there won't"
- ewarn "be any in-game music for ${PN}."
- fi
-}