diff options
-rw-r--r-- | games-server/nwn-ded/ChangeLog | 9 | ||||
-rw-r--r-- | games-server/nwn-ded/Manifest | 15 | ||||
-rw-r--r-- | games-server/nwn-ded/nwn-ded-1.69.ebuild | 70 |
3 files changed, 91 insertions, 3 deletions
diff --git a/games-server/nwn-ded/ChangeLog b/games-server/nwn-ded/ChangeLog index 73bbed83ae1f..ca226dbf3586 100644 --- a/games-server/nwn-ded/ChangeLog +++ b/games-server/nwn-ded/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-server/nwn-ded -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-server/nwn-ded/ChangeLog,v 1.22 2010/06/28 22:35:18 mr_bones_ Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-server/nwn-ded/ChangeLog,v 1.23 2011/09/16 11:36:04 tupone Exp $ + +*nwn-ded-1.69 (16 Sep 2011) + + 16 Sep 2011; Tupone Alfredo <tupone@gentoo.org> +nwn-ded-1.69.ebuild: + version bump to 1.69 Bug #357541 by Stefano Balocco 28 Jun 2010; Michael Sterrett <mr_bones_@gentoo.org> -nwn-ded-1.66.ebuild, nwn-ded-1.68-r1.ebuild: diff --git a/games-server/nwn-ded/Manifest b/games-server/nwn-ded/Manifest index 6363a8452b72..b069755d6bb0 100644 --- a/games-server/nwn-ded/Manifest +++ b/games-server/nwn-ded/Manifest @@ -1,10 +1,23 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + DIST NWNDedicatedServer1.68.zip 316032587 RMD160 86a192f3bdba0c070d36a9870969ebef7e41af19 SHA1 46b3edf71646bb3b85edc54df4cbd82127a2005c SHA256 7226892f85b644edc6dfb15290bd1037e7a143528f734d53400b196958fa1c6c +DIST NWNDedicatedServer1.69.zip 606293816 RMD160 d4f78872272017e66cc3708e0c3b664e7452e5ff SHA1 a1f4457c77ba5097c0cd8a2324031e545f6cdefd SHA256 9df63ea1bf24b43be2c7568a1379cb7197fb591b0c0454ec2d20cec96234a45c DIST NWNEnglish1.68dialog.zip 3186122 RMD160 eb23337ae316de96b73b1ab9140cf576b8736d36 SHA1 d2fb48cba452ced0d2bba10a007c20500c26e4ed SHA256 6f68f7472b9be078f6a5b57e77308310c914ab3a5fd91d265f903e9daf53d4bb +DIST NWNEnglish1.69dialog.zip 3200987 RMD160 8dcc752e3f19ee00aded2694b0ccd243ba0db16a SHA1 8fde240db8483ee9d559816a980ab43ff6795deb SHA256 357fd4c312d7598e9f563c61918f78c2235bd19acff8ac1b2d19140972828d66 DIST NWNFrench1.68dialog.zip 6770835 RMD160 a7dfce3025c93bb2eeb110742df8eee59a11347c SHA1 dd99874c8d43d6cf2e676518246488da5723e89e SHA256 64f5fbb14cc8d0232eeaa36c452081bf5fdbc5ea81e58d8868c92ae86ee6a838 DIST NWNGerman1.68dialog.zip 7229687 RMD160 7ccf79ff3ae799d246402fa916446bd413f0a31b SHA1 4c5920e602909b6f5bd8d93c1155af2dd3c2e6e7 SHA256 063bff4857f5f70dad98312129d43e047470de6144f011890949731f2071073b DIST NWNItalian1.68dialog.zip 6731492 RMD160 9f198cb9af840dba4d4a6735070aca0ad8db770a SHA1 1053c3dcdb6d15cb3f972adb82914ac29e8a3968 SHA256 95ab20460c2761602aaf94f2b021ce698e8e4f122f3c1fd1ea8ad349fb3b5842 DIST NWNJapanese1.68dialog.zip 6343304 RMD160 aa7aa25947413cc117701255150b42a7f3a02ba5 SHA1 01af875876fc4025691200f1a630f4f43dfe35c5 SHA256 c8cc42038fb8c326caa432ff035621b200a397aa30f89862c8ba167f13144734 DIST NWNSpanish1.68dialog.zip 6705882 RMD160 fd205ec81119bb410705019871f40f222bec86a1 SHA1 e650cf419136a98664f89bca8358057b41e3da39 SHA256 c6bd32e2156cd424598c8771b4cc2ca6ec97ecaffb29850412345b8b1a70bf7f EBUILD nwn-ded-1.68-r1.ebuild 2543 RMD160 6534747b9569a04ea2c0b14216ea820d2b310770 SHA1 48ac338224b0d087dc76c7427e65150b708da5a5 SHA256 2b51e178427d5d5781264407e9e40a836dfc803e22fea719311e29474c546c44 -MISC ChangeLog 3076 RMD160 a85f143afe3ef70988005659ce2537546433d5cd SHA1 a9add93abeaa1dcdc76a331c1da0b16a159beb9f SHA256 e5e2ea1d6a2c08b399061ca7d28fc61ca03be5a91df926490e4694c58e82a407 +EBUILD nwn-ded-1.69.ebuild 2136 RMD160 1037342b28b2065858c7f7f56bf5de22f6794354 SHA1 4b31e43a6caec8a470177f57f4d892c2cff0ff4e SHA256 9419d1e29907619aeb14f10b89c4b37c60048482f896b2aa698be760adb1fc95 +MISC ChangeLog 3229 RMD160 2fcabfac9ee325f019266ee645961e673b76add5 SHA1 e06050cc68924c593778accb00e18d2783576944 SHA256 0694101f0df88185cabd8795152987ea35e6ffb58f48572e448c600f74f66a15 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.18 (GNU/Linux) + +iEYEARECAAYFAk5zNFsACgkQIY77eQFFFC0IWACfRZGQfIn2mHuS++RwXj6/FMF0 +U1gAoOhPonnqYHttKmliB7arc3vOtN67 +=2q0F +-----END PGP SIGNATURE----- diff --git a/games-server/nwn-ded/nwn-ded-1.69.ebuild b/games-server/nwn-ded/nwn-ded-1.69.ebuild new file mode 100644 index 000000000000..96a7b8572fd9 --- /dev/null +++ b/games-server/nwn-ded/nwn-ded-1.69.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-server/nwn-ded/nwn-ded-1.69.ebuild,v 1.1 2011/09/16 11:36:04 tupone Exp $ + +inherit games + +LANGUAGES="linguas_en" +DIALOG_URL_BASE=http://files.bioware.com/neverwinternights/dialog/ + +DESCRIPTION="Neverwinter Nights Dedicated server" +HOMEPAGE="http://nwn.bioware.com/downloads/standaloneserver.html" +SRC_URI="http://files.bioware.com/neverwinternights/updates/windows/server/NWNDedicatedServer${PV}.zip + linguas_en? ( ${DIALOG_URL_BASE}/english/NWNEnglish${PV}dialog.zip )" + +LICENSE="NWN-EULA" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="${LANGUAGES}" +RESTRICT="mirror strip" + +DEPEND="app-arch/unzip" +RDEPEND="amd64? ( app-emulation/emul-linux-x86-baselibs + app-emulation/emul-linux-x86-compat )" + +S=${WORKDIR} + +src_unpack() { + mkdir common || die "Failed creating directory" + cd common + unpack NWNDedicatedServer${PV}.zip + tar -zxf linuxdedserver${PV/./}.tar.gz || die "Failed unpacking linuxdedserver" + rm -f *dedserver*.{tar.gz,sit,zip} *.exe *.dll + cd .. + local currentlocale="" + local a + for a in ${A} + do + if [ -z "${a/*dialog*/}" ] ; then + if [ -z "${a/*English*/}" ]; then currentlocale="en"; fi + if [ -z "${a/*French*/}" ]; then currentlocale="fr"; fi + if [ -z "${a/*German*/}" ]; then currentlocale="de"; fi + if [ -z "${a/*Italian*/}" ]; then currentlocale="it"; fi + if [ -z "${a/*Spanish*/}" ]; then currentlocale="es"; fi + if [ -z "${a/*Japanese*/}" ]; then currentlocale="ja"; fi + mkdir ${currentlocale} || die "Failed creating directory" + cd ${currentlocale} + cp -rfl ../common/* . || die "Failed hard-linking to common directory" + unpack "${a}" + cd .. + fi + done +} + +src_install() { + local dir=${GAMES_PREFIX_OPT}/${PN} + dodir ${dir} + + local currentlocale + for currentlocale in * ; do + if [[ ${currentlocale} != "common" ]] + then + games_make_wrapper nwserver-${currentlocale} ./nwserver "${dir}/${currentlocale}" "${dir}/${currentlocale}" + fi + done + + mv * "${D}/${dir}"/ || die "Failed installing server" + + prepgamesdirs + chmod -R g+w "${D}/${dir}" +} |