summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-06-03 20:05:49 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-06-03 20:05:49 +0000
commita4d17ed79d3b95e98b479937853a084c63f9ea29 (patch)
tree302efd6dcc1a7ecc31bf28d3ec8ea30e9b2b68b7 /games-sports
parentamd64/x86 stable, bug #272129 (diff)
downloadhistorical-a4d17ed79d3b95e98b479937853a084c63f9ea29.tar.gz
historical-a4d17ed79d3b95e98b479937853a084c63f9ea29.tar.bz2
historical-a4d17ed79d3b95e98b479937853a084c63f9ea29.zip
Version bump wrt #239127.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/toycars/ChangeLog9
-rw-r--r--games-sports/toycars/Manifest12
-rw-r--r--games-sports/toycars/files/toycars-0.3.5-64bit.patch31
-rw-r--r--games-sports/toycars/files/toycars-0.3.5-asneeded.patch10
-rw-r--r--games-sports/toycars/files/toycars-0.3.5-assert.patch10
-rw-r--r--games-sports/toycars/files/toycars-0.3.5-datadir.patch11
-rw-r--r--games-sports/toycars/files/toycars-0.3.5-fmod.patch11
-rw-r--r--games-sports/toycars/files/toycars-0.3.5-gcc43.patch66
-rw-r--r--games-sports/toycars/toycars-0.3.9.ebuild (renamed from games-sports/toycars/toycars-0.3.5.ebuild)26
9 files changed, 20 insertions, 166 deletions
diff --git a/games-sports/toycars/ChangeLog b/games-sports/toycars/ChangeLog
index 83c64f57e188..d143d652c2c1 100644
--- a/games-sports/toycars/ChangeLog
+++ b/games-sports/toycars/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-sports/toycars
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/toycars/ChangeLog,v 1.11 2008/12/21 02:54:29 darkside Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/toycars/ChangeLog,v 1.12 2009/06/03 20:05:49 ssuominen Exp $
+
+*toycars-0.3.9 (03 Jun 2009)
+
+ 03 Jun 2009; Samuli Suominen <ssuominen@gentoo.org> +toycars-0.3.9.ebuild:
+ Version bump wrt #239127.
21 Dec 2008; Jeremy Olexa <darkside@gentoo.org>
+files/toycars-0.3.5-64bit.patch, +files/toycars-0.3.5-gcc43.patch,
diff --git a/games-sports/toycars/Manifest b/games-sports/toycars/Manifest
index 2e25e4c88a39..2e1d562f64a3 100644
--- a/games-sports/toycars/Manifest
+++ b/games-sports/toycars/Manifest
@@ -1,10 +1,4 @@
-AUX toycars-0.3.5-64bit.patch 1342 RMD160 cb75532c43c810b511d0be579197db59eb440308 SHA1 67e56a8e618d7fbe198e549a379a853582f327ef SHA256 cc3f3e56340949e82c0aa616ba3ba7ae499f21e6852bd7f3114907aee6775614
-AUX toycars-0.3.5-asneeded.patch 342 RMD160 484989a51117a01dcebeecf2a10f1b007cb4613a SHA1 30ff4abbe7816b81c2c828f816e4c8d9bb4a718a SHA256 1c91a7c7bcfc910027af67a51160935b996c0a84f3525730e17cac60365bbcf9
-AUX toycars-0.3.5-assert.patch 230 RMD160 8c4e85866598cd7786b27d748edb25ebe3f0188b SHA1 4f8f8639b8f424935e2495129687754f32962786 SHA256 31f057a11104f247a5850aa6fd1a4e72c415a9ec3cfa68dc1df8e3db9b5a0316
-AUX toycars-0.3.5-datadir.patch 303 RMD160 e1f00d3ad64de31d81686c4e7d0a0952668ef1b7 SHA1 472ccbd692d8cf8226ad87b8a9757ab8b8e4cf39 SHA256 7cc81c19106198fd5c1c07c9ce2b8e91cec21154cdfd9cfabb7107ebadb68af1
-AUX toycars-0.3.5-fmod.patch 740 RMD160 08f8984fbb8a791a03e0caecd3119a71cf22f632 SHA1 dd50b32984404256e7b8c488652e82611f278500 SHA256 dd44b51f7a85057d1d311dc3e504654302b29480e186d80501c7788ea7a0aa1d
-AUX toycars-0.3.5-gcc43.patch 2430 RMD160 7be63f34f357e15d613d2613e1f209d135d6b96e SHA1 c0f140dcb46add2713062edecca88210d9b3980e SHA256 b793bb0a8a95c30c3b7b9ff44f2e671dc0a86efdb73819b5ae66584ab0690420
-DIST toycars-0.3.5.tar.gz 7627867 RMD160 27380e474603ed2f55d13721bb04bb4f7a0d32a7 SHA1 6b030690e158e754648f9bf0484039fe98e27288 SHA256 a678092b5a4381355a0005980fae53b4c9c026c0ff0740b33a2a5eefbc66c438
-EBUILD toycars-0.3.5.ebuild 1137 RMD160 6db418593e6d9e10e61dbfe7a33a79be32771ef5 SHA1 5b6fac4a9ad210a85fb6abfa3317bb15ceabec7d SHA256 5f92ffaf14e8e5cddcd0117555d292ca31c1fe276c2a4ea41555e6f7e88c956e
-MISC ChangeLog 1908 RMD160 9dcb58a24a374c3702254369014187e82949ed19 SHA1 681bc3f19e3a7f7a25c89e60fc3190e131167f1f SHA256 bb1beaeec442cd67a4e035b5c18e16f0f2de53ede782403aef6b99de462b8af6
+DIST toycars-0.3.9.tar.gz 6118195 RMD160 12f98dc27f27e6b48174c04a29193f527904bce9 SHA1 61480cf6ebd1acdceb03050a7130ee9d60a96b45 SHA256 4c0c7d197e185ebf5ae53f01f52d77ff5f767cd7793b3e862561005a7be0ed82
+EBUILD toycars-0.3.9.ebuild 961 RMD160 eba75f83cd7c37932a4f0bd5659019adf8456eba SHA1 297af7852bc2b86a35dd4a3f82e231d9e2e6143b SHA256 9f09ef8caf95dd26211dbf65b5a74cfcd86d1501255c409a6df83c14318c26bd
+MISC ChangeLog 2045 RMD160 af956c45cda779f60176950060368d8f92be25dc SHA1 4431d0b768bcdd3237b44d59cf1ff721f3431c83 SHA256 38ceb3dbe15452271b588ef510f38fddff038bad22d43ace16fc30b891965106
MISC metadata.xml 592 RMD160 22f227feb81d3d4aac659471c21dec61af220b46 SHA1 484057930ea56def340f4d0d322b1703c8de2074 SHA256 9ebc59b9b09bb528703fa1886257d647fbe8a1266b7256ca28ff4daa19094e80
diff --git a/games-sports/toycars/files/toycars-0.3.5-64bit.patch b/games-sports/toycars/files/toycars-0.3.5-64bit.patch
deleted file mode 100644
index e9eac480667e..000000000000
--- a/games-sports/toycars/files/toycars-0.3.5-64bit.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-diff -ur toycars-0.3.5/src/Player.cpp ../../../toycars-0.3.5/src/Player.cpp
---- toycars-0.3.5/src/Player.cpp 2007-12-17 18:38:18.000000000 +0200
-+++ ../../../toycars-0.3.5/src/Player.cpp 2008-01-15 22:43:11.000000000 +0200
-@@ -446,7 +446,7 @@
-
- void Player::printDebugInfo() const
- {
-- printf("player id: %x\n", (unsigned int)(this));
-+ printf("player id: %x\n", (long long)(this));
- printf("stuck: %d\n", ((Player*)(this))->playerIsStuck());
- }
-
-diff -ur toycars-0.3.5/src/RobotHotPotatoPlayer.cpp ../../../toycars-0.3.5/src/RobotHotPotatoPlayer.cpp
---- toycars-0.3.5/src/RobotHotPotatoPlayer.cpp 2007-12-18 15:13:22.000000000 +0200
-+++ ../../../toycars-0.3.5/src/RobotHotPotatoPlayer.cpp 2008-01-15 22:44:30.000000000 +0200
-@@ -16,6 +16,7 @@
-
- #include "RobotHotPotatoPlayer.h"
- #include "HotPotatoGame.h"
-+#include <assert.h>
-
- RobotHotPotatoPlayer::RobotHotPotatoPlayer(ToyCar& inCar, list<Tuple> *path, int inPlayerNumber, FMOD::System* inFMOD_System)
- : RobotPlayer(inCar, path, inPlayerNumber, inFMOD_System), backupDist(-1.0)
-@@ -154,6 +155,6 @@
- printf("route: %d\n", debugRoute);
- printf("avoiding: %d\n", avoiding);
- printf("catching: %d\n", catching);
-- printf("targetPlayer: %x\n", (unsigned int)(targetPlayer));
-+ printf("targetPlayer: %x\n", (long long)(targetPlayer));
- //printf("backupDist: %lf\n", backupDist);
- }
diff --git a/games-sports/toycars/files/toycars-0.3.5-asneeded.patch b/games-sports/toycars/files/toycars-0.3.5-asneeded.patch
deleted file mode 100644
index 5ef161614921..000000000000
--- a/games-sports/toycars/files/toycars-0.3.5-asneeded.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/Makefile.am
-+++ src/Makefile.am
-@@ -13,6 +13,4 @@
- ./glf/libglf.a \
- ./MyFisix/libmyfisix.a \
- ./Scoobie/libscoobie.a \
-- ./tinyxml/libtinyxml.a
--
--toycars_LDFLAGS = @SDL_LIBS@ @GL_LIBS@ @GLU_LIBS@ @FMOD_LIBS@
-+ ./tinyxml/libtinyxml.a @SDL_LIBS@ @GL_LIBS@ @GLU_LIBS@ @FMOD_LIBS@
diff --git a/games-sports/toycars/files/toycars-0.3.5-assert.patch b/games-sports/toycars/files/toycars-0.3.5-assert.patch
deleted file mode 100644
index e29b41dd00e0..000000000000
--- a/games-sports/toycars/files/toycars-0.3.5-assert.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/RobotHotPotatoPlayer.cpp
-+++ src/RobotHotPotatoPlayer.cpp
-@@ -14,6 +14,7 @@
- * Created by Ruben Henner Zilibowitz on 31/10/07.
- */
-
-+#include <assert.h>
- #include "RobotHotPotatoPlayer.h"
- #include "HotPotatoGame.h"
-
diff --git a/games-sports/toycars/files/toycars-0.3.5-datadir.patch b/games-sports/toycars/files/toycars-0.3.5-datadir.patch
deleted file mode 100644
index 4d233b750eb4..000000000000
--- a/games-sports/toycars/files/toycars-0.3.5-datadir.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.ac
-+++ configure.ac
-@@ -14,7 +14,7 @@
- AM_PROG_MKDIR_P
-
- # Set the DATA_DIR value
--FC_EXPAND_DIR(DATA_DIR, "$prefix/share/$PACKAGE_NAME")
-+FC_EXPAND_DIR(DATA_DIR, "$datadir/$PACKAGE_NAME")
- DATA_DIR="\"$DATA_DIR\""
- AC_DEFINE_UNQUOTED(DATA_DIR, $DATA_DIR, [Location of data directory])
-
diff --git a/games-sports/toycars/files/toycars-0.3.5-fmod.patch b/games-sports/toycars/files/toycars-0.3.5-fmod.patch
deleted file mode 100644
index a260af4642cc..000000000000
--- a/games-sports/toycars/files/toycars-0.3.5-fmod.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/Makefile.am
-+++ src/Makefile.am
-@@ -3,7 +3,7 @@
- bin_PROGRAMS = toycars
-
- AM_CXXFLAGS = -Wall @SDL_CFLAGS@ @GL_CFLAGS@ @GLU_CFLAGS@
--AM_CPPFLAGS = -I $(top_srcdir)/src/glf -I $(top_srcdir)/src/MyFisix -I $(top_srcdir)/src/Scoobie -I $(top_srcdir)/src/tinyxml
-+AM_CPPFLAGS = -I $(top_srcdir)/src/glf -I $(top_srcdir)/src/MyFisix -I $(top_srcdir)/src/Scoobie -I $(top_srcdir)/src/tinyxml -I/usr/include/fmodex
-
- toycars_SOURCES = CarGame.cpp RobotPlayer.cpp Player.cpp Wheel.cpp Kaboom.cpp PlayerBomb.cpp WheelSprite.cpp Minimap.cpp Startline.cpp main.cpp NeedleImage.cpp ToyCar.cpp PacejkaCurve.cpp Vehicle.cpp Menu.cpp TcPreferences.cpp HotPotatoGame.cpp KnockOutGame.cpp TrackEditor.cpp RobotHotPotatoPlayer.cpp StartLight.cpp
-
diff --git a/games-sports/toycars/files/toycars-0.3.5-gcc43.patch b/games-sports/toycars/files/toycars-0.3.5-gcc43.patch
deleted file mode 100644
index 9c446467a81e..000000000000
--- a/games-sports/toycars/files/toycars-0.3.5-gcc43.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-diff -ur toycars-0.3.5.orig/src/CarGame.cpp toycars-0.3.5/src/CarGame.cpp
---- toycars-0.3.5.orig/src/CarGame.cpp 2008-01-17 21:04:57.000000000 +0000
-+++ toycars-0.3.5/src/CarGame.cpp 2008-01-17 21:08:10.000000000 +0000
-@@ -24,6 +24,8 @@
- #include "TcPreferences.h"
- #include <cstdlib>
- #include "PathLine.h"
-+#include <cstdio>
-+#include <ctime>
-
- //------------
-
-diff -ur toycars-0.3.5.orig/src/KnockOutGame.cpp toycars-0.3.5/src/KnockOutGame.cpp
---- toycars-0.3.5.orig/src/KnockOutGame.cpp 2008-01-17 21:04:57.000000000 +0000
-+++ toycars-0.3.5/src/KnockOutGame.cpp 2008-01-17 21:10:52.000000000 +0000
-@@ -12,6 +12,7 @@
- #include "ScException.h"
- #include "glf.h"
- #include "TcPreferences.h"
-+#include <cstdio>
-
- extern TcPreferences *gPreferences;
-
-diff -ur toycars-0.3.5.orig/src/Player.cpp toycars-0.3.5/src/Player.cpp
---- toycars-0.3.5.orig/src/Player.cpp 2008-01-17 21:04:57.000000000 +0000
-+++ toycars-0.3.5/src/Player.cpp 2008-01-17 21:09:28.000000000 +0000
-@@ -16,6 +16,7 @@
-
- #include "Player.h"
- #include "CarGame.h"
-+#include <cstdio>
-
- // constants
-
-diff -ur toycars-0.3.5.orig/src/RobotHotPotatoPlayer.cpp toycars-0.3.5/src/RobotHotPotatoPlayer.cpp
---- toycars-0.3.5.orig/src/RobotHotPotatoPlayer.cpp 2008-01-17 21:04:57.000000000 +0000
-+++ toycars-0.3.5/src/RobotHotPotatoPlayer.cpp 2008-01-17 21:11:13.000000000 +0000
-@@ -17,6 +17,7 @@
- #include "RobotHotPotatoPlayer.h"
- #include "HotPotatoGame.h"
- #include <assert.h>
-+#include <cstdio>
-
- RobotHotPotatoPlayer::RobotHotPotatoPlayer(ToyCar& inCar, list<Tuple> *path, int inPlayerNumber, FMOD::System* inFMOD_System)
- : RobotPlayer(inCar, path, inPlayerNumber, inFMOD_System), backupDist(-1.0)
-diff -ur toycars-0.3.5.orig/src/RobotPlayer.cpp toycars-0.3.5/src/RobotPlayer.cpp
---- toycars-0.3.5.orig/src/RobotPlayer.cpp 2008-01-17 21:04:57.000000000 +0000
-+++ toycars-0.3.5/src/RobotPlayer.cpp 2008-01-17 21:09:09.000000000 +0000
-@@ -8,6 +8,7 @@
- */
-
- #include "RobotPlayer.h"
-+#include <cstdio>
-
- RobotPlayer::RobotPlayer(ToyCar& inCar, list<Tuple> *path, int inPlayerNumber, FMOD::System* inFMOD_System)
- : Player(inCar, path, inPlayerNumber, inFMOD_System), backupDist(0)
---- toycars-0.3.5.orig/src/main.cpp 2008-01-17 21:04:57.000000000 +0000
-+++ toycars-0.3.5/src/main.cpp 2008-01-17 21:10:28.000000000 +0000
-@@ -36,6 +36,7 @@
- #include <cstring>
- #include <cstdlib>
- #include <ctime>
-+#include <iostream>
- #include <fcntl.h>
- #include <errno.h>
-
diff --git a/games-sports/toycars/toycars-0.3.5.ebuild b/games-sports/toycars/toycars-0.3.9.ebuild
index 522c5a0288c0..63c09c7c51b1 100644
--- a/games-sports/toycars/toycars-0.3.5.ebuild
+++ b/games-sports/toycars/toycars-0.3.9.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/toycars/toycars-0.3.5.ebuild,v 1.2 2008/12/21 02:54:29 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/toycars/toycars-0.3.9.ebuild,v 1.1 2009/06/03 20:05:49 ssuominen Exp $
-inherit autotools eutils games
+EAPI=2
+inherit eutils flag-o-matic games
DESCRIPTION="a physics based 2-D racer inspired by Micro Machines"
HOMEPAGE="http://sourceforge.net/projects/toycars"
@@ -13,23 +14,16 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND="media-libs/libsdl
+RDEPEND="media-libs/libsdl
media-libs/sdl-image
- >=media-libs/fmod-4
+ >=media-libs/fmod-4.25.07-r1:1
virtual/glu
virtual/opengl"
+DEPEND="${RDEPEND}"
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch \
- "${FILESDIR}"/${P}-asneeded.patch \
- "${FILESDIR}"/${P}-fmod.patch \
- "${FILESDIR}"/${P}-assert.patch \
- "${FILESDIR}"/${P}-datadir.patch \
- "${FILESDIR}"/${P}-64bit.patch \
- "${FILESDIR}"/${P}-gcc43.patch
- AT_M4DIR=m4 eautoreconf
+src_configure() {
+ append-ldflags -L/opt/fmodex/api/lib
+ egamesconf
}
src_install() {