diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2011-07-16 04:42:16 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2011-07-16 04:42:16 +0000 |
commit | c26da23ce38ad3bb65084cdb4c46ca5757a4d968 (patch) | |
tree | 725016100fb244b95df396fab77424667713c2fc /games-action | |
parent | Version bumped. The ebuild was submitted by TANABE Ken-ichi. (diff) | |
download | historical-c26da23ce38ad3bb65084cdb4c46ca5757a4d968.tar.gz historical-c26da23ce38ad3bb65084cdb4c46ca5757a4d968.tar.bz2 historical-c26da23ce38ad3bb65084cdb4c46ca5757a4d968.zip |
version bump
Package-Manager: portage-2.1.10.3/cvs/Linux i686
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/atanks/ChangeLog | 8 | ||||
-rw-r--r-- | games-action/atanks/Manifest | 15 | ||||
-rw-r--r-- | games-action/atanks/atanks-5.1.ebuild | 41 | ||||
-rw-r--r-- | games-action/atanks/files/atanks-5.1-build.patch | 134 |
4 files changed, 186 insertions, 12 deletions
diff --git a/games-action/atanks/ChangeLog b/games-action/atanks/ChangeLog index cc959fc99d06..10bb40b8262f 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.64 2011/06/21 15:49:03 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.65 2011/07/16 04:42:16 mr_bones_ Exp $ + +*atanks-5.1 (16 Jul 2011) + + 16 Jul 2011; Michael Sterrett <mr_bones_@gentoo.org> +atanks-5.1.ebuild, + +files/atanks-5.1-build.patch: + version bump 21 Jun 2011; Tupone Alfredo <tupone@gentoo.org> files/atanks-5.0-build.patch: Fix underlink. Bug #372067 by Diego Elio Pettenò diff --git a/games-action/atanks/Manifest b/games-action/atanks/Manifest index 9f35f7101866..09925eb9380c 100644 --- a/games-action/atanks/Manifest +++ b/games-action/atanks/Manifest @@ -1,21 +1,14 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX atanks-4.7-build.patch 5474 RMD160 98003db7b9c630f5dfe0de5f2e5ca3ee6d200857 SHA1 4371c6d18b8109a0e727690a2e1e975c93dc002f SHA256 f4dc5b4d891a771362fff418e156c46bd9aee9cd69f0774f5ff58b7e33ec41ef AUX atanks-4.9-build.patch 5474 RMD160 98003db7b9c630f5dfe0de5f2e5ca3ee6d200857 SHA1 4371c6d18b8109a0e727690a2e1e975c93dc002f SHA256 f4dc5b4d891a771362fff418e156c46bd9aee9cd69f0774f5ff58b7e33ec41ef AUX atanks-5.0-build.patch 5488 RMD160 ee88b181f3ff368774dddd6d2ef25524b4d65d07 SHA1 1afcbbc5b2f4c7c3e605fb85a82a8b188744726f SHA256 bf1c6c9bb844b0d6b4fe5497a9de1d50e3b8cc0257f05ee2701adbb9f6ba1441 +AUX atanks-5.1-build.patch 5488 RMD160 ee88b181f3ff368774dddd6d2ef25524b4d65d07 SHA1 1afcbbc5b2f4c7c3e605fb85a82a8b188744726f SHA256 bf1c6c9bb844b0d6b4fe5497a9de1d50e3b8cc0257f05ee2701adbb9f6ba1441 DIST atanks-4.7.tar.gz 3114429 RMD160 027546c34d4fc4bcfac3e116fcf12ec16ee44ed2 SHA1 bcb731c2c84d16efa1930fde8756b62c28993b24 SHA256 300be923cd6f4b7eb19c5f39db1dc001da2ee6c52f544c768e059dc5ad42a94d DIST atanks-4.9.tar.gz 3125561 RMD160 352eed25e91c00f3ab43d75c50a54f3763c53c83 SHA1 a5d375476a6d079b5a403164aca7718010dd2832 SHA256 6d67aa0562d36fcd40a19b6463c433cecf16518c30d268222362922911e4b604 DIST atanks-5.0.tar.gz 3125626 RMD160 e27dcac9fc6e33d0bced984498543a0651bbcb98 SHA1 d56d35277f4d12370cb2657a94e374714b8030c4 SHA256 d299e0c962748f5631ee154900e02c08fc15fdb6981c3ced6a7175d4262b4dc3 +DIST atanks-5.1.tar.gz 3125673 RMD160 542cc069a850eb2a28cc6df320da62c9d6461f94 SHA1 b5c692839015992e55bb9c9eb94d75739dcb4081 SHA256 39788e7139d553c628e2cba0c81b7e24659fb640b9bbf041619d4f94e0c7286c EBUILD atanks-4.7.ebuild 1037 RMD160 aff127aaa6498fe0783dd66ae168556e6c3be3eb SHA1 dc3e9ddcae9549d375c0cd7efec052704cf00750 SHA256 b760343a02111a645f95294ce7c465c3ca3c1d0c457a7010a8679d73cbad894a EBUILD atanks-4.9.ebuild 1040 RMD160 44df8c678d5664b59274bea575c9976effdeba60 SHA1 a1bd81bdba60bd6afa6d2b35e84cfc7b79c708b1 SHA256 3d895b250aa8c7234c78c40d5c4c05dd2d388c197f6d18d8bc4bf9f5dee871e0 EBUILD atanks-5.0.ebuild 1040 RMD160 abb4b8dfd70e7b179c8074f3d13d1d2d027663d0 SHA1 07495d3ac56c59c1622b6af9302e43f3f4fc3077 SHA256 afb6c7280daa99ad19daa499237d53f09e37663cff115143eeb7bcb2186bd48d -MISC ChangeLog 9024 RMD160 8166a58fd9fb40630283f2321ec309707b3ea452 SHA1 cb3110903a3b3ed3689d704d450a977da3c3e375 SHA256 61c60c18e5a0278bb7f9171482c234bcbb44013ef64437170df736d5c81bf081 +EBUILD atanks-5.1.ebuild 1040 RMD160 f1839cf94acb1067b8a7eef4d4aee456e0ec3cba SHA1 f8fc8c4c985c94b0a1d380bc7d124a5965e6fcc3 SHA256 0c95fceb7f01e2fa3e0bd3aa034bd9c8660686023ef9332d4dc99556d29f7f91 +MISC ChangeLog 9178 RMD160 ffecc7bcf7523716698d57d7934656f464e6028d SHA1 ec9d35b4fbdc08f29ab5fbe5395c1d0b298fd495 SHA256 4cbfd5a2adbf789d65e4694ef7d04570ced61ecacc6761d61ffa229361de0579 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) - -iEYEARECAAYFAk4AvXsACgkQIY77eQFFFC0WWACfSxv89geRBrIYLSeKsMSsCNPD -sxYAoK5ypoPAe1O67EKerF4jhvvLfEDf -=8QNr ------END PGP SIGNATURE----- diff --git a/games-action/atanks/atanks-5.1.ebuild b/games-action/atanks/atanks-5.1.ebuild new file mode 100644 index 000000000000..2d8f46bf573f --- /dev/null +++ b/games-action/atanks/atanks-5.1.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-5.1.ebuild,v 1.1 2011/07/16 04:42: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-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-5.1-build.patch b/games-action/atanks/files/atanks-5.1-build.patch new file mode 100644 index 000000000000..4385a272dafd --- /dev/null +++ b/games-action/atanks/files/atanks-5.1-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` -lm -lpthread + +-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: |