diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2007-04-19 06:15:55 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2007-04-19 06:15:55 +0000 |
commit | bf22082f12c72b8f2cfd70744aa739bd44216659 (patch) | |
tree | 1872c0c7ea153f0e39f4c0ade9baadee24f25798 /games-rpg | |
parent | We really need >=gtk-2.10, so raising dependency (diff) | |
download | gentoo-2-bf22082f12c72b8f2cfd70744aa739bd44216659.tar.gz gentoo-2-bf22082f12c72b8f2cfd70744aa739bd44216659.tar.bz2 gentoo-2-bf22082f12c72b8f2cfd70744aa739bd44216659.zip |
New package. Request bug #128405 by Cristiano Chiucchiolo
(Portage version: 2.1.2.2)
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/galaxymage/ChangeLog | 10 | ||||
-rw-r--r-- | games-rpg/galaxymage/Manifest | 20 | ||||
-rw-r--r-- | games-rpg/galaxymage/files/digest-galaxymage-0.3.0 | 3 | ||||
-rw-r--r-- | games-rpg/galaxymage/files/galaxymage-0.3.0-gentoo.patch | 43 | ||||
-rw-r--r-- | games-rpg/galaxymage/galaxymage-0.3.0.ebuild | 47 | ||||
-rw-r--r-- | games-rpg/galaxymage/metadata.xml | 19 |
6 files changed, 142 insertions, 0 deletions
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; <atupone@gentoo.org> +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..e0f7c998fe9a --- /dev/null +++ b/games-rpg/galaxymage/Manifest @@ -0,0 +1,20 @@ +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 1199 RMD160 b0f0a264abc980e775044652ad53536d536ed7de SHA1 c77e38e41baa97cbd45970c2a53dccb0fb867cb8 SHA256 ebff54ffe538a10e2991322abfc22c8fed202de8e872b24600926a4341da1e0f +MD5 9fb3afab064ee84f1d9a35fa112aca24 galaxymage-0.3.0.ebuild 1199 +RMD160 b0f0a264abc980e775044652ad53536d536ed7de galaxymage-0.3.0.ebuild 1199 +SHA256 ebff54ffe538a10e2991322abfc22c8fed202de8e872b24600926a4341da1e0f galaxymage-0.3.0.ebuild 1199 +MISC ChangeLog 332 RMD160 941af1716f78bc887d24a893bbfb163bf162f512 SHA1 3d3fedcab4368c9f65f5e588d44978b76ebe78a5 SHA256 c374ee4a2121701b359864179f09af521d5d1e7cb199235aa604ae106e6035df +MD5 1645f76428245c02f3b95b3044239155 ChangeLog 332 +RMD160 941af1716f78bc887d24a893bbfb163bf162f512 ChangeLog 332 +SHA256 c374ee4a2121701b359864179f09af521d5d1e7cb199235aa604ae106e6035df ChangeLog 332 +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 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 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +<longdescription lang="en"> +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. +</longdescription> +</pkgmetadata> |