summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-12-30 09:39:47 +0000
committerMike Frysinger <vapier@gentoo.org>2004-12-30 09:39:47 +0000
commit1e8d2694b7e8cb7ccdc904b117715e60febd6f30 (patch)
tree8a81dfc5d1b8fee4b3fcc5a750796a62b2489b4f /games-rpg
parentAdd new ebuild with version 0.5.0. (diff)
downloadhistorical-1e8d2694b7e8cb7ccdc904b117715e60febd6f30.tar.gz
historical-1e8d2694b7e8cb7ccdc904b117715e60febd6f30.tar.bz2
historical-1e8d2694b7e8cb7ccdc904b117715e60febd6f30.zip
Add localization support #61260 by dju.
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/nwn/ChangeLog5
-rw-r--r--games-rpg/nwn/Manifest12
-rw-r--r--games-rpg/nwn/files/digest-nwn-1.658
-rw-r--r--games-rpg/nwn/nwn-1.65.ebuild22
4 files changed, 34 insertions, 13 deletions
diff --git a/games-rpg/nwn/ChangeLog b/games-rpg/nwn/ChangeLog
index 56efe5f4fa3d..ffa7aa547bf0 100644
--- a/games-rpg/nwn/ChangeLog
+++ b/games-rpg/nwn/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-rpg/nwn
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/ChangeLog,v 1.18 2004/12/30 09:06:24 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/ChangeLog,v 1.19 2004/12/30 09:39:47 vapier Exp $
+
+ 30 Dec 2004; Mike Frysinger <vapier@gentoo.org> nwn-1.65.ebuild:
+ Add localization support #61260 by dju.
*nwn-1.65 (30 Dec 2004)
diff --git a/games-rpg/nwn/Manifest b/games-rpg/nwn/Manifest
index 1b20abda0e7e..2d64ffb6482e 100644
--- a/games-rpg/nwn/Manifest
+++ b/games-rpg/nwn/Manifest
@@ -1,17 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 92f0cef104b7eb685e99e56a3c12f0f1 ChangeLog 3905
+MD5 ebd8f6e2e6ffcba4410032d9a910c5ac ChangeLog 4015
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
-MD5 fe3ede691d74d6ac3a48616c79ccf50b nwn-1.65.ebuild 2953
+MD5 4272538ddc2c60d8ccf98e7a190f8f02 nwn-1.65.ebuild 3517
MD5 d05b3b73edd2b4beadbce95837e2ab20 files/nwn.png 4296
MD5 3eddaf5e88a92951762058756003c855 files/nwn 44
-MD5 3c3ee68ba5d420d9b4ad0ee3b03ef958 files/digest-nwn-1.65 286
+MD5 3952e8e76ebdde92fe0bf84facaaea38 files/digest-nwn-1.65 892
MD5 63ee32535dec4f3743d16f8fe03689c9 files/nwn-1.65-fixinstall 2300
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.10 (GNU/Linux)
-iD8DBQFB08UproRuSHgZdywRAqMfAKCQXbzxOm6F7ubwl8x9LHBZE2LWtACfe86N
-SKgiUx/fWRnQKVVm7CjzBIw=
-=te8I
+iD8DBQFB08z9roRuSHgZdywRAhvfAJ4v41MuBpZG7NyALRIdIJyRXQtpBgCfT9Mw
+bfnURYrmydtPm14OBPa1pbw=
+=nJXW
-----END PGP SIGNATURE-----
diff --git a/games-rpg/nwn/files/digest-nwn-1.65 b/games-rpg/nwn/files/digest-nwn-1.65
index c3408ca1a59e..9f3d2e136bce 100644
--- a/games-rpg/nwn/files/digest-nwn-1.65
+++ b/games-rpg/nwn/files/digest-nwn-1.65
@@ -1,4 +1,12 @@
MD5 73c6515fd6aa5f860802098a55000ae8 nwclient129.tar.gz 5504342
MD5 8222401efe25235b56d01b38ae880b5b nwresources129.tar.gz 1212356127
+MD5 957f1c9f398f08395328f62fa339ecfc linuxclientupdate1xxto165fre.tar.gz 79503385
+MD5 fec754c4608d468a73b394d66a32b6d5 NWNFrench1.65dialog.zip 6757948
+MD5 23ccde07c5adf2edee4a536b86e2923b linuxclientupdate1xxto165ger.tar.gz 80206618
+MD5 6843db125f8ade9a7127ee2cc8415719 NWNGerman1.65dialog.zip 7216305
+MD5 cf206a6c12fc2e7fcbe029c6b0e8dbee linuxclientupdate1xxto165ita.tar.gz 81141592
+MD5 1430da71d0956166ad97c11c17916961 NWNItalian1.65dialog.zip 6718387
+MD5 a693d5cc2447201a8d3320f057aa9328 linuxclientupdate1xxto165spa.tar.gz 81122706
+MD5 40d296f0f24c742c96735142f13065d6 NWNSpanish1.65dialog.zip 6692674
MD5 920e498efc0763b6a4f03d22ad689db7 linuxclientupdate1xxto165eng.tar.gz 80623755
MD5 7564b803aad04595058f3351e8606139 NWNEnglish1.65dialog.zip 3180152
diff --git a/games-rpg/nwn/nwn-1.65.ebuild b/games-rpg/nwn/nwn-1.65.ebuild
index 0ef646f65d0a..9c8ed5b19877 100644
--- a/games-rpg/nwn/nwn-1.65.ebuild
+++ b/games-rpg/nwn/nwn-1.65.ebuild
@@ -1,16 +1,24 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/nwn-1.65.ebuild,v 1.1 2004/12/30 09:06:24 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/nwn-1.65.ebuild,v 1.2 2004/12/30 09:39:47 vapier Exp $
inherit games
UPDATEVER=${PV//.}
+PATCH_URL_BASE=http://content.bioware.com/neverwinternights/linux/${UPDATEVER}/linuxclientupdate1xxto${UPDATEVER}
+DIALOG_URL_BASE=http://nwdownloads.bioware.com/neverwinternights/patch/dialog/
+
DESCRIPTION="Neverwinter Nights"
HOMEPAGE="http://nwn.bioware.com/downloads/linuxclient.html"
SRC_URI="http://nwdownloads.bioware.com/neverwinternights/linux/129/nwclient129.tar.gz
- nowin? ( http://www.tucows.iinet.net/pub/games/neverwinter/linux/nwresources129.tar.gz )
- http://content.bioware.com/neverwinternights/linux/${UPDATEVER}/linuxclientupdate1xxto${UPDATEVER}eng.tar.gz
- http://nwdownloads.bioware.com/neverwinternights/patch/dialog/english/NWNEnglish${PV}dialog.zip"
+ linguas_fr? ( ${PATCH_URL_BASE}fre.tar.gz ${DIALOG_URL_BASE}/french/NWNFrench${PV}dialog.zip )
+ linguas_de? ( ${PATCH_URL_BASE}ger.tar.gz ${DIALOG_URL_BASE}/german/NWNGerman${PV}dialog.zip )
+ linguas_it? ( ${PATCH_URL_BASE}ita.tar.gz ${DIALOG_URL_BASE}/italian/NWNItalian${PV}dialog.zip )
+ linguas_es? ( ${PATCH_URL_BASE}spa.tar.gz ${DIALOG_URL_BASE}/spanish/NWNSpanish${PV}dialog.zip )
+ !linguas_de? ( !linguas_fr? ( !linguas_es? ( !linguas_it? (
+ ${PATCH_URL_BASE}eng.tar.gz ${DIALOG_URL_BASE}/english/NWNEnglish${PV}dialog.zip
+ ) ) ) )
+ nowin? ( http://www.tucows.iinet.net/pub/games/neverwinter/linux/nwresources129.tar.gz )"
LICENSE="NWN-EULA"
SLOT="0"
@@ -33,8 +41,10 @@ src_unpack() {
use nowin && unpack nwresources129.tar.gz
cd ${S}
rm -rf override/*
- unpack linuxclientupdate1xxto${UPDATEVER}eng.tar.gz
- unpack NWNEnglish${PV}dialog.zip
+ # the following is so ugly, please pretend it doesnt exist
+ local Aarray=(${A})
+ unpack ${Aarray[1]}
+ unpack ${Aarray[2]}
}
src_install() {