summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-01-01 20:08:38 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-01-01 20:08:38 +0000
commitd7aba061f0937ef4372d64447d9eeb8cd01139c6 (patch)
treec09587654b398077142a9096d13807a7e1fa4601 /games-sports
parentversion bump, should fix bug #202472 (diff)
downloadgentoo-2-d7aba061f0937ef4372d64447d9eeb8cd01139c6.tar.gz
gentoo-2-d7aba061f0937ef4372d64447d9eeb8cd01139c6.tar.bz2
gentoo-2-d7aba061f0937ef4372d64447d9eeb8cd01139c6.zip
Version bump, bug #203790
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/toycars/ChangeLog12
-rw-r--r--games-sports/toycars/files/digest-toycars-0.3.53
-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/toycars-0.3.5.ebuild41
7 files changed, 96 insertions, 2 deletions
diff --git a/games-sports/toycars/ChangeLog b/games-sports/toycars/ChangeLog
index 196add1d62c0..4c9bc69b6e55 100644
--- a/games-sports/toycars/ChangeLog
+++ b/games-sports/toycars/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for games-sports/toycars
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/toycars/ChangeLog,v 1.9 2007/11/08 20:30:52 tupone Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/toycars/ChangeLog,v 1.10 2008/01/01 20:08:38 nyhm Exp $
+
+*toycars-0.3.5 (01 Jan 2008)
+
+ 01 Jan 2008; Tristan Heaven <nyhm@gentoo.org>
+ +files/toycars-0.3.5-asneeded.patch, +files/toycars-0.3.5-assert.patch,
+ +files/toycars-0.3.5-datadir.patch, +files/toycars-0.3.5-fmod.patch,
+ +toycars-0.3.5.ebuild:
+ Version bump, bug #203790
*toycars-0.3.4 (08 Nov 2007)
diff --git a/games-sports/toycars/files/digest-toycars-0.3.5 b/games-sports/toycars/files/digest-toycars-0.3.5
new file mode 100644
index 000000000000..93dcc07714e5
--- /dev/null
+++ b/games-sports/toycars/files/digest-toycars-0.3.5
@@ -0,0 +1,3 @@
+MD5 9835ed22b07401607ec70a1bab1bf9ff toycars-0.3.5.tar.gz 7627867
+RMD160 27380e474603ed2f55d13721bb04bb4f7a0d32a7 toycars-0.3.5.tar.gz 7627867
+SHA256 a678092b5a4381355a0005980fae53b4c9c026c0ff0740b33a2a5eefbc66c438 toycars-0.3.5.tar.gz 7627867
diff --git a/games-sports/toycars/files/toycars-0.3.5-asneeded.patch b/games-sports/toycars/files/toycars-0.3.5-asneeded.patch
new file mode 100644
index 000000000000..5ef161614921
--- /dev/null
+++ b/games-sports/toycars/files/toycars-0.3.5-asneeded.patch
@@ -0,0 +1,10 @@
+--- 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
new file mode 100644
index 000000000000..e29b41dd00e0
--- /dev/null
+++ b/games-sports/toycars/files/toycars-0.3.5-assert.patch
@@ -0,0 +1,10 @@
+--- 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
new file mode 100644
index 000000000000..4d233b750eb4
--- /dev/null
+++ b/games-sports/toycars/files/toycars-0.3.5-datadir.patch
@@ -0,0 +1,11 @@
+--- 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
new file mode 100644
index 000000000000..a260af4642cc
--- /dev/null
+++ b/games-sports/toycars/files/toycars-0.3.5-fmod.patch
@@ -0,0 +1,11 @@
+--- 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/toycars-0.3.5.ebuild b/games-sports/toycars/toycars-0.3.5.ebuild
new file mode 100644
index 000000000000..8d392ca48bf6
--- /dev/null
+++ b/games-sports/toycars/toycars-0.3.5.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2008 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.1 2008/01/01 20:08:38 nyhm Exp $
+
+inherit autotools eutils games
+
+DESCRIPTION="a physics based 2-D racer inspired by Micro Machines"
+HOMEPAGE="http://sourceforge.net/projects/toycars"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl
+ media-libs/sdl-image
+ >=media-libs/fmod-4
+ virtual/glu
+ virtual/opengl"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch \
+ "${FILESDIR}"/${P}-asneeded.patch \
+ "${FILESDIR}"/${P}-fmod.patch \
+ "${FILESDIR}"/${P}-assert.patch \
+ "${FILESDIR}"/${P}-datadir.patch
+ AT_M4DIR=m4 eautoreconf
+}
+
+src_install() {
+ dogamesbin src/${PN} || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r data || die "doins failed"
+ newicon celica-render.png ${PN}.png
+ make_desktop_entry ${PN} "Toy Cars"
+ dodoc AUTHORS ChangeLog README TODO
+ prepgamesdirs
+}