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/nwn
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/nwn')
-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
5 files changed, 0 insertions, 471 deletions
diff --git a/games-rpg/nwn/Manifest b/games-rpg/nwn/Manifest
deleted file mode 100644
index 5b7c83e216e..00000000000
--- 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 c324b61bf89..00000000000
--- 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 b2df6d63dc3..00000000000
--- 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 2cea7587ff1..00000000000
--- 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 fad03c3ec81..00000000000
--- 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."
-}