summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-28 23:01:18 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-28 23:01:18 +0000
commit16676b00981ac6203ac776f67a20130f7022a54a (patch)
treeaf96115942a456debbba20ae20f324e71e1d882b /games-arcade
parentVersion bump. (diff)
downloadgentoo-2-16676b00981ac6203ac776f67a20130f7022a54a.tar.gz
gentoo-2-16676b00981ac6203ac776f67a20130f7022a54a.tar.bz2
gentoo-2-16676b00981ac6203ac776f67a20130f7022a54a.zip
amd64 KEYWORDS
(Portage version: 2.0.51-r15)
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/tomatoes/files/1.5-gcc34.patch20
-rw-r--r--games-arcade/tomatoes/files/digest-tomatoes-1.52
-rw-r--r--games-arcade/tomatoes/tomatoes-1.5.ebuild60
-rw-r--r--games-arcade/tomatoes/tomatoes-1.55.ebuild6
4 files changed, 3 insertions, 85 deletions
diff --git a/games-arcade/tomatoes/files/1.5-gcc34.patch b/games-arcade/tomatoes/files/1.5-gcc34.patch
deleted file mode 100644
index 5666195f2e28..000000000000
--- a/games-arcade/tomatoes/files/1.5-gcc34.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/texture.cpp_old 2004-10-19 01:30:14.744127000 +0900
-+++ src/texture.cpp 2004-10-19 01:30:34.948055536 +0900
-@@ -108,7 +108,7 @@
- SDL_LockSurface(img);
-
- // Flip the surface pixels upside down
-- Uint8 *line = new (Uint8)[img->w*img->format->BytesPerPixel];
-+ Uint8 *line = new Uint8[img->w*img->format->BytesPerPixel];
- if(!line)
- error_msg("Unable to flip surface %s:\nOut of memory!\n");
-
-@@ -207,7 +207,7 @@
- SDL_LockSurface(img);
-
- // Flip the surface pixels upside down
-- Uint8 *line = new (Uint8)[img->w*img->format->BytesPerPixel];
-+ Uint8 *line = new Uint8[img->w*img->format->BytesPerPixel];
- if(!line)
- error_msg("Unable to flip surface %s:\nOut of memory!\n");
-
diff --git a/games-arcade/tomatoes/files/digest-tomatoes-1.5 b/games-arcade/tomatoes/files/digest-tomatoes-1.5
deleted file mode 100644
index be303a4f36e0..000000000000
--- a/games-arcade/tomatoes/files/digest-tomatoes-1.5
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 5cb01c40b2a43e5fa2cae2d7a451fc1d tomatoes-linux-src-1.5.tar.bz2 62759
-MD5 a6a7ff71bb1098fd0a4098fd3d846339 tomatoes-linux-1.5.tar.bz2 8807421
diff --git a/games-arcade/tomatoes/tomatoes-1.5.ebuild b/games-arcade/tomatoes/tomatoes-1.5.ebuild
deleted file mode 100644
index 5a32236b71d0..000000000000
--- a/games-arcade/tomatoes/tomatoes-1.5.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/tomatoes/tomatoes-1.5.ebuild,v 1.2 2004/10/19 02:35:57 mr_bones_ Exp $
-
-inherit eutils games
-
-DESCRIPTION="How many tomatoes can you smash in ten short minutes?"
-HOMEPAGE="http://tomatoes.sourceforge.net/about.html"
-SRC_URI="mirror://sourceforge/tomatoes/tomatoes-linux-src-${PV}.tar.bz2
- mirror://sourceforge/tomatoes/tomatoes-linux-${PV}.tar.bz2"
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="x86"
-IUSE=""
-
-DEPEND="virtual/opengl
- >=media-libs/libsdl-1.2.7
- >=media-libs/sdl-image-1.2.2
- >=media-libs/fmod-3.73"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- sed -i \
- -e '/^CC/d' \
- -e '/^MARCH/d' \
- -e "/^CFLAGS/s/=.*$/= ${CFLAGS} \$(SDL_FLAGS)/" \
- -e "/^MPKDIR = /s:./:${GAMES_DATADIR}/${PN}/:" \
- -e "/^MUSICDIR = /s:./music/:${GAMES_DATADIR}/${PN}/music/:" \
- -e "/^HISCOREDIR = /s:./:${GAMES_STATEDIR}/${PN}/:" \
- -e "/^CONFIGDIR = /s:./:${GAMES_SYSCONFDIR}/${PN}/:" \
- -e "/^OVERRIDEDIR = /s:./data/:${GAMES_DATADIR}/${PN}/data/:" \
- makefile \
- || die "sed failed"
- epatch "${FILESDIR}/${PV}-gcc34.patch"
-}
-
-src_install() {
- dogamesbin tomatoes || die "dogamesbin failed"
- dodir "${GAMES_DATADIR}/${PN}" "${GAMES_STATEDIR}/${PN}"
- dodoc README README-src
-
- cp -r tomatoes.mpk music/ "${D}${GAMES_DATADIR}/${PN}" \
- || die "failed to copy game data"
-
- insinto /usr/share/icons/
- newins icon.png ${PN}.png
- make_desktop_entry tomatoes "I Have No Tomatoes" ${PN}.png
-
- touch "${D}${GAMES_STATEDIR}/${PN}/hiscore.lst" || die "touch failed"
- fperms 660 "${GAMES_STATEDIR}/${PN}/hiscore.lst"
-
- insinto "${GAMES_SYSCONFDIR}/${PN}/"
- insopts -m0640
- doins config.cfg || die "failed to copy game config"
-
- prepgamesdirs
-}
diff --git a/games-arcade/tomatoes/tomatoes-1.55.ebuild b/games-arcade/tomatoes/tomatoes-1.55.ebuild
index 19805c4589c8..ce984abd618c 100644
--- a/games-arcade/tomatoes/tomatoes-1.55.ebuild
+++ b/games-arcade/tomatoes/tomatoes-1.55.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/tomatoes/tomatoes-1.55.ebuild,v 1.4 2004/12/31 01:32:34 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/tomatoes/tomatoes-1.55.ebuild,v 1.5 2005/01/28 23:01:18 vapier Exp $
inherit eutils games
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/tomatoes/tomatoes-linux-src-${PV}.tar.bz2
LICENSE="ZLIB"
SLOT="0"
-KEYWORDS="ppc x86"
+KEYWORDS="amd64 ppc x86"
IUSE=""
DEPEND="virtual/opengl