diff options
-rw-r--r-- | games-rpg/nwn/ChangeLog | 6 | ||||
-rw-r--r-- | games-rpg/nwn/Manifest | 34 | ||||
-rw-r--r-- | games-rpg/nwn/files/digest-nwn-1.68 | 60 | ||||
-rw-r--r-- | games-rpg/nwn/nwn-1.68-r1.ebuild | 4 | ||||
-rw-r--r-- | games-rpg/nwn/nwn-1.68.ebuild | 157 |
5 files changed, 18 insertions, 243 deletions
diff --git a/games-rpg/nwn/ChangeLog b/games-rpg/nwn/ChangeLog index c9487f5b6524..1a4c304e34e9 100644 --- a/games-rpg/nwn/ChangeLog +++ b/games-rpg/nwn/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-rpg/nwn # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/ChangeLog,v 1.56 2007/08/18 01:02:17 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/ChangeLog,v 1.57 2007/08/27 21:32:18 wolf31o2 Exp $ + + 27 Aug 2007; Chris Gianelloni <wolf31o2@gentoo.org> -nwn-1.68.ebuild, + nwn-1.68-r1.ebuild: + Stable on amd64/x86 for bug #190150. 18 Aug 2007; Chris Gianelloni <wolf31o2@gentoo.org> metadata.xml, nwn-1.68-r1.ebuild: diff --git a/games-rpg/nwn/Manifest b/games-rpg/nwn/Manifest index 1614b53d8105..0ee9b929ca34 100644 --- a/games-rpg/nwn/Manifest +++ b/games-rpg/nwn/Manifest @@ -17,40 +17,28 @@ DIST German_linuxclient168_xp2.tar.gz 134425276 RMD160 d466c589b64dd83e2a7ab5e8e DIST Italian_linuxclient168_orig.tar.gz 132705873 RMD160 226e49198f24f6e56b05d5646b211905b39a0283 SHA1 4c8f199d2f42c3d0551222271862b736c470c4ef SHA256 650235b4ac464f7bdc873aaf8404ec51deef6e8a7c780a9bb237782c1575f95b DIST Italian_linuxclient168_xp1.tar.gz 143425395 RMD160 b2709e89a0badec58cb8919fe8c6e3e0270a1481 SHA1 6007dccd4d025b55c5911f8fa12dc664763b168a SHA256 52da3063290f564c64905b0806201ad9623a62d99f38adae39e3eb0f5970eb94 DIST Italian_linuxclient168_xp2.tar.gz 133867117 RMD160 8e0ca0e29c7b6ac5ed20fb64cb88b569e3383e28 SHA1 bea909422ce71aed80bc41fae7850f73ad318eb6 SHA256 8a8f87034ccda517e2c69dea61f6fe799a0e1ef5ced6eab2081980da988f49d8 -DIST NWNEnglish1.68dialog.zip 3186122 RMD160 eb23337ae316de96b73b1ab9140cf576b8736d36 SHA1 d2fb48cba452ced0d2bba10a007c20500c26e4ed SHA256 6f68f7472b9be078f6a5b57e77308310c914ab3a5fd91d265f903e9daf53d4bb -DIST NWNFrench1.68dialog.zip 6770835 RMD160 a7dfce3025c93bb2eeb110742df8eee59a11347c SHA1 dd99874c8d43d6cf2e676518246488da5723e89e SHA256 64f5fbb14cc8d0232eeaa36c452081bf5fdbc5ea81e58d8868c92ae86ee6a838 -DIST NWNGerman1.68dialog.zip 7229687 RMD160 7ccf79ff3ae799d246402fa916446bd413f0a31b SHA1 4c5920e602909b6f5bd8d93c1155af2dd3c2e6e7 SHA256 063bff4857f5f70dad98312129d43e047470de6144f011890949731f2071073b -DIST NWNItalian1.68dialog.zip 6731492 RMD160 9f198cb9af840dba4d4a6735070aca0ad8db770a SHA1 1053c3dcdb6d15cb3f972adb82914ac29e8a3968 SHA256 95ab20460c2761602aaf94f2b021ce698e8e4f122f3c1fd1ea8ad349fb3b5842 -DIST NWNSpanish1.68dialog.zip 6705882 RMD160 fd205ec81119bb410705019871f40f222bec86a1 SHA1 e650cf419136a98664f89bca8358057b41e3da39 SHA256 c6bd32e2156cd424598c8771b4cc2ca6ec97ecaffb29850412345b8b1a70bf7f DIST Spanish_linuxclient168_orig.tar.gz 132704890 RMD160 699c5bdf5b020a91f3f1b86f961ae3416a62bd0d SHA1 62fba8f04bda9690f1b6c561019abe9c428b43f9 SHA256 01bfd907735a69112fc1847e82269ed2a3d00760a9906dd24819269e53173f13 DIST Spanish_linuxclient168_xp1.tar.gz 143415370 RMD160 897b862f8baa392e733413f847a5e2ebabd17bbf SHA1 e1a3e13a5cf05c742d004fd76bd14a3d6b17c541 SHA256 c74faed185b87a0f187f4e1bcf873ec3810a1fd8dba026b81bcf421e1ca121d9 DIST Spanish_linuxclient168_xp2.tar.gz 133862305 RMD160 25d36239aa9bb3e685f24c3e031128bbcbd1d1d6 SHA1 b14f3229529618ddf12b497d17421f753898e279 SHA256 b4d4efb0eb5d3395e42e665b518f3cec19c690b0f7f57783ecaa2e6aa8b70a5e -EBUILD nwn-1.68-r1.ebuild 7434 RMD160 00adf83dbfb0382cc73e290d45292ae1e7ee286f SHA1 0979e90be03a740dc460342a19590cda8bc929ee SHA256 571e7fca20eab54dd9257ad218d459d64c1f74c3cdb65912523902d4fe145359 -MD5 c4e494d408f436d5000115cf7ae65ded nwn-1.68-r1.ebuild 7434 -RMD160 00adf83dbfb0382cc73e290d45292ae1e7ee286f nwn-1.68-r1.ebuild 7434 -SHA256 571e7fca20eab54dd9257ad218d459d64c1f74c3cdb65912523902d4fe145359 nwn-1.68-r1.ebuild 7434 -EBUILD nwn-1.68.ebuild 4607 RMD160 239778b61cbc39d605426e7d3ec22ef744d4106f SHA1 6ccd8dc0743c4dc7d2299fddc6374396104aa45a SHA256 e67149af929caa516b737c0b3f63feb82826dfdcb698e2607af935e73a7a13da -MD5 073bcc8eedc94fadc59373369e254603 nwn-1.68.ebuild 4607 -RMD160 239778b61cbc39d605426e7d3ec22ef744d4106f nwn-1.68.ebuild 4607 -SHA256 e67149af929caa516b737c0b3f63feb82826dfdcb698e2607af935e73a7a13da nwn-1.68.ebuild 4607 -MISC ChangeLog 10262 RMD160 e06c44fc6f73c58983648e1bcc3d18227096dcb6 SHA1 cdb50541f812a563e1f8a3fe321264a93b5b5868 SHA256 bc3abfb8b82034ee115c71642b7440ba0807de7b0f591c670eea40aff6cae9cc -MD5 55fd7aa9cf776163825a831deeb6570f ChangeLog 10262 -RMD160 e06c44fc6f73c58983648e1bcc3d18227096dcb6 ChangeLog 10262 -SHA256 bc3abfb8b82034ee115c71642b7440ba0807de7b0f591c670eea40aff6cae9cc ChangeLog 10262 +EBUILD nwn-1.68-r1.ebuild 7432 RMD160 93494c84d54c8e2fd04870d595a295a092f38566 SHA1 b40fcaeae6d284606ce6648d6882e23c21d8f075 SHA256 5f09e5e26c802d914fcba1262eb2d2b9d8b8f496e79ba1556d5cd84bd89d4146 +MD5 eb65668ce7a32472b86f9d04a6c17832 nwn-1.68-r1.ebuild 7432 +RMD160 93494c84d54c8e2fd04870d595a295a092f38566 nwn-1.68-r1.ebuild 7432 +SHA256 5f09e5e26c802d914fcba1262eb2d2b9d8b8f496e79ba1556d5cd84bd89d4146 nwn-1.68-r1.ebuild 7432 +MISC ChangeLog 10396 RMD160 b926cc8d1f803f7c393a5cdffe0be79da23e9a81 SHA1 63e8d0b734ac408263fc399d42fe9c5d132196a4 SHA256 5563d50741028294bcf953608c5f61c1d14bc01172e05ea2d8479e4768afac81 +MD5 2f648be091792af8ba42d9ce00787fdc ChangeLog 10396 +RMD160 b926cc8d1f803f7c393a5cdffe0be79da23e9a81 ChangeLog 10396 +SHA256 5563d50741028294bcf953608c5f61c1d14bc01172e05ea2d8479e4768afac81 ChangeLog 10396 MISC metadata.xml 445 RMD160 0892e7f62b1ec5cad54aad9d801220a15b75a36c SHA1 b80ca4fea62102ac70b1718212307f41b1ce5592 SHA256 5b0e7eee6bdce75f183e0d1fdce5c32736dcee7bdd3e1ea2c7218ae619a320e5 MD5 8dd74a51ece6a0e367a909d1edb647cf metadata.xml 445 RMD160 0892e7f62b1ec5cad54aad9d801220a15b75a36c metadata.xml 445 SHA256 5b0e7eee6bdce75f183e0d1fdce5c32736dcee7bdd3e1ea2c7218ae619a320e5 metadata.xml 445 -MD5 9211d1a5cc17dcf4b30635146cebfbc4 files/digest-nwn-1.68 5606 -RMD160 d478e62b610cd4eba39363516af13e5cd9b34476 files/digest-nwn-1.68 5606 -SHA256 5f4c8b741774085ebea85e52f9df3f98e3bb55b1f26510b4f18d6c4de7dae994 files/digest-nwn-1.68 5606 MD5 269a40dbc0d28de5b84d80b9a1f96193 files/digest-nwn-1.68-r1 4332 RMD160 9b648c63746fdc7cecebcc06f9615c2fe84b3c17 files/digest-nwn-1.68-r1 4332 SHA256 e85911769e045fbffabf268ac23de931cc4179e538d4c622b210f77a539f6432 files/digest-nwn-1.68-r1 4332 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.5 (GNU/Linux) -iD8DBQFGxkYgkT4lNIS36YERAvQcAJ9W23xQcagnTte99YefdqCgG0gSVACggCq4 -2fVxnerWEAGKC4Ab+d1Funw= -=+9hr +iD8DBQFG00OKkT4lNIS36YERAvNXAKCKw/tHa0BxmVDdBloYd0dwpx23XwCcCBCJ +F9MEdEQvv+DXebNl78TY3aY= +=55hh -----END PGP SIGNATURE----- diff --git a/games-rpg/nwn/files/digest-nwn-1.68 b/games-rpg/nwn/files/digest-nwn-1.68 deleted file mode 100644 index 993f1fcf888d..000000000000 --- a/games-rpg/nwn/files/digest-nwn-1.68 +++ /dev/null @@ -1,60 +0,0 @@ -MD5 73f4304a5c2afd016d656baa0e1f4d12 English_linuxclient168_orig.tar.gz 130569338 -RMD160 0622599a07c113ae69fed80416f7a6f16e9e715e English_linuxclient168_orig.tar.gz 130569338 -SHA256 03687bff0469cb08a7e5a14316e076a6bfe698121ccee4e2116f0bf119988092 English_linuxclient168_orig.tar.gz 130569338 -MD5 daa21d8ffa0b6007348d2339d0b22fe7 English_linuxclient168_xp1.tar.gz 134673662 -RMD160 5e9227ad86c183f90666b4ef10378227a0e1193a English_linuxclient168_xp1.tar.gz 134673662 -SHA256 e78716a83add4980674f86fd648d374b6086365620bde478b678edfdd4e7e82c English_linuxclient168_xp1.tar.gz 134673662 -MD5 59da99ffee12be8c1308b510055e5abf English_linuxclient168_xp2.tar.gz 120144829 -RMD160 22619133360c1283db268b0b3adbf16548716ccc English_linuxclient168_xp2.tar.gz 120144829 -SHA256 b8d69ad68c3e3ddf2332176ffd1494682bd9f9d254531720327a62be44e1ac2c English_linuxclient168_xp2.tar.gz 120144829 -MD5 23e1a995f71a1ac2dcfad1a34aa3ad09 French_linuxclient168_orig.tar.gz 131090499 -RMD160 10965e3c88d917e483618bfc8f827f51dd46c5b1 French_linuxclient168_orig.tar.gz 131090499 -SHA256 f32ed5a759a0a6b49d8f9ef39e313d49a8931725c0d5a61d3a8737d125902315 French_linuxclient168_orig.tar.gz 131090499 -MD5 389fbc5743aaabc82aa211922927a4fc French_linuxclient168_xp1.tar.gz 151199720 -RMD160 acb98760067cbc4674662d03ba78c9085cceccab French_linuxclient168_xp1.tar.gz 151199720 -SHA256 b9f8fe388519bc824bd2b0198a6c51b93d8a3534d16718b164b6c983fea08f9a French_linuxclient168_xp1.tar.gz 151199720 -MD5 83af9f06cc1bbe38d5cb90fe2da6a1a6 French_linuxclient168_xp2.tar.gz 133316339 -RMD160 10e5b126dde805ac89b15d85c4eea983f85f462b French_linuxclient168_xp2.tar.gz 133316339 -SHA256 7cc11a8cc7a613714c8d01c42b061baad874001da479db1d26903f494894e98a French_linuxclient168_xp2.tar.gz 133316339 -MD5 30567f7a39f36aaddc3c335716305548 German_linuxclient168_orig.tar.gz 131790824 -RMD160 589b2fe6c7e8ae27efb9187e8aacf42a65a70cdd German_linuxclient168_orig.tar.gz 131790824 -SHA256 d0850968fe68cdabfa3138810387dd4be0bf4338173dc02a46cd5ed7c4348b45 German_linuxclient168_orig.tar.gz 131790824 -MD5 d0741b1e37a869484cf4d5f7ba0cf50a German_linuxclient168_xp1.tar.gz 152951618 -RMD160 9d52520cbf92272dfdb8a53671cdc0f9aa68735d German_linuxclient168_xp1.tar.gz 152951618 -SHA256 11e0b929547860309007298e1851d368d445b7dc8ceab17cece33d51342bfdd8 German_linuxclient168_xp1.tar.gz 152951618 -MD5 e47d8643988af4d43e2725f0b9734ec0 German_linuxclient168_xp2.tar.gz 134425276 -RMD160 d466c589b64dd83e2a7ab5e8ebe45b5fb663d8aa German_linuxclient168_xp2.tar.gz 134425276 -SHA256 5d8fe43b751dd9372f45a1193cbf21da04b99fa5c735e5286d7306cf325f796d German_linuxclient168_xp2.tar.gz 134425276 -MD5 2eb3716fb70f148fc57a7bd931c3b155 Italian_linuxclient168_orig.tar.gz 132705873 -RMD160 226e49198f24f6e56b05d5646b211905b39a0283 Italian_linuxclient168_orig.tar.gz 132705873 -SHA256 650235b4ac464f7bdc873aaf8404ec51deef6e8a7c780a9bb237782c1575f95b Italian_linuxclient168_orig.tar.gz 132705873 -MD5 82903cf0124cd3111b61db22adcdee3c Italian_linuxclient168_xp1.tar.gz 143425395 -RMD160 b2709e89a0badec58cb8919fe8c6e3e0270a1481 Italian_linuxclient168_xp1.tar.gz 143425395 -SHA256 52da3063290f564c64905b0806201ad9623a62d99f38adae39e3eb0f5970eb94 Italian_linuxclient168_xp1.tar.gz 143425395 -MD5 70f12632e4309888320f092f3052248d Italian_linuxclient168_xp2.tar.gz 133867117 -RMD160 8e0ca0e29c7b6ac5ed20fb64cb88b569e3383e28 Italian_linuxclient168_xp2.tar.gz 133867117 -SHA256 8a8f87034ccda517e2c69dea61f6fe799a0e1ef5ced6eab2081980da988f49d8 Italian_linuxclient168_xp2.tar.gz 133867117 -MD5 a6c3504fd522ada191801ea89cb5451d NWNEnglish1.68dialog.zip 3186122 -RMD160 eb23337ae316de96b73b1ab9140cf576b8736d36 NWNEnglish1.68dialog.zip 3186122 -SHA256 6f68f7472b9be078f6a5b57e77308310c914ab3a5fd91d265f903e9daf53d4bb NWNEnglish1.68dialog.zip 3186122 -MD5 73a853355b78c84b0e7283f7e5a8d28d NWNFrench1.68dialog.zip 6770835 -RMD160 a7dfce3025c93bb2eeb110742df8eee59a11347c NWNFrench1.68dialog.zip 6770835 -SHA256 64f5fbb14cc8d0232eeaa36c452081bf5fdbc5ea81e58d8868c92ae86ee6a838 NWNFrench1.68dialog.zip 6770835 -MD5 0ea0eed536c7a145311471e66f89d3d3 NWNGerman1.68dialog.zip 7229687 -RMD160 7ccf79ff3ae799d246402fa916446bd413f0a31b NWNGerman1.68dialog.zip 7229687 -SHA256 063bff4857f5f70dad98312129d43e047470de6144f011890949731f2071073b NWNGerman1.68dialog.zip 7229687 -MD5 97faed117645621c8919385c55de084b NWNItalian1.68dialog.zip 6731492 -RMD160 9f198cb9af840dba4d4a6735070aca0ad8db770a NWNItalian1.68dialog.zip 6731492 -SHA256 95ab20460c2761602aaf94f2b021ce698e8e4f122f3c1fd1ea8ad349fb3b5842 NWNItalian1.68dialog.zip 6731492 -MD5 0246b8ea94d59f751f7131ae87d4dbd1 NWNSpanish1.68dialog.zip 6705882 -RMD160 fd205ec81119bb410705019871f40f222bec86a1 NWNSpanish1.68dialog.zip 6705882 -SHA256 c6bd32e2156cd424598c8771b4cc2ca6ec97ecaffb29850412345b8b1a70bf7f NWNSpanish1.68dialog.zip 6705882 -MD5 9db994445ecf3465e93e19f65e7cf13e Spanish_linuxclient168_orig.tar.gz 132704890 -RMD160 699c5bdf5b020a91f3f1b86f961ae3416a62bd0d Spanish_linuxclient168_orig.tar.gz 132704890 -SHA256 01bfd907735a69112fc1847e82269ed2a3d00760a9906dd24819269e53173f13 Spanish_linuxclient168_orig.tar.gz 132704890 -MD5 ce396843a1403a9ba61c7ccb57222b87 Spanish_linuxclient168_xp1.tar.gz 143415370 -RMD160 897b862f8baa392e733413f847a5e2ebabd17bbf Spanish_linuxclient168_xp1.tar.gz 143415370 -SHA256 c74faed185b87a0f187f4e1bcf873ec3810a1fd8dba026b81bcf421e1ca121d9 Spanish_linuxclient168_xp1.tar.gz 143415370 -MD5 04719199f69f19277f5c068826eee72c Spanish_linuxclient168_xp2.tar.gz 133862305 -RMD160 25d36239aa9bb3e685f24c3e031128bbcbd1d1d6 Spanish_linuxclient168_xp2.tar.gz 133862305 -SHA256 b4d4efb0eb5d3395e42e665b518f3cec19c690b0f7f57783ecaa2e6aa8b70a5e Spanish_linuxclient168_xp2.tar.gz 133862305 diff --git a/games-rpg/nwn/nwn-1.68-r1.ebuild b/games-rpg/nwn/nwn-1.68-r1.ebuild index 926b7873f990..024d148502c8 100644 --- a/games-rpg/nwn/nwn-1.68-r1.ebuild +++ b/games-rpg/nwn/nwn-1.68-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/nwn-1.68-r1.ebuild,v 1.7 2007/08/18 01:02:17 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/nwn-1.68-r1.ebuild,v 1.8 2007/08/27 21:32:18 wolf31o2 Exp $ inherit eutils games @@ -45,7 +45,7 @@ SRC_URI="linguas_fr? ( LICENSE="NWN-EULA" SLOT="0" -KEYWORDS="-* ~amd64 ~x86" +KEYWORDS="-* amd64 x86" IUSE="sou hou ${LANGUAGES}" # nowin USE flag not used anymore by pkg_setup() RESTRICT="mirror strip" diff --git a/games-rpg/nwn/nwn-1.68.ebuild b/games-rpg/nwn/nwn-1.68.ebuild deleted file mode 100644 index 6166a1726b0e..000000000000 --- a/games-rpg/nwn/nwn-1.68.ebuild +++ /dev/null @@ -1,157 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/nwn-1.68.ebuild,v 1.5 2006/11/17 22:00:35 wolf31o2 Exp $ - -inherit eutils games - -#http://files.bioware.com/neverwinternights/167/BioWare_NWN167_Tilesets_Full.zip - -MY_PV=${PV//.} -#PATCH_URL_BASE=http://content.bioware.com/neverwinternights/linux/${MY_PV}/ -PATCH_URL_BASE=http://files.bioware.com/neverwinternights/updates/linux/${MY_PV}/ -DIALOG_URL_BASE=http://nwdownloads.bioware.com/neverwinternights/patch/dialog/ -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="Neverwinter Nights" -HOMEPAGE="http://nwn.bioware.com/downloads/linuxclient.html" -SRC_URI="linguas_fr? ( - ${PATCH_URL_BASE}French${PACKAGE_NAME} - ${DIALOG_URL_BASE}/french/NWNFrench${PV}dialog.zip - sou? ( ${PATCH_URL_BASE}French${SOU_NAME} ) - hou? ( ${PATCH_URL_BASE}French${HOU_NAME} ) ) - linguas_it? ( - ${PATCH_URL_BASE}Italian${PACKAGE_NAME} - ${DIALOG_URL_BASE}/italian/NWNItalian${PV}dialog.zip - sou? ( ${PATCH_URL_BASE}Italian${SOU_NAME} ) - hou? ( ${PATCH_URL_BASE}Italian${HOU_NAME} ) ) - linguas_es? ( - ${PATCH_URL_BASE}Spanish${PACKAGE_NAME} - ${DIALOG_URL_BASE}/spanish/NWNSpanish${PV}dialog.zip - sou? ( ${PATCH_URL_BASE}Spanish${SOU_NAME} ) - hou? ( ${PATCH_URL_BASE}Spanish${HOU_NAME} ) ) - linguas_de? ( - ${PATCH_URL_BASE}German${PACKAGE_NAME} - ${DIALOG_URL_BASE}/german/NWNGerman${PV}dialog.zip - sou? ( ${PATCH_URL_BASE}German${SOU_NAME} ) - hou? ( ${PATCH_URL_BASE}German${HOU_NAME} ) ) - !linguas_de? ( !linguas_fr? ( !linguas_es? ( !linguas_it? ( - ${PATCH_URL_BASE}English${PACKAGE_NAME} - ${DIALOG_URL_BASE}/english/NWNEnglish${PV}dialog.zip - 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" -RESTRICT="mirror strip" - -RDEPEND="games-rpg/nwn-data - virtual/opengl - >=media-libs/libsdl-1.2.5 - x86? ( - =virtual/libstdc++-3.3 - x11-libs/libXext - x11-libs/libX11 ) - amd64? ( - app-emulation/emul-linux-x86-baselibs - app-emulation/emul-linux-x86-compat - app-emulation/emul-linux-x86-xlibs )" -DEPEND="app-arch/unzip" - -S="${WORKDIR}/nwn" - -GAMES_LICENSE_CHECK="yes" -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() { - declare -a LANGarray=($LINGUAS) - if [ "${#LANGarray[*]}" == "0" ] - then - elog "Setting default language to English." - fi - if use sou - then - built_with_use games-rpg/nwn-data sou || die_from_busted_nwn-data sou - fi - if use hou - then - built_with_use games-rpg/nwn-data hou || die_from_busted_nwn-data hou - fi - if use linguas_fr - then - built_with_use games-rpg/nwn-data linguas_fr || \ - die_from_busted_nwn-data linguas_fr - fi - if use linguas_it - then - built_with_use games-rpg/nwn-data linguas_it || \ - die_from_busted_nwn-data linguas_it - fi - if use linguas_es - then - built_with_use games-rpg/nwn-data linguas_es || \ - die_from_busted_nwn-data linguas_es - fi - if use linguas_de - then - built_with_use games-rpg/nwn-data linguas_de || \ - die_from_busted_nwn-data linguas_de - fi - games_pkg_setup -} - -src_unpack() { - mkdir -p ${S} - cd ${S} - # the following is so ugly, please pretend it doesnt exist - declare -a Aarray=(${A}) - unpack ${Aarray[0]} - use sou && rm -f data/patch.bif patch.key && unpack ${Aarray[2]} - use hou && rm -f data/patch.bif patch.key data/xp1patch.bif xp1patch.key \ - override/* && unpack ${Aarray[3]} - unpack ${Aarray[1]} -} - -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}:" \ - ${Ddir}/fixinstall || die "sed" - if use hou || use sou - then - sed -i \ - -e "s:nwmain patch.key:nwmain:" \ - ${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 NWN linux client is now installed." - elog "Proceed with the following step in order to get it working:" - elog "Run ${dir}/fixinstall as root" -} |