From feb0daf81d888e9160f9f94502de09b66f2a63fd Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 21 Jun 2020 17:50:24 +0100 Subject: gentoo resync : 21.06.2020 --- games-fps/Manifest.gz | Bin 10826 -> 10832 bytes games-fps/ut2003-demo/Manifest | 2 +- games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild | 123 ---------------------- games-fps/ut2003-demo/ut2003-demo-2206-r4.ebuild | 123 ++++++++++++++++++++++ games-fps/ut2004-demo/Manifest | 2 +- games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild | 84 +++++++++++++++ games-fps/ut2004-demo/ut2004-demo-3334.ebuild | 84 --------------- games-fps/ut2004/Manifest | 2 +- games-fps/ut2004/ut2004-3369.3-r2.ebuild | 124 ----------------------- games-fps/ut2004/ut2004-3369.3-r3.ebuild | 124 +++++++++++++++++++++++ 10 files changed, 334 insertions(+), 334 deletions(-) delete mode 100644 games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild create mode 100644 games-fps/ut2003-demo/ut2003-demo-2206-r4.ebuild create mode 100644 games-fps/ut2004-demo/ut2004-demo-3334-r1.ebuild delete mode 100644 games-fps/ut2004-demo/ut2004-demo-3334.ebuild delete mode 100644 games-fps/ut2004/ut2004-3369.3-r2.ebuild create mode 100644 games-fps/ut2004/ut2004-3369.3-r3.ebuild (limited to 'games-fps') diff --git a/games-fps/Manifest.gz b/games-fps/Manifest.gz index cb024d4067ac..11b909c8f035 100644 Binary files a/games-fps/Manifest.gz and b/games-fps/Manifest.gz differ diff --git a/games-fps/ut2003-demo/Manifest b/games-fps/ut2003-demo/Manifest index c90565989ede..f80f7aed52d2 100644 --- a/games-fps/ut2003-demo/Manifest +++ b/games-fps/ut2003-demo/Manifest @@ -4,5 +4,5 @@ AUX ut2003-demo 692 BLAKE2B c9eef6a5ee06c4c9619ca29c7cdafab5763a3cb63a8b060ac4c2 DIST UT2003CrashFix.zip 2764 BLAKE2B 697c35a02f447d0d436fc32bebdeafbca55ef644d951e92085c33f7597108625770b76e027f31287cd2ac66607692ff8c908f6971f936a134d58d0effc2586fc SHA512 24fdaac873b08a0860c23f66b9bd93922fc4f64486adbe9bfefeb340f9d9374778b5e7bacd0e12cc79d819fb340e007ab2a7f1f45c9e4f27ab3ab6b11033d444 DIST ut2003-demo-misc.tar.bz2 31851 BLAKE2B 585fe83e142fecdce330ae6116d2c3ef94c870e9bfadb8d7e32185bf0880464bf162330da1f0960feef0d6f3eda7ba591565291d7b25f70f9834d4fbb5a41c58 SHA512 9a1e154aac7a8ccd043135e2a617a19203f6942e8e152d06ec8ed1e6877118cfb3ddbeab7ec2617670e26f13c0e394b8b8dbc747688b8b0b244a8c404f33d7f0 DIST ut2003demo-lnx-2206.sh.bin 137253079 BLAKE2B 9048a6f82e6302c84481989c4ce176fb969eb5c7a86e9d5a8b28060b0e2d139de786b8edbd5080cbf5d49ca9c6114d3f750ed8ad9bcdff6e69841933830538ea SHA512 8018d58999010c17198185838e42f7cbda0f55476f1e6065b4b2957db3652fe9c1af39ba65451565f54d41507413f4e0b1edf2678c9cc7c221f2ca278ec655be -EBUILD ut2003-demo-2206-r3.ebuild 3553 BLAKE2B f171933b013e60d8420f14a58ed6296e532ad076e3f43929e70a6e3be6282620161986f6a7eeec5cdd90d1d781993de70155d6d8db83c618c2478809809644b6 SHA512 c35fa9c2b8ff0f6b9a8c6e2ebf6e74402ab444f992cc60afe8b2769de094fc307330db721d9a6220a5928ce526046eb2c3caa8ab133600d180b4c5cdac05e244 +EBUILD ut2003-demo-2206-r4.ebuild 3552 BLAKE2B 9a7655140e511bc436a0b6d835a58b73079b7594a2cbdf4768c8ce4065b73dbd08aa5b3c1edaeb27deabbf44b0e11c7c4d2f6884afc2d39e44ca537b0d9f61cb SHA512 2a434fcc938c10135de612a3126e4c9d3e4b8665a7e4bb9d8fac8b16616eab573b02e10b7a656e22264849d44f4536dcd8136b858e6ebc25785c111952a517e2 MISC metadata.xml 602 BLAKE2B 860e51d942ba4cb4200404571230e2f9b7962a050c57e3c7ae336fa909e183a248c191f4dd0718a564945f5cb02592d578f774e1c50db208639ac02470980799 SHA512 2c956bf66965f83b68bb0c04d79d479ae76af9b7781bca93a1ff7898f02838ee0c1cc72290943be9902dee38096f2b119f95f21e5bed781e8c04f331a60adac2 diff --git a/games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild b/games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild deleted file mode 100644 index 2300c78fa96d..000000000000 --- a/games-fps/ut2003-demo/ut2003-demo-2206-r3.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils unpacker games - -DESCRIPTION="Demo for the sequel to the 1999 multi-player first-person shooter" -HOMEPAGE="http://www.ut2003.com/" -SRC_URI="http://unreal.epicgames.com/linux/ut2003/ut2003demo-lnx-${PV}.sh.bin - http://download.factoryunreal.com/mirror/UT2003CrashFix.zip - https://dev.gentoo.org/~wolf31o2/sources/${PN}/${PN}-misc.tar.bz2" - -LICENSE="ut2003-demo" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="" -RESTRICT="strip" - -DEPEND="app-arch/unzip" -RDEPEND=" - sys-devel/bc - virtual/libstdc++:3.3 - virtual/opengl[abi_x86_32(-)] - x11-libs/libX11[abi_x86_32(-)] - x11-libs/libXext[abi_x86_32(-)] -" - -S=${WORKDIR} - -dir=${GAMES_PREFIX_OPT}/${PN} -Ddir=${D}/${dir} - -QA_PREBUILT="${dir:1}/*.so ${dir:1}/*-bin ${dir:1}/System/libSDL-1.2.so.0" - -src_unpack() { - unpack_makeself "${DISTDIR}"/ut2003demo-lnx-${PV}.sh.bin || die - unzip "${DISTDIR}"/UT2003CrashFix.zip || die - cd "${S}" - unpack ./setupstuff.tar.gz || die - unpack ./ut2003lnx_demo.tar.bz2 || die - unpack ${PN}-misc.tar.bz2 || die -} - -src_install() { - einfo "This will take a while ... go get a pizza or something" - dodir "${dir}" - - local i - for i in Animations Benchmark Help KarmaData Maps Music Sounds \ - StaticMeshes System Textures Web extras - do - dodir "${dir}"/${i} - cp -pPR "${S}"/${i}/* "${Ddir}"/${i} - done - - # Fix the benchmark configurations to use SDL rather than the Windows driver - local f - for f in MaxDetail.ini MinDetail.ini - do - sed -i \ - -e 's/RenderDevice=D3DDrv.D3DRenderDevice/\;RenderDevice=D3DDrv.D3DRenderDevice/' \ - -e 's/ViewportManager=WinDrv.WindowsClient/\;ViewportManager=WinDrv.WindowsClient/' \ - -e 's/\;RenderDevice=OpenGLDrv.OpenGLRenderDevice/RenderDevice=OpenGLDrv.OpenGLRenderDevice/' \ - -e 's/\;ViewportManager=SDLDrv.SDLClient/ViewportManager=SDLDrv.SDLClient/' \ - "${Ddir}"/Benchmark/Stuff/${f} || die - done - - # Have the benchmarks run the nifty wrapper script rather than - # ../System/ut2003-bin directly - for f in "${Ddir}"/Benchmark/*-*.sh ; do - sed -i \ - -e 's:\.\./System/ut2003-bin:../ut2003_demo:' "${f}" || die - done - - # Wrapper and benchmark-scripts - dogamesbin "${FILESDIR}"/ut2003-demo - exeinto "${dir}"/Benchmark - doexe "${FILESDIR}/"{benchmark,results.sh} - sed -i -e "s:GAMES_PREFIX_OPT:${GAMES_PREFIX_OPT}:" \ - "${ED}/${GAMES_BINDIR}/${PN}" "${ED}/${dir}"/Benchmark/benchmark || die - - # Here we apply DrSiN's crash patch - cp "${S}"/CrashFix/System/crashfix.u "${Ddir}"/System || die - -ed "${Ddir}"/System/Default.ini >/dev/null 2>&1 </dev/null 2>&1 < "${EROOT}${DIR}"/System/cdkey || die - einfo "Thank you!" - break - else - eerror "Your CD key entries do not match. Try again." - fi - fi - done -} diff --git a/games-fps/ut2004/ut2004-3369.3-r3.ebuild b/games-fps/ut2004/ut2004-3369.3-r3.ebuild new file mode 100644 index 000000000000..13d59140205d --- /dev/null +++ b/games-fps/ut2004/ut2004-3369.3-r3.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop eutils + +PATCH_P="${PN}-lnxpatch${PV%.*}-2.tar.bz2" +DESCRIPTION="Editor's Choice Edition plus Mega Pack for the well-known first-person shooter" +HOMEPAGE="https://liandri.beyondunreal.com/Unreal_Tournament_2004" +SRC_URI=" + https://ut2004.ut-files.com/Patches/Linux/${PATCH_P} + https://dev.gentoo.org/~chewi/distfiles/ut2004-v${PV/./-}-linux-dedicated.7z +" + +LICENSE="ut2003" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +RESTRICT="bindist mirror strip" + +RDEPEND=" + !games-server/ut2004-ded + games-fps/ut2004-bonuspack-ece + games-fps/ut2004-bonuspack-mega + >=games-fps/ut2004-data-3186-r5 + media-libs/libsdl + media-libs/openal + sys-libs/glibc + sys-libs/libstdc++-v3:5 + virtual/opengl + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXdmcp + x11-libs/libXext +" + +BDEPEND="app-arch/p7zip" + +S="${WORKDIR}/${PN^^}-Patch" +DIR="/opt/${PN}" + +# The executable pages are required. Bug #114733. +QA_PREBUILT="*" + +src_prepare() { + default + + if use amd64; then + mv System/${PN}-bin{-linux-amd64,} || die + mv ../${PN}-ucc-bin-09192008/ucc-bin-linux-amd64 System/ucc-bin || die + else + rm System/${PN}-bin-linux-amd64 || die + mv ../${PN}-ucc-bin-09192008/ucc-bin System/ucc-bin || die + fi + + # In ut2004-bonuspack-mega. + rm System/{Manifest.in[it],Packages.md5} || die +} + +src_install() { + insinto "${DIR}" + doins -r . + fperms +x "${DIR}"/System/{ucc,${PN}}-bin + + dosym ../../../usr/$(get_libdir)/libopenal.so "${DIR}"/System/openal.so + dosym ../../../usr/$(get_libdir)/libSDL-1.2.so.0 "${DIR}"/System/libSDL-1.2.so.0 + + make_wrapper ${PN} ./${PN}-bin "${DIR}"/System "${DIR}" + make_wrapper ${PN}-ded "./ucc-bin server" "${DIR}"/System + + make_desktop_entry ${PN} "Unreal Tournament 2004" + + newconfd "${FILESDIR}"/${PN}-ded.confd ${PN}-ded + newinitd "${FILESDIR}"/${PN}-ded.initd ${PN}-ded +} + +pkg_postinst() { + # Here is where we check for the existence of a cdkey. + # If we don't find one, we ask the user for it. + if [[ -f "${EROOT}${DIR}"/System/cdkey ]] ; then + einfo "A cdkey file is already present in ${EPREFIX}${DIR}/System" + else + ewarn "You MUST run this before playing the game:" + ewarn "emerge --config =${CATEGORY}/${PF}" + ewarn "That way you can [re]enter your cdkey." + fi + elog "Starting with 3369, the game supports render-to-texture. To enable" + elog "it, you will need the Nvidia drivers of at least version 7676 and" + elog "you should edit the following:" + elog 'Set "UseRenderTargets=True" in the "[OpenGLDrv.OpenGLRenderDevice]"' + elog 'section of your UT2004.ini or Default.ini and set "bPlayerShadows=True"' + elog 'and "bBlobShadow=False" in the "[UnrealGame.UnrealPawn]" section of' + elog 'your User.ini or DefUser.ini.' +} + +pkg_postrm() { + ewarn "This package leaves a cdkey file in ${EROOT}${DIR}/System that you need" + ewarn "to remove to completely get rid of this game's files." +} + +pkg_config() { + ewarn "Your CD key is NOT checked for validity here so" + ewarn "make sure you type it in correctly." + ewarn "If you CTRL+C out of this, the game will not run!" + ewarn + einfo "CD key format is: XXXXX-XXXXX-XXXXX-XXXXX" + while true ; do + einfo "Please enter your CD key:" + read CDKEY1 + einfo "Please re-enter your CD key:" + read CDKEY2 + if [[ -z ${CDKEY1} ]] || [[ -z ${CDKEY2} ]] ; then + echo "You entered a blank CD key. Try again." + else + if [[ ${CDKEY1} == ${CDKEY2} ]] ; then + echo "${CDKEY1^^}" > "${EROOT}${DIR}"/System/cdkey || die + einfo "Thank you!" + break + else + eerror "Your CD key entries do not match. Try again." + fi + fi + done +} -- cgit v1.2.3