summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2012-03-21 20:12:48 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2012-03-21 20:12:48 +0000
commitb1deab73c90476185776b3029eb88f7eb0278b9c (patch)
tree1948edeacef4b8f6f7eb2d0ff682cbf42b617ac5 /games-action/atanks
parentOnly inherit git-2 if we are a live ebuild. (diff)
downloadgentoo-2-b1deab73c90476185776b3029eb88f7eb0278b9c.tar.gz
gentoo-2-b1deab73c90476185776b3029eb88f7eb0278b9c.tar.bz2
gentoo-2-b1deab73c90476185776b3029eb88f7eb0278b9c.zip
version bump
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'games-action/atanks')
-rw-r--r--games-action/atanks/ChangeLog10
-rw-r--r--games-action/atanks/atanks-4.7.ebuild41
-rw-r--r--games-action/atanks/atanks-5.3.ebuild (renamed from games-action/atanks/atanks-5.1.ebuild)6
-rw-r--r--games-action/atanks/files/atanks-4.7-build.patch134
-rw-r--r--games-action/atanks/files/atanks-5.2-build.patch5
-rw-r--r--games-action/atanks/files/atanks-5.3-build.patch (renamed from games-action/atanks/files/atanks-5.1-build.patch)7
6 files changed, 17 insertions, 186 deletions
diff --git a/games-action/atanks/ChangeLog b/games-action/atanks/ChangeLog
index f9845f3f4420..6fe2beda5227 100644
--- a/games-action/atanks/ChangeLog
+++ b/games-action/atanks/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for games-action/atanks
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.72 2012/01/10 20:26:49 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.73 2012/03/21 20:12:48 mr_bones_ Exp $
+
+*atanks-5.3 (21 Mar 2012)
+
+ 21 Mar 2012; Michael Sterrett <mr_bones_@gentoo.org> -atanks-4.7.ebuild,
+ -files/atanks-4.7-build.patch, -atanks-5.1.ebuild,
+ -files/atanks-5.1-build.patch, files/atanks-5.2-build.patch,
+ +atanks-5.3.ebuild, +files/atanks-5.3-build.patch:
+ version bump
10 Jan 2012; Brent Baude <ranger@gentoo.org> atanks-5.2.ebuild:
Marking atanks-5.2 ppc for bug 390559
diff --git a/games-action/atanks/atanks-4.7.ebuild b/games-action/atanks/atanks-4.7.ebuild
deleted file mode 100644
index 6a81577e1e35..000000000000
--- a/games-action/atanks/atanks-4.7.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/atanks-4.7.ebuild,v 1.6 2011/10/14 06:19:16 vapier Exp $
-
-EAPI=2
-inherit eutils games
-
-DESCRIPTION="Worms and Scorched Earth-like game"
-HOMEPAGE="http://atanks.sourceforge.net/"
-SRC_URI="mirror://sourceforge/atanks/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-
-DEPEND="media-libs/allegro:0[X]"
-
-src_prepare() {
- find . -type f -name ".directory" -exec rm -vf '{}' +
- epatch "${FILESDIR}"/${P}-build.patch
-}
-
-src_compile() {
- emake \
- BINDIR="${GAMES_BINDIR}" \
- INSTALLDIR="${GAMES_DATADIR}/${PN}" \
- || die "emake failed"
-}
-
-src_install() {
- dogamesbin ${PN} || die "dogamesbin failed"
- insinto "${GAMES_DATADIR}"/${PN}
- doins -r button misc missile sound stock tank tankgun text title \
- unicode.dat *.txt \
- || die "doins failed"
- doicon ${PN}.png
- make_desktop_entry atanks "Atomic Tanks"
- dodoc Changelog README TODO
- prepgamesdirs
-}
diff --git a/games-action/atanks/atanks-5.1.ebuild b/games-action/atanks/atanks-5.3.ebuild
index 36e180cc995b..9eac0560929c 100644
--- a/games-action/atanks/atanks-5.1.ebuild
+++ b/games-action/atanks/atanks-5.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/atanks-5.1.ebuild,v 1.4 2011/10/14 06:19:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/atanks-5.3.ebuild,v 1.1 2012/03/21 20:12:48 mr_bones_ Exp $
EAPI=2
inherit eutils games
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/atanks/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
+KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND="media-libs/allegro:0[X]"
diff --git a/games-action/atanks/files/atanks-4.7-build.patch b/games-action/atanks/files/atanks-4.7-build.patch
deleted file mode 100644
index aca3f4467baa..000000000000
--- a/games-action/atanks/files/atanks-4.7-build.patch
+++ /dev/null
@@ -1,134 +0,0 @@
-diff -ru atanks-4.6.orig/src/Makefile atanks-4.6/src/Makefile
---- atanks-4.6.orig/src/Makefile 2010-05-24 12:30:23.000000000 -0400
-+++ atanks-4.6/src/Makefile 2010-06-02 03:22:25.112064819 -0400
-@@ -4,9 +4,6 @@
- missile.o perlin.o physobj.o player.o satellite.o sky.o tank.o team.o teleport.o virtobj.o \
- update.o network.o floattext.o land.o text.o client.o gameloop.o
-
--CPP=g++
--CC=gcc
--LD=g++
- LIB=ar
- WINDRES=
- # FLAGS += -DDATA_DIR=\".\" -Wno-write-strings -DNETWORK -DTHREADS
-@@ -15,9 +12,9 @@
- WFLAGS =
- OFLAGS =
- LFLAGS +=
--LDFLAGS = `allegro-config --libs`
-+LDFLAGS += `allegro-config --libs`
-
--CFLAGS += -g -Wall -Iinclude # -fprofile-arcs -ftest-coverage
-+CXXFLAGS += -Wall -Iinclude # -fprofile-arcs -ftest-coverage
-
- SRCS = $(MODULES:.o=.cpp)
- GLOBALS = main.h imagedefs.h externs.h
-@@ -33,82 +30,82 @@
- $(MODULES): Makefile
-
- atanks.o: atanks.cpp globals.h main.h menucontent.h
-- $(CPP) -c atanks.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c atanks.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- button.o: button.cpp button.h
-- $(CPP) -c button.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c button.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- client.o: client.h client.cpp
-- $(CPP) -c client.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGSS) $(CFLAGS)
-+ $(CXX) -c client.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGSS) $(CXXFLAGS)
-
- environment.o: environment.cpp environment.h
-- $(CPP) -c environment.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c environment.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- explosion.o: explosion.cpp explosion.h
-- $(CPP) -c explosion.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c explosion.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- files.o: files.cpp files.h text.h text.cpp
-- $(CPP) -c files.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c files.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- floattext.o: floattext.cpp floattext.h
-- $(CPP) -c floattext.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c floattext.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- gameloop.o: gameloop.cpp atanks.cpp main.h
-- $(CPP) -c gameloop.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c gameloop.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- globaldata.o: globaldata.cpp globaldata.h
-- $(CPP) -c globaldata.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c globaldata.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- land.o: land.cpp land.h globaldata.h environment.h
-- $(CPP) -c land.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c land.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- missile.o: missile.cpp missile.h
-- $(CPP) -c missile.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c missile.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- teleport.o: teleport.cpp teleport.h
-- $(CPP) -c teleport.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c teleport.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- physobj.o: physobj.cpp physobj.h
-- $(CPP) -c physobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c physobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- player.o: player.cpp player.h
-- $(CPP) -c player.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c player.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- tank.o: tank.cpp tank.h
-- $(CPP) -c tank.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c tank.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- team.o: team.cpp team.h
-- $(CPP) -c team.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c team.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- virtobj.o: virtobj.cpp virtobj.h
-- $(CPP) -c virtobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c virtobj.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- fade.o: fade.cpp
-- $(CPP) -c fade.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c fade.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- perlin.o: perlin.cpp
-- $(CPP) -c perlin.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c perlin.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- sky.o: sky.cpp sky.h
-- $(CPP) -c sky.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c sky.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- satellite.o: satellite.cpp satellite.h
-- $(CPP) -c satellite.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c satellite.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- text.o: text.cpp text.h
-- $(CPP) -c text.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c text.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- update.o: update.cpp update.h
-- $(CPP) -c update.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c update.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- network.o: network.cpp network.h
-- $(CPP) -c network.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c network.cpp -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- %.o: %.cpp %.h
-- $(CPP) -c $< -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CFLAGS)
-+ $(CXX) -c $< -o $@ $(FLAGS) $(LFLAGS) $(OFLAGS) $(CXXFLAGS)
-
- $(OUTPUT): $(OBJECTS) $(MODULES)
-- $(CPP) $(MODULES) -o $(OUTPUT) $(FLAGS) $(LFLAGS) $(LDFLAGS) $(SFLAGS) $(CFLAGS)
-+ $(CXX) $(MODULES) -o $(OUTPUT) $(FLAGS) $(LFLAGS) $(LDFLAGS) $(SFLAGS) $(CXXFLAGS)
- # strip $(OUTPUT)
-
- # dependencies:
diff --git a/games-action/atanks/files/atanks-5.2-build.patch b/games-action/atanks/files/atanks-5.2-build.patch
index 4385a272dafd..5d4790d39aef 100644
--- a/games-action/atanks/files/atanks-5.2-build.patch
+++ b/games-action/atanks/files/atanks-5.2-build.patch
@@ -1,6 +1,5 @@
-diff -ru atanks-4.6.orig/src/Makefile atanks-4.6/src/Makefile
---- atanks-4.6.orig/src/Makefile 2010-05-24 12:30:23.000000000 -0400
-+++ atanks-4.6/src/Makefile 2010-06-02 03:22:25.112064819 -0400
+--- atanks-4.6.orig/src/Makefile
++++ atanks-4.6/src/Makefile
@@ -4,9 +4,6 @@
missile.o perlin.o physobj.o player.o satellite.o sky.o tank.o team.o teleport.o virtobj.o \
update.o network.o floattext.o land.o text.o client.o gameloop.o
diff --git a/games-action/atanks/files/atanks-5.1-build.patch b/games-action/atanks/files/atanks-5.3-build.patch
index 4385a272dafd..e5c29f501427 100644
--- a/games-action/atanks/files/atanks-5.1-build.patch
+++ b/games-action/atanks/files/atanks-5.3-build.patch
@@ -1,6 +1,5 @@
-diff -ru atanks-4.6.orig/src/Makefile atanks-4.6/src/Makefile
---- atanks-4.6.orig/src/Makefile 2010-05-24 12:30:23.000000000 -0400
-+++ atanks-4.6/src/Makefile 2010-06-02 03:22:25.112064819 -0400
+--- atanks-5.3.orig/src/Makefile
++++ atanks-5.3/src/Makefile
@@ -4,9 +4,6 @@
missile.o perlin.o physobj.o player.o satellite.o sky.o tank.o team.o teleport.o virtobj.o \
update.o network.o floattext.o land.o text.o client.o gameloop.o
@@ -18,7 +17,7 @@ diff -ru atanks-4.6.orig/src/Makefile atanks-4.6/src/Makefile
-LDFLAGS = `allegro-config --libs`
+LDFLAGS += `allegro-config --libs` -lm -lpthread
--CFLAGS += -g -Wall -Iinclude # -fprofile-arcs -ftest-coverage
+-CFLAGS += -Wall -Iinclude # -fprofile-arcs -ftest-coverage
+CXXFLAGS += -Wall -Iinclude # -fprofile-arcs -ftest-coverage
SRCS = $(MODULES:.o=.cpp)