summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-03-25 07:09:52 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-03-25 07:09:52 +0000
commitbf1bfebbafed334da524a1d0a06bfa9ab0d477e2 (patch)
tree3f80520ac07bfe3555096d5ae5dc836c1931b320 /games-action
parentgrrr at uberlord for not checking with me before doing a useless rev bump (diff)
downloadhistorical-bf1bfebbafed334da524a1d0a06bfa9ab0d477e2.tar.gz
historical-bf1bfebbafed334da524a1d0a06bfa9ab0d477e2.tar.bz2
historical-bf1bfebbafed334da524a1d0a06bfa9ab0d477e2.zip
add patch from Paul Bredbury to add language support (bug #171336)
Package-Manager: portage-2.1.2.2
Diffstat (limited to 'games-action')
-rw-r--r--games-action/astromenace-bin/ChangeLog6
-rw-r--r--games-action/astromenace-bin/Manifest34
-rw-r--r--games-action/astromenace-bin/astromenace-bin-1.0.ebuild24
-rw-r--r--games-action/astromenace-bin/files/digest-astromenace-bin-1.06
4 files changed, 44 insertions, 26 deletions
diff --git a/games-action/astromenace-bin/ChangeLog b/games-action/astromenace-bin/ChangeLog
index 143a41427933..f2322e1af920 100644
--- a/games-action/astromenace-bin/ChangeLog
+++ b/games-action/astromenace-bin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-action/astromenace-bin
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/astromenace-bin/ChangeLog,v 1.2 2007/02/27 15:43:49 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/astromenace-bin/ChangeLog,v 1.3 2007/03/25 07:09:52 mr_bones_ Exp $
+
+ 25 Mar 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ astromenace-bin-1.0.ebuild:
+ add patch from Paul Bredbury to add language support (bug #171336)
27 Feb 2007; Piotr Jaroszyński <peper@gentoo.org>
astromenace-bin-1.0.ebuild:
diff --git a/games-action/astromenace-bin/Manifest b/games-action/astromenace-bin/Manifest
index 32960b9e8b3a..ae45111b588c 100644
--- a/games-action/astromenace-bin/Manifest
+++ b/games-action/astromenace-bin/Manifest
@@ -1,26 +1,18 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST amenace10.tar.bz2 39180592 RMD160 665bc4a31f92e9f26bd2dce901cc9216b3693fe3 SHA1 66d6a149e5cb31a891931ba9dc098bdc2452755b SHA256 750f8edefaa0069feee54a2569cec81b08a2140ed6c5328e94ac5bd6aba109ea
-EBUILD astromenace-bin-1.0.ebuild 1544 RMD160 57e9987489cc7333960bfbec1b98393aa3df321d SHA1 c2eea02328610094687ed4cf965277343f524afd SHA256 03555a97e294f35a7cdcd227b23b7e2fac8924be27339fee75d0fe41d8f2f6f1
-MD5 81b79f56d10a5be07fbb9269ca3b8418 astromenace-bin-1.0.ebuild 1544
-RMD160 57e9987489cc7333960bfbec1b98393aa3df321d astromenace-bin-1.0.ebuild 1544
-SHA256 03555a97e294f35a7cdcd227b23b7e2fac8924be27339fee75d0fe41d8f2f6f1 astromenace-bin-1.0.ebuild 1544
-MISC ChangeLog 568 RMD160 d9795edc1a11e99b1e26effa2243feeac07f149e SHA1 7f60e2aefaf457e3e81498a91bbeb1d6eb695a9a SHA256 c3ea4678078f641b95f729843b46192939ac39110e4e69d205546dbf0540c9d5
-MD5 0deb8543d6ec8860b69df35f614adbce ChangeLog 568
-RMD160 d9795edc1a11e99b1e26effa2243feeac07f149e ChangeLog 568
-SHA256 c3ea4678078f641b95f729843b46192939ac39110e4e69d205546dbf0540c9d5 ChangeLog 568
+DIST amenace10_de.tar.bz2 40485289 RMD160 4dfe98f850b38f58230751b1a726142bd3effd19 SHA1 bf6006e9d112ca761ec633820d235f64b3cb5c9a SHA256 c094b434a25ffdef5966d8b1e256c32364895562f5d17a8d02ddd8f47e55202b
+DIST amenace10_ru.tar.bz2 41193279 RMD160 15e665cafa51acdc722d24cd5e941ce124c71172 SHA1 0ab373d2a969bc169dba96592e900b4b328f4f98 SHA256 206362d481f0b0588b775e4d66856544cdeb6b5049c7f04cdab1df67be0ac1d5
+EBUILD astromenace-bin-1.0.ebuild 1941 RMD160 8868804a03cbb41e511d1bc7108515e6ac34491a SHA1 ebd8ff4bd10e242d9298cd2800859e8514f9f690 SHA256 00ee513a1d77fbe7f7800735c61ba37212ad338c8cf99a59d329ea909568cad3
+MD5 819d3eef6e3e32a976cb245cc44aa057 astromenace-bin-1.0.ebuild 1941
+RMD160 8868804a03cbb41e511d1bc7108515e6ac34491a astromenace-bin-1.0.ebuild 1941
+SHA256 00ee513a1d77fbe7f7800735c61ba37212ad338c8cf99a59d329ea909568cad3 astromenace-bin-1.0.ebuild 1941
+MISC ChangeLog 727 RMD160 cf7472d69b50421b6d9a518cbf0203604d78fa1e SHA1 d7251d410cb1c93b4b42699ca0d1fd8db8266e94 SHA256 d4c47c2eddde470310b7a48183fd0442e9ac240aaea0f7ed1737cea24ab492aa
+MD5 34631442004a72d1402b267b57d3652c ChangeLog 727
+RMD160 cf7472d69b50421b6d9a518cbf0203604d78fa1e ChangeLog 727
+SHA256 d4c47c2eddde470310b7a48183fd0442e9ac240aaea0f7ed1737cea24ab492aa ChangeLog 727
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158
-MD5 ca80ca16669ec9d5d1851d0a84ab83a8 files/digest-astromenace-bin-1.0 238
-RMD160 c88bedd9a61355a6060db832927f1db6e0c4e6f6 files/digest-astromenace-bin-1.0 238
-SHA256 1ed0841a17003204e2bae81e04d29e7d707c41cab3a4eb919d2cc9251169dafb files/digest-astromenace-bin-1.0 238
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
-
-iD8DBQFF5FHBppoStNGKGywRAieeAJ4vy2MBH14ccw3+GqI1DR/DyYPSEACdED5R
-Cw7lLpJVTWnSkO5RU+i/0gw=
-=XBwa
------END PGP SIGNATURE-----
+MD5 ffd902511848376b5e4cb2a0d4b5e4fb files/digest-astromenace-bin-1.0 732
+RMD160 bb7655ef7d1e06d04d91c3e7396e15ca56afbb0f files/digest-astromenace-bin-1.0 732
+SHA256 e95e6d349842aab585b81c4de2acb3c9bd3358ab9f40cb218d5346651a65e317 files/digest-astromenace-bin-1.0 732
diff --git a/games-action/astromenace-bin/astromenace-bin-1.0.ebuild b/games-action/astromenace-bin/astromenace-bin-1.0.ebuild
index e79308db0f35..faf7fd2579c6 100644
--- a/games-action/astromenace-bin/astromenace-bin-1.0.ebuild
+++ b/games-action/astromenace-bin/astromenace-bin-1.0.ebuild
@@ -1,20 +1,23 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/astromenace-bin/astromenace-bin-1.0.ebuild,v 1.2 2007/02/27 15:43:49 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/astromenace-bin/astromenace-bin-1.0.ebuild,v 1.3 2007/03/25 07:09:52 mr_bones_ Exp $
inherit eutils versionator games
MY_PN=${PN%-bin}
MY_PV=$(delete_all_version_separators)
+DL="http://www.viewizard.com/download"
DESCRIPTION="Modern 3D space shooter with spaceship upgrade possibilities"
HOMEPAGE="http://www.viewizard.com/astromenace/index_linux.php"
-SRC_URI="http://www.viewizard.com/download/amenace${MY_PV}.tar.bz2"
+SRC_URI="linguas_de? ( ${DL}/amenace${MY_PV}_de.tar.bz2 )
+ !linguas_de? ( linguas_ru? ( ${DL}/amenace${MY_PV}_ru.tar.bz2 ) )
+ !linguas_de? ( !linguas_ru? ( ${DL}/amenace${MY_PV}.tar.bz2 ) )"
LICENSE="astromenace"
-KEYWORDS="~amd64 x86"
-IUSE=""
SLOT="0"
+KEYWORDS="~amd64 x86"
+IUSE="linguas_de linguas_ru"
RESTRICT="strip"
RDEPEND="
@@ -37,6 +40,19 @@ RDEPEND="
S=${WORKDIR}/${MY_PN}
+src_unpack() {
+ unpack ${A}
+
+ # Standardize directory name
+ if [[ ! -d ${MY_PN} ]] ; then
+ if [[ -d ${MY_PN}_de ]] ; then
+ mv ${MY_PN}_de ${MY_PN} || die
+ else
+ mv ${MY_PN}_ru ${MY_PN} || die
+ fi
+ fi
+}
+
src_install() {
exeinto "${GAMES_PREFIX_OPT}/${MY_PN}"
if use amd64; then
diff --git a/games-action/astromenace-bin/files/digest-astromenace-bin-1.0 b/games-action/astromenace-bin/files/digest-astromenace-bin-1.0
index 71012ceabf43..51433f4ccbfa 100644
--- a/games-action/astromenace-bin/files/digest-astromenace-bin-1.0
+++ b/games-action/astromenace-bin/files/digest-astromenace-bin-1.0
@@ -1,3 +1,9 @@
MD5 2e3821f132a1cf4ada49569535b3c56b amenace10.tar.bz2 39180592
RMD160 665bc4a31f92e9f26bd2dce901cc9216b3693fe3 amenace10.tar.bz2 39180592
SHA256 750f8edefaa0069feee54a2569cec81b08a2140ed6c5328e94ac5bd6aba109ea amenace10.tar.bz2 39180592
+MD5 d3183cd71d3ff5845201e03c77e1d1b0 amenace10_de.tar.bz2 40485289
+RMD160 4dfe98f850b38f58230751b1a726142bd3effd19 amenace10_de.tar.bz2 40485289
+SHA256 c094b434a25ffdef5966d8b1e256c32364895562f5d17a8d02ddd8f47e55202b amenace10_de.tar.bz2 40485289
+MD5 db1d32009413ae9c28b28fb28bf094e5 amenace10_ru.tar.bz2 41193279
+RMD160 15e665cafa51acdc722d24cd5e941ce124c71172 amenace10_ru.tar.bz2 41193279
+SHA256 206362d481f0b0588b775e4d66856544cdeb6b5049c7f04cdab1df67be0ac1d5 amenace10_ru.tar.bz2 41193279