summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhaarp <main.haarp@gmail.com>2022-12-18 01:34:51 +0100
committerhaarp <main.haarp@gmail.com>2022-12-18 01:34:51 +0100
commitf75b128e5846e271eb822a0428416a92ede2aa58 (patch)
treec84295b55b1e64bbbb3234988e603a43de17a71e
parentUpdate xsecurelock (diff)
downloadhaarp-f75b128e5846e271eb822a0428416a92ede2aa58.tar.gz
haarp-f75b128e5846e271eb822a0428416a92ede2aa58.tar.bz2
haarp-f75b128e5846e271eb822a0428416a92ede2aa58.zip
Remove doom3-gpl. Depends on python2 and manifest was broken anyway.
try something like games-fps/dhewm3 instead. Signed-off-by: haarp <main.haarp@gmail.com>
-rw-r--r--games-fps/doom3-gpl/Manifest3
-rw-r--r--games-fps/doom3-gpl/doom3-gpl-9999-r2.ebuild101
-rw-r--r--games-fps/doom3-gpl/files/d3_carmacksreverse.patch36
-rw-r--r--games-fps/doom3-gpl/files/d3_nokeycheck.patch17
4 files changed, 0 insertions, 157 deletions
diff --git a/games-fps/doom3-gpl/Manifest b/games-fps/doom3-gpl/Manifest
deleted file mode 100644
index 442c8e4..0000000
--- a/games-fps/doom3-gpl/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-AUX d3_carmacksreverse.patch 1416 BLAKE2B 242363639ea4595d5f2621b560769ef214f772ad307db0e60a000f04ec00dc159a7ffb328f94a671e6e59bf53100101bf52a668ab4813015d750a4c3423fa269 SHA512 78756fa8fbd818086640651238510ccb8c50cdbca2f0582d1a5281ff46318a19ba83c94130eeda8ba5b276370f61c8c343cdab0cec1cada9eef5bdfd220e60d2
-AUX d3_nokeycheck.patch 466 BLAKE2B b12e10f68006919dd0739773819285d3847047f51a8abb726fbdc8190584f52b43204a430fe008543510241af6a2ce41a1b5f5785a9382bac30aea5b090e005f SHA512 4d2b4c9abc020159cfc0d8b89abc82a52be45de1211a69facf9564b382a33473bfc86cac9d892a8658ed2291965bfac8ba2b7625d5f4b521b21ea0de089e171a
-EBUILD doom3-gpl-9999-r2.ebuild 2695 BLAKE2B 5e5ed7c3609b81b3619196a1ac40b0a44285c1b119e66a396e7d37e01cf33f2b5b6f4c16039a75c95c78dfae09f5c193963077d9f1768767056f0cca6fec2537 SHA512 ba37ea59709e252d253f8d7d782efbe19b5686f67b7144f98d672e363bf44fe234a13d2d02923004fb5a23fa3f1f307cc4311e3003377e82325dd58358add8ab
diff --git a/games-fps/doom3-gpl/doom3-gpl-9999-r2.ebuild b/games-fps/doom3-gpl/doom3-gpl-9999-r2.ebuild
deleted file mode 100644
index 78c22bd..0000000
--- a/games-fps/doom3-gpl/doom3-gpl-9999-r2.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# FIXME: Patch neo/SConstruct to Python3
-PYTHON_COMPAT=( python2_7 )
-inherit desktop git-r3 python-any-r1 scons-utils toolchain-funcs
-
-DESCRIPTION="3rd installment of the classic iD 3D first-person shooter"
-HOMEPAGE="https://github.com/TTimo/doom3.gpl"
-EGIT_REPO_URI="https://github.com/TTimo/doom3.gpl.git"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug dedicated opengl"
-
-REQUIRED_USE="|| ( dedicated opengl )"
-
-RDEPEND="sys-libs/glibc
- amd64? ( sys-libs/glibc[multilib] )
- opengl? ( >=virtual/opengl-7.0-r1[abi_x86_32(-)]
- >=x11-libs/libX11-1.6.2[abi_x86_32(-)]
- >=x11-libs/libXext-1.3.2[abi_x86_32(-)]
- >=media-libs/alsa-lib-1.0.27.2[abi_x86_32(-)]
- )"
-DEPEND="${RDEPEND}
- sys-devel/m4"
-
-src_prepare() {
- # do we really need Wall spam?
- sed -i -e "/BASECPPFLAGS.append( '-Wall' )/d" neo/SConstruct
-
- # we supply our own CFLAGS instead of what the release build uses:
- # -O3 -ffast-math -fno-unsafe-math-optimizations -fomit-frame-pointer
- sed -i -e "/OPTCPPFLAGS = \[ '-O3'/d" neo/SConstruct
- sed -i -e "s/BASEFLAGS = ''/BASEFLAGS = \[ '${CXXFLAGS//[${IFS}]/', '}' \]/" neo/SConstruct
- sed -i -e "s/BASELINKFLAGS = \[ \]/BASELINKFLAGS = \[ '${LDFLAGS//[${IFS}]/', '}' \]/" neo/SConstruct
-
- # fix compilation errors on modern systems
- sed -i -e "s/m_speed - PRIMARYFREQ/(double)(m_speed - PRIMARYFREQ)/" neo/sys/linux/sound.cpp
- sed -i -e "s/HUGE/100000000/" neo/tools/compilers/roqvq/codec.cpp
-
- eapply "${FILESDIR}/d3_carmacksreverse.patch"
- eapply "${FILESDIR}/d3_nokeycheck.patch"
-
- eapply_user
-}
-
-src_configure() {
- S="${WORKDIR}/${P}/neo"
-
- # FIXME: disabled curl due to needing 32-bit libz.a
- MYSCONS=(
- CC="$(tc-getCC)"
- CXX="$(tc-getCXX)"
- BUILD="$(usex debug debug release)"
- NOCURL="1"
- )
-
- if use dedicated; then
- if use opengl; then
- MYSCONS+=( DEDICATED="2" )
- else
- MYSCONS+=( DEDICATED="1" )
- fi
- else
- MYSCONS+=( DEDICATED="0" )
- fi
-}
-
-src_compile() {
- escons "${MYSCONS[@]}"
-}
-
-src_install() {
- exeinto "/usr/share/doom3"
- newexe gamex86-base.so gamex86.so
- doexe gamex86-d3xp.so
-
- if use opengl; then
- doexe doom.x86
- doexe sys/linux/setup/image/openurl.sh
- dosym /usr/share/doom3/doom.x86 /usr/bin/doom3
- doicon sys/linux/setup/image/doom3.png
- make_desktop_entry doom3 "Doom III" "doom3" "Game;ActionGame"
- fi
-
- if use dedicated; then
- doexe doomded.x86
- dosym /usr/share/doom3/doomded.x86 /usr/bin/doom3-dedicated
- fi
-
- dodoc ../README.txt sys/linux/setup/image/README
-}
-
-pkg_postinst() {
- elog "You need to copy the 'base' directory of a fully patched game to"
- elog "/usr/share/doom3/ before running the game."
-}
diff --git a/games-fps/doom3-gpl/files/d3_carmacksreverse.patch b/games-fps/doom3-gpl/files/d3_carmacksreverse.patch
deleted file mode 100644
index 35693d3..0000000
--- a/games-fps/doom3-gpl/files/d3_carmacksreverse.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Re-implement Carmack's Reverse which had been removed due to patent bs
-
---- a/neo/renderer/draw_common.cpp 2014-05-22 12:55:36.403044927 +0200
-+++ b/neo/renderer/draw_common.cpp 2014-05-22 15:27:23.299742373 +0200
-@@ -1143,18 +1143,26 @@
- return;
- }
-
-- // patent-free work around
-+ // patented depth-fail stencil shadows
-+ // https://github.com/ljbade/doom3.gpl/commit/d4de024341e79e0ac1dfb54fb528859f8ccea605
- if ( !external ) {
-- // "preload" the stencil buffer with the number of volumes
-- // that get clipped by the near or far clip plane
-- qglStencilOp( GL_KEEP, tr.stencilDecr, tr.stencilDecr );
-+ qglStencilOp( GL_KEEP, tr.stencilDecr, GL_KEEP );
- GL_Cull( CT_FRONT_SIDED );
- RB_DrawShadowElementsWithCounters( tri, numIndexes );
-- qglStencilOp( GL_KEEP, tr.stencilIncr, tr.stencilIncr );
-+ qglStencilOp( GL_KEEP, tr.stencilIncr, GL_KEEP );
- GL_Cull( CT_BACK_SIDED );
- RB_DrawShadowElementsWithCounters( tri, numIndexes );
- }
-+ // traditional depth-pass stencil shadows
-+ else {
-+ qglStencilOp( GL_KEEP, GL_KEEP, tr.stencilIncr );
-+ GL_Cull( CT_FRONT_SIDED );
-+ RB_DrawShadowElementsWithCounters( tri, numIndexes );
-
-+ qglStencilOp( GL_KEEP, GL_KEEP, tr.stencilDecr );
-+ GL_Cull( CT_BACK_SIDED );
-+ RB_DrawShadowElementsWithCounters( tri, numIndexes );
-+ }
- // traditional depth-pass stencil shadows
- qglStencilOp( GL_KEEP, GL_KEEP, tr.stencilIncr );
- GL_Cull( CT_FRONT_SIDED );
diff --git a/games-fps/doom3-gpl/files/d3_nokeycheck.patch b/games-fps/doom3-gpl/files/d3_nokeycheck.patch
deleted file mode 100644
index 09b0734..0000000
--- a/games-fps/doom3-gpl/files/d3_nokeycheck.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- a/neo/framework/BuildDefines.h 2013-11-12 15:20:49.702300031 +0100
-+++ b/neo/framework/BuildDefines.h 2013-11-12 15:21:10.852810329 +0100
-@@ -109,13 +109,7 @@
- #endif
- #endif
-
--#ifndef ID_ENFORCE_KEY
--# if !defined( ID_DEDICATED ) && !defined( ID_DEMO_BUILD )
--# define ID_ENFORCE_KEY 1
--# else
--# define ID_ENFORCE_KEY 0
--# endif
--#endif
-+#define ID_ENFORCE_KEY 0
-
- #ifndef ID_OPENAL
- # if ( defined(_WIN32) || defined(MACOS_X) ) && !defined( ID_DEDICATED )