summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2006-10-30 20:01:32 +0000
committerAlfredo Tupone <tupone@gentoo.org>2006-10-30 20:01:32 +0000
commite5d53a2d69bb2cf7b3dfcd0d86387da5a88bf67a (patch)
treedb30929d848fa6b162e224cc635308a608bcea49 /games-strategy
parentStable on ppc wrt bug 153036 (diff)
downloadhistorical-e5d53a2d69bb2cf7b3dfcd0d86387da5a88bf67a.tar.gz
historical-e5d53a2d69bb2cf7b3dfcd0d86387da5a88bf67a.tar.bz2
historical-e5d53a2d69bb2cf7b3dfcd0d86387da5a88bf67a.zip
New ebuild. Bug #87565
Package-Manager: portage-2.1.1
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/galaxyhack/ChangeLog10
-rw-r--r--games-strategy/galaxyhack/Manifest34
-rw-r--r--games-strategy/galaxyhack/files/digest-galaxyhack-1.693
-rw-r--r--games-strategy/galaxyhack/files/galaxyhack-1.69-destdirs.patch24
-rw-r--r--games-strategy/galaxyhack/files/galaxyhack.pngbin0 -> 819 bytes
-rw-r--r--games-strategy/galaxyhack/galaxyhack-1.69.ebuild50
-rw-r--r--games-strategy/galaxyhack/metadata.xml24
7 files changed, 145 insertions, 0 deletions
diff --git a/games-strategy/galaxyhack/ChangeLog b/games-strategy/galaxyhack/ChangeLog
new file mode 100644
index 000000000000..53973f84d58f
--- /dev/null
+++ b/games-strategy/galaxyhack/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-strategy/galaxyhack
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/galaxyhack/ChangeLog,v 1.1 2006/10/30 20:01:32 tupone Exp $
+
+*galaxyhack-1.69 (30 Oct 2006)
+
+ 30 Oct 2006; <tupone@gentoo.org> +files/galaxyhack-1.69-destdirs.patch,
+ +files/galaxyhack.png, +metadata.xml, +galaxyhack-1.69.ebuild:
+ New ebuild. Bug #87565 by Christian Mandery
+
diff --git a/games-strategy/galaxyhack/Manifest b/games-strategy/galaxyhack/Manifest
new file mode 100644
index 000000000000..933d209b4c29
--- /dev/null
+++ b/games-strategy/galaxyhack/Manifest
@@ -0,0 +1,34 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX galaxyhack-1.69-destdirs.patch 767 RMD160 417696eaf75f10ebb0bf58e317bee730b877541b SHA1 8889d58bd6611b92b40b2f3627aad3a42e10b215 SHA256 6a469f6a3c1cfb556483f42d4d3aad90fb2ea99c4df5edaaf134c229e7d38f05
+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.png 819 RMD160 8cf27749f4672158d66a39c760bdef21306ecc23 SHA1 a01db93f2b3c3c32cfd447e26b5b4f389efe05fd SHA256 248d32aeaa03e4183cf0333bd4da1d32ea11883fcb77efe6ebc6e2be201e9903
+MD5 3a021fd03b792f9d2ef04715a7b83211 files/galaxyhack.png 819
+RMD160 8cf27749f4672158d66a39c760bdef21306ecc23 files/galaxyhack.png 819
+SHA256 248d32aeaa03e4183cf0333bd4da1d32ea11883fcb77efe6ebc6e2be201e9903 files/galaxyhack.png 819
+DIST galaxyhack-1.69.tar.bz2 9947643 RMD160 b764150ab2e8e86d59b4fc599372244330bc7cfa SHA1 67a8791a145fc64316f761f406d5604820d387e4 SHA256 58598b5a4aa43ae401e95f60ba1e1b3e1fabef73a23b556f0c52b2af958d1d17
+EBUILD galaxyhack-1.69.ebuild 1530 RMD160 cd52d1dd28ca7f77c358c038fdc7af09e17af3cb SHA1 42faad2a2e8475e9fdd1310fb8d48f4c2a0fae3c SHA256 a98bb93a92e5f4d11d7039407dc9cfd553cb3dc7318671904d8fe891f3104af3
+MD5 d18ff8bcc355c41a5a307e1004e97d5e galaxyhack-1.69.ebuild 1530
+RMD160 cd52d1dd28ca7f77c358c038fdc7af09e17af3cb galaxyhack-1.69.ebuild 1530
+SHA256 a98bb93a92e5f4d11d7039407dc9cfd553cb3dc7318671904d8fe891f3104af3 galaxyhack-1.69.ebuild 1530
+MISC ChangeLog 441 RMD160 04b6fd45f3cf706394d6a9fdf4afcf4afb93df0e SHA1 1a803bcfcd42233a4ebb662268d20975ca8c1729 SHA256 a45ffbc33f577c4bed0f525df44742ff5de0562ade04a4a5fb90c1cebad54300
+MD5 78d45e625531ab2cf6259c9091be4038 ChangeLog 441
+RMD160 04b6fd45f3cf706394d6a9fdf4afcf4afb93df0e ChangeLog 441
+SHA256 a45ffbc33f577c4bed0f525df44742ff5de0562ade04a4a5fb90c1cebad54300 ChangeLog 441
+MISC metadata.xml 1219 RMD160 9729c4a7b77e7770ede304ceee8f35219cf65e43 SHA1 9d6adbeb36977f9db30cad16e6c11452e2f0df73 SHA256 5aa476d553287da24dc9ae4e584317256c8273ff835a0bc8ebdcba798c6327e4
+MD5 46efbd6923af895fe1ffb24fef2d9cc6 metadata.xml 1219
+RMD160 9729c4a7b77e7770ede304ceee8f35219cf65e43 metadata.xml 1219
+SHA256 5aa476d553287da24dc9ae4e584317256c8273ff835a0bc8ebdcba798c6327e4 metadata.xml 1219
+MD5 6737709eb7892377cc539f5017273bfd files/digest-galaxyhack-1.69 253
+RMD160 9938e32ef459d7db69be83ead9c31ea70be21a2d files/digest-galaxyhack-1.69 253
+SHA256 b8f863838415ea4ac230cde682c8622477c760bd3bbd0c0b90d814cf52c4482e files/digest-galaxyhack-1.69 253
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFRloobfN2jvlVAhwRAg0nAJ4zkrXtplhWoDO+lAbQjODmaZwuUwCfQHzb
+t84MGcCHIMpLf9puiDA8vFk=
+=H5Db
+-----END PGP SIGNATURE-----
diff --git a/games-strategy/galaxyhack/files/digest-galaxyhack-1.69 b/games-strategy/galaxyhack/files/digest-galaxyhack-1.69
new file mode 100644
index 000000000000..7b53b3218f8a
--- /dev/null
+++ b/games-strategy/galaxyhack/files/digest-galaxyhack-1.69
@@ -0,0 +1,3 @@
+MD5 51482e724455a9a7fc693bb157960a40 galaxyhack-1.69.tar.bz2 9947643
+RMD160 b764150ab2e8e86d59b4fc599372244330bc7cfa galaxyhack-1.69.tar.bz2 9947643
+SHA256 58598b5a4aa43ae401e95f60ba1e1b3e1fabef73a23b556f0c52b2af958d1d17 galaxyhack-1.69.tar.bz2 9947643
diff --git a/games-strategy/galaxyhack/files/galaxyhack-1.69-destdirs.patch b/games-strategy/galaxyhack/files/galaxyhack-1.69-destdirs.patch
new file mode 100644
index 000000000000..c20529e410fa
--- /dev/null
+++ b/games-strategy/galaxyhack/files/galaxyhack-1.69-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/files/galaxyhack.png b/games-strategy/galaxyhack/files/galaxyhack.png
new file mode 100644
index 000000000000..e96b3924b133
--- /dev/null
+++ b/games-strategy/galaxyhack/files/galaxyhack.png
Binary files differ
diff --git a/games-strategy/galaxyhack/galaxyhack-1.69.ebuild b/games-strategy/galaxyhack/galaxyhack-1.69.ebuild
new file mode 100644
index 000000000000..91b25114f1b2
--- /dev/null
+++ b/games-strategy/galaxyhack/galaxyhack-1.69.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/galaxyhack/galaxyhack-1.69.ebuild,v 1.1 2006/10/30 20:01:32 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"
+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"
+
+S="${WORKDIR}/${PN}/src"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ edos2unix Makefile
+ epatch "${FILESDIR}"/${P}-destdirs.patch
+ sed -i -e "s:@GAMES_DATADIR@:${GAMES_DATADIR}:" \
+ Main.cpp
+ sed -i -e "/Base data path/s:pwd:${GAMES_DATADIR}/${PN}:" \
+ ../settings.dat
+}
+
+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 || die "dodoc failed"
+ doicon "${FILESDIR}/${PN}.png" || die "doicon failed"
+ make_desktop_entry "${PN}" GalaxyHack "${PN}.png"
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ einfo "Settings will default to those found in ${GAMES_DATADIR}/galaxyhack/settings.dat."
+ einfo "Per user settings can be specified by creating \$HOME/.galaxyhack/settings.dat"
+ einfo "Additional user submitted fleets can be downloaded from http://galaxyhack.sourceforge.net/viewfleets.php"
+}
diff --git a/games-strategy/galaxyhack/metadata.xml b/games-strategy/galaxyhack/metadata.xml
new file mode 100644
index 000000000000..3dc0fcf8e885
--- /dev/null
+++ b/games-strategy/galaxyhack/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games@gentoo.org</herd>
+<longdescription lang="en">
+GalaxyHack allows you to design a fleet of spaceships which can then be tested
+in AI script based battles against fleets designed by other players. Though
+battles take place in real time, the strategy comes before hand, both in
+writing short AI scripts in a simple scripting language, and also in the set up
+and selection of your fleet. You don't actually have any control over your
+units at all mid-battle, but rather use the time to see where the set up of
+your fleets is working, where your fleets' weaknesses lie and changes are
+needed, and perhaps also to learn from the strategy of your opponent.
+
+The game revolves around very large capital ships, from which smaller ships are
+launched, but which are not designed for attacking themselves, and which cannot
+be moved mid-battle. To win a battle you must destroy of all of your opponent's
+capital ships before they destroy yours.
+
+There can be hundreds of units in any one battle, but there is no harvesting,
+resource management or base building.
+</longdescription>
+</pkgmetadata>
+