diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2006-10-30 20:01:32 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2006-10-30 20:01:32 +0000 |
commit | ef2323712fb68bc2e7b588b48eea4a60f220e6a8 (patch) | |
tree | e17e6dd5642bf74775b9c4f84a48818c2eec674b /games-strategy | |
parent | Stable on ppc wrt bug 153036 (diff) | |
download | gentoo-2-ef2323712fb68bc2e7b588b48eea4a60f220e6a8.tar.gz gentoo-2-ef2323712fb68bc2e7b588b48eea4a60f220e6a8.tar.bz2 gentoo-2-ef2323712fb68bc2e7b588b48eea4a60f220e6a8.zip |
New ebuild. Bug #87565
(Portage version: 2.1.1)
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/galaxyhack/ChangeLog | 10 | ||||
-rw-r--r-- | games-strategy/galaxyhack/Manifest | 24 | ||||
-rw-r--r-- | games-strategy/galaxyhack/files/digest-galaxyhack-1.69 | 3 | ||||
-rw-r--r-- | games-strategy/galaxyhack/files/galaxyhack-1.69-destdirs.patch | 24 | ||||
-rw-r--r-- | games-strategy/galaxyhack/files/galaxyhack.png | bin | 0 -> 819 bytes | |||
-rw-r--r-- | games-strategy/galaxyhack/galaxyhack-1.69.ebuild | 50 | ||||
-rw-r--r-- | games-strategy/galaxyhack/metadata.xml | 24 |
7 files changed, 135 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..8df97732b021 --- /dev/null +++ b/games-strategy/galaxyhack/Manifest @@ -0,0 +1,24 @@ +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 1420 RMD160 96b5022e71502ba211390d8f9cfa55eae0f70bf8 SHA1 35f9ce30fd013786def0c3896c9942c008fcb0de SHA256 3edd48f0c2def1ae0d4b7dd584868713b583e8e0ec60187f765bcb0bf70404a2 +MD5 5642dd289d9f794d755ca3d535ed01b6 galaxyhack-1.69.ebuild 1420 +RMD160 96b5022e71502ba211390d8f9cfa55eae0f70bf8 galaxyhack-1.69.ebuild 1420 +SHA256 3edd48f0c2def1ae0d4b7dd584868713b583e8e0ec60187f765bcb0bf70404a2 galaxyhack-1.69.ebuild 1420 +MISC ChangeLog 344 RMD160 669dad0868a2a67135e1727b8f5b2b0607b8ad1e SHA1 21e6e977709a89702b5965676b2e9740be14047d SHA256 0e8886ff4147684e047cb664efdcadaa77aae8eb1aecc8103a9a93380c5ee039 +MD5 65ab458509e7bbd7277f9dbb46c091f6 ChangeLog 344 +RMD160 669dad0868a2a67135e1727b8f5b2b0607b8ad1e ChangeLog 344 +SHA256 0e8886ff4147684e047cb664efdcadaa77aae8eb1aecc8103a9a93380c5ee039 ChangeLog 344 +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 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 Binary files differnew file mode 100644 index 000000000000..e96b3924b133 --- /dev/null +++ b/games-strategy/galaxyhack/files/galaxyhack.png 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> + |