diff options
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/atanks/ChangeLog | 8 | ||||
-rw-r--r-- | games-action/atanks/Manifest | 5 | ||||
-rw-r--r-- | games-action/atanks/atanks-4.7.ebuild | 41 | ||||
-rw-r--r-- | games-action/atanks/files/atanks-4.7-build.patch | 134 |
4 files changed, 186 insertions, 2 deletions
diff --git a/games-action/atanks/ChangeLog b/games-action/atanks/ChangeLog index 0023b3a618d2..19f578a6c09b 100644 --- a/games-action/atanks/ChangeLog +++ b/games-action/atanks/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-action/atanks # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.55 2010/08/16 19:42:30 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.56 2010/09/06 21:10:16 mr_bones_ Exp $ + +*atanks-4.7 (06 Sep 2010) + + 06 Sep 2010; Michael Sterrett <mr_bones_@gentoo.org> +atanks-4.7.ebuild, + +files/atanks-4.7-build.patch: + version bump 16 Aug 2010; Samuli Suominen <ssuominen@gentoo.org> atanks-4.6.ebuild, +files/atanks-4.6-glibc212.patch: diff --git a/games-action/atanks/Manifest b/games-action/atanks/Manifest index fd25c0b672ed..fc995be3359d 100644 --- a/games-action/atanks/Manifest +++ b/games-action/atanks/Manifest @@ -1,6 +1,9 @@ AUX atanks-4.6-build.patch 5477 RMD160 2ccb1e58976e3c3d67ee2f37d8886596f51bd581 SHA1 90df1333e39bb6ac913faf02906273817ed0f0a2 SHA256 7f2962bd876c3b12578bab416e1c204fc10e2948a1b762758ee59badee121ca2 AUX atanks-4.6-glibc212.patch 214 RMD160 8b6bfee0dc5647bb0b86a6e10b08a02203821b95 SHA1 bb8fc42df9578bf2f4e592035bd176df228c894e SHA256 8f51b92cf1a6a20b50ac14ba31957719d145513c96e9a9398286ffcc88a8708f +AUX atanks-4.7-build.patch 5477 RMD160 2ccb1e58976e3c3d67ee2f37d8886596f51bd581 SHA1 90df1333e39bb6ac913faf02906273817ed0f0a2 SHA256 7f2962bd876c3b12578bab416e1c204fc10e2948a1b762758ee59badee121ca2 DIST atanks-4.6.tar.gz 3118071 RMD160 8e7b48d6e27f060d22a3a980ca633c810b1d9501 SHA1 3c02683fd9aef76c5976f7c8f919a59ff7604aae SHA256 230fd102ffca083e30187c9fc86c098446f532a8cca5c035f852f7da5eb81a77 +DIST atanks-4.7.tar.gz 3114429 RMD160 027546c34d4fc4bcfac3e116fcf12ec16ee44ed2 SHA1 bcb731c2c84d16efa1930fde8756b62c28993b24 SHA256 300be923cd6f4b7eb19c5f39db1dc001da2ee6c52f544c768e059dc5ad42a94d EBUILD atanks-4.6.ebuild 1072 RMD160 b9967fd7aed80b3a8d57a48092174dee55b7ea64 SHA1 1ea8b28f2aa08219aa0cd5511b2ff79770e67ec5 SHA256 443b8639b61e6af8c6014b439af478c1f5cbabf215ff92eb931f4297fc558cc2 -MISC ChangeLog 7855 RMD160 f20fc8c636f04672b634f0d54126d00893240246 SHA1 c707192620dcf3530e7cea7d4d42cf2c67c020ae SHA256 1ef85602d1214ec2865caa05982127ff287ae29d6d3c26803011445efc12b8a3 +EBUILD atanks-4.7.ebuild 1037 RMD160 8ab98c18266d07e5fcf1350e79a38d7217a3372d SHA1 ff039aab36591126d2e8af7406291494af425e3c SHA256 7cc76ed3d0d6a4fdb49510c9e2f699a21e4e49985210aabfc789f89756a1c85f +MISC ChangeLog 8006 RMD160 508abbe17085bd89b1e340f9d43615f20e4dfb41 SHA1 d4221715bd534fa65f5275883b9e75a758c6da00 SHA256 7287d539b11e702a63bfbddd918029d5f78c6b6861b662674fb3f5d75442a439 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-action/atanks/atanks-4.7.ebuild b/games-action/atanks/atanks-4.7.ebuild new file mode 100644 index 000000000000..b119239d45d8 --- /dev/null +++ b/games-action/atanks/atanks-4.7.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2010 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.1 2010/09/06 21:10:16 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[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.7-build.patch b/games-action/atanks/files/atanks-4.7-build.patch new file mode 100644 index 000000000000..167ad4d93101 --- /dev/null +++ b/games-action/atanks/files/atanks-4.7-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 += -g -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: |