summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2007-08-27 21:19:43 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2007-08-27 21:19:43 +0000
commit924a7587e9f640c74f7978b8e9bd966e7c9e02d6 (patch)
treeeb3b7d2352dfac7027c5f1322aa40c9b476a6819 /games-rpg/nwn-data
parentStable on amd64/x86 for bug #190150. (diff)
downloadgentoo-2-924a7587e9f640c74f7978b8e9bd966e7c9e02d6.tar.gz
gentoo-2-924a7587e9f640c74f7978b8e9bd966e7c9e02d6.tar.bz2
gentoo-2-924a7587e9f640c74f7978b8e9bd966e7c9e02d6.zip
Stable on amd64/x86 for bug #190150.
(Portage version: 2.1.3.6)
Diffstat (limited to 'games-rpg/nwn-data')
-rw-r--r--games-rpg/nwn-data/ChangeLog6
-rw-r--r--games-rpg/nwn-data/files/digest-nwn-data-1.2921
-rw-r--r--games-rpg/nwn-data/nwn-data-1.29-r1.ebuild4
-rw-r--r--games-rpg/nwn-data/nwn-data-1.29.ebuild222
4 files changed, 7 insertions, 246 deletions
diff --git a/games-rpg/nwn-data/ChangeLog b/games-rpg/nwn-data/ChangeLog
index 93c7b2a17b5a..93590449110b 100644
--- a/games-rpg/nwn-data/ChangeLog
+++ b/games-rpg/nwn-data/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-rpg/nwn-data
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/ChangeLog,v 1.29 2007/08/18 01:12:00 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/ChangeLog,v 1.30 2007/08/27 21:19:43 wolf31o2 Exp $
+
+ 27 Aug 2007; Chris Gianelloni <wolf31o2@gentoo.org> -nwn-data-1.29.ebuild,
+ nwn-data-1.29-r1.ebuild:
+ Stable on amd64/x86 for bug #190150.
18 Aug 2007; Chris Gianelloni <wolf31o2@gentoo.org>
nwn-data-1.29-r1.ebuild:
diff --git a/games-rpg/nwn-data/files/digest-nwn-data-1.29 b/games-rpg/nwn-data/files/digest-nwn-data-1.29
deleted file mode 100644
index d5a6db8ee134..000000000000
--- a/games-rpg/nwn-data/files/digest-nwn-data-1.29
+++ /dev/null
@@ -1,21 +0,0 @@
-MD5 73c6515fd6aa5f860802098a55000ae8 nwclient129.tar.gz 5504342
-RMD160 3cffcec613ec8fdd8241d6f6b47fe891434d5024 nwclient129.tar.gz 5504342
-SHA256 3d75e07f4d44fde789481240d02c07a7a7e0599bc2300d8a73f98f4c752da80e nwclient129.tar.gz 5504342
-MD5 d1e72a42a20c247332de6c6adcbcade5 nwfrench129.tar.gz 357777520
-RMD160 d64a2e52691e9d7897fedb9faae038b1c88699f5 nwfrench129.tar.gz 357777520
-SHA256 9a5ddcbc8ca443cb5bbcacb76587b171d37441906a1319155bba35f1bfffa9e0 nwfrench129.tar.gz 357777520
-MD5 7ff8aeea91a59f8c54a5263ca8ea2261 nwgerman129.tar.gz 381832822
-RMD160 02d5d76e9a59f07d5baea1bf7e29e3ed65466936 nwgerman129.tar.gz 381832822
-SHA256 950f730121a90fef2fd5a0810c329a04d1697a7b5f859e240e3307d31050e6e0 nwgerman129.tar.gz 381832822
-MD5 efa3fb10bdaced373d21d9809a176968 nwitalian129.tar.gz 3926804
-RMD160 62d6e3219a88636df60db2c8339337fa277c8467 nwitalian129.tar.gz 3926804
-SHA256 7a57c45ce2d0a712198dba40ddc2ab4788c817b79c20a6e99733ea842a13f974 nwitalian129.tar.gz 3926804
-MD5 d05b3b73edd2b4beadbce95837e2ab20 nwn.png 4296
-RMD160 958ed2051e91b0ab5f7ae8892c8ed3012cfe3900 nwn.png 4296
-SHA256 9703cb47b32d6bf0202198ab490395046d2ef4ffdde22dca91748a966134e139 nwn.png 4296
-MD5 8222401efe25235b56d01b38ae880b5b nwresources129.tar.gz 1212356127
-RMD160 1a986d12bc3153ff7646053e60d610155944b5ac nwresources129.tar.gz 1212356127
-SHA256 4da35c38c63d7cbe40047833103fe0d56f417d1895fb572d52c23a873619f537 nwresources129.tar.gz 1212356127
-MD5 920d4fdcf5d8d0ff583f236ae7f3f6d4 nwspanish129.tar.gz 3912516
-RMD160 8fd2592cfc92246c64be2930a5a4032fe8c07ed1 nwspanish129.tar.gz 3912516
-SHA256 100833e91e3f729a473de3372019e1086aac444f3c90c799af43d16833b7a1ed nwspanish129.tar.gz 3912516
diff --git a/games-rpg/nwn-data/nwn-data-1.29-r1.ebuild b/games-rpg/nwn-data/nwn-data-1.29-r1.ebuild
index d5d6e7a9551c..2cc65b71e33b 100644
--- a/games-rpg/nwn-data/nwn-data-1.29-r1.ebuild
+++ b/games-rpg/nwn-data/nwn-data-1.29-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/nwn-data-1.29-r1.ebuild,v 1.13 2007/08/18 01:12:00 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/nwn-data-1.29-r1.ebuild,v 1.14 2007/08/27 21:19:43 wolf31o2 Exp $
inherit eutils games
@@ -38,7 +38,7 @@ SRC_URI="${CLIENT_BASEURL}/${MY_PV}/nwclient${MY_PV}.tar.gz
LICENSE="NWN-EULA"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="cdinstall hou nowin sou videos ${LANGUAGES}"
RESTRICT="strip mirror"
diff --git a/games-rpg/nwn-data/nwn-data-1.29.ebuild b/games-rpg/nwn-data/nwn-data-1.29.ebuild
deleted file mode 100644
index 85b775e8923d..000000000000
--- a/games-rpg/nwn-data/nwn-data-1.29.ebuild
+++ /dev/null
@@ -1,222 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/nwn-data-1.29.ebuild,v 1.22 2007/03/07 17:34:19 wolf31o2 Exp $
-
-inherit eutils games
-
-MY_PV=${PV//.}
-
-DESCRIPTION="Neverwinter Nights Data Files"
-HOMEPAGE="http://nwn.bioware.com/downloads/linuxclient.html"
-SRC_URI="http://nwdownloads.bioware.com/neverwinternights/linux/${MY_PV}/nwclient${MY_PV}.tar.gz
- linguas_fr? (
- http://files.bioware.com/neverwinternights/updates/linux/nwfrench${MY_PV}.tar.gz
- ftp://jeuxlinux.com/bioware/Neverwinter_Nights/nwfrench${MY_PV}.tar.gz )
- linguas_it? (
- http://nwdownloads.bioware.com/neverwinternights/linux/${MY_PV}/nwitalian${MY_PV}.tar.gz )
- linguas_es? (
- http://nwdownloads.bioware.com/neverwinternights/linux/${MY_PV}/nwspanish${MY_PV}.tar.gz )
- linguas_de? (
- http://files.bioware.com/neverwinternights/updates/linux/nwgerman${MY_PV}.tar.gz
- http://xfer06.fileplanet.com/%5E389272944/082003/nwgerman${MY_PV}.tar.gz )
- nowin? (
- http://files.bioware.com/neverwinternights/updates/linux/nwresources${MY_PV}.tar.gz
- http://bsd.mikulas.com/nwresources${MY_PV}.tar.gz
- http://163.22.12.40/FreeBSD/distfiles/nwresources${MY_PV}.tar.gz
- ftp://jeuxlinux.com/bioware/Neverwinter_Nights/nwresources${MY_PV}.tar.gz )
- mirror://gentoo/nwn.png
- http://dev.gentoo.org/~wolf31o2/sources/dump/nwn.png"
-
-LICENSE="NWN-EULA"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="nowin sou hou"
-RESTRICT="strip mirror"
-
-RDEPEND="virtual/opengl
- >=media-libs/libsdl-1.2.5
- amd64? (
- app-emulation/emul-linux-x86-baselibs )"
-DEPEND="${RDEPEND}
- app-arch/unzip"
-
-S=${WORKDIR}/nwn
-
-GAMES_LICENSE_CHECK=yes
-dir=${GAMES_PREFIX_OPT}/nwn
-Ddir=${D}/${dir}
-
-pkg_setup() {
- games_pkg_setup
- if use sou && use hou
- then
- echo "You will need the SoU and HoU CDs for this installation."
- cdrom_get_cds NWNSoUInstallGuide.rtf \
- ArcadeInstallNWNXP213f.EXE
- elif use sou
- then
- echo "You will need the SoU CD for this installation."
- cdrom_get_cds NWNSoUInstallGuide.rtf
- elif use hou
- then
- echo "You will need the HoU CD for this installation."
- cdrom_get_cds ArcadeInstallNWNXP213f.EXE
- fi
-}
-
-src_unpack() {
- mkdir "${S}"
- cd "${S}"
- # We create this .metadata directory so we can keep track of what we have
- # installed without needing to keep all of these multiple USE flags in all
- # of the ebuilds.
- mkdir -p "${S}"/.metadata || die "Creating .metadata"
- if use linguas_de
- then
- touch .metadata/linguas_de || die "touching de"
- elif use linguas_es
- then
- touch .metadata/linguas_es || die "touching es"
- elif use linguas_fr
- then
- touch .metadata/linguas_fr || die "touching fr"
- elif use linguas_it
- then
- touch .metadata/linguas_it || die "touching it"
- else
- touch .metadata/linguas_en || die "touching en"
- fi
- unpack nwclient${MY_PV}.tar.gz
- if use nowin
- then
- cd "${WORKDIR}"
- unpack nwresources${MY_PV}.tar.gz || die "unpacking nwresources${MY_PV}.tar.gz"
- cd "${S}"
- fi
- rm -rf override/*
- # the following is so ugly, please pretend it doesnt exist
- declare -a Aarray=(${A})
- use nowin && if [[ "${#Aarray[*]}" == "4" ]]
- then
- unpack ${Aarray[1]}
- fi
- if use sou
- then
- unzip -o "${CDROM_ROOT}"/Data_Shared.zip || die "unpacking"
- unzip -o "${CDROM_ROOT}"/Language_data.zip || die "unpacking"
- unzip -o "${CDROM_ROOT}"/Language_update.zip || die "unpacking"
- unzip -o "${CDROM_ROOT}"/Data_Linux.zip || die "unpacking"
- touch .metadata/sou || die "touching sou"
- fi
- if use hou
- then
- if use sou && use hou
- then
- rm -f xp1patch.key data/xp1patch.bif override/*
- cdrom_load_next_cd
- fi
- unzip -o "${CDROM_ROOT}"/Data_Shared.zip || die "unpacking"
- unzip -o "${CDROM_ROOT}"/Language_data.zip || die "unpacking"
- unzip -o "${CDROM_ROOT}"/Language_update.zip || die "unpacking"
- touch .metadata/hou || die "touching hou"
- fi
- # These files aren't needed and come from the patches (games-rpg/nwn)
- rm -f data/patch.bif patch.key
-
- sed -i -e '\:^./nwmain .*:i \
-if [[ -f ./nwmouse.so ]] ; then \
- export XCURSOR_PATH="$(pwd)" \
- export XCURSOR_THEME=nwmouse \
- export LD_PRELOAD=./nwmouse.so:$LD_PRELOAD \
-fi \
- ' "${S}/nwn" || die "sed nwn"
-}
-
-src_install() {
- dodir "${dir}"
- # Since the movies don't play anyway, we'll remove them. This should
- # eventually be removed to allow for nwmovies to work.
- rm -rf "${S}"/movies
- mkdir -p "${S}"/dmvault "${S}"/hak "${S}"/portraits "${S}"/localvault
- rm -rf "${S}"/dialog.tlk "${S}"/dialog.TLK "${S}"/dialogf.tlk \
- "${S}"/dmclient "${S}"/nwmain "${S}"/nwserver "${S}"/nwm/* \
- "${S}"/SDL-1.2.5 "${S}"/fixinstall
- mv "${S}"/* "${Ddir}"
- mv "${S}"/.metadata "${Ddir}"
- keepdir "${dir}"/servervault
- keepdir "${dir}"/scripttemplates
- keepdir "${dir}"/saves
- keepdir "${dir}"/portraits
- keepdir "${dir}"/hak
- cd "${Ddir}"
- for d in ambient data dmvault hak localvault music override portraits
- do
- if [[ -d ${d} ]]
- then
- cd ${d}
- for f in $(find . -name '*.*') ; do
- lcf=$(echo ${f} | tr [:upper:] [:lower:])
- if [[ ${f} != ${lcf} ]] && [[ -f ${f} ]]
- then
- mv ${f} $(echo ${f} | tr [:upper:] [:lower:])
- fi
- done
- cd "${Ddir}"
- fi
- done
- if ! use sou && ! use hou && use nowin
- then
- chmod a-x ${Ddir}/data/patch.bif ${Ddir}/patch.key
- fi
- doicon "${DISTDIR}"/nwn.png
-
- prepgamesdirs
- chmod -R g+rwX ${Ddir}/saves ${Ddir}/localvault ${Ddir}/dmvault \
- 2>&1 > /dev/null || die "could not chmod"
- chmod g+rwX ${Ddir} || die "could not chmod"
-}
-
-pkg_postinst() {
- games_pkg_postinst
- if ! use nowin ; then
- elog "The NWN linux client data is now installed."
- elog "Proceed with the following steps in order to get it working:"
- elog "1) Copy the following directories/files from your installed and"
- elog " patched (1.66) Neverwinter Nights to ${dir}:"
- elog " ambient/"
- elog " data/"
- elog " dmvault/"
- elog " hak/"
- elog " localvault/"
- elog " modules/"
- elog " music/"
- elog " portraits/"
- elog " saves/"
- elog " servervault/"
- elog " texturepacks/"
- elog " chitin.key"
- elog "2) Remove some files to make way for the patch"
- elog " rm ${dir}/music/mus_dd_{kingmaker,shadowgua,witchwake}.bmu"
- elog " rm ${dir}/override/iit_medkit_001.tga"
- elog " rm ${dir}/data/patch.bif"
- if use sou
- then
- elog " rm ${dir}/xp1patch.key ${dir}/data/xp1patch.bif"
- fi
- if use hou
- then
- elog " rm ${dir}/xp2patch.key ${dir}/data/xp2patch.bif"
- fi
- elog "3) Chown and chmod the files with the following commands"
- elog " chown -R ${GAMES_USER}:${GAMES_GROUP} ${dir}"
- elog " chmod -R g+rwX ${dir}"
- elog
- elog "Or try emerging with USE=nowin"
- else
- einfo "The NWN linux client data is now installed."
- fi
- echo
- elog "This is only the data portion, you will also need games-rpg/nwn to"
- elog "play Neverwinter Nights."
- echo
-}