summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-04-25 19:00:30 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-04-25 19:00:30 +0000
commitc3215abc4d95a9f8c96cc001c05654091d229e1a (patch)
tree06d902a3a9a9a46484b10ce18bad6a9e065ee913 /games-action
parentUse Python 2 (bug #312123). (diff)
downloadhistorical-c3215abc4d95a9f8c96cc001c05654091d229e1a.tar.gz
historical-c3215abc4d95a9f8c96cc001c05654091d229e1a.tar.bz2
historical-c3215abc4d95a9f8c96cc001c05654091d229e1a.zip
version bump
Package-Manager: portage-2.1.9.42/cvs/Linux i686
Diffstat (limited to 'games-action')
-rw-r--r--games-action/atanks/ChangeLog8
-rw-r--r--games-action/atanks/Manifest5
-rw-r--r--games-action/atanks/atanks-4.9.ebuild41
-rw-r--r--games-action/atanks/files/atanks-4.9-build.patch134
4 files changed, 186 insertions, 2 deletions
diff --git a/games-action/atanks/ChangeLog b/games-action/atanks/ChangeLog
index 5db3d1fc96fc..7ec8476383a1 100644
--- a/games-action/atanks/ChangeLog
+++ b/games-action/atanks/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-action/atanks
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.61 2011/03/26 17:30:02 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.62 2011/04/25 19:00:30 mr_bones_ Exp $
+
+*atanks-4.9 (25 Apr 2011)
+
+ 25 Apr 2011; Michael Sterrett <mr_bones_@gentoo.org> +atanks-4.9.ebuild,
+ +files/atanks-4.9-build.patch:
+ version bump
26 Mar 2011; Samuli Suominen <ssuominen@gentoo.org> atanks-4.7.ebuild,
atanks-4.8.ebuild:
diff --git a/games-action/atanks/Manifest b/games-action/atanks/Manifest
index 7be94a796178..86cc7227b76b 100644
--- a/games-action/atanks/Manifest
+++ b/games-action/atanks/Manifest
@@ -1,8 +1,11 @@
AUX atanks-4.7-build.patch 5474 RMD160 98003db7b9c630f5dfe0de5f2e5ca3ee6d200857 SHA1 4371c6d18b8109a0e727690a2e1e975c93dc002f SHA256 f4dc5b4d891a771362fff418e156c46bd9aee9cd69f0774f5ff58b7e33ec41ef
AUX atanks-4.8-build.patch 5474 RMD160 98003db7b9c630f5dfe0de5f2e5ca3ee6d200857 SHA1 4371c6d18b8109a0e727690a2e1e975c93dc002f SHA256 f4dc5b4d891a771362fff418e156c46bd9aee9cd69f0774f5ff58b7e33ec41ef
+AUX atanks-4.9-build.patch 5474 RMD160 98003db7b9c630f5dfe0de5f2e5ca3ee6d200857 SHA1 4371c6d18b8109a0e727690a2e1e975c93dc002f SHA256 f4dc5b4d891a771362fff418e156c46bd9aee9cd69f0774f5ff58b7e33ec41ef
DIST atanks-4.7.tar.gz 3114429 RMD160 027546c34d4fc4bcfac3e116fcf12ec16ee44ed2 SHA1 bcb731c2c84d16efa1930fde8756b62c28993b24 SHA256 300be923cd6f4b7eb19c5f39db1dc001da2ee6c52f544c768e059dc5ad42a94d
DIST atanks-4.8.tar.gz 3115986 RMD160 5d552338ee0a296822f4cb87cb5de679bfe113f9 SHA1 ba8d4367f702f595605f0f2eff68e644350ffecd SHA256 014b410a2eeeac631d5eaeb54c6c5897c0f09c129f70b2224cb0a5bc2d0315fb
+DIST atanks-4.9.tar.gz 3125561 RMD160 352eed25e91c00f3ab43d75c50a54f3763c53c83 SHA1 a5d375476a6d079b5a403164aca7718010dd2832 SHA256 6d67aa0562d36fcd40a19b6463c433cecf16518c30d268222362922911e4b604
EBUILD atanks-4.7.ebuild 1037 RMD160 aff127aaa6498fe0783dd66ae168556e6c3be3eb SHA1 dc3e9ddcae9549d375c0cd7efec052704cf00750 SHA256 b760343a02111a645f95294ce7c465c3ca3c1d0c457a7010a8679d73cbad894a
EBUILD atanks-4.8.ebuild 1040 RMD160 c8bcfa41b5690a103c63a982c54bf90d8285eafe SHA1 7c6cc8a6f336a39ebe28b33448c07ad91873b0f1 SHA256 61ae7e922130b71296245f6d9da061ef9268349118ad6c97e87a6a17acb59c83
-MISC ChangeLog 8592 RMD160 9203aee1f43eae65e8c6195469d8076f8308d15d SHA1 30521015917b79c430be857232bdff923b2e06b6 SHA256 827a233b01856b70778d6be472c664d9d1730061c6905c06f9a2d6670843d8b6
+EBUILD atanks-4.9.ebuild 1040 RMD160 44df8c678d5664b59274bea575c9976effdeba60 SHA1 a1bd81bdba60bd6afa6d2b35e84cfc7b79c708b1 SHA256 3d895b250aa8c7234c78c40d5c4c05dd2d388c197f6d18d8bc4bf9f5dee871e0
+MISC ChangeLog 8743 RMD160 8231fa273fd2ad59b2f5ecda0ba2a89a5adc00da SHA1 358b1677b628344972af0462b7786b856afa3639 SHA256 75217b8e157edab29960ae0d55f2aa72caac72907ecdcd94ea7d88561a024116
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-action/atanks/atanks-4.9.ebuild b/games-action/atanks/atanks-4.9.ebuild
new file mode 100644
index 000000000000..a6eda64c6ae2
--- /dev/null
+++ b/games-action/atanks/atanks-4.9.ebuild
@@ -0,0 +1,41 @@
+# 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.9.ebuild,v 1.1 2011/04/25 19:00:30 mr_bones_ 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-5[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/files/atanks-4.9-build.patch b/games-action/atanks/files/atanks-4.9-build.patch
new file mode 100644
index 000000000000..aca3f4467baa
--- /dev/null
+++ b/games-action/atanks/files/atanks-4.9-build.patch
@@ -0,0 +1,134 @@
+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: