summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin English <wizardedit@gentoo.org>2017-11-13 18:18:25 -0600
committerAustin English <wizardedit@gentoo.org>2017-11-13 18:30:51 -0600
commit310e73fc1d93b76435172325752b9f17851d6400 (patch)
treea96e61997cfe4a499d86cacffca178c234b55aff /games-rpg
parentsys-apps/openrc: 0.34.7 version bump (diff)
downloadgentoo-310e73fc1d93b76435172325752b9f17851d6400.tar.gz
gentoo-310e73fc1d93b76435172325752b9f17851d6400.tar.bz2
gentoo-310e73fc1d93b76435172325752b9f17851d6400.zip
games-rpg/nw*: remove last-rited packages
Requires maintenance and no one has stepped up to maintain. Running under Wine is the recommended alternative. Gentoo-Bug: https://bugs.gentoo.org/599390 Signed-off-by: Austin English <wizardedit@gentoo.org> Signed-off-by: Denis Dupeyron <calchan@gentoo.org>
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/nwmouse/Manifest1
-rw-r--r--games-rpg/nwmouse/metadata.xml8
-rw-r--r--games-rpg/nwmouse/nwmouse-20090906.183839.ebuild54
-rw-r--r--games-rpg/nwmovies/Manifest1
-rw-r--r--games-rpg/nwmovies/metadata.xml12
-rw-r--r--games-rpg/nwmovies/nwmovies-20090223.080954.ebuild54
-rw-r--r--games-rpg/nwn-cep/Manifest3
-rw-r--r--games-rpg/nwn-cep/metadata.xml13
-rw-r--r--games-rpg/nwn-cep/nwn-cep-1.68-r1.ebuild41
-rw-r--r--games-rpg/nwn-cep/nwn-cep-2.0.ebuild46
-rw-r--r--games-rpg/nwn-data/Manifest7
-rw-r--r--games-rpg/nwn-data/metadata.xml17
-rw-r--r--games-rpg/nwn-data/nwn-data-1.29-r5.ebuild654
-rw-r--r--games-rpg/nwn-penultima/Manifest6
-rw-r--r--games-rpg/nwn-penultima/metadata.xml12
-rw-r--r--games-rpg/nwn-penultima/nwn-penultima-1-r1.ebuild33
-rw-r--r--games-rpg/nwn-penultimarerolled/Manifest5
-rw-r--r--games-rpg/nwn-penultimarerolled/metadata.xml12
-rw-r--r--games-rpg/nwn-penultimarerolled/nwn-penultimarerolled-1.ebuild39
-rw-r--r--games-rpg/nwn-shadowlordsdreamcatcherdemon/Manifest1
-rw-r--r--games-rpg/nwn-shadowlordsdreamcatcherdemon/metadata.xml12
-rw-r--r--games-rpg/nwn-shadowlordsdreamcatcherdemon/nwn-shadowlordsdreamcatcherdemon-1.ebuild40
-rw-r--r--games-rpg/nwn/Manifest19
-rw-r--r--games-rpg/nwn/files/fixinstall107
-rw-r--r--games-rpg/nwn/metadata.xml16
-rw-r--r--games-rpg/nwn/nwn-1.68-r6.ebuild235
-rw-r--r--games-rpg/nwn/nwn-1.69-r1.ebuild94
27 files changed, 0 insertions, 1542 deletions
diff --git a/games-rpg/nwmouse/Manifest b/games-rpg/nwmouse/Manifest
deleted file mode 100644
index cd90ade2d236..000000000000
--- a/games-rpg/nwmouse/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST nwmouse-20090906.183839.tar.bz2 86611 SHA256 a0f0f5b897a1281d4c2a2e416404aa9387ad5b69dcd0445393ca8f341b5b4d88 SHA512 a9e9cd31e572ce3722bdd30002616600b7c36931001b7dbae7ee9b0dca5f6fd57e8771d31e70f0f3ea28e454f43fbe2a490d54409de4b24762a8802a286ddbbf WHIRLPOOL b2d5d0321b7167c52842e137650c2feaced477df8d4e40e2e9d21d94566dc98d058d2a56f34dea5ced5dc582fdbe3df196bb7a0c3151b7c54f9eeb6561d4e21e
diff --git a/games-rpg/nwmouse/metadata.xml b/games-rpg/nwmouse/metadata.xml
deleted file mode 100644
index 78274e0fa550..000000000000
--- a/games-rpg/nwmouse/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
-</maintainer>
-</pkgmetadata>
diff --git a/games-rpg/nwmouse/nwmouse-20090906.183839.ebuild b/games-rpg/nwmouse/nwmouse-20090906.183839.ebuild
deleted file mode 100644
index 6ed57932a3c9..000000000000
--- a/games-rpg/nwmouse/nwmouse-20090906.183839.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit games
-
-DESCRIPTION="Hardware mouse cursors for Neverwinter Nights"
-HOMEPAGE="http://home.roadrunner.com/~nwmovies/"
-SRC_URI="https://dev.gentoo.org/~calchan/distfiles/${P}.tar.bz2
- mirror://gentoo/${P}.tar.bz2"
-
-LICENSE="nwmovies Artistic"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-RESTRICT="strip"
-
-RDEPEND="
- >=games-rpg/nwn-1.68-r4
- games-rpg/nwn-data
- sys-libs/glibc
- >=dev-libs/elfutils-0.155-r1[abi_x86_32(-)]
- >=media-libs/libsdl-1.2.15-r5[abi_x86_32(-)]
- x11-libs/libX11[abi_x86_32(-)]
- x11-libs/libXcursor[abi_x86_32(-)]
- x11-libs/libXext[abi_x86_32(-)]"
-
-# I've looked at this stuff, and I can't find the problem myself, so I'm just
-# removing the warnings. If someone feels like finding the patch, that would be
-# great and I'll gladly include it.
-dir="${GAMES_PREFIX_OPT}/nwn"
-QA_PREBUILT="${dir:1}/nwmouse.so
- ${dir:1}/nwmouse/libdis/libdisasm.so"
-
-src_install() {
- # libelf moved to games-rpg/nwn, see bug #210562
- exeinto "${dir}"
- doexe "${PN}.so"
- exeinto "${dir}/${PN}/libdis"
- doexe "libdisasm.so"
- insinto "${dir}/${PN}/cursors"
- doins -r cursors/*
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
- elog "When starting nwn the next time, nwmouse will scan the nwmain"
- elog "binary for its hooks, store this information in:"
- elog " ${dir}/nwmouse.ini"
- elog "and exit. This is normal."
- elog
- elog "You will have to remove this file whenever you update nwn."
-}
diff --git a/games-rpg/nwmovies/Manifest b/games-rpg/nwmovies/Manifest
deleted file mode 100644
index 3d0d3ee5897a..000000000000
--- a/games-rpg/nwmovies/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST nwmovies-v4-public.20090223.080954.tar.gz 137697 SHA256 4ce60791183a0623d09b37c9f00ba42a2f7e7d953eba35b090a96cc891254f14 SHA512 35b3697f593e74e2c507c745f5b03da11c65789d2cb6378988bb5f810c1768af7299bd0dd8197a91c928f4438582107300bad8de8d69ede8cb81200ea5d21f0e WHIRLPOOL 896c935ea9b8a8eb6befec4c99406763c17e33aa5b767d20dab7f46938e9009e202f6d1afb5d25e7f4ceec628a50be7e0fcf87d823d06d4e1163f46dfb763bb9
diff --git a/games-rpg/nwmovies/metadata.xml b/games-rpg/nwmovies/metadata.xml
deleted file mode 100644
index 06e69cc12f05..000000000000
--- a/games-rpg/nwmovies/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
- <email>calchan@gentoo.org</email>
- <name>Denis Dupeyron</name>
-</maintainer>
-<maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
-</maintainer>
-</pkgmetadata>
diff --git a/games-rpg/nwmovies/nwmovies-20090223.080954.ebuild b/games-rpg/nwmovies/nwmovies-20090223.080954.ebuild
deleted file mode 100644
index e5e31054a48c..000000000000
--- a/games-rpg/nwmovies/nwmovies-20090223.080954.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=2
-inherit eutils games
-
-DESCRIPTION="Play Neverwinter Nights movies inside the Linux client"
-HOMEPAGE="http://home.roadrunner.com/~nwmovies/"
-
-SRC_URI="${HOMEPAGE}/${PN}/${PN}-v4-public.${PV}.tar.gz"
-
-LICENSE="nwmovies Artistic"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND=">=games-rpg/nwn-data-1.29-r3[videos]"
-RDEPEND="${DEPEND}
- >=games-rpg/nwn-1.68-r4
- media-video/binkplayer"
-
-S="${WORKDIR}"
-DESTDIR="${GAMES_PREFIX_OPT}/nwn"
-
-QA_TEXTRELS="opt/nwn/nwmovies/binklib.so opt/nwn/nwmovies.so"
-QA_WX_LOAD="opt/nwn/nwmovies.so"
-QA_EXECSTACK="opt/nwn/nwmovies.so"
-QA_FLAGS_IGNORED="opt/nwn/nwmovies/binklib.so opt/nwn/nwmovies/libdis/libdisasm.so opt/nwn/nwmovies.so"
-
-src_install() {
- exeinto "${DESTDIR}"
- doexe nwmovies.so nwmovies.pl || die "Installation failed"
- exeinto "${DESTDIR}/nwmovies"
- doexe nwmovies/binklib.so || die "Installation failed"
- exeinto "${DESTDIR}/nwmovies/libdis"
- doexe nwmovies/libdis/libdisasm.so || die "Installation failed"
- insinto "${DESTDIR}"
- doins nwmovies/*.txt
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
- elog "When starting nwn the next time, nwmovies will scan the nwmain"
- elog "binary for its hooks, store this information in:"
- elog " \${HOME}/.nwn/\${LANG}/nwmovies.ini"
- elog "and exit. This is normal."
- elog
- elog "You will have to remove this file whenever you update nwn."
- elog
- elog "If you have sound issues in NWN only when using nwmovies, then"
- elog "you may need to properly setup /etc/asound.conf or the equivalent"
- elog "per-user \${HOME}/.asound.conf, see comment #31 in bug #106789."
-}
diff --git a/games-rpg/nwn-cep/Manifest b/games-rpg/nwn-cep/Manifest
deleted file mode 100644
index bada388da6c1..000000000000
--- a/games-rpg/nwn-cep/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST CEP168.rar 1022033 SHA256 925f52ca60553c1120c707c302c4adc4ae8040ace8d10a263c8e55f2f85aac2c SHA512 04c1c1bbfeeaab7118d256be30f4b599e0e066174c0c8f525b7621f767724a5262400ac1cf2ca47861feb7963524d5433c5dcd192f76cae798e0d0e0afd15980 WHIRLPOOL 82f03f128e53f162860ac2ab62ac5d6c7fe73a3a3d8c2164f1cb48a917cf851878df1971d7a786c0a8ce6d1c3ea2affee89af51d884514b447a519a189cd5d9b
-DIST CEPv2_full.rar 409636694 SHA256 27a0523b5a36e047e84ad10ebd26326f91ec63a2faf0893fe9252799b35ff500 SHA512 ea008717dfa56944aabf4f33698f06dbfaa87c8aab9414ca9ffa1c39990160e41eee1f8be8fb766ccc97ed8709aa7773017dc1c29f14683117de28b0bc30becb WHIRLPOOL f9382d1d956b3cd6f6b6cfc97f535e0a66c3b88debd1179bd4c65679a5ebfc1bbd70d7ec5b7d4a45c1d174fdbecb13d16a776c9dd5b3a0a54b8c81ea84ffb460
-DIST cepv152_man.rar 167701243 SHA256 e98a202cac83e290cd0223bb01168c65dc1a88b8397ccc018f1883f18d99b707 SHA512 d0d6b780c0a62c3d5fd741145fdadf6936407d7f1fea103a2b08419bae85633f6fe8d84c84e5d4bf559379037afda06a55b260ccdb6f6857fa303acd593b5e57 WHIRLPOOL d0c87988d83d8386e6536b2f47e6cdc8a9a19fb893dfc653977b16cb6408b4ecce49dd3f948150af0b4ca9a1c7a34181739bf82f94bb2703f61aaa515a314693
diff --git a/games-rpg/nwn-cep/metadata.xml b/games-rpg/nwn-cep/metadata.xml
deleted file mode 100644
index 33e862d8026e..000000000000
--- a/games-rpg/nwn-cep/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>calchan@gentoo.org</email>
- <name>Denis Dupeyron</name>
- <description>maintainer</description>
- </maintainer>
-<maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
- </maintainer>
-</pkgmetadata>
diff --git a/games-rpg/nwn-cep/nwn-cep-1.68-r1.ebuild b/games-rpg/nwn-cep/nwn-cep-1.68-r1.ebuild
deleted file mode 100644
index 1cffc8d5ea40..000000000000
--- a/games-rpg/nwn-cep/nwn-cep-1.68-r1.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=2
-inherit games unpacker
-
-DESCRIPTION="The Community Expansion Pack for Neverwinter Nights"
-HOMEPAGE="http://nwn.bioware.com/players/cep.html"
-SRC_URI="http://c.vnfiles.ign.com/nwvault.ign.com/fms/files/hakpaks/6057/cepv152_man.rar
- http://c.vnfiles.ign.com/nwvault.ign.com/fms/files/hakpaks/6974/CEP168.rar"
-
-LICENSE="all-rights-reserved"
-SLOT="0"
-KEYWORDS="-* amd64 x86"
-IUSE=""
-RESTRICT="mirror bindist"
-
-DEPEND=""
-RDEPEND=">=games-rpg/nwn-1.68"
-
-pkg_setup() {
- games_pkg_setup
- if ! has_version 'games-rpg/nwn-data[hou,sou]' ; then
- eerror "${P} requires NWN v1.68, Shadows of Undrentide, and Hordes of"
- eerror "the Underdark. Please make sure you have all three before using"
- eerror "this patch."
- die "Requirements not met"
- fi
-}
-
-src_install() {
- dodir "${GAMES_PREFIX_OPT}"/nwn/{hak,tlk,texturepacks,modules,cep}
-
- # Using mv below instead of doins due to large file sizes
- mv *.hak HotU/*.hak "${D}/${GAMES_PREFIX_OPT}"/nwn/hak/ || die "Installing hak files failed"
- mv *.tlk "${D}/${GAMES_PREFIX_OPT}"/nwn/tlk/ || die "Installing tlk files failed"
- mv *.erf "${D}/${GAMES_PREFIX_OPT}"/nwn/texturepacks/ || die "Installing erf files failed"
- mv *.mod "${D}/${GAMES_PREFIX_OPT}"/nwn/modules/ || die "Installing mod files failed"
- mv *.pdf *.txt "${D}/${GAMES_PREFIX_OPT}"/nwn/cep/ || die "Installing documentation failed"
- prepgamesdirs
-}
diff --git a/games-rpg/nwn-cep/nwn-cep-2.0.ebuild b/games-rpg/nwn-cep/nwn-cep-2.0.ebuild
deleted file mode 100644
index 86c4614aed7f..000000000000
--- a/games-rpg/nwn-cep/nwn-cep-2.0.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=2
-inherit eutils games unpacker
-
-DESCRIPTION="High quality custom content addon for Neverwinter Nights"
-HOMEPAGE="http://nwvault.ign.com/cep/"
-SRC_URI="http://vnfiles.ign.com/nwvault.ign.com/fms/files/hakpaks/7000/CEPv2_full.rar"
-
-LICENSE="all-rights-reserved"
-SLOT="2"
-KEYWORDS="-* amd64 x86"
-IUSE=""
-RESTRICT="mirror bindist"
-
-DEPEND=""
-RDEPEND=">=games-rpg/nwn-1.68"
-
-S=${WORKDIR}
-
-dir=${GAMES_PREFIX_OPT}/nwn
-
-pkg_setup() {
- games_pkg_setup
- if ! has_version 'games-rpg/nwn-data[hou,sou]' ; then
- eerror "${P} requires NWN v1.68, Shadows of Undrentide, and Hordes of"
- eerror "the Underdark. Please make sure you have all three before using"
- eerror "this patch."
- die "Requirements not met"
- fi
-}
-
-src_install() {
- local i
- for i in hak tlk erf
- do
- insinto "${dir}"/${i}
- doins *.${i} || die "${i} failed"
- done
- insinto "${dir}"/modules
- doins *.mod || die "mod failed"
- insinto "${dir}"/cep
- doins *.pdf || die "pdf failed"
- prepgamesdirs
-}
diff --git a/games-rpg/nwn-data/Manifest b/games-rpg/nwn-data/Manifest
deleted file mode 100644
index 31c92d0453e7..000000000000
--- a/games-rpg/nwn-data/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-DIST nwclient129.tar.gz 5504342 SHA256 3d75e07f4d44fde789481240d02c07a7a7e0599bc2300d8a73f98f4c752da80e SHA512 79329eb6ed552008170a0306be224dd7c8db7a2b67f4c9749c2fbbc5977a0b058ab7a90a7a063301e9b410d0f5bbb5f91a4ae2f58a8c13586c2881afe2053d43 WHIRLPOOL 00edbec2d0087ed13ae241f78d82ec1f21deb32f61fbd677c03456474f6001e6c7cd3b797a258ef0e201731f25fa786a1bf0581005b4b0a825753a289a4f9799
-DIST nwfrench129.tar.gz 357777520 SHA256 9a5ddcbc8ca443cb5bbcacb76587b171d37441906a1319155bba35f1bfffa9e0 SHA512 bc43da1bd628c88ee9d7c02820d91cc026e36c7531fdf0da6e741dc6b94f1d1d95478e9169b9808368a4e6e0b3a54f3f287063a70fa1ec949f8b7f1e60ce4c7e WHIRLPOOL a0afb51ed3fdcbb37edcc0721b18cce21509d43e270cf0c983b08de55e3e0f05ebfe959b3842bd50178399d7b5d4bd6649dd87953a08a43b1fed733a1ec30407
-DIST nwgerman129.tar.gz 381832822 SHA256 950f730121a90fef2fd5a0810c329a04d1697a7b5f859e240e3307d31050e6e0 SHA512 b817123c5d66ac5420b83355e11bb29756bb2f75a2df8c7667048c6422e4f9c27595121a8bce3d072b027624fb550b65c83f20da96d5edcdb8f7dec822a266e4 WHIRLPOOL 7e30880b7aef31b74a01529a36b7f5b884813773dc617f12efa0f82bc9287c2850ac70c9918835362af93eb45a9afa5b27f2c779c9106abe8f8740f29a6b46d6
-DIST nwitalian129.tar.gz 3926804 SHA256 7a57c45ce2d0a712198dba40ddc2ab4788c817b79c20a6e99733ea842a13f974 SHA512 465728f66e5e3f5d0633408dfb41f0b11308f3b7fc421f512d2c38a3e18db9d2451c552db85a0d7514f9b5c4a76b4745d79eb6a69a2a5a06a16a0b6d050f00c7 WHIRLPOOL cac3325219c541577ee865647a4846c5fb6a4f78f9497fcf0397565b9915c6375246c8b486270c0e644b5ad8634b0c85f311cd5506572385e27fb2c10260b0e4
-DIST nwn.png 4296 SHA256 9703cb47b32d6bf0202198ab490395046d2ef4ffdde22dca91748a966134e139 SHA512 a79cc5e66317b3b0afa190c66d0dab15edf94a8da238e12eb2cbdbfcafa91d950519ad4209f1cb60cc2507120f6c363db18788226d70a77441412567f9b798c6 WHIRLPOOL 2d457ecf6fe85b0fa651f5d4d3bcf8c686aa00113f962cab1dc62cf62789affbd5192fdd0084f7a1cdfdb427a1e8e49aebd18daf8baf76172afe8135d193cd8b
-DIST nwresources129.tar.gz 1212356127 SHA256 4da35c38c63d7cbe40047833103fe0d56f417d1895fb572d52c23a873619f537 SHA512 3a38ee8b192136d9dd2f35c6abd2f3a7bbf711ac6819cb7960c292d5ddae225bd177ff2864e35becd1dfbfaaba8de224d4179c0cf4f0dc0be764e0e9170abc37 WHIRLPOOL d4ae0f294cbfc4a4b0922c82b4022258f212f0d956de4f52b123aff408f9c3e3541d9b8f0efd56890aa2062e8611b750de1347643be88657e9864efd04ebd83f
-DIST nwspanish129.tar.gz 3912516 SHA256 100833e91e3f729a473de3372019e1086aac444f3c90c799af43d16833b7a1ed SHA512 990c626168dc0bff6786760a5f1140ec0226c13d5a35248f27987c475f547f153647a7d6562dcf0c7765e98fa17b2681d1231365d04ad8cc8071740be42110de WHIRLPOOL 8f829b9717567c775bf503299f054d9338d9143711d3ab32a85736e0d4a758dabac942b5b410111dfe744f6e845e2a8932ad9421f1aaee615e21995fb7526e27
diff --git a/games-rpg/nwn-data/metadata.xml b/games-rpg/nwn-data/metadata.xml
deleted file mode 100644
index 38a7ce4c43b3..000000000000
--- a/games-rpg/nwn-data/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>calchan@gentoo.org</email>
- <name>Denis Dupeyron</name>
- </maintainer>
- <maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
- </maintainer>
- <use>
- <flag name="hou">Install the Hordes of the Underdark expansion pack</flag>
- <flag name="nowin">For those people who cant grab the 1.2 gigs of data files from a windows partition</flag>
- <flag name="sou">Installs the Shadows of Undrentide expension pack</flag>
- </use>
-</pkgmetadata>
diff --git a/games-rpg/nwn-data/nwn-data-1.29-r5.ebuild b/games-rpg/nwn-data/nwn-data-1.29-r5.ebuild
deleted file mode 100644
index eda7cf751c8c..000000000000
--- a/games-rpg/nwn-data/nwn-data-1.29-r5.ebuild
+++ /dev/null
@@ -1,654 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-CDROM_OPTIONAL="yes"
-inherit eutils cdrom games
-
-# 3-in-1 DVD - NWN, SoU, HotU (1 disk)
-# Diamond DVD - NWN, SoU, HotU (1 disk)
-# Platinum CD/DVD - NWN, SoU, HotU (4 disks/1 disk)
-# Deluxe CD - NWN, SoU, HotU (5 disks)
-# Gold CD - NWN, SoU (4 disks)
-# Original CD - NWN (1 disk)
-
-LANGUAGES="linguas_fr linguas_it linguas_es linguas_de linguas_en"
-
-MY_PV=${PV//.}
-CLIENT_BASEURL="http://nwdownloads.bioware.com/neverwinternights/linux"
-UPDATE_BASEURL="http://files.bioware.com/neverwinternights/updates/linux"
-
-NOWIN_SRC_URI="${UPDATE_BASEURL}/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"
-
-LINGUAS_SRC_URI="linguas_fr? (
- ${UPDATE_BASEURL}/nwfrench${MY_PV}.tar.gz )
- linguas_it? (
- ${UPDATE_BASEURL}/nwitalian${MY_PV}.tar.gz )
- linguas_es? (
- ${UPDATE_BASEURL}/nwspanish${MY_PV}.tar.gz )
- linguas_de? (
- ${UPDATE_BASEURL}/nwgerman${MY_PV}.tar.gz )"
-
-DESCRIPTION="Neverwinter Nights Data Files"
-HOMEPAGE="http://nwn.bioware.com/downloads/linuxclient.html"
-SRC_URI="${CLIENT_BASEURL}/${MY_PV}/nwclient${MY_PV}.tar.gz
- nowin? ( ${NOWIN_SRC_URI} ${LINGUAS_SRC_URI} )
- !nowin? ( cdinstall? ( ${LINGUAS_SRC_URI} ) )
- mirror://gentoo/nwn.png"
-
-LICENSE="NWN-EULA"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="cdinstall hou nowin sou videos ${LANGUAGES}"
-RESTRICT="strip mirror"
-
-RDEPEND=""
-DEPEND="cdinstall? (
- games-util/biounzip
- app-arch/unshield )
- app-arch/unzip
- app-arch/p7zip
-"
-
-QA_PREBUILT="${GAMES_PREFIX_OPT:1}/nwn/lib/libSDL-1.2.so.0.0.5
- ${GAMES_PREFIX_OPT:1}/nwn/miles/msssoft.m3d
- ${GAMES_PREFIX_OPT:1}/nwn/miles/libmss.so.6.5.2
- ${GAMES_PREFIX_OPT:1}/nwn/miles/mssmp3.asi
- ${GAMES_PREFIX_OPT:1}/nwn/miles/mssdsp.flt"
-
-S=${WORKDIR}/nwn
-
-dir=${GAMES_PREFIX_OPT}/nwn
-Ddir=${D}/${dir}
-
-NWN_SET=
-
-# This is my fun section where I try to determine which CD/DVD set we have.
-# Expect this to be very messy and ugly, and hopefully it all works as we want
-# it to on all of the various media.
-get_nwn_set() {
- # First we check to see if we have CD_ROOT defined already. If we do,
- # this will make our lives so much easier.
- if [[ -n "${CD_ROOT}" ]]
- then
- if [[ -f "${CD_ROOT}"/data5.cab ]]
- then
- NWN_SET="3in1_dvd"
- einfo "Neverwinter Nights 3-in-1 DVD found..."
- elif [[ -f "${CD_ROOT}"/KingmakerSetup.exe ]]
- then
- NWN_SET="diamond_dvd"
- einfo "Neverwinter Nights Diamond DVD found..."
- elif [[ -f "${CD_ROOT}"/ArcadeInstallNWNXP213f.EXE ]]
- then
- NWN_SET="platinum_cd"
- einfo "Neverwinter Nights Platinum DVD/CD set found..."
- elif [[ -f "${CD_ROOT}"/ArcadeInstallNWNXP1_12d.EXE ]]
- then
- NWN_SET="gold_cd"
- einfo "Neverwinter Nights Gold CD set found..."
- elif [[ -f "${CD_ROOT}"/ArcadeInstallNWN109.exe ]]
- then
- NWN_SET="original_cd"
- einfo "Neverwinter Nights Original/Deluxe CD set found..."
- fi
- # Now we check to see if we have CD_ROOT_1 set, which means we have a CD
- # set, or even a DVD set.
- elif [[ -n "${CD_ROOT_1}" ]]
- then
- if [[ -f "${CD_ROOT_1}"/data5.cab ]]
- then
- NWN_SET="3in1_dvd"
- einfo "Neverwinter Nights 3-in-1 DVD found..."
- elif [[ -f "${CD_ROOT_1}"/KingmakerSetup.exe ]]
- then
- NWN_SET="diamond_dvd"
- einfo "Neverwinter Nights Diamond DVD found..."
- elif [[ -f "${CD_ROOT_1}"/ArcadeInstallNWNXP213f.EXE ]]
- then
- NWN_SET="platinum_cd"
- einfo "Neverwinter Nights Platinum DVD/CD set found..."
- elif [[ -f "${CD_ROOT_1}"/ArcadeInstallNWNXP1_12d.EXE ]]
- then
- NWN_SET="gold_cd"
- einfo "Neverwinter Nights Gold CD set found..."
- elif [[ -f "${CD_ROOT_1}"/ArcadeInstallNWN109.exe ]]
- then
- NWN_SET="original_cd"
- einfo "Neverwinter Nights Original/Deluxe CD set found..."
- fi
- # OK. Neither were set, so now we're going to start our detection and try
- # to figure out what we have to work from.
- else
- local mline=
- for mline in $(cat /etc/mtab | egrep -e '(iso|cdrom|udf)' | awk '{print $2}')
- do
- if [[ -f "${mline}"/data5.cab ]]
- then
- NWN_SET="3in1_dvd"
- einfo "Neverwinter Nights 3-in-1 DVD found..."
- elif [[ -f "${mline}"/KingmakerSetup.exe ]]
- then
- NWN_SET="diamond_dvd"
- einfo "Neverwinter Nights Diamond DVD found..."
- elif [[ -f "${mline}"/ArcadeInstallNWNXP213f.EXE ]]
- then
- NWN_SET="platinum_cd"
- einfo "Neverwinter Nights Platinum DVD/CD set found..."
- elif [[ -f "${mline}"/ArcadeInstallNWNXP1_12d.EXE ]]
- then
- NWN_SET="gold_cd"
- einfo "Neverwinter Nights Gold CD set found..."
- elif [[ -f "${mline}"/ArcadeInstallNWN109.exe ]]
- then
- NWN_SET="original_cd"
- einfo "Neverwinter Nights Original/Original CD set found..."
- fi
- done
- fi
-}
-
-get_cd_set() {
- while `[[ -z "${NWN_SET}" ]]`
- do
- echo "Please insert your first Neverwinter Nights CD/DVD into your drive and"
- echo "press any key to continue"
- read -n 1
- get_nwn_set
- done
- # Here is where we start our CD/DVD detection for changing disks.
- export CDROM_NAME_1="CD1" CDROM_NAME_2="CD2" CDROM_NAME_3="CD3"
- case "${NWN_SET}" in
- 3in1_dvd)
- einfo "Both Shadows of Undrentide and Hordes of the Underdark will"
- einfo "be installed from your DVD along with Neverwinter Nights."
- touch .metadata/sou || die "touch sou"
- touch .metadata/hou || die "touch hou"
- touch .metadata/orig || die "touch orig"
- cdrom_get_cds data5.cab
- ;;
- diamond_dvd)
- einfo "Both Shadows of Undrentide and Hordes of the Underdark will"
- einfo "be installed from your DVD along with Neverwinter Nights."
- touch .metadata/sou || die "touch sou"
- touch .metadata/hou || die "touch hou"
- touch .metadata/orig || die "touch orig"
- cdrom_get_cds KingmakerSetup.exe
- ;;
- platinum_cd)
- einfo "Both Shadows of Undrentide and Hordes of the Underdark will"
- einfo "be installed from your CDs along with Neverwinter Nights."
- touch .metadata/orig || die "touch orig"
- touch .metadata/sou || die "touch sou"
- touch .metadata/hou || die "touching hou"
- export CDROM_NAME_4="CD4"
- cdrom_get_cds ArcadeInstallNWNXP213f.EXE \
- disk2.zip disk3.zip disk4.zip
- ;;
- gold_cd)
- einfo "Shadow of Undrentide will be installed from your CDs along"
- einfo "with the original Neverwinter Nights. If you have the"
- einfo "Hordes of the Underdark expansion, it will be installed after."
- touch .metadata/orig || die "touch orig"
- touch .metadata/sou || die "touch sou"
- export CDROM_NAME_4="CD4"
- if use hou
- then
- einfo "You will also need the HoU CD for this installation."
- export CDROM_NAME_5="HoU"
- cdrom_get_cds ArcadeInstallNWNXP1_12d.EXE disk2.zip \
- disk3.zip disk4.zip ArcadeInstallNWNXP213f.EXE
- else
- cdrom_get_cds ArcadeInstallNWNXP1_12d.EXE disk2.zip \
- disk3.zip disk4.zip
- fi
- ;;
- original_cd)
- einfo "We will be installing the original Neverwinter Nights. If"
- einfo "you also have the Shadows of Undrentide or Hordes of the"
- einfo "Underdark expansions, they will be installed afterwards."
- touch .metadata/orig || die "touch orig"
- if use sou && use hou
- then
- einfo "You will also need the SoU and HoU CDs for this installation."
- export CDROM_NAME_4="SoU" CDROM_NAME_5="HoU"
- cdrom_get_cds ArcadeInstallNWN109.exe disk2.bzf \
- movies/NWNintro.bik NWNSoUInstallGuide.rtf \
- ArcadeInstallNWNXP213f.EXE
- elif use sou
- then
- einfo "You will also need the SoU CD for this installation."
- export CDROM_NAME_4="SoU"
- cdrom_get_cds ArcadeInstallNWN109.exe disk2.bzf \
- movies/NWNintro.bik NWNSoUInstallGuide.rtf
- elif use hou
- then
- einfo "You will also need the HoU CD for this installation."
- export CDROM_NAME_4="HoU"
- cdrom_get_cds ArcadeInstallNWN109.exe disk2.bzf \
- movies/NWNintro.bik ArcadeInstallNWNXP213f.EXE
- else
- cdrom_get_cds ArcadeInstallNWN109.exe disk2.bzf \
- movies/NWNintro.bik
- fi
- ;;
- esac
-}
-
-src_unpack() {
- mkdir -p "${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 .metadata || die "Creating .metadata"
- # Since we don't *always* want to do this, we check for USE=cdinstall
- if use cdinstall
- then
- # Here, we determine which CD/DVD set that we have. This will seem a
- # bit odd, since we'll be doing the detection a few times.
- get_nwn_set
- # Now that we know what we're looking for, let's look for the media.
- get_cd_set
-
- case ${NWN_SET} in
- 3in1_dvd)
- mkdir -p "${S}"
- cd "${S}"
- einfo "Unpacking files..."
- # We don't give the user the option to install SoU/HotU. While some
- # people might complain about this, most newer NWN stuff requires
- # them both anyway, so it makes no sense not to install them.
- unshield x "${CDROM_ROOT}"/data1.hdr || die "unpacking"
- # We have to adjust the files after unpacking the cab file.
- rm -rf _*
-
- mv -f App_Executables/{ambient,data,modules,music,texturepacks} .
- mv -f App_Executables/{dm,local}vault .
- mv -f App_Executables/*.key .
- mv -f App_Executables/nwm .
- if use videos
- then
- mv -f App_Executables/movies .
- fi
- mkdir -p utils/nwupdateskins/
- mv -f App_Executables/utils/nwupdateskins/*.bmp utils/nwupdateskins/
- rm -rf App_Executables/
- ;;
- diamond_dvd)
- # This is probably the simplest NWN to install.
- mkdir -p "${S}"
- cd "${S}"
- einfo "Unpacking files..."
- unzip -qo "${CDROM_ROOT}"/Data_Shared.zip || die "unpacking"
- # I think these are not needed. Can someone verify this?
-# unzip -qo "${CDROM_ROOT}"/Language_data.zip || die "unpacking"
-# unzip -qo "${CDROM_ROOT}"/Language_update.zip || die "unpacking"
- unzip -qo "${CDROM_ROOT}"/Data_linux.zip || die "unpacking"
- # We don't give the user the option to install SoU/HotU. While some
- # people might complain about this, most newer NWN stuff requires
- # them both anyway, so it makes no sense not to install them.
- unzip -qo "${CDROM_ROOT}"/data/XP1.zip
- unzip -qo "${CDROM_ROOT}"/data/XP2.zip
- 7z x "${CDROM_ROOT}/KingmakerSetup.exe" -xr0\!*PLUGINSDIR* -xr\!*.exe -xr\!*.dat &> /dev/null || die "unpacking"
- use videos || rm -rf \$0/movies
- cp -rf \$0/* ./
- rm -rf \$0
- ;;
- platinum_cd)
- # This one isn't too bad, either. Luckily, everything is in a ZIP.
- mkdir -p "${S}"
- cd "${S}"
- einfo "Unpacking files..."
- unzip -qo "${CDROM_ROOT}"/Data_Shared.zip || die "unpacking"
- unzip -qo "${CDROM_ROOT}"/Language_data.zip || die "unpacking"
- unzip -qo "${CDROM_ROOT}"/Language_update.zip || die "unpacking"
- unshield x "${CDROM_ROOT}"/data2.cab || die "unpacking"
- # We have to adjust the files after unpacking the cab file.
- mkdir -p miles/
- mkdir -p ambient/
- mkdir -p utils/nwupdateskins/
- mv -f NWN_Platinum/Miles/* miles/
- mv -f NWN_Platinum/ambient/*.wav ambient/
- mv -f NWN_Platinum/docs .
- mv -f NWN_Platinum/modules .
- mv -f NWN_Platinum/nwm .
- mv -f NWN_Platinum/utils/nwupdateskins/*.bmp utils/nwupdateskins/
- rm -rf NWN_Platinum/
- rm -rf _*
- # If we have the DVD, we're done. If not, we need to switch CDs and
- # unpack the files on them.
- if [[ $(du -b "${CDROM_ROOT}"/Data_Shared.zip | awk '{print $1}') -lt 700000000 ]]
- then
- cdrom_load_next_cd
- einfo "Unpacking files..."
- unzip -qo "${CDROM_ROOT}"/disk2.zip || die "unpacking"
- cdrom_load_next_cd
- einfo "Unpacking files..."
- unzip -qo "${CDROM_ROOT}"/disk3.zip || die "unpacking"
- unzip -qo "${CDROM_ROOT}"/Data_Linux.zip || die "unpacking"
- unzip -qo "${CDROM_ROOT}"/language_data.zip || die "unpacking"
- cdrom_load_next_cd
- einfo "Unpacking files..."
- unzip -qo "${CDROM_ROOT}"/disk4.zip || die "unpacking"
- unzip -qo "${CDROM_ROOT}"/xp1.zip || die "unpacking"
- unzip -qo "${CDROM_ROOT}"/xp1_data.zip || die "unpacking"
- fi
- ;;
- gold_cd)
- # Variety of ZIP's off 4 CD's
- mkdir -p "${S}"
- cd "${S}"
- einfo "Unpacking files..."
- einfo "Copying files from CD1"
- cp "${CDROM_ROOT}"/Data_Shared.zip . || die "unpacking"
- cp "${CDROM_ROOT}"/Language_data.zip . || die "unpacking"
- cp "${CDROM_ROOT}"/Language_update.zip . || die "unpacking"
- # Yay cd switching
- cdrom_load_next_cd
- unzip -qo "${CDROM_ROOT}"/disk2.zip || die "unpacking"
- cdrom_load_next_cd
- unzip -qo "${CDROM_ROOT}"/disk3.zip || die "unpacking"
- cdrom_load_next_cd
- unzip -qo "${CDROM_ROOT}"/disk4.zip || die "unpacking"
- # Amazingly enough, the order of operations matter.
- unzip -qo "${S}"/Data_Shared.zip || die "unpacking"
- unzip -qo "${S}"/Language_data.zip || die "unpacking"
- unzip -qo "${S}"/Language_update.zip || die "unpacking"
- rm -f Data_Shared.zip
- rm -f Language_data.zip
- rm -f Language_update.zip
- # Expansion pack
- if use hou
- then
- rm -f xp1patch.key data/xp1patch.bif override/*
- cdrom_load_next_cd
- einfo "Unpacking files..."
- unzip -qo "${CDROM_ROOT}"/Data_Shared.zip || die "unpacking"
- unzip -qo "${CDROM_ROOT}"/Language_data.zip || die "unpacking"
- unzip -qo "${CDROM_ROOT}"/Language_update.zip || die "unpacking"
- touch .metadata/hou || die "touching hou"
- fi
- ;;
- original_cd)
- # Now, we need to create our directories, since we know we'll end up
- # needing them for our install.
- mkdir -p ambient data dmvault docs lib localvault miles modules \
- music nwm override texturepacks scripttemplates
-
- # Handle NWN CD1
- mkdir "${S}"/disc1_tmp
- cd "${S}"/disc1_tmp
- einfo "Unpacking files..."
- unshield x ${CDROM_ROOT}/data1.cab || die "unpacking files"
- rm -f miles/Mss32.dll
- mv -f */* .
- cd "${S}"
-
- mv -f disc1_tmp/*.bif data
- mv -f disc1_tmp/dungeonmaster.bic dmvault
- mv -f disc1_tmp/*.bic localvault
- mv -f disc1_tmp/*.{pdf,txt} docs
- mv -f disc1_tmp/*.erf texturepacks
- mv -f disc1_tmp/chitin.key .
- rm -rf disc1_tmp
-
- # NWN CD2
- cdrom_load_next_cd
- biounzip ${CDROM_ROOT}/disk2.bzf . || die "unpacking files"
-
- # NWN CD3
- cdrom_load_next_cd
- einfo "Copying files from cd..."
- for i in ambient data music
- do
- cp ${CDROM_ROOT}/${i}/* "${S}"/${i} || die "error copying data"
- chmod -x "${S}"/${i}/*
- done
- if use videos
- then
- mkdir -p "${S}"/movies
- cp ${CDROM_ROOT}/movies/* "${S}"/movies || die "error copying data"
- chmod -x "${S}"/movies/*
- fi
-
- # Now, we install HoU and SoU, if necessary
- if use sou
- then
- cdrom_load_next_cd
- einfo "Unpacking files..."
- unzip -qo "${CDROM_ROOT}"/Data_Shared.zip || die "unpacking"
- unzip -qo "${CDROM_ROOT}"/Language_data.zip || die "unpacking"
- unzip -qo "${CDROM_ROOT}"/Language_update.zip || die "unpacking"
- unzip -qo "${CDROM_ROOT}"/Data_Linux.zip || die "unpacking"
- touch .metadata/sou || die "touching sou"
- fi
- if use hou
- then
- cdrom_load_next_cd
- if use sou && use hou
- then
- rm -f xp1patch.key data/xp1patch.bif override/*
- fi
- einfo "Unpacking files..."
- unzip -qo "${CDROM_ROOT}"/Data_Shared.zip || die "unpacking"
- unzip -qo "${CDROM_ROOT}"/Language_data.zip || die "unpacking"
- unzip -qo "${CDROM_ROOT}"/Language_update.zip || die "unpacking"
- touch .metadata/hou || die "touching hou"
- fi
- ;;
- esac
- fi
- # We unpack this for all media sets.
- unpack nwclient${MY_PV}.tar.gz
- if use nowin
- then
- if (use sou || use hou) && ! use cdinstall ; then
- ewarn "If you really want to install SoU and/or HoU, you must"
- ewarn "emerge with USE=cdinstall."
- die "SoU and/or HoU require USE=cdinstall."
- fi
- cd "${WORKDIR}"
- unpack nwresources${MY_PV}.tar.gz \
- || die "unpacking nwresources${MY_PV}.tar.gz"
- cd "${S}"
- fi
-
- rm -rf override/*
- for a in ${A}
- do
- currentlocale=""
- if [[ -z ${a/*german*/} ]]
- then
- currentlocale=de
- elif [[ -z ${a/*spanish*/} ]]
- then
- currentlocale=es
- elif [[ -z ${a/*italian*/} ]]
- then
- currentlocale=it
- elif [[ -z ${a/*french*/} ]]
- then
- currentlocale=fr
- fi
- if [[ -n "$currentlocale" ]]
- then
- touch ".metadata/linguas_$currentlocale"
- mkdir -p $currentlocale
- cd ${currentlocale}
- unpack ${a} || die "unpacking ${a}"
- cd ..
- fi
- done
- if use linguas_en
- then
- touch ".metadata/linguas_en"
- fi
- # These files aren't needed and come from the patches (games-rpg/nwn)
- rm -f data/patch.bif patch.key
- rm -f data/xp1patch.bif xp1patch.key
-
- # Rename nwn.ini to avoid overwriting it every time
- mv nwn.ini nwn.ini.default
-
- sed -i -e 's,/bin/sh,/bin/bash,g' -e '\:^./nwmain .*:i \
-'"dir='${dir}';LINGUAS='${LINGUAS}'"';LANG="${LANG/_*}" \
-die() { \
- echo "$*" 1>&2 \
- exit 1 \
-} \
-cd "${dir}" || die "cd ${dir}" \
-if [[ -d "$LANG" ]] \
-then \
- p=${HOME}/.nwn/${LANG} \
-elif [[ -d "en" ]] \
-then \
- LANG=en \
- p=${HOME}/.nwn/${LANG} \
-else \
- LANG="" \
- p=${HOME}/.nwn \
- for i in ${LINGUAS} \
- do \
- if [ -z "${LANG}" -a -r ".metadata/linguas_$i" -a -d "$i" ] \
- then \
- LANG=$i \
- p=${HOME}/.nwn \
- fi \
- done \
-fi \
-mkdir -p "${p}" \
-find "${p}" -type l -delete \
-for i in * ; do \
- if [[ ! -f ".metadata/linguas_${i}" && ${i: -4} != ".ini" ]] \
- then \
- cp -rfs ${dir}/${i} ${p}/. || die "copy ${i}" \
- fi \
-done \
-if [[ -n "$LANG" ]] \
-then \
- cd "${LANG}" || die "cd ${LANG}" \
- for i in * ; do \
- cp -rfs ${dir}/${LANG}/${i} ${p}/. || die "copy ${LANG}/${i}" \
- done \
-fi \
-cd "${p}" || die "cd ${p}" \
-if [[ -r ./nwmovies.so ]]; then \
- export LD_PRELOAD=./nwmovies.so:$LD_PRELOAD \
- export SDL_AUDIODRIVER=alsa \
-fi \
-if [[ -r ./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}"
- mkdir -p "${S}"/dmvault "${S}"/hak "${S}"/portraits "${S}"/localvault
- rm -rf "${S}"/dialog*.{tlk,TLK} "${S}"/*/dialog*.{tlk,TLK} \
- "${S}"/dmclient "${S}"/nwmain "${S}"/nwserver \
- "${S}"/SDL-1.2.5 "${S}"/fixinstall
- # Remove the softlink to the built-in SDL library so that we don't have to re-install
- # this whole thing whenever we need to update to a different custom SDL
- rm "${S}"/lib/libSDL-1.2.so.0
- if ! use videos
- then
- rm -rf "${S}"/movies/*
- fi
- 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 movies 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} ${lcf}
- fi
- done )
- fi
- done
-
- 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 cdinstall && ! 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.68) Neverwinter Nights to ${dir}:"
- elog " ambient/"
- elog " data/"
- elog " dmvault/"
- elog " hak/"
- elog " localvault/"
- elog " modules/"
- if use videos
- then
- elog " movies/"
- fi
- 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}"
- echo
- elog "Or try emerging with USE=nowin and/or USE=cdinstall."
- echo
- else
- einfo "The NWN linux client data is now installed."
- echo
- fi
- if use cdinstall && ! use nowin ; then
- ewarn "Some/all demo modules will be missing. You can copy them manually into :"
- ewarn "${dir}/modules"
- ewarn "or emerge with USE=nowin."
- fi
- if ! use cdinstall && use nowin && use videos
- then
- ewarn "Some/all movies will be missing. You can copy them manually into :"
- ewarn "${dir}/movies"
- ewarn "or emerge with USE=cdinstall and/or USE=-nowin."
- fi
- elog "This is only the data portion, you will also need games-rpg/nwn to"
- elog "play Neverwinter Nights."
- echo
-}
diff --git a/games-rpg/nwn-penultima/Manifest b/games-rpg/nwn-penultima/Manifest
deleted file mode 100644
index aba92a6f13f6..000000000000
--- a/games-rpg/nwn-penultima/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-DIST Penultima_0_Penultima_City.zip 328125 SHA256 6040fc52ccd9ab21f2e3fc8aa596357c325c264932d7a4776ed2edb1424f23aa SHA512 2b2f9e7e72642baa6784bd010cee5aed947ee69670a18fe574a2bb458c890b3145f10417b6df9393b9cb715cac8e34673c75359b9a3e97b1c7b596f2ff8796da WHIRLPOOL a4ccfcb93db827dac6062e4a3aa02829920e2b0a600598e2997ed34a33fb77f7d5b71581bd564292957bde9e4505657e90777b38995b8dc3ceb269ed23fd409f
-DIST Penultima_1_Pest_Control.zip 175522 SHA256 46cd4c3c3ffc4797fc17f5a22ac15ce848d2f339ae41e6b19eee2cd0fcb9974f SHA512 fe6937846ec190a6decb68040d485565e184e6725399491385a03f538db89ae1f653669dbeb7594dbf82d938375f41d56e4540d564a5d87781843c1971f121e9 WHIRLPOOL 54b71dac89e16de23f164dfa4c6463941155ecc46c6cd364665f43af19b9f0a59469611b8d5de11a224d6770c6f2d7b5c3215644d52f026faa845ae054f30d89
-DIST Penultima_2_Deweys_Decimal.zip 372994 SHA256 2331bf16cd927048ee159aac869601aa5cd4e9465d3dc8562e6fff0b72f93537 SHA512 7bdd96bc7013a903ae1e098156436b6fe342fc14ffc620c94055cfc40640fa4494ba2e759fa91ec2dc96c5ea4c86aa4d01298c5f153039ea56485d86f4859659 WHIRLPOOL 42fe175dd832eebf4ad60cec76cd99323dd9da172602b092ca1fbb9782cc3a98374a0b8b816e25222727ea2fcb0918504532ceb1f7694c3ac20966b714c0c337
-DIST Penultima_3_Hazard_Pay.zip 385090 SHA256 3907374ad0bbf57acd8239bcfa4b3676c23ba8b63c0b743076d697ccc83c7e0a SHA512 9650683713b7fa07a9397ba3f0c2279852266d0d93692968ace90385dc079df8d302951dc60ad140712bfb742886d7eb773d9034ace884d48fc837ff86e15602 WHIRLPOOL 9d3a8714d2289535c82b027b49301844e7491a619f8f89c1b6f0f253c2d1708ec011ee5c6a69a76c4a72883f41d1811e25291fc90e505af08ebb26b190057ac1
-DIST Penultima_4_Clucking_Hositle.zip 309353 SHA256 c58b61a7bfff5961a583aeca13f5823d68f96f3828dafae6bc391a60191a7edb SHA512 57919023bf6ab4041976f2517b56a2eb94ab1b09d3de5cff133d3b3943e09501be8170a94c8e61d74dacbf25971153ef2478cacde23a6f1a1285b35e0461adef WHIRLPOOL 46faff5dea5eb11fb9b27f5f372310137f96718dd2b9950bc6ad8b18a8d7e967ad1389de67cc8138e541f4d17ea85b509e8e3a577d5519bed7f2d50abfe8299b
-DIST Penultima_5_Home_Sweet_Home.zip 418774 SHA256 220c2275446bb796931b9c4828e34ff419b5667c99656fd5f12cf16b06322e87 SHA512 6aa0dcef9ae572daba480a723d9de6eca4f282b6ab15dd5198177dbe105db0f361f54854ac2bf89e73167f15c5c8d3c4890e5bb22b878178c28bd4372cb790ff WHIRLPOOL 0498ec1e8eb47d888df22a99ec8c93e861edad0eef2bc6eafe45e0c09bd66c90ea9e33d7062fd4f7780542c4784a8898e857bd3ce81e51433e82f40d19bb7367
diff --git a/games-rpg/nwn-penultima/metadata.xml b/games-rpg/nwn-penultima/metadata.xml
deleted file mode 100644
index 4352d122dab9..000000000000
--- a/games-rpg/nwn-penultima/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>calchan@gentoo.org</email>
- <name>Denis Dupeyron</name>
- </maintainer>
-<maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
- </maintainer>
-</pkgmetadata>
diff --git a/games-rpg/nwn-penultima/nwn-penultima-1-r1.ebuild b/games-rpg/nwn-penultima/nwn-penultima-1-r1.ebuild
deleted file mode 100644
index 42efb99f0f35..000000000000
--- a/games-rpg/nwn-penultima/nwn-penultima-1-r1.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit games
-
-DESCRIPTION="A parodic fantasy module for Neverwinter Nights"
-HOMEPAGE="http://pixelscapes.com/penultima"
-SRC_URI="http://c.vnfiles.ign.com/nwvault.ign.com/fms/files/modules/1661/Penultima_0_Penultima_City.zip
- http://c.vnfiles.ign.com/nwvault.ign.com/fms/files/modules/1665/Penultima_1_Pest_Control.zip
- http://c.vnfiles.ign.com/nwvault.ign.com/fms/files/modules/1667/Penultima_2_Deweys_Decimal.zip
- http://c.vnfiles.ign.com/nwvault.ign.com/fms/files/modules/1669/Penultima_3_Hazard_Pay.zip
- http://c.vnfiles.ign.com/nwvault.ign.com/fms/files/modules/1671/Penultima_4_Clucking_Hositle.zip
- http://c.vnfiles.ign.com/nwvault.ign.com/fms/files/modules/1673/Penultima_5_Home_Sweet_Home.zip"
-
-# redistributable per http://stefangagne.com/penultima/modules.html
-LICENSE="freedist"
-SLOT="0"
-KEYWORDS="-* amd64 x86"
-IUSE=""
-
-DEPEND="app-arch/unzip"
-RDEPEND="games-rpg/nwn"
-
-src_install() {
- insinto "${GAMES_PREFIX_OPT}"/nwn/modules
- doins *.mod
-
- insinto "${GAMES_PREFIX_OPT}"/nwn/penultima
- doins *.txt
-
- prepgamesdirs
-}
diff --git a/games-rpg/nwn-penultimarerolled/Manifest b/games-rpg/nwn-penultimarerolled/Manifest
deleted file mode 100644
index 6abb7448ff8e..000000000000
--- a/games-rpg/nwn-penultimarerolled/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-DIST PR0_and_PR1_Penultima_ReRolled_Starter_Pack_v1.4.zip 3020678 SHA256 6e0ef8e3be1ca628fc0e6c29b1a0082a970623308fa3f72064dedfba490f432a SHA512 24666de2bc628c43a31082d96c81417f555b279d8ad294034796f181216ed00fe4dc518a110e29a05395e855c0ad77741a0458ca73a8b7ab3a2f277a508f1c32 WHIRLPOOL c006d986de7e84e0813a6f327aadd919aea1ace1ea3ddae1c0e33aeefbde5b883f8ec46a164270bed1f170f34ed56f4c23e3b65a50c6ed7937cd1cce696be416
-DIST PR2_Below_the_R00t.v1.zip 433938 SHA256 58744d9a07eb0ebe4909f8b6be7be699d132dea62a20ee99ab227bae65061d1b SHA512 3859032b8a8f14f793fb7cd02cc48b74ec4c28d7d2de040cec6906679ab80b060d9c2c44dda3c1182e757b5f88ef89e54a7aa1d3e241bbec89cc3733ea2bdc21 WHIRLPOOL 5627e9a19222321bd2f548a7ccf14a312d6b3a1fdfc93f88ff2caf4fcf1b3cd262939f9fa04f2b6157f812a38912ba4eee1a92c13b914168c436427f249310ad
-DIST PR3_Homeland_Security.v1.4.zip 479645 SHA256 6f79f5ae168db226b60661fa0e26e94db6bf9e5aae1a478eddeee32fba0f8804 SHA512 e7dd540fdb34fd0ab351b67843fa838dea7c82d1bbe5c8e456877b7940cadb45eb2edea7d418602a1a717290ce1365e883a241e41cc7b9a49b4921a2193ce687 WHIRLPOOL d9dd26f5abb9112472ebb6c9558685d2f7196cb0b8b646f0be526a75ce4d629c881169322c5b44d87078d7b70b2222a53541467d86b51413628c2bd7fa55d613
-DIST PR4_Pastor_of_Muppets.v1.1.zip 1719811 SHA256 216df86a743557997e32425e84ab058f10e0e28424a46127e5c8c244eb71d203 SHA512 07b8fdeaf75a72168f2dc00e59071d36b93f3320a62bc4218e2cfb2fa34f78826cf15ab1d8835a89c64121e31bf83ee520e244c046b0d2010260fddd04d2c0a2 WHIRLPOOL 5bfd986674d484c8766e7bfdd9e0a59ee28ce7f82c21d9e3691da4290e7914c4e8943f8eb9786f14b26176705eddd513b4a0b5ea2589d706448501cca2445da6
-DIST PR5_The_Saving_Throw.v1.1.zip 3813986 SHA256 f6a4dafb669cbec4e5c840b0f7492223e80708cfa6e0e0ad5334ced38a3e52d8 SHA512 9047968c3578fdb4afb87e4403d2e9da193dc31c3748c1405072b9fc8dd5cc062679dbf4f9e55388d68cd56662c7c6e6686381cd2ab4f084278ffa378e64874f WHIRLPOOL 09a94239dadc34a5cfd8b9951333e95312529af45b35131fc34ed79196d15aaa6a241e72c13ad6f6dbaff8cb78a8bbd34c0c05962c55b92ffb85d26d900e2dc3
diff --git a/games-rpg/nwn-penultimarerolled/metadata.xml b/games-rpg/nwn-penultimarerolled/metadata.xml
deleted file mode 100644
index 4352d122dab9..000000000000
--- a/games-rpg/nwn-penultimarerolled/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>calchan@gentoo.org</email>
- <name>Denis Dupeyron</name>
- </maintainer>
-<maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
- </maintainer>
-</pkgmetadata>
diff --git a/games-rpg/nwn-penultimarerolled/nwn-penultimarerolled-1.ebuild b/games-rpg/nwn-penultimarerolled/nwn-penultimarerolled-1.ebuild
deleted file mode 100644
index 069543b5617e..000000000000
--- a/games-rpg/nwn-penultimarerolled/nwn-penultimarerolled-1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-inherit games
-
-DESCRIPTION="A parodic fantasy module for Neverwinter Nights"
-HOMEPAGE="http://pixelscapes.com/penultima"
-SRC_URI="http://c.vnfiles.ign.com/nwvault.ign.com/fms/files/modules/1674/PR0_and_PR1_Penultima_ReRolled_Starter_Pack_v1.4.zip
- http://c.vnfiles.ign.com/nwvault.ign.com/fms/files/modules/1675/PR2_Below_the_R00t.v1.zip
- http://c.vnfiles.ign.com/nwvault.ign.com/fms/files/modules/1676/PR3_Homeland_Security.v1.4.zip
- http://c.vnfiles.ign.com/nwvault.ign.com/fms/files/modules/1677/PR4_Pastor_of_Muppets.v1.1.zip
- http://c.vnfiles.ign.com/nwvault.ign.com/fms/files/modules/1678/PR5_The_Saving_Throw.v1.1.zip"
-
-LICENSE="freedist"
-SLOT="0"
-KEYWORDS="-* amd64 x86"
-IUSE=""
-
-DEPEND="app-arch/unzip"
-RDEPEND="games-rpg/nwn"
-
-src_install() {
- insinto "${GAMES_PREFIX_OPT}"/nwn/modules
- doins *.mod || die "Installing modules failed"
-
- insinto "${GAMES_PREFIX_OPT}"/nwn/hak
- doins *.hak || die "Installing hak files failed"
-
- insinto "${GAMES_PREFIX_OPT}"/nwn/music
- doins *.bmu || die "Installing music failed"
-
- insinto "${GAMES_PREFIX_OPT}"/nwn/movies
- doins *.bik || die "Installing movies failed"
-
- insinto "${GAMES_PREFIX_OPT}"/nwn/penultima_rerolled
- doins *.html *.jpg || die "Installing documentation failed"
-
- prepgamesdirs
-}
diff --git a/games-rpg/nwn-shadowlordsdreamcatcherdemon/Manifest b/games-rpg/nwn-shadowlordsdreamcatcherdemon/Manifest
deleted file mode 100644
index 623b744f9bf9..000000000000
--- a/games-rpg/nwn-shadowlordsdreamcatcherdemon/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST ShadowlordsDreamcatcherDemon.exe 157055254 SHA256 6f1197ae79da447e72d1d894d51265c534f5406583e1e8905907396a488cf62c SHA512 8ac3b47df35c2ee3baba6ca27e027cf5f8f83e7583e342725741a4721462621bf6b8f65d8337cfefc51cc0420d0d0d8d2acc2255793a7705f35b3d56d3a933dd WHIRLPOOL e23fb9ff3112e0514d36d59ee9405f6d635facfd206db86ee9bb668333b2a9ac68fe2a7ab766dce6d3987fac4a6696173abb33583cff8c7cf49a75c1af2908e1
diff --git a/games-rpg/nwn-shadowlordsdreamcatcherdemon/metadata.xml b/games-rpg/nwn-shadowlordsdreamcatcherdemon/metadata.xml
deleted file mode 100644
index 4352d122dab9..000000000000
--- a/games-rpg/nwn-shadowlordsdreamcatcherdemon/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>calchan@gentoo.org</email>
- <name>Denis Dupeyron</name>
- </maintainer>
-<maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
- </maintainer>
-</pkgmetadata>
diff --git a/games-rpg/nwn-shadowlordsdreamcatcherdemon/nwn-shadowlordsdreamcatcherdemon-1.ebuild b/games-rpg/nwn-shadowlordsdreamcatcherdemon/nwn-shadowlordsdreamcatcherdemon-1.ebuild
deleted file mode 100644
index c2c02c04ce5d..000000000000
--- a/games-rpg/nwn-shadowlordsdreamcatcherdemon/nwn-shadowlordsdreamcatcherdemon-1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-inherit games
-
-DESCRIPTION="The bundled Shadowlords, Dreamcatcher, and Demon campaigns by Hall-of-Famer Adam Miller"
-HOMEPAGE="http://www.adamandjamie.com/mod/nwn_campaign.aspx"
-SRC_URI="http://vnfiles.ign.com/nwvault.ign.com/fms/files/modules/4273/ShadowlordsDreamcatcherDemon.exe"
-
-LICENSE="all-rights-reserved"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
-RESTRICT="mirror bindist"
-
-DEPEND="app-arch/p7zip"
-RDEPEND="games-rpg/nwn"
-
-src_unpack() {
- 7z x "${DISTDIR}/ShadowlordsDreamcatcherDemon.exe" || die "Unpacking failed"
-}
-
-src_install() {
- insinto "${GAMES_PREFIX_OPT}"/nwn/modules
- doins *.mod || die "Installing modules failed"
-
- insinto "${GAMES_PREFIX_OPT}"/nwn/hak
- doins *.hak || die "Installing hak files failed"
-
- insinto "${GAMES_PREFIX_OPT}"/nwn/music
- doins *.bmu || die "Installing music failed"
-
- insinto "${GAMES_PREFIX_OPT}"/nwn/movies
- doins *.bik || die "Installing movies failed"
-
- insinto "${GAMES_PREFIX_OPT}"/nwn/shadowlords_dreamcatcher_demon
- doins *.txt || die "Installing documentation failed"
-
- prepgamesdirs
-}
diff --git a/games-rpg/nwn/Manifest b/games-rpg/nwn/Manifest
deleted file mode 100644
index 5b7c83e216e1..000000000000
--- a/games-rpg/nwn/Manifest
+++ /dev/null
@@ -1,19 +0,0 @@
-DIST English_linuxclient168_orig.tar.gz 130569338 SHA256 03687bff0469cb08a7e5a14316e076a6bfe698121ccee4e2116f0bf119988092 SHA512 b1eaf7fb3f009b544ad05bde5c4f817c515bad770752ba7a454acef38bb7bc45bb276c93052b61cbf34a52439fac597842da563a85d6c5f4fe4040d6d2528578 WHIRLPOOL 31500340f5325f5e3460c6c247aa49d6a819892c63fb8cba9e238ef8251ea8ff799771923d6e703f4917147feab7e182ea0d2aff61524cea2a1e6d7829086ba9
-DIST English_linuxclient168_xp1.tar.gz 134673662 SHA256 e78716a83add4980674f86fd648d374b6086365620bde478b678edfdd4e7e82c SHA512 2893b377667df9d071d121a627b774302d40da8dcb11d48e8977ca43a8865adf1d99b39ec161401b1f2ffe200402a2c4db594bd1e713bfe7e4cea85eb8ecbd3b WHIRLPOOL ce3aeeeb2ba01d9a28d25630aec5a1f1448f7c3cef042a39cae4ae03e4905c0e09d21a86295c8d1582a34ec8761abe2e953a0e4ad5cbe5987780b3e48919ad9c
-DIST English_linuxclient168_xp2.tar.gz 120144829 SHA256 b8d69ad68c3e3ddf2332176ffd1494682bd9f9d254531720327a62be44e1ac2c SHA512 09f05067aa245399bf9e96c3fbe68f8bbe913b5a68744ea91b5db006a5a01e190fcd0170675e84aae208bff0fbdb47e50eccc9e931b07cb2d461e6fee9e17f4a WHIRLPOOL 57f0083aa116a6fea2c495b5b5014c77ff5e68d1d0e7749473db9fac0be70ea6a71ab47543b7123f3140967cadcfe70943ccc6b0a942bccb5f7aeebd0685acfa
-DIST English_linuxclient169_orig.tar.gz 473297170 SHA256 50932f9647ea7968dbb8f7ab1fc6478035fff0826379a45762c1de8e46d1d2b0 SHA512 e24c0a44e41c97e313aeae1f001ee9ab15d97432b754246bc38b79d8adb7b372f5063a45c378fcf2ea07835f46ed20d02cca727bd7f9ce3800ab36e0ccc4b30c WHIRLPOOL 098a9d80f923971e19f036b93b0bc3ad550c7bb72e1efb1fd850ceacfc61a8159c9cabbf74ce91c9c3435a346e8aa5a80020427d1abd83f02b948616cbb753dd
-DIST English_linuxclient169_xp1.tar.gz 477419208 SHA256 678254a1dbc52c5c3fa628410e3231b05afa3a612433729e7ef12d41bea8fc16 SHA512 c3ba7feba019f62a7a9e2925a7b76c53465d6c64743c9a1e3b9bb34b91b807979fbb9c842b175d4bbd3d6f7c176a6a4446bd58c6c4b50780f1883c376b93e670 WHIRLPOOL e6f6d69d65986b593db100dac06d0f6314fc3b1fe9f6adda148c149f826415580a91a2026d200f96c9eb2f551f92c84256d6bf64275f682265735242123b80c0
-DIST English_linuxclient169_xp2.tar.gz 506025948 SHA256 09715e2b95c025ef7f00d218deec1b1edce501530d8cba51d61097c69699763f SHA512 9a44c60f6d319b0559889c9bfc78656d93e0780527329e6ccd7cf2bafe61c4b9e7d8ea6d3988b06a1ce44b8eec26f4cf773f0ab900ab6f034d1451e1b68ef7fe WHIRLPOOL 295c1deeed6ab3209017dc9ac4e4595396faaa1e08cfaedeffd97a5777684b099512c46e5d3bade0bcab9666cc0df3fb65213caffff38b4cca60b8e4a42b41ec
-DIST French_linuxclient168_orig.tar.gz 131090499 SHA256 f32ed5a759a0a6b49d8f9ef39e313d49a8931725c0d5a61d3a8737d125902315 SHA512 cbbe5c14308a3ab7c67eaa2d5c015e20db871fd758edd21431a32da93ebd6a00b168fa80fe26039b84ab95adb299da2746cae78cd33c75e27ed0be3c6aa37cec WHIRLPOOL 047dc8feb8c26629c17931967136f4beb523dad61d772de8c92950b245dc85560c3782f38b1054924092b94c4b209e0b6eaa7c322127929573d7b5954c7c1c17
-DIST French_linuxclient168_xp1.tar.gz 151199720 SHA256 b9f8fe388519bc824bd2b0198a6c51b93d8a3534d16718b164b6c983fea08f9a SHA512 a0a23822a37e49654959fe10221fdc805bd05911efc17528fd4d11c92b43584f2f4667c1bfaecd82b4bec36fbc66e7f62ff820fc95c847de23d606b0d9f5900b WHIRLPOOL 51d97af81521c922b0cda564cc5ac0b361b3703b135d26bfb7d36023ae7db4b0973ceb022ee7bf31f9f850b535232b904c90604ba5cea3253018abeea138a097
-DIST French_linuxclient168_xp2.tar.gz 133316339 SHA256 7cc11a8cc7a613714c8d01c42b061baad874001da479db1d26903f494894e98a SHA512 6d6902d914cb4fada93f871af68bb6196f4c3250521ab1ddfc79cdab48db6ad01da2ce2c7acbe285bd95203f695ca8b27ccdcf0d4e53925d217dea1b7f6b0eec WHIRLPOOL 413a140c373490cf56ba477b694dece0a5700965d812fe0d6c2165c7ccf1a75b0793a946499eac4ee6d9d12e54d7f2c6c6113f78b540a7f281a7267d33f1bb0d
-DIST German_linuxclient168_orig.tar.gz 131790824 SHA256 d0850968fe68cdabfa3138810387dd4be0bf4338173dc02a46cd5ed7c4348b45 SHA512 193a4a43d784c31c3897ec14a3ce73156c50744c178aa4feebae90fee609a8b1922b32626fa8befabaa2b6773080e31efd5a24194a00a8a65cae9e1daaa2a364 WHIRLPOOL 58bdb9fe96c7e0eec9e059c6bc45e5a4df08882b200e6c817729e1348c11c95a7d30e5df5e8bacf6d063f6c82eff6df14b23c712c628730654b9a59a27dc0ff9
-DIST German_linuxclient168_xp1.tar.gz 152951618 SHA256 11e0b929547860309007298e1851d368d445b7dc8ceab17cece33d51342bfdd8 SHA512 ab47b84089d9406f809f1b2c376acc4054595b187b8bfeccc03e6fbd38c5adf72f4b2da72dd09e74ec37f7ec43cb120561f23f1ccfd0349a1620c99bc45e10f8 WHIRLPOOL 61005dd6de831b71a12d56a67272134e0047600d984add7fd53a8efa7e6b95da0ecd5e4b7f2829d5dca7f74311f08ee4dceffb68d5615a8064f6494f4315d100
-DIST German_linuxclient168_xp2.tar.gz 134425276 SHA256 5d8fe43b751dd9372f45a1193cbf21da04b99fa5c735e5286d7306cf325f796d SHA512 e2573d2982f9445871c9cf6351fb8be6a9bf1b4421f3156639e60deda9b3f0c4020f9b54382f5aba18c098bae72c6804e8f98176a8f3151a079190b184af80b2 WHIRLPOOL c6ea6fc621eada2f84efee5bfea88e7db45d24182577f4a09f5ff76b87902c7bdba2a1db70b769c602d7a1a21d363133ea9a381e129de87858545706a7e85395
-DIST Italian_linuxclient168_orig.tar.gz 132705873 SHA256 650235b4ac464f7bdc873aaf8404ec51deef6e8a7c780a9bb237782c1575f95b SHA512 83381c6abb4f7507cd6367fa0221a5895121f377d00b38eb8b1e1305b59c19821593e9df808e19384fccd1a8177983b1f1e76fc120794c4fc8fd12347f3351e5 WHIRLPOOL 1f01b09bdb4991bd10441be8195d8ea5973ed98c29741a1655104c3e3ae76c0713e291f8f10ec2a451e5a06d2cbd48e8be85caba00fdfaa85e62936fbf543c10
-DIST Italian_linuxclient168_xp1.tar.gz 143425395 SHA256 52da3063290f564c64905b0806201ad9623a62d99f38adae39e3eb0f5970eb94 SHA512 893541a33f302911cfc33a8b9f843d75bf95dcb940436cdc067000499edfc8be1505efaeab60f80b5e054e3baaf156b6605f8c2f41e24adc04866f46a021ad0b WHIRLPOOL 48dbf9ec567602ef4ebd64792673d4eaf5186af4d708e50e74f9c183af8de256047698d5ea40fd7425ce412295fb900676e7c003bd796400f553e1d2f8e83ec6
-DIST Italian_linuxclient168_xp2.tar.gz 133867117 SHA256 8a8f87034ccda517e2c69dea61f6fe799a0e1ef5ced6eab2081980da988f49d8 SHA512 28f16224983b4ab7612a6884b47cf7a451b515725c1d04570b793a416320677f1d780b38ad06c8a9d92b96c2290583d7842aad6475f25c9a63ee0f62bdf80881 WHIRLPOOL f506afb369d1071ac7c91944656088a9a1623024f24117fdf5b8c59eb26306f58d3aa4345bf4a0cdc7ebe412bf5bfd4fe907d9fdd222ceac37c7f04c9d6a01dd
-DIST Spanish_linuxclient168_orig.tar.gz 132704890 SHA256 01bfd907735a69112fc1847e82269ed2a3d00760a9906dd24819269e53173f13 SHA512 526ca6eb4356bc0b0e5153a55f8d59e144b3946844e334028ea21fae75b95f276cfc48ce684493e96c22fe687ccb0624dd14d679f219055fb39a05b2555ebe3f WHIRLPOOL f94a926398221441a395355729288293ab337e6abf55a23a7b2d2b1f0419af06b52a6de7c0c41a1da6d8185a4eb7cd00df74d1db2c819ed7daadf1af8466fa07
-DIST Spanish_linuxclient168_xp1.tar.gz 143415370 SHA256 c74faed185b87a0f187f4e1bcf873ec3810a1fd8dba026b81bcf421e1ca121d9 SHA512 7ffc6468d94e44725ea43b2be7fc36588ea881d7b2fad80af6eba855d1364c39b28be41e24088c52318ce9c8ea9fd177321db0038dc2866d97897c3fde89e258 WHIRLPOOL 7bfae910e40799c5926f2f7ab142395e6b24a4ca2c163f7bc021de83ef6f848081397e8fad8b0c7e559f428a6a3b587142991dc4e9eb7946533ef4cc76ba6d02
-DIST Spanish_linuxclient168_xp2.tar.gz 133862305 SHA256 b4d4efb0eb5d3395e42e665b518f3cec19c690b0f7f57783ecaa2e6aa8b70a5e SHA512 289165f18d4474b285e31cd6ef3b72cf36cab339352d39f797ac1dfbb45d21b1ea5f0505534c5ec9693a588dec9ece5df85b32fd2441816703845d0abd0fa857 WHIRLPOOL fd2bf1df42fa9fcf6e709b990acc2767d6b67b115279b74cdb052b226574a5e375333583104a8496b32d466150ecc1297c7c9a39863d1a493762e97ffab7b05f
-DIST nwn-libs-1.tar.bz2 250395 SHA256 8cf73b69f5c254125713b0bf8dcb89e3320eee5a3339df11d6d18d8381b36f31 SHA512 9a1941f232a0d2cf890660b8e383068f37cb573023c751e57e77cd803290425d9169844c9c550fa7f2a242ba7e7fe499d0f07a618acde9d2d02eab57495e948f WHIRLPOOL 740ce19b2292f961feab1d8829f1128f9e81613885fad5bab014dff7f975563265e4bfecc405b69a409472281cee213e0675696f3173ffd8f48e32a15c40b0ee
diff --git a/games-rpg/nwn/files/fixinstall b/games-rpg/nwn/files/fixinstall
deleted file mode 100644
index c324b61bf89e..000000000000
--- a/games-rpg/nwn/files/fixinstall
+++ /dev/null
@@ -1,107 +0,0 @@
-#!/bin/bash
-# Initial version by Bioware
-# Modified to match the gentoo setup
-# 03/27/2003 phoen][x <phoenix@gentoo.org>
-
-cd GENTOO_DIR/nwn || exit 1
-
-aRequiredDirs=(ambient data music override miles nwm)
-aRequiredFiles=(chitin.key dialog.tlk nwmain)
-aLCDirs=(ambient data dmvault hak localvault music override portraits)
-aProblemFiles=()
-aWritables=(nwn.ini nwnplayer.ini nwncdkey.ini saves localvault tempclient currentgame dmvault)
-
-printf "Checking for required files\n\n"
-
-for d in ${aRequiredDirs[@]} ; do
- if [[ -d $d ]] ; then
- printf "PASSED: $d directory exists\n"
- else
- printf "FAILED: $d directory missing\n"
- exit 1
- fi
-done
-
-for f in ${aRequiredFiles[@]} ; do
- if [[ -f $f ]] ; then
- printf "PASSED: $f exists\n"
- else
- printf "FAILED: $f missing\n"
- exit 1
- fi
-done
-
-printf "\nFixing case\n\n"
-
-if [[ -f dialog.TLK ]] ; then
- mv dialog.TLK dialog.tlk
-fi
-
-if [[ -f dialogF.TLK ]] ; then
- mv dialogF.TLK dialogf.tlk
-fi
-
-for d in ${aLCDirs[@]} ; do
- if [[ -d $d ]] ; then
- printf "$d\n"
- 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
- printf .
- done
-
- cd ..
- printf "\n"
- fi
-done
-
-defIFS=$IFS
-IFS='|'
-
-if [[ -d saves ]] ; then
- cd saves
- for d in $(find . -name '* - *' -type d -printf "%f|") ; do
- printf "saves/$d\n"
- cd "$d"
-
- [[ -f Portrait.tga ]] && mv Portrait.tga portrait.tga
- [[ -f Screen.tga ]] && mv Screen.tga screen.tga
-
- cd ..
- done
- cd ..
-fi
-
-IFS=$defIFS
-
-printf "\nChecking for problem files\n\n"
-
-for f in ${aProblemFiles[@]} ; do
- if [[ -e $f ]] ; then
- printf "WARNING: $f exists, deleting this file is recommended\n"
- fi
-done
-
-printf "\nFixing permissions\n\n"
-
-chown GENTOO_USER:GENTOO_GROUP GENTOO_DIR/nwn/ -R
-chmod g+rwX GENTOO_DIR/nwn/ -R
-
-# 1.65-specific fixes to permissions
-[ -e GENTOO_DIR/nwn/data/patch.bif ] && \
- chmod a-x GENTOO_DIR/nwn/data/patch.bif 2>&1 > /dev/null
-chmod a-x GENTOO_DIR/nwn/nwm/Chapter1.nwm 2>&1 > /dev/null
-chmod a-x GENTOO_DIR/nwn/nwm/Chapter1E.nwm 2>&1 > /dev/null
-chmod a-x GENTOO_DIR/nwn/nwm/Chapter2.nwm 2>&1 > /dev/null
-chmod a-x GENTOO_DIR/nwn/nwm/Chapter2E.nwm 2>&1 > /dev/null
-chmod a-x GENTOO_DIR/nwn/nwm/Chapter3.nwm 2>&1 > /dev/null
-chmod a-x GENTOO_DIR/nwn/nwm/Chapter4.nwm 2>&1 > /dev/null
-chmod a-x GENTOO_DIR/nwn/nwm/Prelude.nwm 2>&1 > /dev/null
-[ -e GENTOO_DIR/nwn/patch.key ] && \
- chmod a-x GENTOO_DIR/nwn/patch.key 2>&1 > /dev/null
-
-printf "\nYou are ready to run Neverwinter Nights.\n\n"
diff --git a/games-rpg/nwn/metadata.xml b/games-rpg/nwn/metadata.xml
deleted file mode 100644
index b2df6d63dc3e..000000000000
--- a/games-rpg/nwn/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>calchan@gentoo.org</email>
- <name>Denis Dupeyron</name>
- </maintainer>
- <maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
- </maintainer>
- <use>
- <flag name="hou">Install the Hordes of the Underdark expansion pack</flag>
- <flag name="sou">Installs the Shadows of Undrentide expension pack</flag>
- </use>
-</pkgmetadata>
diff --git a/games-rpg/nwn/nwn-1.68-r6.ebuild b/games-rpg/nwn/nwn-1.68-r6.ebuild
deleted file mode 100644
index 2cea7587ff1e..000000000000
--- a/games-rpg/nwn/nwn-1.68-r6.ebuild
+++ /dev/null
@@ -1,235 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils games
-
-LANGUAGES="linguas_fr linguas_it linguas_es linguas_de linguas_en"
-
-MY_PV=${PV//.}
-PATCH_URL_BASE=http://files.bioware.com/neverwinternights/updates/linux/${MY_PV}
-PACKAGE_NAME=_linuxclient${MY_PV}_orig.tar.gz
-SOU_NAME=_linuxclient${MY_PV}_xp1.tar.gz
-HOU_NAME=_linuxclient${MY_PV}_xp2.tar.gz
-
-DESCRIPTION="Epic role-playing game set in a huge medieval fantasy world of Dungeons and Dragons"
-HOMEPAGE="http://nwn.bioware.com/downloads/linuxclient.html"
-SRC_URI="https://dev.gentoo.org/~calchan/distfiles/nwn-libs-1.tar.bz2
- linguas_fr? (
- !sou? ( !hou? ( ${PATCH_URL_BASE}/French${PACKAGE_NAME} ) )
- sou? ( ${PATCH_URL_BASE}/French${SOU_NAME} )
- hou? ( ${PATCH_URL_BASE}/French${HOU_NAME} ) )
- linguas_it? (
- !sou? ( !hou? ( ${PATCH_URL_BASE}/Italian${PACKAGE_NAME} ) )
- sou? ( ${PATCH_URL_BASE}/Italian${SOU_NAME} )
- hou? ( ${PATCH_URL_BASE}/Italian${HOU_NAME} ) )
- linguas_en? (
- !sou? ( !hou? ( ${PATCH_URL_BASE}/English${PACKAGE_NAME} ) )
- sou? ( ${PATCH_URL_BASE}/English${SOU_NAME} )
- hou? ( ${PATCH_URL_BASE}/English${HOU_NAME} ) )
- linguas_es? (
- !sou? ( !hou? ( ${PATCH_URL_BASE}/Spanish${PACKAGE_NAME} ) )
- sou? ( ${PATCH_URL_BASE}/Spanish${SOU_NAME} )
- hou? ( ${PATCH_URL_BASE}/Spanish${HOU_NAME} ) )
- linguas_de? (
- !sou? ( !hou? ( ${PATCH_URL_BASE}/German${PACKAGE_NAME} ) )
- sou? ( ${PATCH_URL_BASE}/German${SOU_NAME} )
- hou? ( ${PATCH_URL_BASE}/German${HOU_NAME} ) )
- !linguas_en? (
- !linguas_es? (
- !linguas_de? (
- !linguas_fr? (
- !linguas_it? (
- !sou? ( !hou? ( ${PATCH_URL_BASE}/English${PACKAGE_NAME} ) )
- sou? ( ${PATCH_URL_BASE}/English${SOU_NAME} )
- hou? ( ${PATCH_URL_BASE}/English${HOU_NAME} ) ) ) ) ) )"
-
-LICENSE="NWN-EULA"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE="sou hou ${LANGUAGES}"
-RESTRICT="mirror strip"
-
-RDEPEND="
- >=games-rpg/nwn-data-1.29-r3
- !<games-rpg/nwmouse-0.1-r1
- x11-libs/libXext[abi_x86_32(-)]
- x11-libs/libX11[abi_x86_32(-)]
- >=media-libs/libsdl-1.2.15-r5[abi_x86_32(-)]
- virtual/opengl[abi_x86_32(-)]
-"
-DEPEND="app-arch/unzip"
-
-S=${WORKDIR}/nwn
-
-dir=${GAMES_PREFIX_OPT}/${PN}
-Ddir=${D}/${dir}
-
-die_from_busted_nwn-data() {
- local use=$*
- ewarn "You must emerge games-rpg/nwn-data with USE=$use. You can fix this"
- ewarn "by doing the following:"
- echo
- elog "mkdir -p /etc/portage"
- elog "echo 'games-rpg/nwn-data $use' >> /etc/portage/package.use"
- elog "emerge --oneshot games-rpg/nwn-data"
- die "nwn-data requires USE=$use"
-}
-
-pkg_setup() {
- games_pkg_setup
- if use sou
- then
- has_version "games-rpg/nwn-data[sou]" || die_from_busted_nwn-data sou
- fi
- if use hou
- then
- has_version "games-rpg/nwn-data[hou]" || die_from_busted_nwn-data hou
- fi
-
- strip-linguas de en es fr it
-}
-
-src_unpack() {
- mkdir -p "${S}"
- cd "${S}"
- mkdir -p .metadata
- for a in ${A}
- do
- if [ -z "${a/*libs*}" ]
- then
- unpack "${a}"
- fi
-
- if [ -z "${a/*orig*}" ]
- then
- currentlocale=""
- if [ -z "${a/*German*/}" ]
- then
- currentlocale=de
- elif [ -z "${a/*English*/}" ]
- then
- currentlocale=en
- elif [ -z "${a/*Spanish*/}" ]
- then
- currentlocale=es
- elif [ -z "${a/*Italian*/}" ]
- then
- currentlocale=it
- elif [ -z "${a/*French*/}" ]
- then
- currentlocale=fr
- fi
- if [ -n "$currentlocale" ]
- then
- mkdir -p "${currentlocale}"
- cd "${currentlocale}"
- unpack "${a}"
- cd ..
- fi
- fi
- done
- use sou && (
- for a in ${A}
- do
- if [ -z "${a/*$SOU_NAME}" ]
- then
- currentlocale=""
- if [ -z "${a/*German*/}" ]
- then
- currentlocale=de
- elif [ -z "${a/*English*/}" ]
- then
- currentlocale=en
- elif [ -z "${a/*Spanish*/}" ]
- then
- currentlocale=es
- elif [ -z "${a/*Italian*/}" ]
- then
- currentlocale=it
- elif [ -z "${a/*French*/}" ]
- then
- currentlocale=fr
- fi
- if [ -n "$currentlocale" ]
- then
- mkdir -p "${currentlocale}"
- cd "${currentlocale}"
- rm -f data/patch.bif patch.key
- unpack "${a}"
- cd ..
- fi
- fi
- done )
- use hou && (
- for a in ${A}
- do
- if [ -z "${a/*$HOU_NAME}" ]
- then
- currentlocale=""
- if [ -z "${a/*German*/}" ]
- then
- currentlocale=de
- elif [ -z "${a/*English*/}" ]
- then
- currentlocale=en
- elif [ -z "${a/*Spanish*/}" ]
- then
- currentlocale=es
- elif [ -z "${a/*Italian*/}" ]
- then
- currentlocale=it
- elif [ -z "${a/*French*/}" ]
- then
- currentlocale=fr
- fi
- if [ -n "$currentlocale" ]
- then
- mkdir -p "${currentlocale}"
- cd "${currentlocale}"
- rm -f data/patch.bif patch.key data/xp1patch.bif xp1patch.key override/*
- unpack "${a}"
- cd ..
- fi
- fi
- done )
-}
-
-src_install() {
- dodir "${dir}"
- exeinto "${dir}"
- doexe "${FILESDIR}"/fixinstall
- sed -i \
- -e "s:GENTOO_USER:${GAMES_USER}:" \
- -e "s:GENTOO_GROUP:${GAMES_GROUP}:" \
- -e "s:GENTOO_DIR:${GAMES_PREFIX_OPT}:" \
- -e "s:override miles nwm:miles:" \
- -e "s:chitin.key dialog.tlk nwmain:chitin.key:" \
- -e "s:^chmod a-x:#chmod a-x:" \
- "${Ddir}"/fixinstall || die
- if use hou || use sou
- then
- sed -i \
- -e "s:chitin.key patch.key:chitin.key:" \
- "${Ddir}"/fixinstall || die
- fi
- fperms ug+x "${dir}"/fixinstall || die
- mv "${S}"/* "${Ddir}"
- mv "${S}"/.metadata "${Ddir}"
- games_make_wrapper nwn ./nwn "${dir}" "${dir}"
- make_desktop_entry nwn "Neverwinter Nights"
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
- elog "The included custom libSDL is patched to enable the following key sequences:"
- elog " * Left-Alt & Enter - Iconify Window"
- elog " * Right-Alt & Enter - Toggle between FullScreen/Windowed"
- elog " * Left-Control & G - Disable the mouse grab that keeps the cursor inside the NWN window"
- elog " * Right-Control & G - Re-enable the mouse grab to keep the cursor inside the NWN window"
- elog
- elog "The NWN linux client is now installed."
- elog "Proceed with the following step in order to get it working:"
- elog "Run ${dir}/fixinstall as root"
-}
diff --git a/games-rpg/nwn/nwn-1.69-r1.ebuild b/games-rpg/nwn/nwn-1.69-r1.ebuild
deleted file mode 100644
index fad03c3ec81c..000000000000
--- a/games-rpg/nwn/nwn-1.69-r1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils games
-
-MY_PV=${PV//.}
-PATCH_URL_BASE=http://files.bioware.com/neverwinternights/updates/linux/${MY_PV}/English_linuxclient${MY_PV}_
-
-DESCRIPTION="role-playing game set in a huge medieval fantasy world of Dungeons and Dragons"
-HOMEPAGE="http://nwn.bioware.com/downloads/linuxclient.html"
-SRC_URI="https://dev.gentoo.org/~calchan/distfiles/nwn-libs-1.tar.bz2
- !sou? ( !hou? ( ${PATCH_URL_BASE}orig.tar.gz ) )
- sou? ( !hou? ( ${PATCH_URL_BASE}xp1.tar.gz ) )
- hou? ( ${PATCH_URL_BASE}xp2.tar.gz )"
-
-LICENSE="NWN-EULA"
-SLOT="0"
-KEYWORDS="-* amd64 x86"
-IUSE="sou hou"
-RESTRICT="mirror strip"
-
-QA_FLAGS_IGNORED="/opt/nwn/en/nwserver /opt/nwn/en/nwmain /opt/nwn/lib/libSDL-1.2.so.0.11.2 /opt/nwn/lib/libelf.so.1"
-
-NWN_DATA=">=games-rpg/nwn-data-1.29-r3[sou?,hou?"
-
-# ${P} requires games-rpg/nwn-data emerged with at least LINGUAS=en or none at all
-RDEPEND="
- || (
- ${NWN_DATA},linguas_en]
- ${NWN_DATA},-linguas_fr,-linguas_de,-linguas_es,-linguas_it]
- )
- !<games-rpg/nwmouse-0.1-r1
- x11-libs/libXext[abi_x86_32(-)]
- x11-libs/libX11[abi_x86_32(-)]
- >=media-libs/libsdl-1.2.15-r5[abi_x86_32(-)]
- virtual/opengl[abi_x86_32(-)]
-"
-DEPEND=""
-
-S=${WORKDIR}/nwn
-
-dir=${GAMES_PREFIX_OPT}/${PN}
-Ddir=${D}/${dir}
-
-src_unpack() {
- mkdir -p "${S}"/en
- cd "${S}"/en
- unpack ${A}
- mv lib ..
-}
-
-src_install() {
- exeinto "${dir}"
- doexe "${FILESDIR}"/fixinstall
- sed -i \
- -e "s:GENTOO_USER:${GAMES_USER}:" \
- -e "s:GENTOO_GROUP:${GAMES_GROUP}:" \
- -e "s:GENTOO_DIR:${GAMES_PREFIX_OPT}:" \
- -e "s:override miles nwm:miles:" \
- -e "s:chitin.key dialog.tlk nwmain:chitin.key:" \
- -e "s:^chmod a-x:#chmod a-x:" \
- "${Ddir}"/fixinstall || die "sed"
- if use hou || use sou
- then
- sed -i \
- -e "s:chitin.key patch.key:chitin.key:" \
- "${Ddir}"/fixinstall || die "sed"
- fi
- fperms ug+x "${dir}"/fixinstall || die "perms"
- mv "${S}"/* "${Ddir}"
- games_make_wrapper nwn ./nwn "${dir}" "${dir}"
- make_desktop_entry nwn "Neverwinter Nights"
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
- elog "The included custom libSDL is patched to enable the following key sequences:"
- elog " * Left-Alt & Enter - Iconify Window"
- elog " * Right-Alt & Enter - Toggle between FullScreen/Windowed"
- elog " * Left-Control & G - Disable the mouse grab that keeps the cursor inside the NWN window"
- elog " * Right-Control & G - Re-enable the mouse grab to keep the cursor inside the NWN window"
- elog
- elog "The NWN linux client is now installed."
- elog "Proceed with the following step in order to get it working:"
- elog "Run ${dir}/fixinstall as root"
- echo
- ewarn "This version supports only english, see http://nwn.bioware.com/support/patch.html"
- ewarn "If you were playing with a different language you may want to backup your ~/.nwn and do:"
- ewarn " mv ~/.nwn/<language> ~/.nwn/en"
- ewarn "If it does not work, try removing ~/.nwn, start nwn then quit, and re-import all you"
- ewarn "need (saves, etc...) in ~/.nwn/en, but please do not file a bug."
-}