summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2007-11-08 20:30:53 +0000
committerAlfredo Tupone <tupone@gentoo.org>2007-11-08 20:30:53 +0000
commitd4c38eb7a8ed4921071093c69b70ddae7ef17c4b (patch)
treeef885a526f1733319379c9d0c301cd1300eed498 /games-sports/toycars
parentforgot bug number in changelog -> add it (diff)
downloadgentoo-2-d4c38eb7a8ed4921071093c69b70ddae7ef17c4b.tar.gz
gentoo-2-d4c38eb7a8ed4921071093c69b70ddae7ef17c4b.tar.bz2
gentoo-2-d4c38eb7a8ed4921071093c69b70ddae7ef17c4b.zip
Version bump. Bug #197995 by Samuli Suominen
(Portage version: 2.1.3.16)
Diffstat (limited to 'games-sports/toycars')
-rw-r--r--games-sports/toycars/ChangeLog9
-rw-r--r--games-sports/toycars/files/digest-toycars-0.3.43
-rw-r--r--games-sports/toycars/files/toycars-0.3.4-asneeded.patch10
-rw-r--r--games-sports/toycars/files/toycars-0.3.4-gentoo.patch11
-rw-r--r--games-sports/toycars/toycars-0.3.4.ebuild38
5 files changed, 70 insertions, 1 deletions
diff --git a/games-sports/toycars/ChangeLog b/games-sports/toycars/ChangeLog
index 453f1bf971a8..196add1d62c0 100644
--- a/games-sports/toycars/ChangeLog
+++ b/games-sports/toycars/ChangeLog
@@ -1,6 +1,13 @@
# 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.8 2007/05/22 16:08:03 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/toycars/ChangeLog,v 1.9 2007/11/08 20:30:52 tupone Exp $
+
+*toycars-0.3.4 (08 Nov 2007)
+
+ 08 Nov 2007; Tupone Alfredo <tupone@gentoo.org>
+ +files/toycars-0.3.4-asneeded.patch, +files/toycars-0.3.4-gentoo.patch,
+ +toycars-0.3.4.ebuild:
+ Version bump. Bug #197995 by Samuli Suominen
*toycars-0.3.3 (22 May 2007)
diff --git a/games-sports/toycars/files/digest-toycars-0.3.4 b/games-sports/toycars/files/digest-toycars-0.3.4
new file mode 100644
index 000000000000..18a1865be6df
--- /dev/null
+++ b/games-sports/toycars/files/digest-toycars-0.3.4
@@ -0,0 +1,3 @@
+MD5 26d233ba23fd93c5b33f7ceb2e1a9d5a toycars-0.3.4.tar.gz 6261794
+RMD160 7693302b4ca49daefda254d0ce4e630b01ad3323 toycars-0.3.4.tar.gz 6261794
+SHA256 3995ac8b6dc84d71c5276a3e96abc47b13b8e720cdacf64d717597f7a4559c05 toycars-0.3.4.tar.gz 6261794
diff --git a/games-sports/toycars/files/toycars-0.3.4-asneeded.patch b/games-sports/toycars/files/toycars-0.3.4-asneeded.patch
new file mode 100644
index 000000000000..4c6202883ab1
--- /dev/null
+++ b/games-sports/toycars/files/toycars-0.3.4-asneeded.patch
@@ -0,0 +1,10 @@
+--- src/Makefile.am.old 2007-11-08 20:40:14.000000000 +0100
++++ src/Makefile.am 2007-11-08 20:40:38.000000000 +0100
+@@ -13,6 +13,4 @@
+ ./glf/libglf.a \
+ ./MyFisix/libmyfisix.a \
+ ./Scoobie/libscoobie.a \
+- ./tinyxml/libtinyxml.a
+-
+-toycars_LDFLAGS = @SDL_LIBS@ @GLU_LIBS@ @FMOD_LIBS@
++ ./tinyxml/libtinyxml.a @SDL_LIBS@ @GLU_LIBS@ @FMOD_LIBS@
diff --git a/games-sports/toycars/files/toycars-0.3.4-gentoo.patch b/games-sports/toycars/files/toycars-0.3.4-gentoo.patch
new file mode 100644
index 000000000000..68e06a1229c5
--- /dev/null
+++ b/games-sports/toycars/files/toycars-0.3.4-gentoo.patch
@@ -0,0 +1,11 @@
+--- src/Makefile.am.old 2007-11-08 21:09:54.000000000 +0100
++++ src/Makefile.am 2007-11-08 21:13:18.000000000 +0100
+@@ -3,7 +3,7 @@
+ bin_PROGRAMS = toycars
+
+ AM_CXXFLAGS = -Wall @SDL_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
+
diff --git a/games-sports/toycars/toycars-0.3.4.ebuild b/games-sports/toycars/toycars-0.3.4.ebuild
new file mode 100644
index 000000000000..b4478f6bfe95
--- /dev/null
+++ b/games-sports/toycars/toycars-0.3.4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-sports/toycars/toycars-0.3.4.ebuild,v 1.1 2007/11/08 20:30:52 tupone 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}-gentoo.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
+}