summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2007-11-10 00:47:18 +0000
committerAlfredo Tupone <tupone@gentoo.org>2007-11-10 00:47:18 +0000
commitc47a90aff588b536d8f04ee6f7c7ea51fca98757 (patch)
tree8c9ad2e57770be810f9bebc0e7468a1757ef4206 /games-strategy
parentVersion bump, bug #194687. No more ecj forcing, javac seems fine even on amd6... (diff)
downloadhistorical-c47a90aff588b536d8f04ee6f7c7ea51fca98757.tar.gz
historical-c47a90aff588b536d8f04ee6f7c7ea51fca98757.tar.bz2
historical-c47a90aff588b536d8f04ee6f7c7ea51fca98757.zip
Version bump to 1.74
Package-Manager: portage-2.1.3.16
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/galaxyhack/ChangeLog9
-rw-r--r--games-strategy/galaxyhack/Manifest32
-rw-r--r--games-strategy/galaxyhack/files/digest-galaxyhack-1.746
-rw-r--r--games-strategy/galaxyhack/files/galaxyhack-1.74-boost.patch11
-rw-r--r--games-strategy/galaxyhack/files/galaxyhack-1.74-destdirs.patch24
-rw-r--r--games-strategy/galaxyhack/galaxyhack-1.74.ebuild64
6 files changed, 137 insertions, 9 deletions
diff --git a/games-strategy/galaxyhack/ChangeLog b/games-strategy/galaxyhack/ChangeLog
index 342ad4e506c0..439e403b9c1b 100644
--- a/games-strategy/galaxyhack/ChangeLog
+++ b/games-strategy/galaxyhack/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for games-strategy/galaxyhack
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/galaxyhack/ChangeLog,v 1.4 2007/06/13 23:30:54 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/galaxyhack/ChangeLog,v 1.5 2007/11/10 00:47:17 tupone Exp $
+
+*galaxyhack-1.74 (10 Nov 2007)
+
+ 10 Nov 2007; Tupone Alfredo <tupone@gentoo.org>
+ +files/galaxyhack-1.74-boost.patch, +files/galaxyhack-1.74-destdirs.patch,
+ +galaxyhack-1.74.ebuild:
+ Version bump
13 Jun 2007; Tristan Heaven <nyhm@gentoo.org>
+files/galaxyhack-1.69-boost.patch, galaxyhack-1.69.ebuild:
diff --git a/games-strategy/galaxyhack/Manifest b/games-strategy/galaxyhack/Manifest
index 05d60952f937..c8261524c0c9 100644
--- a/games-strategy/galaxyhack/Manifest
+++ b/games-strategy/galaxyhack/Manifest
@@ -9,16 +9,29 @@ AUX galaxyhack-1.69-destdirs.patch 767 RMD160 417696eaf75f10ebb0bf58e317bee730b8
MD5 ee674048618af52cd0a528e15b8c0da2 files/galaxyhack-1.69-destdirs.patch 767
RMD160 417696eaf75f10ebb0bf58e317bee730b877541b files/galaxyhack-1.69-destdirs.patch 767
SHA256 6a469f6a3c1cfb556483f42d4d3aad90fb2ea99c4df5edaaf134c229e7d38f05 files/galaxyhack-1.69-destdirs.patch 767
+AUX galaxyhack-1.74-boost.patch 245 RMD160 07182eeefde50834a051bd19a98c45885503226d SHA1 aa702e4fd2e7c4f3e50bfa364fbc5e8f50a52558 SHA256 1aeb8d201d8d76fe9953afa34e93e82cd31c62234a5fd33bb6b776f3e7980722
+MD5 f621e5da4ef4e3e46dfcfc0367f2887f files/galaxyhack-1.74-boost.patch 245
+RMD160 07182eeefde50834a051bd19a98c45885503226d files/galaxyhack-1.74-boost.patch 245
+SHA256 1aeb8d201d8d76fe9953afa34e93e82cd31c62234a5fd33bb6b776f3e7980722 files/galaxyhack-1.74-boost.patch 245
+AUX galaxyhack-1.74-destdirs.patch 767 RMD160 417696eaf75f10ebb0bf58e317bee730b877541b SHA1 8889d58bd6611b92b40b2f3627aad3a42e10b215 SHA256 6a469f6a3c1cfb556483f42d4d3aad90fb2ea99c4df5edaaf134c229e7d38f05
+MD5 ee674048618af52cd0a528e15b8c0da2 files/galaxyhack-1.74-destdirs.patch 767
+RMD160 417696eaf75f10ebb0bf58e317bee730b877541b files/galaxyhack-1.74-destdirs.patch 767
+SHA256 6a469f6a3c1cfb556483f42d4d3aad90fb2ea99c4df5edaaf134c229e7d38f05 files/galaxyhack-1.74-destdirs.patch 767
DIST galaxyhack-1.69.tar.bz2 9947643 RMD160 b764150ab2e8e86d59b4fc599372244330bc7cfa SHA1 67a8791a145fc64316f761f406d5604820d387e4 SHA256 58598b5a4aa43ae401e95f60ba1e1b3e1fabef73a23b556f0c52b2af958d1d17
+DIST galaxyhack-1.74.tar.bz2 9948336 RMD160 b84de9a93709093d572732018f30cafeb3c7439c SHA1 0e5e691662bfe5b52689efda883b94813897a85c SHA256 ae6529008fe5be76607ce78833ef3b5d55e10f60a998b5747255b0854037880a
DIST galaxyhack.png 819 RMD160 8cf27749f4672158d66a39c760bdef21306ecc23 SHA1 a01db93f2b3c3c32cfd447e26b5b4f389efe05fd SHA256 248d32aeaa03e4183cf0333bd4da1d32ea11883fcb77efe6ebc6e2be201e9903
EBUILD galaxyhack-1.69.ebuild 1732 RMD160 39754ab36788b64e75957a3030e9c2b80047acd3 SHA1 d2ae190734974fe48f6467a1ffe73e5def54959b SHA256 14dfb4c2b25cbe4a283276441759a2833ca512cbde11afab4c3143a70e1edbc1
MD5 acf440321a1eab2dd6e19bf65bc9afbc galaxyhack-1.69.ebuild 1732
RMD160 39754ab36788b64e75957a3030e9c2b80047acd3 galaxyhack-1.69.ebuild 1732
SHA256 14dfb4c2b25cbe4a283276441759a2833ca512cbde11afab4c3143a70e1edbc1 galaxyhack-1.69.ebuild 1732
-MISC ChangeLog 834 RMD160 72d7abdc74b512ae6703308ec3bf333983750e5f SHA1 a1a674823ef04157b38334c262af75165ac5d669 SHA256 eb42a86bb72699b855a1be22249c87437ae0ca2c1ddbe23d39a00dc0cc9e9479
-MD5 bb611b12ca4c651c8b1c85756e1b1b0e ChangeLog 834
-RMD160 72d7abdc74b512ae6703308ec3bf333983750e5f ChangeLog 834
-SHA256 eb42a86bb72699b855a1be22249c87437ae0ca2c1ddbe23d39a00dc0cc9e9479 ChangeLog 834
+EBUILD galaxyhack-1.74.ebuild 1741 RMD160 b5ae24a1a26b9b6ecf62a743c67b367a8d95b8f0 SHA1 9f403a1b72de79557740e9e0fc3511a9c9db7d53 SHA256 5e01e85598f3dfa6b7fcb2464d7c14bef9ab6dd186fa21cda2d5b794b42682c7
+MD5 28081974737ab97b2672daeb8cacdc5a galaxyhack-1.74.ebuild 1741
+RMD160 b5ae24a1a26b9b6ecf62a743c67b367a8d95b8f0 galaxyhack-1.74.ebuild 1741
+SHA256 5e01e85598f3dfa6b7fcb2464d7c14bef9ab6dd186fa21cda2d5b794b42682c7 galaxyhack-1.74.ebuild 1741
+MISC ChangeLog 1038 RMD160 33ef26e0d9e4009f52fbabe2f560ff12b44e3077 SHA1 ef8555939bd568eea9c22b3935c5d14b08141502 SHA256 156ac3850921f225bce48cd342ee3c16c7ecc61bbb0e84d8e9c55580d28d53b6
+MD5 92e132009de7798497d65ad74f8a39f7 ChangeLog 1038
+RMD160 33ef26e0d9e4009f52fbabe2f560ff12b44e3077 ChangeLog 1038
+SHA256 156ac3850921f225bce48cd342ee3c16c7ecc61bbb0e84d8e9c55580d28d53b6 ChangeLog 1038
MISC metadata.xml 1207 RMD160 42f594c141624b20faf04966bda60ef38998871a SHA1 a0e134c3a46fa92c1f076814b5e57da2c1d8dd7f SHA256 b49a896d99275f98ee92e6b225f573551e4eb1af5af57b88ebf2d8d5fa63c295
MD5 36c67505007774705f0da7f14b101294 metadata.xml 1207
RMD160 42f594c141624b20faf04966bda60ef38998871a metadata.xml 1207
@@ -26,10 +39,13 @@ SHA256 b49a896d99275f98ee92e6b225f573551e4eb1af5af57b88ebf2d8d5fa63c295 metadata
MD5 0f00eef729cf52c1cf7f8a9d75fc9745 files/digest-galaxyhack-1.69 467
RMD160 8089364ba053d7e9087c134db2bf9d6472707298 files/digest-galaxyhack-1.69 467
SHA256 7ca6bb8f584ef770a63f86dbfc1d0e9099dfb94785891cb9f8eb82d7316c4a03 files/digest-galaxyhack-1.69 467
+MD5 29f5fdca5a5f588d363fb4fcc0419d01 files/digest-galaxyhack-1.74 467
+RMD160 eaafa421b893dd46ff53d1a1c42e236e801767b9 files/digest-galaxyhack-1.74 467
+SHA256 ca8717e81a68101570a3b33e3ddb00f9069904ee195c4657f8aaaf79217aabc6 files/digest-galaxyhack-1.74 467
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.4 (GNU/Linux)
+Version: GnuPG v1.4.7 (GNU/Linux)
-iD8DBQFGcH42dz7hIScOURERAtbbAKCn1+vPEUGVOWKSWZqvKmDau183rACgta6t
-2b1bKate59CWiRZ9YO5cHEE=
-=Q+kM
+iD8DBQFHNP+c8qKy9+b2Hl0RAusMAKDhhcm70MIwVZu+rhmpyTU30B6v4QCfSgQE
+OKKXLrftq2g5T3YM1khaAgE=
+=f/Xn
-----END PGP SIGNATURE-----
diff --git a/games-strategy/galaxyhack/files/digest-galaxyhack-1.74 b/games-strategy/galaxyhack/files/digest-galaxyhack-1.74
new file mode 100644
index 000000000000..463354de97f9
--- /dev/null
+++ b/games-strategy/galaxyhack/files/digest-galaxyhack-1.74
@@ -0,0 +1,6 @@
+MD5 4eee814b0679fdaad1f47de58d38ab67 galaxyhack-1.74.tar.bz2 9948336
+RMD160 b84de9a93709093d572732018f30cafeb3c7439c galaxyhack-1.74.tar.bz2 9948336
+SHA256 ae6529008fe5be76607ce78833ef3b5d55e10f60a998b5747255b0854037880a galaxyhack-1.74.tar.bz2 9948336
+MD5 3a021fd03b792f9d2ef04715a7b83211 galaxyhack.png 819
+RMD160 8cf27749f4672158d66a39c760bdef21306ecc23 galaxyhack.png 819
+SHA256 248d32aeaa03e4183cf0333bd4da1d32ea11883fcb77efe6ebc6e2be201e9903 galaxyhack.png 819
diff --git a/games-strategy/galaxyhack/files/galaxyhack-1.74-boost.patch b/games-strategy/galaxyhack/files/galaxyhack-1.74-boost.patch
new file mode 100644
index 000000000000..c7fd49135dee
--- /dev/null
+++ b/games-strategy/galaxyhack/files/galaxyhack-1.74-boost.patch
@@ -0,0 +1,11 @@
+--- src/SetupBattle.cpp
++++ src/SetupBattle.cpp
+@@ -18,7 +18,7 @@
+ #include "PreBattle.h"
+
+ #include <sstream>
+-#include <boost/filesystem/exception.hpp>
++#include <boost/filesystem.hpp>
+
+ using std::stringstream;
+ using std::getline;
diff --git a/games-strategy/galaxyhack/files/galaxyhack-1.74-destdirs.patch b/games-strategy/galaxyhack/files/galaxyhack-1.74-destdirs.patch
new file mode 100644
index 000000000000..c20529e410fa
--- /dev/null
+++ b/games-strategy/galaxyhack/files/galaxyhack-1.74-destdirs.patch
@@ -0,0 +1,24 @@
+--- Makefile.old 2006-07-28 00:02:20.000000000 +0200
++++ Makefile 2006-07-28 00:02:59.000000000 +0200
+@@ -6,8 +6,8 @@
+ # James Gregory and Everton da Silva Marques <evertonsm@yahoo.com.br>
+ #
+
+-INSTALL_DIR=/usr/local/share
+-INSTALL_BIN_DIR=/usr/local/bin
++INSTALL_DIR="${GAMES_DATADIR}"
++INSTALL_BIN_DIR="${GAMES_BINDIR}"
+
+ CXX = g++
+ CXXFLAGS = $(shell sdl-config --cflags) -O3
+--- Main.cpp.old 2006-07-28 00:04:46.000000000 +0200
++++ Main.cpp 2006-07-28 00:08:28.000000000 +0200
+@@ -184,7 +184,7 @@
+ #ifndef WIN32
+ string settingsPath = userHomePath + "settings.dat";
+ if (!DoesFileExist(settingsPath))
+- settingsPath = "settings.dat";
++ settingsPath = "@GAMES_DATADIR@/galaxyhack/settings.dat";
+ #else
+ string settingsPath = "settings.dat";
+ #endif
diff --git a/games-strategy/galaxyhack/galaxyhack-1.74.ebuild b/games-strategy/galaxyhack/galaxyhack-1.74.ebuild
new file mode 100644
index 000000000000..22281dc5fb35
--- /dev/null
+++ b/games-strategy/galaxyhack/galaxyhack-1.74.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/galaxyhack/galaxyhack-1.74.ebuild,v 1.1 2007/11/10 00:47:17 tupone Exp $
+
+inherit eutils games
+
+DESCRIPTION="Multiplayer AI script based strategy game."
+HOMEPAGE="http://galaxyhack.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
+ mirror://gentoo/${PN}.png"
+
+LICENSE="GPL-2 galaxyhack"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="media-libs/libsdl
+ media-libs/sdl-image
+ media-libs/sdl-mixer
+ >=dev-libs/boost-1.34"
+
+S=${WORKDIR}/${PN}/src
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ edos2unix Makefile
+ epatch \
+ "${FILESDIR}"/${P}-destdirs.patch \
+ "${FILESDIR}"/${P}-boost.patch
+ sed -i "s:@GAMES_DATADIR@:${GAMES_DATADIR}:" \
+ Main.cpp \
+ || die "sed Main.cpp failed"
+ sed -i "/Base data path/s:pwd:${GAMES_DATADIR}/${PN}:" \
+ ../settings.dat \
+ || die "sed settings.dat failed"
+ sed -i \
+ -e "/^CXXFLAGS/s:-O3:${CXXFLAGS}:" \
+ -e '/^LDFLAGS/s:=:+=:' \
+ Makefile \
+ || die "sed Makefile failed"
+}
+
+src_install() {
+ dogamesbin "${PN}" || die "dogamesbin failed"
+ cd ..
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r fleets gamedata graphics music standardpictures \
+ settings.dat || die "doins failed"
+ dodoc readme.txt
+ doicon "${DISTDIR}"/${PN}.png
+ make_desktop_entry ${PN} GalaxyHack
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ elog "Settings will default to those found in"
+ elog "${GAMES_DATADIR}/galaxyhack/settings.dat"
+ elog "Per user settings can be specified by creating"
+ elog "~/.galaxyhack/settings.dat"
+ elog "Additional user submitted fleets can be downloaded from"
+ elog "http://galaxyhack.sourceforge.net/viewfleets.php"
+}