From 3cd8f8b5672fab54133562e1a4ddf18a7845ef7a Mon Sep 17 00:00:00 2001 From: Alfredo Tupone Date: Thu, 19 Apr 2007 06:15:55 +0000 Subject: [PATCH] New package. Request bug #128405 by Cristiano Chiucchiolo Package-Manager: portage-2.1.2.2 --- games-rpg/galaxymage/ChangeLog | 10 ++++ games-rpg/galaxymage/Manifest | 30 ++++++++++++ .../galaxymage/files/digest-galaxymage-0.3.0 | 3 ++ .../files/galaxymage-0.3.0-gentoo.patch | 43 +++++++++++++++++ games-rpg/galaxymage/galaxymage-0.3.0.ebuild | 47 +++++++++++++++++++ games-rpg/galaxymage/metadata.xml | 19 ++++++++ 6 files changed, 152 insertions(+) create mode 100644 games-rpg/galaxymage/ChangeLog create mode 100644 games-rpg/galaxymage/Manifest create mode 100644 games-rpg/galaxymage/files/digest-galaxymage-0.3.0 create mode 100644 games-rpg/galaxymage/files/galaxymage-0.3.0-gentoo.patch create mode 100644 games-rpg/galaxymage/galaxymage-0.3.0.ebuild create mode 100644 games-rpg/galaxymage/metadata.xml diff --git a/games-rpg/galaxymage/ChangeLog b/games-rpg/galaxymage/ChangeLog new file mode 100644 index 000000000000..e066a1251571 --- /dev/null +++ b/games-rpg/galaxymage/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for games-rpg/galaxymage +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/galaxymage/ChangeLog,v 1.1 2007/04/19 06:15:55 tupone Exp $ + +*galaxymage-0.3.0 (19 Apr 2007) + + 19 Apr 2007; +files/galaxymage-0.3.0-gentoo.patch, + +metadata.xml, +galaxymage-0.3.0.ebuild: + New package. Request bug #128405 by Cristiano Chiucchiolo + diff --git a/games-rpg/galaxymage/Manifest b/games-rpg/galaxymage/Manifest new file mode 100644 index 000000000000..2707d8f5d0a1 --- /dev/null +++ b/games-rpg/galaxymage/Manifest @@ -0,0 +1,30 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX galaxymage-0.3.0-gentoo.patch 1670 RMD160 84329f044c38608d56eeac450fb9a2ac95d96bbc SHA1 eb7e4301d94cdceef7413cf6f2bc928c2d755e2a SHA256 d899a9707d63025f6b2c88cfb0b3229959f2359af0a9bc770b3b8299f7bf6069 +MD5 000aee7109c61181f4548d9566f360a4 files/galaxymage-0.3.0-gentoo.patch 1670 +RMD160 84329f044c38608d56eeac450fb9a2ac95d96bbc files/galaxymage-0.3.0-gentoo.patch 1670 +SHA256 d899a9707d63025f6b2c88cfb0b3229959f2359af0a9bc770b3b8299f7bf6069 files/galaxymage-0.3.0-gentoo.patch 1670 +DIST galaxymage-0.3.0.tar.gz 9645868 RMD160 0c73029a6c4a51cb45924ea0674b77431e6512ec SHA1 7d742ddc155928040ecd51da0edf20845f01395f SHA256 33461a813729a484be2bed3a7d8684c2f984b2be2c2f4efeed1f5b5a33616aaf +EBUILD galaxymage-0.3.0.ebuild 1305 RMD160 3d691c29f24f94eb9e5f278c14d97e484c7fec07 SHA1 8908dbb34fd3fb8d3a1e3fef3431628297ed9b45 SHA256 69d59bc49b24ef54538e1244a86ee244198824b70fcc192ba59aff455ebce066 +MD5 52e11e8ab02c2becd09230ae13b60aaa galaxymage-0.3.0.ebuild 1305 +RMD160 3d691c29f24f94eb9e5f278c14d97e484c7fec07 galaxymage-0.3.0.ebuild 1305 +SHA256 69d59bc49b24ef54538e1244a86ee244198824b70fcc192ba59aff455ebce066 galaxymage-0.3.0.ebuild 1305 +MISC ChangeLog 424 RMD160 c162fbf474201059ac5817b76c4aba49c2422c57 SHA1 26efbb7ef0cb424e7bdd8ac027ab160854abb2de SHA256 3bb67602b9a58fe7992d565ab10c64f89b9a8f9d1da277165e118cdfc4931308 +MD5 344e2a091e9807d9eb8bb79059372606 ChangeLog 424 +RMD160 c162fbf474201059ac5817b76c4aba49c2422c57 ChangeLog 424 +SHA256 3bb67602b9a58fe7992d565ab10c64f89b9a8f9d1da277165e118cdfc4931308 ChangeLog 424 +MISC metadata.xml 939 RMD160 4a5efd4f4648594db1006bc58ec738774a7e0e9b SHA1 8bbc660568698fc403cbdfdf5e77e2ce0a804645 SHA256 48bb8e37f22af562d628dc3f7e773995b82869874f458f94f3b1437d3abeccfa +MD5 5ea3633249eceab188edb1f28c2edb32 metadata.xml 939 +RMD160 4a5efd4f4648594db1006bc58ec738774a7e0e9b metadata.xml 939 +SHA256 48bb8e37f22af562d628dc3f7e773995b82869874f458f94f3b1437d3abeccfa metadata.xml 939 +MD5 471df8e2ae9e454caec3a5ce8487cf5b files/digest-galaxymage-0.3.0 253 +RMD160 18b4a9f466b371b91870bc28c299a69b91c0644b files/digest-galaxymage-0.3.0 253 +SHA256 f83d41d4e4a6bb8be5866795577a7fa6f727667411bd921dcfbb3d475dbe230b files/digest-galaxymage-0.3.0 253 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6 (GNU/Linux) + +iD8DBQFGJwkoRmMZkarFlIwRAhbMAJ0XUf7nBFI34FB5CMjL6RrtPfxrBQCgostH +csrd7QjQYDnGv94ncCavzkE= +=vxuu +-----END PGP SIGNATURE----- diff --git a/games-rpg/galaxymage/files/digest-galaxymage-0.3.0 b/games-rpg/galaxymage/files/digest-galaxymage-0.3.0 new file mode 100644 index 000000000000..6b527264be19 --- /dev/null +++ b/games-rpg/galaxymage/files/digest-galaxymage-0.3.0 @@ -0,0 +1,3 @@ +MD5 c65ac4e255043d699e98a355fb595a20 galaxymage-0.3.0.tar.gz 9645868 +RMD160 0c73029a6c4a51cb45924ea0674b77431e6512ec galaxymage-0.3.0.tar.gz 9645868 +SHA256 33461a813729a484be2bed3a7d8684c2f984b2be2c2f4efeed1f5b5a33616aaf galaxymage-0.3.0.tar.gz 9645868 diff --git a/games-rpg/galaxymage/files/galaxymage-0.3.0-gentoo.patch b/games-rpg/galaxymage/files/galaxymage-0.3.0-gentoo.patch new file mode 100644 index 000000000000..4317101eee4b --- /dev/null +++ b/games-rpg/galaxymage/files/galaxymage-0.3.0-gentoo.patch @@ -0,0 +1,43 @@ +--- GalaxyMage.py.old 2007-04-18 23:16:18.000000000 +0200 ++++ GalaxyMage.py 2007-04-18 23:16:50.000000000 +0200 +@@ -23,7 +23,7 @@ + import os, sys + if os.path.isdir(sys.path[0]): + os.chdir(sys.path[0]) +-sys.path.append("src") ++sys.path.append("@GENTOO_LIBDIR@") + + import Main + +--- src/Translate.py.old 2007-04-18 23:53:01.000000000 +0200 ++++ src/Translate.py 2007-04-18 23:54:14.000000000 +0200 +@@ -22,7 +22,7 @@ + class Translate: + + def getLanguageDict(self,lang): +- return gettext.translation('GalaxyMage',os.path.join(os.getcwd(),'locale'), languages=[lang]) ++ return gettext.translation('GalaxyMage','@GENTOO_DATADIR@/locale', languages=[lang]) + + def __init__(self): + #fill our language dictionnary with each language +--- src/Resources.py.old 2007-04-19 07:42:54.000000000 +0200 ++++ src/Resources.py 2007-04-19 07:43:43.000000000 +0200 +@@ -37,15 +37,15 @@ + sep = r'\\' + base = re.sub(r'/', sep, base) + name = re.sub(r'/', sep, name) +- result = os.path.join("data", campaign, base, name) ++ result = os.path.join("@GENTOO_DATADIR@", campaign, base, name) + if os.path.exists(result): + logger.debug('found ' + result) + return result +- result = os.path.join("data", "extra", base, name) ++ result = os.path.join("@GENTOO_DATADIR@", "extra", base, name) + if os.path.exists(result): + logger.debug('found ' + result) + return result +- result = os.path.join("data", "core", base, name) ++ result = os.path.join("@GENTOO_DATADIR@", "core", base, name) + if os.path.exists(result): + logger.debug('found ' + result) + return result diff --git a/games-rpg/galaxymage/galaxymage-0.3.0.ebuild b/games-rpg/galaxymage/galaxymage-0.3.0.ebuild new file mode 100644 index 000000000000..c348b1a4d341 --- /dev/null +++ b/games-rpg/galaxymage/galaxymage-0.3.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/galaxymage/galaxymage-0.3.0.ebuild,v 1.1 2007/04/19 06:15:55 tupone Exp $ + +inherit eutils games + +DESCRIPTION="Tactical/strategic RPG" +HOMEPAGE="http://www.galaxymage.org" +SRC_URI="http://download.gna.org/tactics/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="psyco" + +DEPEND="dev-python/twisted + >=dev-python/pyopengl-2.0.1 + dev-python/numeric + dev-python/pygame + psyco? ( dev-python/psyco )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}"-gentoo.patch + sed -i -e "s:@GENTOO_LIBDIR@:$(games_get_libdir)/${PN}:" \ + GalaxyMage.py || die "sed for setting source dir failed" + sed -i -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ + src/Translate.py \ + src/Resources.py || die "sed for setting data dir failed" +} + +src_install() { + dogamesbin GalaxyMage.py + + insinto $(games_get_libdir)/${PN} + doins -r src/* || die "Install source failed" + + insinto "${GAMES_DATADIR}/${PN}" + doins -r locale data/* || die "Install data failed" + + dodoc CREDITS.txt README.txt || die "Install doc failed" + dohtml -r doc || die "Install of html doc failed" + + make_desktop_entry "${GAMES_BINDIR}/GalaxyMage.py" GalaxyMage + prepgamesdirs +} diff --git a/games-rpg/galaxymage/metadata.xml b/games-rpg/galaxymage/metadata.xml new file mode 100644 index 000000000000..8280d561e0cc --- /dev/null +++ b/games-rpg/galaxymage/metadata.xml @@ -0,0 +1,19 @@ + + + +games + +GalaxyMage is a free, open-source tactical/strategic RPG for Windows, Linux, and +Macintosh, with online multiplayer support. + +A tactical RPG is a type of role-playing game where turn-based battles are +fought on a 3D map. Examples of commercial tactical RPGs include Final Fantasy +Tactics, Vandal Hearts, and Disgaea: Hour of Darkness. + +Our goal is to make GalaxyMage a game that is relatively simple to pick up and +play -- you can dive right in without getting bogged down in the details of the +battle mechanics -- but to also allow for a lot of character development and +customization. We also intend to create a unique, advanced AI system that allows +enemy units to work together as a team and employ a wide variety of strategies. + + -- 2.26.2