diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2012-12-21 09:59:26 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2012-12-21 09:59:26 +0000 |
commit | acd2e12b9d91ac81a3cbf603edb37e218a89b6c2 (patch) | |
tree | 612f3924a5f64b69942a8a7bbc6ecb4e33ccb651 /games-rpg/nwn | |
parent | Stable on amd64, wrt bug #448038 (diff) | |
download | historical-acd2e12b9d91ac81a3cbf603edb37e218a89b6c2.tar.gz historical-acd2e12b9d91ac81a3cbf603edb37e218a89b6c2.tar.bz2 historical-acd2e12b9d91ac81a3cbf603edb37e218a89b6c2.zip |
Add a version of 1.68 without built_with_use
Package-Manager: portage-2.1.11.31/cvs/Linux x86_64
Diffstat (limited to 'games-rpg/nwn')
-rw-r--r-- | games-rpg/nwn/ChangeLog | 7 | ||||
-rw-r--r-- | games-rpg/nwn/Manifest | 27 | ||||
-rw-r--r-- | games-rpg/nwn/nwn-1.68-r6.ebuild | 241 |
3 files changed, 251 insertions, 24 deletions
diff --git a/games-rpg/nwn/ChangeLog b/games-rpg/nwn/ChangeLog index 3ff4738eabfb..f13fb0483f1c 100644 --- a/games-rpg/nwn/ChangeLog +++ b/games-rpg/nwn/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-rpg/nwn # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/ChangeLog,v 1.78 2012/09/24 00:38:12 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/ChangeLog,v 1.79 2012/12/21 09:59:20 mr_bones_ Exp $ + +*nwn-1.68-r6 (21 Dec 2012) + + 21 Dec 2012; Michael Sterrett <mr_bones_@gentoo.org> +nwn-1.68-r6.ebuild: + Add a version of 1.68 without built_with_use 24 Sep 2012; Mike Frysinger <vapier@gentoo.org> nwn-1.68-r5.ebuild, nwn-1.69-r1.ebuild: diff --git a/games-rpg/nwn/Manifest b/games-rpg/nwn/Manifest index 17f1e5b06810..e85e38df44f5 100644 --- a/games-rpg/nwn/Manifest +++ b/games-rpg/nwn/Manifest @@ -1,11 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - AUX fixinstall 2534 SHA256 9a8724de422b26fc02620323745cf78846b6781902b9a7160ae1fa438e2d783a SHA512 694f1f9fb26df89fe9a583f5f103404c153acc006e48c2fdaed5dad9670595f7132c15f798e93f757c10f966199aaee51d1d4ac462e9b2887397b2b607fd7f70 WHIRLPOOL e1f6d5db05c434cd0289da6bffb7106cc8a5bc5895f8e374a880304f6f246d1ef607966c6a8dbfe655bd4d38806a7690a50379ee6ba3d1be24d76668b39c0889 DIST English_linuxclient168_orig.tar.gz 130569338 SHA256 03687bff0469cb08a7e5a14316e076a6bfe698121ccee4e2116f0bf119988092 DIST English_linuxclient168_xp1.tar.gz 134673662 SHA256 e78716a83add4980674f86fd648d374b6086365620bde478b678edfdd4e7e82c DIST English_linuxclient168_xp2.tar.gz 120144829 SHA256 b8d69ad68c3e3ddf2332176ffd1494682bd9f9d254531720327a62be44e1ac2c -DIST English_linuxclient169_orig.tar.gz 473297170 SHA256 50932f9647ea7968dbb8f7ab1fc6478035fff0826379a45762c1de8e46d1d2b0 +DIST English_linuxclient169_orig.tar.gz 473297170 SHA256 50932f9647ea7968dbb8f7ab1fc6478035fff0826379a45762c1de8e46d1d2b0 SHA512 e24c0a44e41c97e313aeae1f001ee9ab15d97432b754246bc38b79d8adb7b372f5063a45c378fcf2ea07835f46ed20d02cca727bd7f9ce3800ab36e0ccc4b30c WHIRLPOOL 098a9d80f923971e19f036b93b0bc3ad550c7bb72e1efb1fd850ceacfc61a8159c9cabbf74ce91c9c3435a346e8aa5a80020427d1abd83f02b948616cbb753dd DIST English_linuxclient169_xp1.tar.gz 477419208 SHA256 678254a1dbc52c5c3fa628410e3231b05afa3a612433729e7ef12d41bea8fc16 DIST English_linuxclient169_xp2.tar.gz 506025948 SHA256 09715e2b95c025ef7f00d218deec1b1edce501530d8cba51d61097c69699763f DIST French_linuxclient168_orig.tar.gz 131090499 SHA256 f32ed5a759a0a6b49d8f9ef39e313d49a8931725c0d5a61d3a8737d125902315 @@ -20,25 +17,9 @@ DIST Italian_linuxclient168_xp2.tar.gz 133867117 SHA256 8a8f87034ccda517e2c69dea DIST Spanish_linuxclient168_orig.tar.gz 132704890 SHA256 01bfd907735a69112fc1847e82269ed2a3d00760a9906dd24819269e53173f13 DIST Spanish_linuxclient168_xp1.tar.gz 143415370 SHA256 c74faed185b87a0f187f4e1bcf873ec3810a1fd8dba026b81bcf421e1ca121d9 DIST Spanish_linuxclient168_xp2.tar.gz 133862305 SHA256 b4d4efb0eb5d3395e42e665b518f3cec19c690b0f7f57783ecaa2e6aa8b70a5e -DIST nwn-libs-1.tar.bz2 250395 SHA256 8cf73b69f5c254125713b0bf8dcb89e3320eee5a3339df11d6d18d8381b36f31 +DIST nwn-libs-1.tar.bz2 250395 SHA256 8cf73b69f5c254125713b0bf8dcb89e3320eee5a3339df11d6d18d8381b36f31 SHA512 9a1941f232a0d2cf890660b8e383068f37cb573023c751e57e77cd803290425d9169844c9c550fa7f2a242ba7e7fe499d0f07a618acde9d2d02eab57495e948f WHIRLPOOL 740ce19b2292f961feab1d8829f1128f9e81613885fad5bab014dff7f975563265e4bfecc405b69a409472281cee213e0675696f3173ffd8f48e32a15c40b0ee EBUILD nwn-1.68-r5.ebuild 6667 SHA256 bb66041b50969800cb1f5e80782b6a9affe7dfbb7ed56eccd710ae025c2e8203 SHA512 d4340de8d9e8daf7e5a58b7b498fe46bd00847eb392d884b3100037b07a62355d313a12691a3ea88f6739f95bbc9c69a0dea46e37a733831cb2c16b59589848e WHIRLPOOL 94da5512ec8a8fcd16e5d38ac03e57b34e41f401d1699652692ff0207739cb91fd9e6fe051d932fa710ef6101b3fafbdb9bf4e370f56a277b0f1aca98d4d3356 +EBUILD nwn-1.68-r6.ebuild 6171 SHA256 bf62965ecb793ce24a9ee61873b80f9a0719e6938757010ff05b30618e2780f5 SHA512 abe30e7d8e158f3d0f43ed04523b8a28c02c34db55f8471930da5d7e2d54808d0ccc2cc443c641ddf844dfd2dc41dc6159b90acaebb54647635a23d6a840a22b WHIRLPOOL ce16af1c3169f18833c5e6fedfd2a52fecbae575e68febee579a3fee3f4f957d94c0f1e2a36c62116d92dc2f628e8be6453356080d95611cf136dadb0130a7cb EBUILD nwn-1.69-r1.ebuild 3302 SHA256 8c96b4f4a8448440a64011494957db0fc333db2a5f0cf3291689426d46054a4d SHA512 ce5d79692cfdca7984be65a1c7c5d47ddcfb36b0c0fe53cd536d743cba2959267d9c8999864ed226e65f9fcf10676c46f408df75e590cbf64ebeb4f34bdf15b5 WHIRLPOOL 3a3502aa5a30623932602d881b2e01eb29cfa77414d113c7b38eb793f5e96318c3068aaa12ab9b66c37fb2cbb789a29dba9f289cf3131cb95522f1032e25b078 -MISC ChangeLog 13787 SHA256 603314560719cfdbd172b00bd509442aa7ea9669889d5fb169ef97cacca140e5 SHA512 62ea1de22a00f52ab49f4e1dc1a174538b91c01c04dc6d17fe2cdf1225a6e8abda38d80f19ee6185a059222f6db2431bf07eb1c6f0f1ecfcd2137f35127a55a4 WHIRLPOOL 23f7291e2d319a8197586d0f0478d8a8e323122eb7f53ba9a1c8a463b1d33d9b0fb63c146857ac9fa7a2e6cedef8cfb00d5810123089a5090e753deaf583a4dd +MISC ChangeLog 13942 SHA256 cbe2c9f8c6198d33000f26a8ee70436f8d1b5581a01ef151114c36227ea895b2 SHA512 d54cb753d05055f5182a469d3a3cb6579b9aa1535b570c40f28d8c9e386f73cd8288032ab8f5946ef542b7258ac1e54d3b0b8b56980bc0a05c824e91474740e8 WHIRLPOOL 7e67e17304cac2b24ebc6eb3824aa183156070cc86cc604aecfbac7676e86f52fb09f75f2149f196b09c98bffd1742be24a34c086a28977b8abed83ce2605e09 MISC metadata.xml 435 SHA256 1548515a46157153d708117cfe4fb01d2ba73a5f32a49967d2b70b4702b95604 SHA512 f04e44dcd088018ddf1bc9481af61d8554dcce14b928641824e3730b72e0978519b578b09e970fddd6373bccc85092d6bebea5e12b7080f2ac82e80039227160 WHIRLPOOL 56380111a45637f8af736f4a3fb7764e6b45c91df05d1843b8292702f17e194c72eeb5e0f8a1666d0eb1a9bb7b9ba6e2c2ba9db8bfe059f8e4554c950be39e92 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iQIcBAEBCAAGBQJQX6t8AAoJELEHsLL7fEFWZIkP/3T/Gw5BZV/YcUGyp46m5lQC -YX0BWiqHKSMHi/ZcqLkeqDdqYeL/CdI2dQWn8Fd3D2MEyyi8Q7TdkEExgqKhaCuH -1AVbkdM51jiwgP7VZxY4RlxNMSmmd34l8+K8JjlfT4aOorXv39RNFfiR3J5c+P87 -GvaltFDvru9Dl8HpzcwrcMwV+9wQjgjVN7dnDPY8CLgM9kAgwbUFttwVpApn3One -wkHQNtoztkcOYKYhrWW+YhIoUEZJid1Kz1ARCNiuVOpTYVQH7QR5cYoLPS6RkwX1 -CX1BcNsmL/hXL8IY/sRnTaSJV3xFy4pfUuIuQ7wnXvBVhj4rxlWToNHrYwk3Tkuc -fnl6MfBdH+WBNwwHBnGOlehaTuTSVDXcdOqtHBFzfXMGYbz6dQsHYX1KI13attxY -Saa/yW2Jgr++gMFmFKHTNqVm7DfNojcq2JL7/Qi7aZFjTCnBmU9paFRcP9ts3zr2 -WzabLbdrBbk7/Xr52QK5IO49hUZqjBrR41tMRKgZF8STnMLhpXLoEVuUWBWmQNJN -YuMdoNWboXvCNmJGKIn33u0Zt/sJgjerZv7Cc6IhCNLVJHMv+e1ALYtT6qLkxTMX -KmWXBQxS/uMvtIFqU+gxriZe2qd4WtI7X7DkzX4L81HODTf4dcFiI00doK0pJrMn -pMg0P1dG679z6KBWtRP1 -=Xm58 ------END PGP SIGNATURE----- diff --git a/games-rpg/nwn/nwn-1.68-r6.ebuild b/games-rpg/nwn/nwn-1.68-r6.ebuild new file mode 100644 index 000000000000..263c6bf81c01 --- /dev/null +++ b/games-rpg/nwn/nwn-1.68-r6.ebuild @@ -0,0 +1,241 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/nwn-1.68-r6.ebuild,v 1.1 2012/12/21 09:59:20 mr_bones_ Exp $ + +EAPI=4 +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="http://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[sou?,hou?] + virtual/opengl + !<games-rpg/nwmouse-0.1-r1 + x86? ( + =virtual/libstdc++-3.3 + x11-libs/libXext + x11-libs/libX11 + media-libs/libsdl ) + amd64? ( + app-emulation/emul-linux-x86-baselibs + app-emulation/emul-linux-x86-compat + app-emulation/emul-linux-x86-xlibs + app-emulation/emul-linux-x86-sdl )" +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" +} |