summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2005-09-13 15:33:45 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2005-09-13 15:33:45 +0000
commite11b84bcac697f4bcd920a15fa16e98d32d7fde8 (patch)
tree6a736ef73871bf2b3e9b4a6c15e126065de9225c /games-rpg
parentMark 1.0.5 stable on alpha (diff)
downloadhistorical-e11b84bcac697f4bcd920a15fa16e98d32d7fde8.tar.gz
historical-e11b84bcac697f4bcd920a15fa16e98d32d7fde8.tar.bz2
historical-e11b84bcac697f4bcd920a15fa16e98d32d7fde8.zip
Version bump to 1.66 and added a couple more mirrors for nwresources129.tar.gz. Closing bug #96640.
Package-Manager: portage-1.589-cvs
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/nwn/ChangeLog8
-rw-r--r--games-rpg/nwn/Manifest8
-rw-r--r--games-rpg/nwn/files/digest-nwn-1.6612
-rw-r--r--games-rpg/nwn/nwn-1.66.ebuild117
4 files changed, 141 insertions, 4 deletions
diff --git a/games-rpg/nwn/ChangeLog b/games-rpg/nwn/ChangeLog
index c9f9a12323b6..4b0c7a397781 100644
--- a/games-rpg/nwn/ChangeLog
+++ b/games-rpg/nwn/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-rpg/nwn
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/ChangeLog,v 1.20 2005/01/03 02:48:48 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/ChangeLog,v 1.21 2005/09/13 15:33:45 wolf31o2 Exp $
+
+*nwn-1.66 (13 Sep 2005)
+
+ 13 Sep 2005; Chris Gianelloni <wolf31o2@gentoo.org> +nwn-1.66.ebuild:
+ Version bump to 1.66 and added a couple more mirrors for
+ nwresources129.tar.gz. Closing bug #96640.
*nwn-1.65-r1 (02 Jan 2005)
diff --git a/games-rpg/nwn/Manifest b/games-rpg/nwn/Manifest
index 5d523580467f..a2368c97ef79 100644
--- a/games-rpg/nwn/Manifest
+++ b/games-rpg/nwn/Manifest
@@ -1,7 +1,9 @@
-MD5 9448780a4ace687e8f47351c2bd8aea0 ChangeLog 4210
+MD5 432b16534a71de5550f5b9f38da64a4d ChangeLog 4414
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 95cadadca52aea3ba5de9ad21d426086 nwn-1.66.ebuild 4327
MD5 1f282fd28e66f543249345f0b877db63 nwn-1.65-r1.ebuild 3663
-MD5 d05b3b73edd2b4beadbce95837e2ab20 files/nwn.png 4296
MD5 3eddaf5e88a92951762058756003c855 files/nwn 44
-MD5 3952e8e76ebdde92fe0bf84facaaea38 files/digest-nwn-1.65-r1 892
+MD5 d05b3b73edd2b4beadbce95837e2ab20 files/nwn.png 4296
MD5 63ee32535dec4f3743d16f8fe03689c9 files/nwn-1.65-fixinstall 2300
+MD5 3952e8e76ebdde92fe0bf84facaaea38 files/digest-nwn-1.65-r1 892
+MD5 b98ecb03e60a53772f77163020c19436 files/digest-nwn-1.66 885
diff --git a/games-rpg/nwn/files/digest-nwn-1.66 b/games-rpg/nwn/files/digest-nwn-1.66
new file mode 100644
index 000000000000..0cdb645fd946
--- /dev/null
+++ b/games-rpg/nwn/files/digest-nwn-1.66
@@ -0,0 +1,12 @@
+MD5 73c6515fd6aa5f860802098a55000ae8 nwclient129.tar.gz 5504342
+MD5 682de9174ed425d842fcfa0e1d33c175 French_linuxclient166_orig.tar.gz 95815139
+MD5 98d3d4afa02be4a76cc664372aa3576d NWNFrench1.66dialog.zip 6758854
+MD5 fd196316842c0ba0e622174a16f16d3b German_linuxclient166_orig.tar.gz 96518347
+MD5 2f12c9aac4588a72e2528a0ab536dc77 NWNGerman1.66dialog.zip 7217241
+MD5 a8ea537b8ff909d1e473dfd26440507f Italian_linuxclient166_orig.tar.gz 97447989
+MD5 73c9ddb239ddf21684088b536a670aae NWNItalian1.66dialog.zip 6719283
+MD5 506c6b358266ada6dfeb741c1f0f3e2e Spanish_linuxclient166_orig.tar.gz 97416220
+MD5 0cfe48c49ecbb52263853ebe4f8c2854 NWNSpanish1.66dialog.zip 6693679
+MD5 bf313bdffef3440011888a1b8386ef88 English_linuxclient166_orig.tar.gz 95293070
+MD5 f4dafd3788aae35c8295c691b4e40db4 NWNEnglish1.66dialog.zip 3180592
+MD5 8222401efe25235b56d01b38ae880b5b nwresources129.tar.gz 1212356127
diff --git a/games-rpg/nwn/nwn-1.66.ebuild b/games-rpg/nwn/nwn-1.66.ebuild
new file mode 100644
index 000000000000..71b59d09b752
--- /dev/null
+++ b/games-rpg/nwn/nwn-1.66.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/nwn-1.66.ebuild,v 1.1 2005/09/13 15:33:45 wolf31o2 Exp $
+
+inherit eutils games
+
+UPDATEVER=${PV//.}
+PATCH_URL_BASE=http://content.bioware.com/neverwinternights/linux/${UPDATEVER}/
+DIALOG_URL_BASE=http://nwdownloads.bioware.com/neverwinternights/patch/dialog/
+PACKAGE_NAME=_linuxclient${UPDATEVER}_orig.tar.gz
+
+DESCRIPTION="Neverwinter Nights"
+HOMEPAGE="http://nwn.bioware.com/downloads/linuxclient.html"
+SRC_URI="http://nwdownloads.bioware.com/neverwinternights/linux/129/nwclient129.tar.gz
+ linguas_fr? ( ${PATCH_URL_BASE}French${PACKAGE_NAME} ${DIALOG_URL_BASE}/french/NWNFrench${PV}dialog.zip ftp://jeuxlinux.com/bioware/Neverwinter_Nights/nwfrench129.tar.gz )
+ linguas_de? ( ${PATCH_URL_BASE}German${PACKAGE_NAME} ${DIALOG_URL_BASE}/german/NWNGerman${PV}dialog.zip http://xfer06.fileplanet.com/%5E389272944/082003/nwgerman129.tar.gz )
+ linguas_it? ( ${PATCH_URL_BASE}Italian${PACKAGE_NAME} ${DIALOG_URL_BASE}/italian/NWNItalian${PV}dialog.zip http://nwdownloads.bioware.com/neverwinternights/linux/129/nwitalian129.tar.gz )
+ linguas_es? ( ${PATCH_URL_BASE}Spanish${PACKAGE_NAME} ${DIALOG_URL_BASE}/spanish/NWNSpanish${PV}dialog.zip http://nwdownloads.bioware.com/neverwinternights/linux/129/nwspanish129.tar.gz )
+ !linguas_de? ( !linguas_fr? ( !linguas_es? ( !linguas_it? (
+ ${PATCH_URL_BASE}English${PACKAGE_NAME} ${DIALOG_URL_BASE}/english/NWNEnglish${PV}dialog.zip
+ ) ) ) )
+ nowin? ( http://bsd.mikulas.com/nwresources129.tar.gz
+ http://163.22.12.40/FreeBSD/distfiles/nwresources129.tar.gz
+ ftp://jeuxlinux.com/bioware/Neverwinter_Nights/nwresources129.tar.gz )"
+
+LICENSE="NWN-EULA"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nowin" # nocd"
+RESTRICT="nostrip nomirror"
+
+RDEPEND="virtual/x11
+ virtual/opengl
+ >=media-libs/libsdl-1.2.5
+ amd64? ( app-emulation/emul-linux-x86-baselibs )"
+
+S="${WORKDIR}/nwn"
+dir="${GAMES_PREFIX_OPT}/${PN}"
+
+pkg_setup() {
+# use nocd && \
+# cdrom_get_cds \
+# Data_Shared.zip \
+# disk2.zip \
+# disk3.zip \
+# disk4.zip
+# einfo "To download nwgerman129.tar.gz you need a gamespy account"
+ games_pkg_setup
+}
+
+src_unpack() {
+ mkdir ${S}
+ cd ${S}
+ unpack nwclient129.tar.gz
+ cd ${WORKDIR}
+ use nowin && unpack nwresources129.tar.gz
+ cd ${S}
+ rm -rf override/*
+ # the following is so ugly, please pretend it doesnt exist
+ declare -a Aarray=(${A})
+ use nowin && if [ "${#Aarray[*]}" == "5" ]; then
+ unpack ${Aarray[3]}
+ fi
+ unpack ${Aarray[1]}
+ unpack ${Aarray[2]}
+}
+
+src_install() {
+ dodir ${GAMES_PREFIX_OPT}
+ sed \
+ -e "s:GENTOO_USER:${GAMES_USER}:" \
+ -e "s:GENTOO_GROUP:${GAMES_GROUP}:" \
+ -e "s:GENTOO_DIR:${GAMES_PREFIX_OPT}:" \
+ ${FILESDIR}/${P}-fixinstall > ${WORKDIR}/nwn/fixinstall
+ mv ${S} ${D}/${GAMES_PREFIX_OPT}
+ doicon ${FILESDIR}/nwn.png
+ #dogamesbin ${FILESDIR}/nwn
+ #dosed "s:GENTOO_DIR:${GAMES_PREFIX_OPT}:" ${GAMES_BINDIR}/nwn
+ games_make_wrapper nwn ./nwn ${dir}
+ make_desktop_entry nwn "Neverwinter Nights" nwn.png
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ if ! use nowin ; then
+ einfo "The NWN linux client is now installed."
+ einfo "Proceed with the following steps in order to get it working:"
+ einfo "1) Copy the following directories/files from your installed and"
+ einfo " patched (${PV}) Neverwinter Nights to ${GAMES_PREFIX_OPT}/nwn:"
+ einfo " ambient/"
+ einfo " data/ (all files except for patch.bif)"
+ einfo " dmvault/"
+ einfo " hak/"
+ einfo " localvault/"
+ einfo " modules/"
+ einfo " music/"
+ einfo " override/"
+ einfo " portraits/"
+ einfo " saves/"
+ einfo " servervault/"
+ einfo " texturepacks/"
+ einfo " chitin.key"
+ einfo "2) Chown and chmod the files with the following commands"
+ einfo " chown -R ${GAMES_USER}:${GAMES_GROUP} ${GAMES_PREFIX_OPT}/nwn"
+ einfo " chmod -R g+rwX ${GAMES_PREFIX_OPT}/nwn"
+ einfo "3) Run ${GAMES_PREFIX_OPT}/nwn/fixinstall as root"
+ einfo "4) Make sure that you are in group ${GAMES_GROUP}"
+ einfo "5) Use ${GAMES_PREFIX_OPT}/nwn/nwn to run the game"
+ echo
+ einfo "Or try emerging with USE=nowin"
+ else
+ einfo "The NWN linux client is now installed."
+ einfo "Proceed with the following step in order to get it working:"
+ einfo "Run ${GAMES_PREFIX_OPT}/nwn/fixinstall as root"
+ fi
+}