public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-server/nwn-ded/
@ 2016-08-05 17:38 Austin English
  0 siblings, 0 replies; 3+ messages in thread
From: Austin English @ 2016-08-05 17:38 UTC (permalink / raw
  To: gentoo-commits

commit:     157cad7c42b7b184f32185d26d9112044dee1cfc
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  5 17:38:34 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Fri Aug  5 17:38:46 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=157cad7c

games-server/nwn-ded: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0

 games-server/nwn-ded/nwn-ded-1.69-r1.ebuild | 70 +++++++++++++++++++++++++++++
 1 file changed, 70 insertions(+)

diff --git a/games-server/nwn-ded/nwn-ded-1.69-r1.ebuild b/games-server/nwn-ded/nwn-ded-1.69-r1.ebuild
new file mode 100644
index 0000000..cc264b9
--- /dev/null
+++ b/games-server/nwn-ded/nwn-ded-1.69-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils
+
+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"
+
+S=${WORKDIR}
+
+dir="/opt/${PN}"
+QA_PREBUILT="${dir:1}/common/nwserver"
+
+src_unpack() {
+	mkdir common || die
+	cd common || die
+	unpack NWNDedicatedServer${PV}.zip
+	tar -zxf linuxdedserver${PV/./}.tar.gz || die
+	rm -f *dedserver*.{tar.gz,sit,zip} *.exe *.dll || die
+	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
+			cd ${currentlocale} || die
+			cp -rfl ../common/* . || die
+			unpack "${a}"
+			cd ..
+		fi
+	done
+}
+
+src_install() {
+	dodir ${dir}
+
+	local currentlocale
+	for currentlocale in * ; do
+		if [[ ${currentlocale} != "common" ]]
+		then
+			make_wrapper nwserver-${currentlocale} ./nwserver "${dir}/${currentlocale}" "${dir}/${currentlocale}"
+		fi
+	done
+
+	mv * "${D}/${dir}"/ || die
+
+	chmod -R g+w "${D}/${dir}"
+}


^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-server/nwn-ded/
@ 2018-01-03 22:23 Alfredo Tupone
  0 siblings, 0 replies; 3+ messages in thread
From: Alfredo Tupone @ 2018-01-03 22:23 UTC (permalink / raw
  To: gentoo-commits

commit:     39e34c90e0ee50d5b1fc9f1fd2b8c1149c02c664
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  3 22:22:39 2018 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Jan  3 22:23:00 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39e34c90

games-server/nwn-ded: update Manifest

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 games-server/nwn-ded/Manifest | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-server/nwn-ded/Manifest b/games-server/nwn-ded/Manifest
index aecc9e4c415..50995c714c4 100644
--- a/games-server/nwn-ded/Manifest
+++ b/games-server/nwn-ded/Manifest
@@ -1,2 +1,2 @@
-DIST NWNDedicatedServer1.69.zip 606293816 SHA256 9df63ea1bf24b43be2c7568a1379cb7197fb591b0c0454ec2d20cec96234a45c SHA512 0f91ab8d03d040389d9ad7ccc7d50079057d62d542fecfb2164a726511718ba982f7b2f9878bc1143f2c61b3ef7ab8f92e5e4007b515ad6aff51216c5b602ffd WHIRLPOOL 2f309f42a01c4fc01f600cb3d23e2e2c82e5ad42462e695cc56a90a59ab220bb6324a4aef9714567d8fdc9393624d63b310ff2fe225c49151932aa16d26f110a
-DIST NWNEnglish1.69dialog.zip 3200987 SHA256 357fd4c312d7598e9f563c61918f78c2235bd19acff8ac1b2d19140972828d66 SHA512 8c3214a3bcf137ea3b4b59d89055b7e22d15b8ab8d6007d81a9e70e156f8af611a8032ce5cf5c42ecd8c5af7eebe95f012a3f91723f273efa42701fd036482be WHIRLPOOL 09724f2ea25814ea98fe865207d6d7a160abfe0e582c71d2b8c649855a16b3596722525c52037f76a1cf9194053edbb19627eb16c27975646cc7247478554a1f
+DIST NWNDedicatedServer1.69.zip 606293816 BLAKE2B f5e9f49bcaf76329310eee092328ef6cfc7d825409d66369ec18a8b2f881a6f6232a0a63d89d23f755165c1e13e6140575549875b55e80a0002f85b7af2b98ee SHA512 0f91ab8d03d040389d9ad7ccc7d50079057d62d542fecfb2164a726511718ba982f7b2f9878bc1143f2c61b3ef7ab8f92e5e4007b515ad6aff51216c5b602ffd
+DIST NWNEnglish1.69dialog.zip 3200987 BLAKE2B 8d0864ce22b39862a72291afca3e4ea8ff7ae35cee0dd38cb1424d7f767aeb4df82e4a6c53a1d59c2e670e3af05c8e6ff1984e6f1065d7e71f70ead97d0a369e SHA512 8c3214a3bcf137ea3b4b59d89055b7e22d15b8ab8d6007d81a9e70e156f8af611a8032ce5cf5c42ecd8c5af7eebe95f012a3f91723f273efa42701fd036482be


^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-server/nwn-ded/
@ 2018-01-07  0:18 Ulrich Müller
  0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Müller @ 2018-01-07  0:18 UTC (permalink / raw
  To: gentoo-commits

commit:     b21fd88ae8647e9b38ce45f28147a7faae77bbb7
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  7 00:17:22 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Jan  7 00:17:56 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b21fd88a

games-server/nwn-ded: Migrate from LINGUAS to L10N.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 games-server/nwn-ded/nwn-ded-1.69-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/games-server/nwn-ded/nwn-ded-1.69-r1.ebuild b/games-server/nwn-ded/nwn-ded-1.69-r1.ebuild
index 57623fe2cfb..21ee32df32f 100644
--- a/games-server/nwn-ded/nwn-ded-1.69-r1.ebuild
+++ b/games-server/nwn-ded/nwn-ded-1.69-r1.ebuild
@@ -1,16 +1,16 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 inherit eutils
 
-LANGUAGES="linguas_en"
+LANGUAGES="l10n_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 )"
+	l10n_en? ( ${DIALOG_URL_BASE}/english/NWNEnglish${PV}dialog.zip )"
 
 LICENSE="NWN-EULA"
 SLOT="0"


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-01-07  0:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-05 17:38 [gentoo-commits] repo/gentoo:master commit in: games-server/nwn-ded/ Austin English
  -- strict thread matches above, loose matches on Subject: below --
2018-01-03 22:23 Alfredo Tupone
2018-01-07  0:18 Ulrich Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox