diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:58:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:58:29 +0100 |
commit | 0cf2f20608308acdf3cb922c3736446bbd8f3388 (patch) | |
tree | 07815070629c7c11000a7f51ceb8ccbccb49a809 /games-fps/ut2004 | |
parent | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'games-fps/ut2004')
-rw-r--r-- | games-fps/ut2004/Manifest | 4 | ||||
-rw-r--r-- | games-fps/ut2004/metadata.xml | 8 | ||||
-rw-r--r-- | games-fps/ut2004/ut2004-3369.3-r1.ebuild | 140 |
3 files changed, 0 insertions, 152 deletions
diff --git a/games-fps/ut2004/Manifest b/games-fps/ut2004/Manifest deleted file mode 100644 index dc7dd6fa984d..000000000000 --- a/games-fps/ut2004/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST ut2004-lnxpatch3369-2.tar.bz2 22465217 BLAKE2B 9852f9d55804b7f2927a31be86aee1552aaebeb38d2a40fb206154c236e9d6eff47f7594024c0d9b25c7216d3ca62571b1f89f23f72ee9e135b2e6451bcb006a SHA512 0d6f26d5a811efd64be8c304e928e03f546d9a8eaba6b074843e2b7e76e0670b39df95200a2fe2040d72bbd204c7157ed0115649a5c85396a76d9e0b7ec284b1 -DIST ut2004-v3369-3-linux-dedicated.7z 5013927 BLAKE2B 72d24d7bc37c777f3697b767a03e052ad9b547005dd6da73833e439496e87a9c1ebbe01f88d62b29a41b2bf6380a3b3bd745e6883fbb6d0f2b7e52998d4af276 SHA512 3b2a7b64934a3647c02c9fec48565c5c2c35370d635b2af4059eb76587bfa13f46e6a4e14fdb0494ba7a4182497ed5963601986f4fcfa318e69a8a8a8c0178cf -EBUILD ut2004-3369.3-r1.ebuild 3947 BLAKE2B d5737cd41897625b609361390af6fe310f9548b3d7778c8dfe8334798ecd3897b157910bbe1ca92497f80d986c155d99e078a266179e7143b296a84428977a95 SHA512 6b4f7f517e6cf35faa699478e505f65d050f9f3cb68546b96af563f18e8baec3e5ce3e7d494de794f76c62bc37feaa91666ef8f803521a7c726b6cded2461e70 -MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-fps/ut2004/metadata.xml b/games-fps/ut2004/metadata.xml deleted file mode 100644 index 78274e0fa550..000000000000 --- a/games-fps/ut2004/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-fps/ut2004/ut2004-3369.3-r1.ebuild b/games-fps/ut2004/ut2004-3369.3-r1.ebuild deleted file mode 100644 index 7ea5df936e1b..000000000000 --- a/games-fps/ut2004/ut2004-3369.3-r1.ebuild +++ /dev/null @@ -1,140 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils multilib games - -MY_P="ut2004-lnxpatch${PV%.*}-2.tar.bz2" -DESCRIPTION="Editor's Choice Edition plus Mega Pack for the well-known first-person shooter" -HOMEPAGE="http://www.unrealtournament2004.com/" -SRC_URI=" - http://treefort.icculus.org/${PN}/${MY_P} - http://storage.guntoo.de/downs/downloads/Patch/ut2004-v${PV/./-}-linux-dedicated.7z - mirror://gentoo/ut2004-v${PV/./-}-linux-dedicated.7z" - -LICENSE="ut2003" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="dedicated opengl" -RESTRICT="mirror strip" - -UIDEPEND="=virtual/libstdc++-3.3 - virtual/opengl - x11-libs/libXext - x11-libs/libX11 - x11-libs/libXau - x11-libs/libXdmcp - media-libs/libsdl - media-libs/openal" -RDEPEND="sys-libs/glibc - games-fps/ut2004-data - games-fps/ut2004-bonuspack-ece - games-fps/ut2004-bonuspack-mega - dedicated? ( !games-server/ut2004-ded ) - opengl? ( ${UIDEPEND} ) - !dedicated? ( !opengl? ( ${UIDEPEND} ) )" -DEPEND="app-arch/p7zip" - -S=${WORKDIR}/UT2004-Patch -dir=${GAMES_PREFIX_OPT}/${PN} - -# The executable pages are required #114733 -QA_PREBUILT="${dir:1}/System/ut2004-bin - ${dir:1}/System/ucc-bin" - -src_prepare() { - cd "${S}"/System - - # These files are owned by ut2004-bonuspack-mega - rm -f Manifest.in{i,t} Packages.md5 ucc-bin* || die - - if use amd64 ; then - mv -f ut2004-bin-linux-amd64 ut2004-bin || die - else - rm -f ut2004-bin-linux-amd64 || die - fi - - cd "${WORKDIR}"/ut2004-ucc-bin-09192008 - if use amd64 ; then - mv -f ucc-bin-linux-amd64 "${S}"/System/ucc-bin || die - else - mv -f ucc-bin "${S}"/System/ || die - fi - - if use dedicated && ! use opengl ; then - rm -f "${S}"/System/ut2004-bin || die - fi -} - -src_install() { - insinto "${dir}" - doins -r * - fperms +x "${dir}"/System/ucc-bin - - if use opengl || ! use dedicated ; then - fperms +x "${dir}"/System/ut2004-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 - - games_make_wrapper ut2004 ./ut2004 "${dir}" "${dir}" - make_desktop_entry ut2004 "Unreal Tournament 2004" - fi - - if use dedicated ; then - games_make_wrapper ut2004-ded "./ucc-bin server" "${dir}"/System - fi - - prepgamesdirs -} - -pkg_postinst() { - games_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 ${dir}/System/cdkey ]] ; then - einfo "A cdkey file is already present in ${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 ${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!" - echo - 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}" | tr [:lower:] [:upper:] > "${dir}"/System/cdkey - einfo "Thank you!" - break - else - eerror "Your CD key entries do not match. Try again." - fi - fi - done -} |