diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /games-fps | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'games-fps')
252 files changed, 0 insertions, 9682 deletions
diff --git a/games-fps/alephone-apotheosis-x/Manifest b/games-fps/alephone-apotheosis-x/Manifest deleted file mode 100644 index 6a84585b6db6..000000000000 --- a/games-fps/alephone-apotheosis-x/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST alephone-apotheosis-x-1.1.zip 256961708 BLAKE2B ded5605465f3625917f2b66d0b6d32ebaa36b1f36b9f24020d2805fcda6158d0e98eaf0e8c7de1efdc9d072c303231e6184eed554e7129a8f29798e8b703a266 SHA512 085de24c59b60d306fc388521f6190de4c292857f04b8220c2a74d1f128f6d9a5ad16f1b64a22ac980b3785f75fcc3e87be4b5ccd3c048799f6fa3d6f38b8744 diff --git a/games-fps/alephone-apotheosis-x/alephone-apotheosis-x-1.1.ebuild b/games-fps/alephone-apotheosis-x/alephone-apotheosis-x-1.1.ebuild deleted file mode 100644 index fefdb9442a5f..000000000000 --- a/games-fps/alephone-apotheosis-x/alephone-apotheosis-x-1.1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop - -DESCRIPTION="Aleph One - Apotheosis X" -HOMEPAGE="https://www.moddb.com/mods/apotheosis-x" -SRC_URI="https://deps.gentoo.zip/games-fps/${PN}/Apotheosis_X_1.1.zip -> ${P}.zip" -S="${WORKDIR}/Apotheosis X 1.1" - -LICENSE="bungie-marathon all-rights-reserved" -SLOT="0" -KEYWORDS="~amd64" -RESTRICT="bindist mirror" - -RDEPEND="games-fps/alephone" -BDEPEND="app-arch/unzip" - -MY_NAME="apotheosis-x" -MY_DIR="/usr/share/alephone-${MY_NAME}" - -src_install() { - insinto "${MY_DIR}" - doins -r * - - mkdir "${D}${MY_DIR}"/Plugins - - make_desktop_entry "alephone.sh ${MY_NAME}" "${DESCRIPTION}" - - keepdir "${MY_DIR}"/{Music,Scripts,Plugins} -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]]; then - elog "Apotheosis X is a total conversion for Aleph One, a game engine for the Marathon series." - elog "It is a standalone game and does not require any other Marathon scenarios to play." - elog "To play this scenario, run:" - elog "\`alephone.sh ${MY_NAME}\` or use the menu entry." - elog - elog "Apotheosis X does not include a custom HUD, and by default will use the Marathon" - elog "HUD which results in black bars covering a portion of usable screen real-estate." - elog "The manual suggests the following plugins:" - elog " - Basic HUD - https://simplici7y.com/items/basic-hud/" - elog " - Fullscreen Corner HUD https://simplici7y.com/items/fullscreen-corner-hud/" - fi -} diff --git a/games-fps/alephone-apotheosis-x/metadata.xml b/games-fps/alephone-apotheosis-x/metadata.xml deleted file mode 100644 index 73b0aacd5de5..000000000000 --- a/games-fps/alephone-apotheosis-x/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <longdescription> - A total conversion mod for Marathon Infinity running on Aleph One. - Apotheosis X pushes the boundaries of what's possible aesthetically with the marathon engine whilst retaining its low resolution 90's charm. - </longdescription> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <maintainer type="person"> - <email>kangie@gentoo.org</email> - <name>Matt Jolly</name> - </maintainer> -</pkgmetadata> diff --git a/games-fps/alephone-durandal/Manifest b/games-fps/alephone-durandal/Manifest deleted file mode 100644 index 2636ff06fc32..000000000000 --- a/games-fps/alephone-durandal/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST Marathon2-20240822-Data.zip 28902408 BLAKE2B a0b2f0c565bd11b0f9360198f121d86ada6d76b2a49cce95a46285674135ec79ecaa267305804b167130603f791956c1aed03d653f1a0768301bdb5148b0e718 SHA512 65cedbc20b70f2ae6382e5dfa28cf1c108c4726b75d7c25fccae8e0d29a0cf60e8bdc8eca23fb4224131527e5be3dca732f4af22389ca61b2e531121969589db -DIST Marathon2-20250302-Data.zip 28902408 BLAKE2B a7b75b5c29748e0aca3ee8ef6b253d2b691d3458cf151ee897f8bc35449b3f85f0de3315079d7c6462229815385bf4a3362d5b19262cda52467fa2791b2b0b02 SHA512 0b70f2daa6568dd96681eaf9c3949232b58ceda2e16fbdb1451864249f442c42666619fc111e060b0c0e46165c8752dc1be882d310afeaaf4d6338c7e2d357ec diff --git a/games-fps/alephone-durandal/alephone-durandal-20240822.ebuild b/games-fps/alephone-durandal/alephone-durandal-20240822.ebuild deleted file mode 100644 index 2de0830a6d26..000000000000 --- a/games-fps/alephone-durandal/alephone-durandal-20240822.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop - -DESCRIPTION="Aleph One - Marathon 2 (Durandal)" -HOMEPAGE="https://alephone.lhowon.org/" -SRC_URI="https://github.com/Aleph-One-Marathon/alephone/releases/download/release-${PV}/Marathon2-${PV}-Data.zip" -S="${WORKDIR}/Marathon 2" - -LICENSE="bungie-marathon" -SLOT="0" -KEYWORDS="~amd64" -RESTRICT="mirror" - -RDEPEND="games-fps/alephone" -BDEPEND="app-arch/unzip" - -MY_NAME="durandal" -MY_DIR="/usr/share/alephone-${MY_NAME}" - -src_install() { - insinto "${MY_DIR}" - doins -r * - - make_desktop_entry "alephone.sh ${MY_NAME}" "${DESCRIPTION}" - - # Make sure the extra dirs exist in case the user wants to add some data - keepdir "${MY_DIR}"/{Scripts,"Physics Models",Textures,Themes} -} - -pkg_postinst() { - elog "To play this scenario, run:" - elog "alephone.sh ${MY_NAME}" -} diff --git a/games-fps/alephone-durandal/alephone-durandal-20250302.ebuild b/games-fps/alephone-durandal/alephone-durandal-20250302.ebuild deleted file mode 100644 index 78668d51efff..000000000000 --- a/games-fps/alephone-durandal/alephone-durandal-20250302.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop - -DESCRIPTION="Aleph One - Marathon 2 (Durandal)" -HOMEPAGE="https://alephone.lhowon.org/" -SRC_URI="https://github.com/Aleph-One-Marathon/alephone/releases/download/release-${PV}/Marathon2-${PV}-Data.zip" -S="${WORKDIR}/Marathon 2" - -LICENSE="bungie-marathon" -SLOT="0" -KEYWORDS="~amd64" -RESTRICT="mirror" - -RDEPEND="games-fps/alephone" -BDEPEND="app-arch/unzip" - -MY_NAME="durandal" -MY_DIR="/usr/share/alephone-${MY_NAME}" - -src_install() { - insinto "${MY_DIR}" - doins -r * - - make_desktop_entry "alephone.sh ${MY_NAME}" "${DESCRIPTION}" - - # Make sure the extra dirs exist in case the user wants to add some data - keepdir "${MY_DIR}"/{Scripts,"Physics Models",Textures,Themes} -} - -pkg_postinst() { - elog "To play this scenario, run:" - elog "alephone.sh ${MY_NAME}" -} diff --git a/games-fps/alephone-durandal/metadata.xml b/games-fps/alephone-durandal/metadata.xml deleted file mode 100644 index d7b00a0d5f6d..000000000000 --- a/games-fps/alephone-durandal/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <maintainer type="person"> - <email>kangie@gentoo.org</email> - <name>Matt Jolly</name> - </maintainer> - <upstream> - <remote-id type="github">Aleph-One-Marathon/alephone</remote-id> - <remote-id type="sourceforge">marathon</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-fps/alephone-infinity/Manifest b/games-fps/alephone-infinity/Manifest deleted file mode 100644 index 08035d2c13c4..000000000000 --- a/games-fps/alephone-infinity/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST MarathonInfinity-20240822-Data.zip 31852152 BLAKE2B 8360a413a9d813b315d7c012965fa54ad480a99dad4e44135d2e4fbab96fa92b604f9004a0a0456f86fbda070c28c7fb504ad2d7aa7347eeb53633b036320d75 SHA512 354dac31983d5ff516c8326fdb915411d06b27a6e3089c0ced9723d1604aacce2e1cb299e1c59cbea06180c388472a8757091582c232693ae7c219bd9bb774a9 -DIST MarathonInfinity-20250302-Data.zip 31852152 BLAKE2B 0a499f8f39c15347997f16f99383255f903abffb56f436be3a53c07a6fc77c80671115466c977652c5212970ef31c4c84968a410dc0d073c9f1b540cd76f5b73 SHA512 2a0c451adddb3fbe994277ace3df128173778c63a7d081541d57e298bf1676127431ac80f30d66eb36be1600f7a1883339ddc937c17f718f1447ffb2d7efe69a diff --git a/games-fps/alephone-infinity/alephone-infinity-20240822.ebuild b/games-fps/alephone-infinity/alephone-infinity-20240822.ebuild deleted file mode 100644 index 05045fa23f0e..000000000000 --- a/games-fps/alephone-infinity/alephone-infinity-20240822.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop - -DESCRIPTION="Aleph One - Marathon Infinity" -HOMEPAGE="https://alephone.lhowon.org/" -SRC_URI="https://github.com/Aleph-One-Marathon/alephone/releases/download/release-${PV}/MarathonInfinity-${PV}-Data.zip" -S="${WORKDIR}/Marathon Infinity" - -LICENSE="bungie-marathon" -SLOT="0" -KEYWORDS="~amd64" -RESTRICT="mirror" - -RDEPEND="games-fps/alephone" -BDEPEND="app-arch/unzip" - -MY_NAME="infinity" -MY_DIR="/usr/share/alephone-${MY_NAME}" - -src_install() { - insinto "${MY_DIR}" - doins -r * - - make_desktop_entry "alephone.sh ${MY_NAME}" "${DESCRIPTION}" - - # Make sure the extra dirs exist in case the user wants to add some data - keepdir "${MY_DIR}"/{Scripts,"Physics Models",Textures,Themes} -} - -pkg_postinst() { - elog "To play this scenario, run:" - elog "alephone.sh ${MY_NAME}" -} diff --git a/games-fps/alephone-infinity/alephone-infinity-20250302.ebuild b/games-fps/alephone-infinity/alephone-infinity-20250302.ebuild deleted file mode 100644 index 87f62c4c58b9..000000000000 --- a/games-fps/alephone-infinity/alephone-infinity-20250302.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop - -DESCRIPTION="Aleph One - Marathon Infinity" -HOMEPAGE="https://alephone.lhowon.org/" -SRC_URI="https://github.com/Aleph-One-Marathon/alephone/releases/download/release-${PV}/MarathonInfinity-${PV}-Data.zip" -S="${WORKDIR}/Marathon Infinity" - -LICENSE="bungie-marathon" -SLOT="0" -KEYWORDS="~amd64" -RESTRICT="mirror" - -RDEPEND="games-fps/alephone" -BDEPEND="app-arch/unzip" - -MY_NAME="infinity" -MY_DIR="/usr/share/alephone-${MY_NAME}" - -src_install() { - insinto "${MY_DIR}" - doins -r * - - make_desktop_entry "alephone.sh ${MY_NAME}" "${DESCRIPTION}" - - # Make sure the extra dirs exist in case the user wants to add some data - keepdir "${MY_DIR}"/{Scripts,"Physics Models",Textures,Themes} -} - -pkg_postinst() { - elog "To play this scenario, run:" - elog "alephone.sh ${MY_NAME}" -} diff --git a/games-fps/alephone-infinity/metadata.xml b/games-fps/alephone-infinity/metadata.xml deleted file mode 100644 index d7b00a0d5f6d..000000000000 --- a/games-fps/alephone-infinity/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <maintainer type="person"> - <email>kangie@gentoo.org</email> - <name>Matt Jolly</name> - </maintainer> - <upstream> - <remote-id type="github">Aleph-One-Marathon/alephone</remote-id> - <remote-id type="sourceforge">marathon</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-fps/alephone-marathon/Manifest b/games-fps/alephone-marathon/Manifest deleted file mode 100644 index a646a23f38f0..000000000000 --- a/games-fps/alephone-marathon/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST Marathon-20240822-Data.zip 26408514 BLAKE2B 81459b2bd3718fc4b87d8da512da202912847673ee912467d7aee871bede0f5163cccdf0836f39968dd6c93cff443684491189281ad90b10ae9d0a77e45a8f24 SHA512 b834b181c9451d003c1e87844faf7c56e827e48475d66ac644f4387227ec40f5199758c3a517334c10ae3938f51ecf453d40cc99ff0a95614c5888a6b5cfb196 -DIST Marathon-20250302-Data.zip 26408514 BLAKE2B e600e10e0c7bfd4823756bb8ed1b1abd80719b6cf1856d0f310341596ffaad83ec5ab74ea36e73c11ceac84038220c1d3ef966407a258210c315eafb46f230c8 SHA512 5592b46186331ab6d58d87a65776643b0ecdc183e93c7237e6ababb4d5fb69f7e0cb5f49d101edbeb5f2592a5e5169c522892c2db80b86397b7d1183945f245d diff --git a/games-fps/alephone-marathon/alephone-marathon-20240822.ebuild b/games-fps/alephone-marathon/alephone-marathon-20240822.ebuild deleted file mode 100644 index a1e8facfaa52..000000000000 --- a/games-fps/alephone-marathon/alephone-marathon-20240822.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop - -DESCRIPTION="Aleph One - Marathon (M1A1)" -HOMEPAGE="https://alephone.lhowon.org/" -SRC_URI="https://github.com/Aleph-One-Marathon/alephone/releases/download/release-${PV}/Marathon-${PV}-Data.zip" -S="${WORKDIR}/Marathon" - -LICENSE="bungie-marathon" -SLOT="0" -KEYWORDS="~amd64" -RESTRICT="mirror" - -RDEPEND="games-fps/alephone" -BDEPEND="app-arch/unzip" - -MY_NAME="marathon" -MY_DIR="/usr/share/alephone-${MY_NAME}" - -src_install() { - insinto "${MY_DIR}" - doins -r * - - make_desktop_entry "alephone.sh ${MY_NAME}" "${DESCRIPTION}" - - # Make sure the extra dirs exist in case the user wants to add some data - keepdir "${MY_DIR}"/{Scripts,"Physics Models",Textures,Themes} -} - -pkg_postinst() { - elog "To play this scenario, run:" - elog "alephone.sh ${MY_NAME}" -} diff --git a/games-fps/alephone-marathon/alephone-marathon-20250302.ebuild b/games-fps/alephone-marathon/alephone-marathon-20250302.ebuild deleted file mode 100644 index 36930cf3ed43..000000000000 --- a/games-fps/alephone-marathon/alephone-marathon-20250302.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop - -DESCRIPTION="Aleph One - Marathon (M1A1)" -HOMEPAGE="https://alephone.lhowon.org/" -SRC_URI="https://github.com/Aleph-One-Marathon/alephone/releases/download/release-${PV}/Marathon-${PV}-Data.zip" -S="${WORKDIR}/Marathon" - -LICENSE="bungie-marathon" -SLOT="0" -KEYWORDS="~amd64" -RESTRICT="mirror" - -RDEPEND="games-fps/alephone" -BDEPEND="app-arch/unzip" - -MY_NAME="marathon" -MY_DIR="/usr/share/alephone-${MY_NAME}" - -src_install() { - insinto "${MY_DIR}" - doins -r * - - make_desktop_entry "alephone.sh ${MY_NAME}" "${DESCRIPTION}" - - # Make sure the extra dirs exist in case the user wants to add some data - keepdir "${MY_DIR}"/{Scripts,"Physics Models",Textures,Themes} -} - -pkg_postinst() { - elog "To play this scenario, run:" - elog "alephone.sh ${MY_NAME}" -} diff --git a/games-fps/alephone-marathon/metadata.xml b/games-fps/alephone-marathon/metadata.xml deleted file mode 100644 index d7b00a0d5f6d..000000000000 --- a/games-fps/alephone-marathon/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <maintainer type="person"> - <email>kangie@gentoo.org</email> - <name>Matt Jolly</name> - </maintainer> - <upstream> - <remote-id type="github">Aleph-One-Marathon/alephone</remote-id> - <remote-id type="sourceforge">marathon</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-fps/alephone/Manifest b/games-fps/alephone/Manifest deleted file mode 100644 index ce599e36818b..000000000000 --- a/games-fps/alephone/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST alephone-20250829.tar.gz 9230664 BLAKE2B 266dc66872f66e25f9cd2271ffc97104b58f338c85631151abfc55df83c6365d5188df2cfc34bbb5529091a6a47abf9734094b054bcae827fae861dcf9a9223b SHA512 f59540785f1a43d5da45d07fbda6e2cf12d87795209d6c9fc52555d8e1c1e264581da2639509e6344244fb67dd7752e14a9e6ef1454a0c203d5ccad4c71adcac diff --git a/games-fps/alephone/alephone-20250829.ebuild b/games-fps/alephone/alephone-20250829.ebuild deleted file mode 100644 index 39fd01aa5ee8..000000000000 --- a/games-fps/alephone/alephone-20250829.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic optfeature prefix toolchain-funcs xdg - -DESCRIPTION="Enhanced game engine version from the classic Mac game, Marathon" -HOMEPAGE="https://alephone.lhowon.org/" -if [[ ${PV} = 9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/Aleph-One-Marathon/alephone/" - EGIT_SUBMODULES=() # Upstream includes game data as submodules, we only want the engine -else - SRC_URI="https://github.com/Aleph-One-Marathon/alephone/archive/refs/tags/release-${PV}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-release-${PV}" - KEYWORDS="~amd64" -fi - -LICENSE="GPL-3+ BitstreamVera OFL-1.1" -SLOT="0" -IUSE="curl test upnp video-export" - -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-libs/boost:= - dev-libs/zziplib:= - media-libs/openal - media-libs/libpng - media-libs/libsdl2[joystick] - media-libs/libsndfile[-minimal] - media-libs/sdl2-image[png] - media-libs/sdl2-ttf - virtual/zlib:= - virtual/opengl - virtual/glu - curl? ( net-misc/curl ) - upnp? ( net-libs/miniupnpc ) - video-export? ( - dev-libs/libebml:= - media-libs/libmatroska:= - media-libs/libvorbis - media-libs/libvpx:= - media-libs/libyuv:= - ) -" -DEPEND="${RDEPEND} - dev-cpp/asio - test? ( >=dev-cpp/catch-3:0 ) -" -BDEPEND="virtual/pkgconfig" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # With LTO enabled enemies are not visible - # https://github.com/Aleph-One-Marathon/alephone/issues/518 - filter-lto - my_econf=( - --enable-opengl - --disable-steam # not packaged? - --without-nfd # not packaged? - --with-png - --with-sdl_image - --with-zzip - $(use_with curl) - $(use_with test catch2) - $(use_with upnp miniupnpc) - $(use_with video-export ebml) - $(use_with video-export matroska) - $(use_with video-export vpx) - $(use_with video-export vorbis) - $(use_with video-export vorbisenc) - $(use_with video-export libyuv) - ) - econf "${my_econf[@]}" -} - -src_compile() { - tc-export AR - default -} - -src_install() { - default - prefixify_ro "${FILESDIR}"/${PN}.sh - dobin "${T}"/${PN}.sh - doman docs/${PN}.6 - docinto html/ - dodoc docs/*.html -} - -pkg_postinst() { - xdg_pkg_postinst - optfeature_header "Install game data:" - optfeature "Marathon data files" games-fps/alephone-marathon - optfeature "Marathon 2 Durandal data files" games-fps/alephone-durandal - optfeature "Marathon: Infinity data files" games-fps/alephone-infinity - optfeature "Apotheosis X data files" games-fps/alephone-apotheosis-x -} diff --git a/games-fps/alephone/alephone-99999999.ebuild b/games-fps/alephone/alephone-99999999.ebuild deleted file mode 100644 index 39fd01aa5ee8..000000000000 --- a/games-fps/alephone/alephone-99999999.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic optfeature prefix toolchain-funcs xdg - -DESCRIPTION="Enhanced game engine version from the classic Mac game, Marathon" -HOMEPAGE="https://alephone.lhowon.org/" -if [[ ${PV} = 9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/Aleph-One-Marathon/alephone/" - EGIT_SUBMODULES=() # Upstream includes game data as submodules, we only want the engine -else - SRC_URI="https://github.com/Aleph-One-Marathon/alephone/archive/refs/tags/release-${PV}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN}-release-${PV}" - KEYWORDS="~amd64" -fi - -LICENSE="GPL-3+ BitstreamVera OFL-1.1" -SLOT="0" -IUSE="curl test upnp video-export" - -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-libs/boost:= - dev-libs/zziplib:= - media-libs/openal - media-libs/libpng - media-libs/libsdl2[joystick] - media-libs/libsndfile[-minimal] - media-libs/sdl2-image[png] - media-libs/sdl2-ttf - virtual/zlib:= - virtual/opengl - virtual/glu - curl? ( net-misc/curl ) - upnp? ( net-libs/miniupnpc ) - video-export? ( - dev-libs/libebml:= - media-libs/libmatroska:= - media-libs/libvorbis - media-libs/libvpx:= - media-libs/libyuv:= - ) -" -DEPEND="${RDEPEND} - dev-cpp/asio - test? ( >=dev-cpp/catch-3:0 ) -" -BDEPEND="virtual/pkgconfig" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - # With LTO enabled enemies are not visible - # https://github.com/Aleph-One-Marathon/alephone/issues/518 - filter-lto - my_econf=( - --enable-opengl - --disable-steam # not packaged? - --without-nfd # not packaged? - --with-png - --with-sdl_image - --with-zzip - $(use_with curl) - $(use_with test catch2) - $(use_with upnp miniupnpc) - $(use_with video-export ebml) - $(use_with video-export matroska) - $(use_with video-export vpx) - $(use_with video-export vorbis) - $(use_with video-export vorbisenc) - $(use_with video-export libyuv) - ) - econf "${my_econf[@]}" -} - -src_compile() { - tc-export AR - default -} - -src_install() { - default - prefixify_ro "${FILESDIR}"/${PN}.sh - dobin "${T}"/${PN}.sh - doman docs/${PN}.6 - docinto html/ - dodoc docs/*.html -} - -pkg_postinst() { - xdg_pkg_postinst - optfeature_header "Install game data:" - optfeature "Marathon data files" games-fps/alephone-marathon - optfeature "Marathon 2 Durandal data files" games-fps/alephone-durandal - optfeature "Marathon: Infinity data files" games-fps/alephone-infinity - optfeature "Apotheosis X data files" games-fps/alephone-apotheosis-x -} diff --git a/games-fps/alephone/files/alephone.sh b/games-fps/alephone/files/alephone.sh deleted file mode 100644 index 3bb51c26b67c..000000000000 --- a/games-fps/alephone/files/alephone.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/env bash - -DIR=$(dirname "${0}") -CMD=$(basename "${0}") -ALEPHONE=${CMD%%.sh} - -if [[ -z "${1}" ]] -then - echo "Usage: ${0} SCENARIO FLAGS" - echo "Where SCENARIO is one of:" - for d in @GENTOO_PORTAGE_EPREFIX@/usr/share/alephone-* - do - echo " ${d##*/alephone-}" - done - exit 2 -fi - -DATA="@GENTOO_PORTAGE_EPREFIX@/usr/share/alephone-${1}" - -shift - -# kill ARTS, because we're just that nice -if artsshell terminate 2> /dev/null -then - sleep 2 -fi - -"${DIR}"/"${ALEPHONE}" "$@" "${DATA}" diff --git a/games-fps/alephone/metadata.xml b/games-fps/alephone/metadata.xml deleted file mode 100644 index 15335ab78cd3..000000000000 --- a/games-fps/alephone/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <maintainer type="person"> - <email>kangie@gentoo.org</email> - <name>Matt Jolly</name> - </maintainer> - <upstream> - <remote-id type="github">Aleph-One-Marathon/alephone</remote-id> - <remote-id type="sourceforge">marathon</remote-id> - <bugs-to>https://github.com/Aleph-One-Marathon/alephone/issues</bugs-to> - </upstream> - <use> - <flag name="video-export">Enable film export support</flag> - </use> -</pkgmetadata> diff --git a/games-fps/assaultcube/Manifest b/games-fps/assaultcube/Manifest deleted file mode 100644 index 9fdccef2a5ce..000000000000 --- a/games-fps/assaultcube/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST assaultcube-1.3.0.2.tar.gz 51034819 BLAKE2B 61800ed2d7cec797af3bc683a7439d4e8b6dda453bdee4e3f331ab43c973c6d754aacc2e38f4f5535d991c1e755800bc6d178994500f7785a41053d399296756 SHA512 8488c399036532859f7c83d094ac1443c52aa6367d106cc5889b80353ff1d501f7b8ae3b51e34b03215cc88dacc5f29488635047ce90291c601f8f7582498685 diff --git a/games-fps/assaultcube/assaultcube-1.3.0.2-r1.ebuild b/games-fps/assaultcube/assaultcube-1.3.0.2-r1.ebuild deleted file mode 100644 index 046493702295..000000000000 --- a/games-fps/assaultcube/assaultcube-1.3.0.2-r1.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop xdg-utils flag-o-matic - -DESCRIPTION="Free multiplayer FPS based on the Cube engine" -HOMEPAGE="https://assault.cubers.net/" -SRC_URI="https://github.com/assaultcube/AC/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/AC-${PV}" - -LICENSE="ZLIB assaultcube" -SLOT="0" -KEYWORDS="~amd64" -IUSE="debug" - -RDEPEND=" - virtual/zlib:= - media-libs/libsdl2[opengl] - media-libs/sdl2-image[jpeg,png] - x11-libs/libX11 - media-libs/libglvnd[X] - media-libs/libogg - media-libs/libvorbis - media-libs/openal -" -DEPEND="${RDEPEND}" -PATCHES=( - "${FILESDIR}/${PN}-1.3.0.2-respect-ldflags.patch" - # a script which checks for required libs and certain parts of the game - "${FILESDIR}/${PN}-1.3.0.2-fix-checkinstall.patch" - # bug #921915 - "${FILESDIR}/${PN}-1.3.0.2-unset-variables.patch" - "${FILESDIR}/0001-Fix-unnecessary-rebuild-on-make-install.patch" - "${FILESDIR}/0002-Don-t-configure-libenet-in-Makefile.patch" -) -RESTRICT="mirror" - -src_prepare() { - default - sed -i 's|//#define PRODUCTION|#define PRODUCTION|' source/src/cube.h || die -} - -src_configure() { - filter-lto - cd source/enet && ./configure \ - --enable-shared=no \ - --enable-static=yes -} - -src_compile() { - if use debug; then - local -x DEBUGBUILD=1 - fi - emake -C source/enet - emake -C source/src -} - -src_install() { - emake -C source/src install - - install -dm755 "${ED}/usr/share/assaultcube" || die - install -Dm755 "${S}"/{assaultcube.sh,check_install.sh,server.sh,server_wizard.sh} \ - -t "${ED}/usr/share/assaultcube" || die - install -Dm755 "${S}"/bin_unix/native_{client,server} -t "${ED}/usr/share/assaultcube/bin_unix" || die - cp -r {bot,config,demos,docs,mods,packages} "${ED}/usr/share/assaultcube/" || die - - dodoc CONTRIBUTING.md GOVERNANCE.md README.{html,md} SECURITY.md - - make_desktop_entry \ - "${EPREFIX}/usr/share/assaultcube/assaultcube.sh %u" \ - AssaultCube \ - /usr/share/assaultcube/packages/misc/icon.png \ - Game \ - "Keywords=assaultcube;game;fps;\nMimeType=x-scheme-handler/assaultcube" - - dosym -r "${EPREFIX}/usr/share/assaultcube/assaultcube.sh" "${EPREFIX}/usr/bin/assaultcube" -} - -pkg_postinst() { - xdg_desktop_database_update -} - -pkg_postrm() { - xdg_desktop_database_update -} diff --git a/games-fps/assaultcube/files/0001-Fix-unnecessary-rebuild-on-make-install.patch b/games-fps/assaultcube/files/0001-Fix-unnecessary-rebuild-on-make-install.patch deleted file mode 100644 index c024fa4343fa..000000000000 --- a/games-fps/assaultcube/files/0001-Fix-unnecessary-rebuild-on-make-install.patch +++ /dev/null @@ -1,76 +0,0 @@ -From 29c82c04a88d6d96866550b5e6c1c972d248ba5f Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Duje=20Mihanovi=C4=87?= <duje.mihanovic@skole.hr> -Date: Thu, 5 Jan 2023 14:52:09 +0100 -Subject: [PATCH 1/2] Fix unnecessary rebuild on 'make install' -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr> ---- - source/src/Makefile | 27 ++++++++++++++++----------- - 1 file changed, 16 insertions(+), 11 deletions(-) - -diff --git a/source/src/Makefile b/source/src/Makefile -index 61da2b7..9ecf691 100644 ---- a/source/src/Makefile -+++ b/source/src/Makefile -@@ -158,7 +158,7 @@ all: client server - ../enet/Makefile: - cd ../enet; ./configure --enable-shared=no --enable-static=yes - --libenet: ../enet/Makefile -+../enet/.libs/libenet.la: ../enet/Makefile - -$(MAKE) -C ../enet all - - clean-enet: ../enet/Makefile -@@ -201,24 +201,27 @@ client_install: client - server_install: server - - else --client: libenet $(CLIENT_OBJS) -- $(CXX) $(CXXFLAGS) $(LDFLAGS) -o ac_client $(CLIENT_OBJS) $(CLIENT_LIBS) -+ac_client: ../enet/.libs/libenet.la $(CLIENT_OBJS) -+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(CLIENT_OBJS) $(CLIENT_LIBS) -+client: ac_client - --server: libenet $(SERVER_OBJS) -- $(CXX) $(CXXFLAGS) $(LDFLAGS) -o ac_server $(SERVER_OBJS) $(SERVER_LIBS) --master: libenet $(MASTER_OBJS) -- $(CXX) $(CXXFLAGS) $(LDFLAGS) -o ac_master $(MASTER_OBJS) $(SERVER_LIBS) -+ac_server: ../enet/.libs/libenet.la $(SERVER_OBJS) -+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(SERVER_OBJS) $(SERVER_LIBS) -+server: ac_server - --client_install: client -+ac_master: ../enet/.libs/libenet.la $(MASTER_OBJS) -+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $(MASTER_OBJS) $(SERVER_LIBS) -+ -+client_install: ac_client - install -d ../../bin_unix/ -- install -m755 ac_client ../../bin_unix/$(PLATFORM_PREFIX)_client -+ install -m755 $< ../../bin_unix/$(PLATFORM_PREFIX)_client - #ifneq (,$(STRIP)) - # $(STRIP) ../../bin_unix/$(PLATFORM_PREFIX)_client - #endif - --server_install: server -+server_install: ac_server - install -d ../../bin_unix/ -- install -m755 ac_server ../../bin_unix/$(PLATFORM_PREFIX)_server -+ install -m755 $< ../../bin_unix/$(PLATFORM_PREFIX)_server - #ifneq (,$(STRIP)) - # $(STRIP) ../../bin_unix/$(PLATFORM_PREFIX)_server - #endif -@@ -233,6 +236,8 @@ depend: - makedepend -a -o-standalone.o -Y -I. -Ibot $(subst -standalone.o,.cpp,$(SERVER_OBJS)) - makedepend -a -o-standalone.o -Y -I. $(subst -standalone.o,.cpp,$(filter-out $(SERVER_OBJS), $(MASTER_OBJS))) - -+.PHONY: client server install -+ - # DO NOT DELETE - - crypto.o: cube.h platform.h tools.h geom.h model.h protocol.h sound.h --- -2.38.2 - diff --git a/games-fps/assaultcube/files/0002-Don-t-configure-libenet-in-Makefile.patch b/games-fps/assaultcube/files/0002-Don-t-configure-libenet-in-Makefile.patch deleted file mode 100644 index 7a2f32abfa57..000000000000 --- a/games-fps/assaultcube/files/0002-Don-t-configure-libenet-in-Makefile.patch +++ /dev/null @@ -1,45 +0,0 @@ -From ab7618606b8358245b13dc5a7291fa3b0211fd10 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Duje=20Mihanovi=C4=87?= <duje.mihanovic@skole.hr> -Date: Thu, 5 Jan 2023 15:14:48 +0100 -Subject: [PATCH 2/2] Don't configure libenet in Makefile -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -This shall be done in the ebuild's src_configure instead. - -Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr> ---- - source/src/Makefile | 9 +++------ - 1 file changed, 3 insertions(+), 6 deletions(-) - -diff --git a/source/src/Makefile b/source/src/Makefile -index 9ecf691..6607f91 100644 ---- a/source/src/Makefile -+++ b/source/src/Makefile -@@ -155,19 +155,16 @@ default: all - - all: client server - --../enet/Makefile: -- cd ../enet; ./configure --enable-shared=no --enable-static=yes -- --../enet/.libs/libenet.la: ../enet/Makefile -+../enet/.libs/libenet.la: - -$(MAKE) -C ../enet all - --clean-enet: ../enet/Makefile -+clean-enet: - $(MAKE) -C ../enet/ clean - - clean: - -$(RM) $(CLIENT_PCH) $(CLIENT_OBJS) $(SERVER_OBJS) $(MASTER_OBJS) ac_client ac_server ac_master - --mrproper: clean ../enet/Makefile -+mrproper: clean - $(MAKE) -C ../enet/ distclean - -$(RM) ../enet/Makefile - --- -2.38.2 - diff --git a/games-fps/assaultcube/files/assaultcube-1.3.0.2-fix-checkinstall.patch b/games-fps/assaultcube/files/assaultcube-1.3.0.2-fix-checkinstall.patch deleted file mode 100644 index 9322c5d39123..000000000000 --- a/games-fps/assaultcube/files/assaultcube-1.3.0.2-fix-checkinstall.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/check_install.sh b/check_install.sh -index 19f22ed..fb0bec9 100755 ---- a/check_install.sh -+++ b/check_install.sh -@@ -10,7 +10,7 @@ cd "$CUBE_DIR" - # check libs - - SERVERLIBS="libz" --CLIENTLIBS="libSDL-1.2 libz libX11 libSDL_image libogg libvorbis libopenal" -+CLIENTLIBS="libSDL2-2.0 libz libX11 libSDL2_image libogg libvorbis libopenal" - - if [ -x "/sbin/ldconfig" ]; then - echo "checking libraries:" diff --git a/games-fps/assaultcube/files/assaultcube-1.3.0.2-respect-ldflags.patch b/games-fps/assaultcube/files/assaultcube-1.3.0.2-respect-ldflags.patch deleted file mode 100644 index 9a9a8b460367..000000000000 --- a/games-fps/assaultcube/files/assaultcube-1.3.0.2-respect-ldflags.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff --git a/source/src/Makefile b/source/src/Makefile -index bf06195..61da2b7 100644 ---- a/source/src/Makefile -+++ b/source/src/Makefile -@@ -202,12 +202,12 @@ server_install: server - - else - client: libenet $(CLIENT_OBJS) -- $(CXX) $(CXXFLAGS) -o ac_client $(CLIENT_OBJS) $(CLIENT_LIBS) -+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o ac_client $(CLIENT_OBJS) $(CLIENT_LIBS) - - server: libenet $(SERVER_OBJS) -- $(CXX) $(CXXFLAGS) -o ac_server $(SERVER_OBJS) $(SERVER_LIBS) -+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o ac_server $(SERVER_OBJS) $(SERVER_LIBS) - master: libenet $(MASTER_OBJS) -- $(CXX) $(CXXFLAGS) -o ac_master $(MASTER_OBJS) $(SERVER_LIBS) -+ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o ac_master $(MASTER_OBJS) $(SERVER_LIBS) - - client_install: client - install -d ../../bin_unix/ diff --git a/games-fps/assaultcube/files/assaultcube-1.3.0.2-unset-variables.patch b/games-fps/assaultcube/files/assaultcube-1.3.0.2-unset-variables.patch deleted file mode 100644 index 1bc54b38c6b4..000000000000 --- a/games-fps/assaultcube/files/assaultcube-1.3.0.2-unset-variables.patch +++ /dev/null @@ -1,32 +0,0 @@ -Respect user preferences during the build and fix the Clang build by -disabling PCH. -https://bugs.gentoo.org/921915 ---- a/source/src/Makefile -+++ b/source/src/Makefile -@@ -6,7 +6,6 @@ - # found to have been caused by the g++ compiler in the past. This seems to have - # been fixed now by relaxing the optimization that g++ does, so although we'll - # continue using clang++ (just in case), you can use g++ if you prefer. --CXX=clang++ - - # call like 'DEBUGBUILD=1 make' to compile a debug version of AssaultCube. - ifdef DEBUGBUILD -@@ -34,10 +33,8 @@ ifeq ($(ACDEBUG),yes) - endif - - ifneq (,$(findstring clang,$(CXX))) -- CXXFLAGS= -O3 -fomit-frame-pointer - override CXXFLAGS+= -Wall -fsigned-char - else -- CXXFLAGS= -O3 -fomit-frame-pointer - override CXXFLAGS+= -Wall -fsigned-char -ffast-math -rdynamic -Wno-format-zero-length - ifeq "$(shell expr 'gcc -dumpversion' \>= 8)" "1" - override CXXFLAGS+= -Wno-stringop-truncation -@@ -182,7 +179,6 @@ rendermodel.o: rendermodel.cpp - $(CXX) $(CXXFLAGS) -c -o $@ $(subst -standalone.o,.cpp,$@) - - $(CLIENT_OBJS): CXXFLAGS += $(CLIENT_INCLUDES) --$(CLIENT_OBJS): $(CLIENT_PCH) - $(SERVER_OBJS): CXXFLAGS += $(SERVER_INCLUDES) - $(filter-out $(SERVER_OBJS),$(MASTER_OBJS)): CXXFLAGS += $(SERVER_INCLUDES) - diff --git a/games-fps/assaultcube/metadata.xml b/games-fps/assaultcube/metadata.xml deleted file mode 100644 index a0715e477fea..000000000000 --- a/games-fps/assaultcube/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'> -<pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="github">assaultcube/AC</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-fps/blackshades/Manifest b/games-fps/blackshades/Manifest deleted file mode 100644 index 012245abe1db..000000000000 --- a/games-fps/blackshades/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST Textures.tar.bz2 340110 BLAKE2B fa0f10c1658235352153bfaca8301090ad1db78bdd25980f50b54e0a386433cb0b0e20b04baa206eba877374b8432c73b106d9a8cc9e58d0b652746e92ad2a2f SHA512 42a2a28072972b0919a67a17ab06cf74d6bb611cbf91ff017d72726fa2d01b3c5dec905c6760a199b710eabfff8d980867269d6ad3476096beab5c4edb2cae10 -DIST blackshades-20070723.tar.bz2 761669 BLAKE2B 5baf7465ddc82c4de3d3063ae91a44550ebf067dc2fca0d001736516511e20d249f01f15f4845dfb6d9e1ac359940f42d583c4c48579c460465a9e58e97c0478 SHA512 9477c59d685227650980c16aeb59f567764bc983c01da4e256b2ec582b5a063ef89222eb4ab0d42552bf6a4ffd95ba270229800decc9ba7a9b289f093c5b9c61 diff --git a/games-fps/blackshades/blackshades-20070723-r2.ebuild b/games-fps/blackshades/blackshades-20070723-r2.ebuild deleted file mode 100644 index d16db8e042ab..000000000000 --- a/games-fps/blackshades/blackshades-20070723-r2.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop toolchain-funcs - -DESCRIPTION="You control a psychic bodyguard, and try to protect the VIP" -HOMEPAGE="https://www.wolfire.com/black-shades/ - https://www.icculus.org/blackshades/" -SRC_URI="http://filesingularity.timedoctor.org/Textures.tar.bz2 - mirror://gentoo/${P}.tar.bz2" -S="${WORKDIR}"/${PN} - -LICENSE="blackshades" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND=" - media-libs/freealut - media-libs/libsdl - media-libs/libvorbis - media-libs/openal - virtual/glu - virtual/opengl" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-datadir.patch - "${FILESDIR}"/${P}-gcc-11.patch - "${FILESDIR}"/${P}-clang16-build-fix.patch -) - -src_prepare() { - default - - rm -rf Data/Textures || die - rm -f ../Textures/{,Blood/}._* || die - mv -f ../Textures Data || die "mv failed" - - sed -i \ - -e "s/-O2 \(-Wall\) -g/${CXXFLAGS} \1/" \ - -e "/^LINKER/s:$: ${LDFLAGS}:" \ - Makefile \ - || die "sed Makefile failed" - - sed -i \ - -e "s/CC := gcc/CC ?= gcc/" \ - -e "s/CXX := g++/CXX ?= g++/" \ - -e "s/LINKER := g++/LINKER ?= g++/" \ - -e "s/LDFLAGS := /LDFLAGS := ${LDFLAGS} /" \ - Makefile || die - - sed -i "s:@DATADIR@:/usr/share/${PN}:" \ - Source/Main.cpp \ - || die "sed Main.cpp failed" -} - -src_compile() { - tc-export CC CXX - - export LINKER="${CXX}" - - emake bindir - emake -} - -src_install() { - newbin objs/blackshades ${PN} - - insinto /usr/share/${PN} - doins -r Data - - dodoc IF_THIS_IS_A_README_YOU_HAVE_WON Readme TODO uDevGame_Readme - - make_desktop_entry ${PN} "Black Shades" -} diff --git a/games-fps/blackshades/files/blackshades-20070723-clang16-build-fix.patch b/games-fps/blackshades/files/blackshades-20070723-clang16-build-fix.patch deleted file mode 100644 index a8fec33e0c8b..000000000000 --- a/games-fps/blackshades/files/blackshades-20070723-clang16-build-fix.patch +++ /dev/null @@ -1,77 +0,0 @@ -Bug: https://bugs.gentoo.org/895978 ---- a/Source/GameDraw.cpp -+++ b/Source/GameDraw.cpp -@@ -765,7 +765,7 @@ int Game::DrawGLScene(void) - - GLfloat LightAmbient[]= { fogcolorr/4, fogcolorg/4, fogcolorb/4, 1.0f}; - -- GLfloat LightDiffuse[]= { fogcolorr*1.6, fogcolorg*1.6, fogcolorr*1.6, 1.0f }; -+ GLfloat LightDiffuse[]= { static_cast<GLfloat>(fogcolorr*1.6), static_cast<GLfloat>(fogcolorg*1.6), static_cast<GLfloat>(fogcolorr*1.6), 1.0f }; - - glLightfv(GL_LIGHT0, GL_AMBIENT, LightAmbient); - -@@ -775,9 +775,9 @@ int Game::DrawGLScene(void) - - if(environment!=sunny_environment){ - -- GLfloat LightAmbient[]= { fogcolorr*.8, fogcolorg*.8, fogcolorb*.8, 1.0f}; -+ GLfloat LightAmbient[]= { static_cast<GLfloat>(fogcolorr*.8), static_cast<GLfloat>(fogcolorg*.8), static_cast<GLfloat>(fogcolorb*.8), 1.0f}; - -- GLfloat LightDiffuse[]= { fogcolorr*.8, fogcolorg*.8, fogcolorr*.8, 1.0f }; -+ GLfloat LightDiffuse[]= { static_cast<GLfloat>(fogcolorr*.8), static_cast<GLfloat>(fogcolorg*.8), static_cast<GLfloat>(fogcolorr*.8), 1.0f }; - - glLightfv(GL_LIGHT0, GL_AMBIENT, LightAmbient); - -@@ -809,7 +809,7 @@ int Game::DrawGLScene(void) - - GLfloat LightAmbient[]= { 0, 0, 0, 1.0f}; - -- GLfloat LightDiffuse[]= { .1+sinefluct/5, 0, 0, 1.0f }; -+ GLfloat LightDiffuse[]= { static_cast<GLfloat>(.1+sinefluct/5), 0, 0, 1.0f }; - - - ---- a/Source/Maths.cpp -+++ b/Source/Maths.cpp -@@ -1,7 +1,7 @@ - /**> HEADER FILES <**/ - #include "Maths.h" - --double fast_sqrt (register double arg) -+double fast_sqrt (double arg) - { - #ifdef OS9 - // Can replace with slower return std::sqrt(arg); ---- a/Source/Maths.h -+++ b/Source/Maths.h -@@ -5,7 +5,7 @@ - /**> HEADER FILES <**/ - #include <cmath> - --double fast_sqrt (register double arg); -+double fast_sqrt (double arg); - - #endif - ---- a/Source/Quaternions.cpp -+++ b/Source/Quaternions.cpp -@@ -283,7 +283,7 @@ void Normalise(XYZ *vectory) { - vectory->z /= d; - } - --float fast_sqrt (register float arg) -+float fast_sqrt (float arg) - { - #ifdef OS9 - // Can replace with slower return std::sqrt(arg); ---- a/Source/Quaternions.h -+++ b/Source/Quaternions.h -@@ -69,7 +69,7 @@ XYZ Quat2Vector(quaternion Quat); - void CrossProduct(XYZ P, XYZ Q, XYZ *V); - void Normalise(XYZ *vectory); - float normaldotproduct(XYZ point1, XYZ point2); --float fast_sqrt (register float arg); -+float fast_sqrt (float arg); - bool PointInTriangle(XYZ *p, XYZ normal, XYZ *p1, XYZ *p2, XYZ *p3); - bool LineFacet(XYZ p1,XYZ p2,XYZ pa,XYZ pb,XYZ pc,XYZ *p); - float LineFacetd(XYZ p1,XYZ p2,XYZ pa,XYZ pb,XYZ pc,XYZ *p); diff --git a/games-fps/blackshades/files/blackshades-20070723-gcc-11.patch b/games-fps/blackshades/files/blackshades-20070723-gcc-11.patch deleted file mode 100644 index 5d76ad638cb9..000000000000 --- a/games-fps/blackshades/files/blackshades-20070723-gcc-11.patch +++ /dev/null @@ -1,55 +0,0 @@ -https://bugs.gentoo.org/787740 ---- a/Source/Globals.cpp -+++ b/Source/Globals.cpp -@@ -62,7 +62,7 @@ XYZ n,pa1,pa2,pa3; - float u0, u1, u2; - float v0, v1, v2; - float a, b; --float max; -+float _max; - int i, j; - bool bInter; - float pointv[3]; ---- a/Source/Quaternions.cpp -+++ b/Source/Quaternions.cpp -@@ -316,7 +316,7 @@ float normaldotproduct(XYZ point1, XYZ point2){ - extern float u0, u1, u2; - extern float v0, v1, v2; - extern float a, b; --extern float max; -+extern float _max; - extern int i, j; - extern bool bInter; - extern float pointv[3]; -@@ -352,11 +352,11 @@ bool PointInTriangle(Vector *p, Vector normal, float p11, float p12, float p13, - - #define ABS(X) (((X)<0.f)?-(X):(X) ) - #define MAX(A, B) (((A)<(B))?(B):(A)) -- max = MAX(MAX(ABS(normalv[0]), ABS(normalv[1])), ABS(normalv[2])); -+ _max = MAX(MAX(ABS(normalv[0]), ABS(normalv[1])), ABS(normalv[2])); - #undef MAX -- if (max == ABS(normalv[0])) {i = 1; j = 2;} // y, z -- if (max == ABS(normalv[1])) {i = 0; j = 2;} // x, z -- if (max == ABS(normalv[2])) {i = 0; j = 1;} // x, y -+ if (_max == ABS(normalv[0])) {i = 1; j = 2;} // y, z -+ if (_max == ABS(normalv[1])) {i = 0; j = 2;} // x, z -+ if (_max == ABS(normalv[2])) {i = 0; j = 1;} // x, y - #undef ABS - - u0 = pointv[i] - p1v[i]; -@@ -447,11 +447,11 @@ bool PointInTriangle(XYZ *p, XYZ normal, XYZ *p1, XYZ *p2, XYZ *p3) - - #define ABS(X) (((X)<0.f)?-(X):(X) ) - #define MAX(A, B) (((A)<(B))?(B):(A)) -- max = MAX(MAX(ABS(normalv[0]), ABS(normalv[1])), ABS(normalv[2])); -+ _max = MAX(MAX(ABS(normalv[0]), ABS(normalv[1])), ABS(normalv[2])); - #undef MAX -- if (max == ABS(normalv[0])) {i = 1; j = 2;} // y, z -- if (max == ABS(normalv[1])) {i = 0; j = 2;} // x, z -- if (max == ABS(normalv[2])) {i = 0; j = 1;} // x, y -+ if (_max == ABS(normalv[0])) {i = 1; j = 2;} // y, z -+ if (_max == ABS(normalv[1])) {i = 0; j = 2;} // x, z -+ if (_max == ABS(normalv[2])) {i = 0; j = 1;} // x, y - #undef ABS - - u0 = pointv[i] - p1v[i]; diff --git a/games-fps/blackshades/files/blackshades-datadir.patch b/games-fps/blackshades/files/blackshades-datadir.patch deleted file mode 100644 index ee6cdf8e0364..000000000000 --- a/games-fps/blackshades/files/blackshades-datadir.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- a/Source/Main.cpp -+++ b/Source/Main.cpp -@@ -1,6 +1,7 @@ - /********************> Headers <*****/ - - #include "Game.h" -+#include <unistd.h> - - - -@@ -17,6 +18,7 @@ - int main( int argc, char *argv[] ) - - { -+ chdir("@DATADIR@"); - - - #ifdef OS9 diff --git a/games-fps/blackshades/metadata.xml b/games-fps/blackshades/metadata.xml deleted file mode 100644 index 1c3ba213c494..000000000000 --- a/games-fps/blackshades/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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/chocolate-doom/Manifest b/games-fps/chocolate-doom/Manifest deleted file mode 100644 index 997456abfdec..000000000000 --- a/games-fps/chocolate-doom/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST chocolate-doom-3.1.1.tar.gz 2257534 BLAKE2B df95d149eb33dd2f0cec53e4d1cb854941a9cbedd5e4ecc7b88022a358729734bce68f5c015ab6ef1929825976d1be1d1da200aa57383fa7ff776c7a8064385e SHA512 61cb60aedac61eefd9d84a06a1514c4b5894a950fc8d234736fadc7b4a470ebab1aee751bc46dfd2038f5d8eaa55e67d9d9720d7dc16d539061e117e80e02ada diff --git a/games-fps/chocolate-doom/chocolate-doom-3.1.1.ebuild b/games-fps/chocolate-doom/chocolate-doom-3.1.1.ebuild deleted file mode 100644 index 0ae8715ae1ca..000000000000 --- a/games-fps/chocolate-doom/chocolate-doom-3.1.1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -inherit autotools prefix python-any-r1 xdg - -DESCRIPTION="A Doom source port that is minimalist and historically accurate" -HOMEPAGE="https://www.chocolate-doom.org" -SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz" -S="${WORKDIR}/${PN}-${P}" -LICENSE="BSD GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" -IUSE="doc libsamplerate +midi png vorbis" - -DEPEND=" - media-libs/libsdl2[video] - media-libs/sdl2-mixer[midi?,vorbis?] - media-libs/sdl2-net - libsamplerate? ( media-libs/libsamplerate ) - png? ( media-libs/libpng:= ) -" - -RDEPEND=" - ${DEPEND} -" - -# ${PYTHON_DEPS} for bash-completion and docs. -BDEPEND=" - ${PYTHON_DEPS} -" - -DOCS=( - "AUTHORS" - "ChangeLog" - "NEWS.md" - "NOT-BUGS.md" - "PHILOSOPHY.md" - "README.md" - "README.Music.md" - "README.Strife.md" -) - -src_prepare() { - default - - hprefixify src/d_iwad.c - - eautoreconf -} - -src_configure() { - econf \ - --enable-bash-completion \ - $(use_enable doc) \ - --disable-fonts \ - --disable-icons \ - $(use_with libsamplerate) \ - $(use_with png libpng) -} - -src_install() { - emake DESTDIR="${D}" install - - # Remove redundant documentation files - rm -r "${ED}/usr/share/doc/"* || die - - einstalldocs -} diff --git a/games-fps/chocolate-doom/metadata.xml b/games-fps/chocolate-doom/metadata.xml deleted file mode 100644 index e457eb8c59dc..000000000000 --- a/games-fps/chocolate-doom/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <longdescription lang="en"> - Chocolate Doom aims to accurately reproduce the original DOS version of Doom and other games based on the Doom engine in a form that can be run on modern computers. - </longdescription> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <use> - <flag name="midi">basic support for MIDI files</flag> - </use> - <upstream> - <bugs-to>https://github.com/chocolate-doom/chocolate-doom/issues</bugs-to> - <doc lang="en">https://www.chocolate-doom.org</doc> - <remote-id type="github">chocolate-doom/chocolate-doom</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-fps/crispy-doom/Manifest b/games-fps/crispy-doom/Manifest deleted file mode 100644 index 47bd729fef38..000000000000 --- a/games-fps/crispy-doom/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST crispy-doom-7.1.tar.gz 2609031 BLAKE2B 9e3250e5f7e39c175d980bc03f02d7a5edbff2c53e0526dd88434dc5e954246c3fc1280336842e910b3641da325f1df5f805b7d25ba44a8aa245f668ac0e8bb9 SHA512 b8286c035d067456e673898e98ee9c32248000eaca6873ce902c26d52aab476da5848bf47cf5310a23f1df60fb98c23b68cc75fdcb8bc3b8e9c9094dd4f695ac diff --git a/games-fps/crispy-doom/crispy-doom-7.1.ebuild b/games-fps/crispy-doom/crispy-doom-7.1.ebuild deleted file mode 100644 index c1b764c61f63..000000000000 --- a/games-fps/crispy-doom/crispy-doom-7.1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -inherit autotools prefix python-any-r1 xdg - -DESCRIPTION="A limit-removing enhanced-resolution Doom source port based on Chocolate Doom" -HOMEPAGE="https://github.com/fabiangreffrath/crispy-doom/" -SRC_URI="https://github.com/fabiangreffrath/crispy-doom/archive/${P}.tar.gz" -S=${WORKDIR}/${PN}-${P} - -LICENSE="BSD GPL-2+" -SLOT="0" -KEYWORDS="~amd64" -IUSE="fluidsynth libsamplerate +midi png truecolor vorbis zlib" -REQUIRE_USE="fluidsynth? ( midi )" - -DEPEND=" - media-libs/libsdl2[video] - media-libs/sdl2-mixer[fluidsynth?,midi?,vorbis?] - media-libs/sdl2-net - libsamplerate? ( media-libs/libsamplerate ) - png? ( media-libs/libpng:= ) - zlib? ( virtual/zlib:= ) -" -RDEPEND="${DEPEND}" -# ${PYTHON_DEPS} for bash-completion and docs (manpages) -BDEPEND="${PYTHON_DEPS}" - -src_prepare() { - default - hprefixify src/d_iwad.c - eautoreconf -} - -src_configure() { - local myconf=( - --enable-bash-completion - --enable-doc - --disable-fonts - --disable-icons - $(use_with libsamplerate) - $(use_with png libpng) - --enable-sdl2mixer - --enable-sdl2net - $(use_with fluidsynth) - $(use_enable truecolor) - $(use_with zlib) - --disable-zpool - ) - - econf "${myconf[@]}" -} - -src_install() { - local DOCS=() - default - mv "${ED}"/usr/share/doc/crispy-{doom,heretic,hexen,strife}/* \ - "${ED}"/usr/share/doc/${PF}/ || die - rmdir "${ED}"/usr/share/doc/crispy-{doom,heretic,hexen,strife} || die -} diff --git a/games-fps/crispy-doom/crispy-doom-9999.ebuild b/games-fps/crispy-doom/crispy-doom-9999.ebuild deleted file mode 100644 index 0c42ad95766f..000000000000 --- a/games-fps/crispy-doom/crispy-doom-9999.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -inherit autotools git-r3 prefix python-any-r1 xdg - -DESCRIPTION="A limit-removing enhanced-resolution Doom source port based on Chocolate Doom" -HOMEPAGE="https://github.com/fabiangreffrath/crispy-doom/" -EGIT_REPO_URI="https://github.com/fabiangreffrath/crispy-doom.git" - -LICENSE="BSD GPL-2+" -SLOT="0" -IUSE="fluidsynth libsamplerate +midi png truecolor vorbis zlib" -REQUIRE_USE="fluidsynth? ( midi )" - -DEPEND=" - media-libs/libsdl2[video] - media-libs/sdl2-mixer[fluidsynth?,midi?,vorbis?] - media-libs/sdl2-net - libsamplerate? ( media-libs/libsamplerate ) - png? ( media-libs/libpng:= ) - zlib? ( virtual/zlib:= ) -" -RDEPEND="${DEPEND}" -# ${PYTHON_DEPS} for bash-completion and docs (manpages) -BDEPEND="${PYTHON_DEPS}" - -src_prepare() { - default - hprefixify src/d_iwad.c - eautoreconf -} - -src_configure() { - local myconf=( - --enable-bash-completion - --enable-doc - --disable-fonts - --disable-icons - $(use_with libsamplerate) - $(use_with png libpng) - --enable-sdl2mixer - --enable-sdl2net - $(use_with fluidsynth) - $(use_enable truecolor) - $(use_with zlib) - --disable-zpool - ) - - econf "${myconf[@]}" -} - -src_install() { - local DOCS=() - default - mv "${ED}"/usr/share/doc/crispy-{doom,heretic,hexen,strife}/* \ - "${ED}"/usr/share/doc/${PF}/ || die - rmdir "${ED}"/usr/share/doc/crispy-{doom,heretic,hexen,strife} || die -} diff --git a/games-fps/crispy-doom/metadata.xml b/games-fps/crispy-doom/metadata.xml deleted file mode 100644 index 7ca1686fdff9..000000000000 --- a/games-fps/crispy-doom/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <longdescription lang="en"> - Crispy Doom is a friendly fork of Chocolate Doom that provides a higher display resolution, removes the static limits of the Doom engine and offers further optional visual, tactical and physical enhancements while remaining entirely config file, savegame, netplay and demo compatible with the original. - </longdescription> - <maintainer type="person"> - <email>mgorny@gentoo.org</email> - <name>Michał Górny</name> - </maintainer> - <use> - <flag name="fluidsynth">Use <pkg>media-sound/fluidsynth</pkg> - for MIDI support</flag> - <flag name="midi">Basic support for MIDI files</flag> - <flag name="truecolor">Enable true-color rendering (experimental)</flag> - </use> - <upstream> - <bugs-to>https://github.com/fabiangreffrath/crispy-doom/issues</bugs-to> - <doc lang="en">https://github.com/fabiangreffrath/crispy-doom</doc> - <remote-id type="github">fabiangreffrath/crispy-doom</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-fps/doom-data-gog/Manifest b/games-fps/doom-data-gog/Manifest deleted file mode 100644 index bf463064281f..000000000000 --- a/games-fps/doom-data-gog/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST setup_the_ultimate_doom_1.9_(28044).exe 19165952 BLAKE2B e4455b247907eb125f5f38da9dddadc02595f252cfc0df5460407f7e8d5e978188e371368d9a98fec5507be0293fcb17069fb8cf552ab737ba443a45b7f71c71 SHA512 b04044e0bae290d018ee4f876508f80d45042705573f479ddf4cd26ed0c8cb37bf44a680ad79f56cce2e0450f60706cf4405c202a4db88e0d39be5889ed95b23 diff --git a/games-fps/doom-data-gog/doom-data-gog-1.9.ebuild b/games-fps/doom-data-gog/doom-data-gog-1.9.ebuild deleted file mode 100644 index 2156a471e23a..000000000000 --- a/games-fps/doom-data-gog/doom-data-gog-1.9.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Data files for The Ultimate DOOM from gog.com" -HOMEPAGE="https://www.gog.com/en/game/the_ultimate_doom" -SRC_URI="setup_the_ultimate_doom_${PV}_(28044).exe" -LICENSE="GOG-EULA" -SLOT="0" -KEYWORDS="~amd64 ~arm ~m68k ~x86" -RESTRICT="bindist fetch" - -BDEPEND="app-arch/innoextract" - -S="${WORKDIR}" - -pkg_nofetch() { - einfo "Please buy and download ${SRC_URI} from:" - einfo " ${HOMEPAGE}" - einfo "and move it to your distfiles directory." -} - -src_install() { - innoextract --extract --lowercase \ - --include=/DOOM.WAD \ - --include=/Manual.pdf \ - --include=/Doom\ Bible.pdf \ - "${DISTDIR}/${A}" || die - - insinto /usr/share/doom - doins doom.wad - dosym doom.wad /usr/share/doom/udoom.wad - - dodoc manual.pdf - newdoc "doom bible.pdf" doom-bible.pdf -} diff --git a/games-fps/doom-data-gog/metadata.xml b/games-fps/doom-data-gog/metadata.xml deleted file mode 100644 index 88274e035679..000000000000 --- a/games-fps/doom-data-gog/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>chewi@gentoo.org</email> - <name>James Le Cuirot</name> - </maintainer> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> -</pkgmetadata> diff --git a/games-fps/doom-data/Manifest b/games-fps/doom-data/Manifest deleted file mode 100644 index ca5011dac2e2..000000000000 --- a/games-fps/doom-data/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST doom1.wad 4196020 BLAKE2B d242892e97f4684d1483192a5fc5b5fe3c662f2b9d61078e869758f400ca9e6d4e81fe51a6ffe562bbbd9d66f3db33f9a780780095aeeba691df1fe9407b1430 SHA512 6c2798417f0a0feaa1ab8777edb54e821eb336acfe953d62214dac46dd62429f58da97f9d13beac5fdaf944e70a07c60c96af9a885a0daf38eff1619cde71c2a diff --git a/games-fps/doom-data/doom-data-1.9.ebuild b/games-fps/doom-data/doom-data-1.9.ebuild deleted file mode 100644 index 7f75e2afee38..000000000000 --- a/games-fps/doom-data/doom-data-1.9.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="The IWAD used by the shareware version of Doom" -HOMEPAGE="https://www.idsoftware.com" -SRC_URI="https://distro.ibiblio.org/pub/linux/distributions/slitaz/sources/packages/d/doom1.wad" - -LICENSE="freedist" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" - -S="${DISTDIR}" - -DOOMWADPATH="/usr/share/doom" - -src_install() { - insinto ${DOOMWADPATH} - doins doom1.wad -} - -pkg_postinst() { - elog "Doom WAD file installed into the ${DOOMWADPATH} directory." - elog "A Doom engine is required in order to play the doom1.wad file." -} diff --git a/games-fps/doom-data/metadata.xml b/games-fps/doom-data/metadata.xml deleted file mode 100644 index 1c2cadb08991..000000000000 --- a/games-fps/doom-data/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <longdescription lang="en"> - DOOM1.WAD is the IWAD used by the shareware version of Doom. It is a cut-down version of DOOM.WAD which contains only the first episode. Later on, "Doom 1" became a retronym for Doom after the release of Doom II. - </longdescription> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> -</pkgmetadata> diff --git a/games-fps/doom2-data-gog/Manifest b/games-fps/doom2-data-gog/Manifest deleted file mode 100644 index 268ae4869e6e..000000000000 --- a/games-fps/doom2-data-gog/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST setup_doom_ii_with_master_levels_1.9_(28044).exe 21288152 BLAKE2B f09df33a5fc7c6d0037d49663de0e515f30ce97a8acc3f7feadc2744eb5d1e5541372b1e00e8e3e1c4ab2ec7fc7d275b637002a3080f8792c85ebcc05e1113bf SHA512 e28bc4a76d85de70a198905e7ce76810d163d6b84c1d51a341fa35490eaa609d29fddbca17280f434847d3fce20b698cabeb561be587b165243f1da48273b7bc diff --git a/games-fps/doom2-data-gog/doom2-data-gog-1.9.ebuild b/games-fps/doom2-data-gog/doom2-data-gog-1.9.ebuild deleted file mode 100644 index dc0ca5749174..000000000000 --- a/games-fps/doom2-data-gog/doom2-data-gog-1.9.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Data files for DOOM II and the Master Levels from gog.com" -HOMEPAGE="https://www.gog.com/en/game/doom_ii_final_doom" -SRC_URI="setup_doom_ii_with_master_levels_${PV}_(28044).exe" -LICENSE="GOG-EULA" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~x86" -RESTRICT="bindist fetch" - -BDEPEND="app-arch/innoextract" - -S="${WORKDIR}" - -pkg_nofetch() { - einfo "Please buy and download ${SRC_URI} from:" - einfo " ${HOMEPAGE}" - einfo "and move it to your distfiles directory." -} - -src_install() { - innoextract --extract --lowercase \ - --include=/doom2/DOOM2.WAD \ - --include=/master/wads \ - --include=/Manual.pdf \ - "${DISTDIR}/${A}" || die - - insinto /usr/share/doom - doins doom2/doom2.wad - - insinto /usr/share/doom/master - doins master/wads/*.wad - - dodoc manual.pdf - docinto master - dodoc master/wads/*.txt -} diff --git a/games-fps/doom2-data-gog/metadata.xml b/games-fps/doom2-data-gog/metadata.xml deleted file mode 100644 index 88274e035679..000000000000 --- a/games-fps/doom2-data-gog/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>chewi@gentoo.org</email> - <name>James Le Cuirot</name> - </maintainer> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> -</pkgmetadata> diff --git a/games-fps/dsda-doom/Manifest b/games-fps/dsda-doom/Manifest deleted file mode 100644 index 4608e82f0676..000000000000 --- a/games-fps/dsda-doom/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST dsda-doom-0.29.4.tar.gz 11128279 BLAKE2B f36d7f113c4bd91c82480b92a33bce452af4b4c58d67785ad459e2b819209bcc2ca650500082c9e30367eac1c5dcd90e61511353e65b769d71f4b5ff62612dca SHA512 8c407eae7349bd9b473e553d9dc04233efbb96fa7df94280916091bfbc9f62ba0f1c33bb8925593c790777848f2ca93bd6e89703917e9ea97567af650aa7a581 diff --git a/games-fps/dsda-doom/dsda-doom-0.29.4.ebuild b/games-fps/dsda-doom/dsda-doom-0.29.4.ebuild deleted file mode 100644 index 6af767aef4d1..000000000000 --- a/games-fps/dsda-doom/dsda-doom-0.29.4.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 2019-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake desktop xdg - -DESCRIPTION="Successor to the PrBoom+ Doom source port" -HOMEPAGE="https://github.com/kraflab/dsda-doom/" -SRC_URI="https://github.com/kraflab/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -S="${WORKDIR}/${P}/prboom2" - -LICENSE="GPL-2+ GPL-3+ BSD BSD-2 BSD-with-disclosure CC-BY-3.0 CC0-1.0 LGPL-2.1+ MIT public-domain" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" -IUSE="xmp fluidsynth mad portmidi sdl2-image vorbis" - -DEPEND=" - dev-libs/libzip:= - media-libs/libsdl2[opengl,joystick,sound,video] - media-libs/sdl2-mixer[midi] - virtual/zlib:= - virtual/glu - virtual/opengl - fluidsynth? ( media-sound/fluidsynth:= ) - mad? ( media-libs/libmad ) - portmidi? ( media-libs/portmidi ) - sdl2-image? ( media-libs/sdl2-image ) - vorbis? ( media-libs/libvorbis ) - xmp? ( media-libs/libxmp ) -" -RDEPEND="${DEPEND}" - -src_configure() { - local mycmakeargs=( - -DWITH_IMAGE="$(usex sdl2-image)" - -DWITH_MAD="$(usex mad)" - -DWITH_FLUIDSYNTH="$(usex fluidsynth)" - -DWITH_XMP="$(usex xmp)" - -DWITH_VORBISFILE="$(usex vorbis)" - -DWITH_PORTMIDI="$(usex portmidi)" - -DDOOMWADDIR="${EPREFIX}/usr/share/doom" - -DDSDAPWADDIR="${EPREFIX}/usr/share/${PF}" - -DDSDA_INSTALL_COPYRIGHT_DIR="${EPREFIX}/usr/share/doc/${PF}" - -DWAD_DATA_PATH="${EPREFIX}/usr/share/doom" - ) - cmake_src_configure -} - -src_install() { - doicon -s scalable ICONS/${PN}.svg - domenu ICONS/${PN}.desktop - cmake_src_install -} diff --git a/games-fps/dsda-doom/metadata.xml b/games-fps/dsda-doom/metadata.xml deleted file mode 100644 index b90cb5d4ef91..000000000000 --- a/games-fps/dsda-doom/metadata.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <longdescription lang="en"> - DSDA-Doom is a successor to the PrBoom+ source port with many new - features over it's predecessor, such as: support for Heretic, Hexen, - MBF21, etc., various speedrunning and TAS tooling, rewinding, a - palette-based OpenGL renderer, and full controller support. - </longdescription> - <maintainer type="person" proxied="yes"> - <email>kacper.slominski72@gmail.com</email> - <name>Kacper Słomiński</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <use> - <flag name="xmp">Enable support for tracker music via <pkg>media-libs/libxmp</pkg></flag> - <flag name="fluidsynth">Enable support for MIDI via <pkg>media-sound/fluidsynth</pkg></flag> - <flag name="portmidi">Enable support for MIDI via <pkg>media-libs/portmidi</pkg></flag> - <flag name="sdl2-image">Enable support for high-resolution textures and other image formats via <pkg>media-libs/sdl2-image</pkg></flag> - </use> - <upstream> - <bugs-to>https://github.com/kraflab/dsda-doom/issues</bugs-to> - <changelog>https://github.com/kraflab/dsda-doom/releases</changelog> - <remote-id type="github">kraflab/dsda-doom</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-fps/duke3d-data/Manifest b/games-fps/duke3d-data/Manifest deleted file mode 100644 index 872c196b3459..000000000000 --- a/games-fps/duke3d-data/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST 3dduke13.zip 5924374 BLAKE2B 177329f04defdd2a2ab35a1926a321bbc8de023878ad6bec610669b5578cbe2f38bc0b03a37c0d0d2dcc99acf2b473ddf683b498b971b857b20964bcdbc7d7c8 SHA512 eb92daa88b4e7cfeebe1fb3d2c021e0a4a66262d0d6e76b5e27fe3cedd382e381d23b392a6d9adb42a418b9318e011c2d8adfbdc77d7c5371e61d8c091c7eb65 -DIST gog_duke_nukem_3d_atomic_edition_2.0.0.9.sh 31969896 BLAKE2B 7e93515f8aedaedf6f0dc90faf5e7fef165c000414ae9dc62bad77c78568ecdec1f16b72befe1c80c7c9c8c4bd7fb11f2fd3c36f53aa9ef9d787f8b7215228f3 SHA512 d06f20bc1334172b80e4a75bd3321c3835cd95ac823836899fda8d5f8667ac83471b04a5863646aa953a39fd1cb64eb1818ee668340ede62d0a356ebdcb4065c diff --git a/games-fps/duke3d-data/duke3d-data-1.0-r6.ebuild b/games-fps/duke3d-data/duke3d-data-1.0-r6.ebuild deleted file mode 100644 index 040681d94d62..000000000000 --- a/games-fps/duke3d-data/duke3d-data-1.0-r6.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CDROM_OPTIONAL="yes" -MY_PN_DEMO="3dduke" -MY_PN_GOG="gog_duke_nukem_3d_atomic_edition" -MY_PV_DEMO="13" -MY_PV_GOG="2.0.0.9" -MY_P_DEMO="${MY_PN_DEMO}${MY_PV_DEMO}" -MY_P_GOG="${MY_PN_GOG}_${MY_PV_GOG}" - -inherit cdrom - -DESCRIPTION="Duke Nukem 3D (Atomic Edition) data files" -HOMEPAGE="https://www.3drealms.com/" -SRC_URI=" - demo? ( https://archive.org/download/3dduke13/${MY_P_DEMO}.zip ) - gog? ( ${MY_P_GOG}.sh ) -" -S="${WORKDIR}" - -LICENSE="DUKE3D gog? ( GOG-EULA )" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" -IUSE="+demo gog" -REQUIRED_USE="^^ ( cdinstall demo gog )" -RESTRICT="bindist gog? ( fetch ) mirror" - -BDEPEND=" - demo? ( app-arch/unzip ) - gog? ( app-arch/unzip ) -" - -pkg_nofetch() { - if use gog; then - einfo "Please download ${MY_P_GOG}.sh from your GOG.com account after" - einfo "buying Duke Nukem 3D and place it into your DISTDIR directory." - fi -} - -src_unpack() { - if use cdinstall ; then - local CDROM_NAMES=( - "Existing installation" - "Duke Nukem 3D CD" - "Duke Nukem 3D Atomic Edition CD" - ) - - cdrom_get_cds duke3d.grp:dn3dinst/duke3d.grp:atominst/duke3d.grp - - ! [[ "${CDROM_SET}" -ge 0 && "${CDROM_SET}" -le 2 ]] && die "Could not locate data files." - fi - - if use demo; then - # Use '-LL' to extract everything in lowercase. - unzip "${DISTDIR}/${MY_P_DEMO}.zip" || die - unzip -LL "DN3DSW${MY_PV_DEMO}.SHR" || die - fi - - if use gog; then - # Since 'unpacker' eclass does not support options, - # doing manual unpack and checking for return code, - # as all non-fatal errors should be ignored, because - # it's a self-extracting archive and will fail otherwise. - # Also use '-LL' to extract everything in lowercase. - unzip -LL "${DISTDIR}/${MY_P_GOG}.sh" - [[ $? -le 1 ]] || die - fi -} - -src_install() { - if use cdinstall; then - local DATAROOT - - case ${CDROM_SET} in - 0) DATAROOT="" ;; - 1) DATAROOT="dn3dinst" ;; - 2) DATAROOT="atominst" ;; - esac - - pushd "${CDROM_ROOT}/${DATAROOT}" || die - fi - - if use gog; then - pushd "${S}/data/noarch/data" || die - fi - - insinto /usr/share/duke3d - for file in *.con *.dmo *.grp *.rts; do - newins "${file}" "${file,,}" - done - - if ! use demo; then - if use cdinstall && [[ "${CDROM_SET}" -ne 0 ]]; then - doins ../goodies/build/*.map - else - doins *.map - fi - - popd || die - fi -} - -pkg_postinst() { - if use demo; then - einfo "Please keep in mind, that many addons for Duke Nukem 3D will require" - einfo "the registered version and will not work with the shareware version." - fi -} diff --git a/games-fps/duke3d-data/metadata.xml b/games-fps/duke3d-data/metadata.xml deleted file mode 100644 index 2f4a6d3f1957..000000000000 --- a/games-fps/duke3d-data/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>conikost@gentoo.org</email> - <name>Conrad Kostecki</name> - </maintainer> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <use> - <flag name="demo">Extract data files from the shareware version.</flag> - <flag name="gog">Extract data files from the GOG.com version.</flag> - </use> -</pkgmetadata> diff --git a/games-fps/etlegacy/Manifest b/games-fps/etlegacy/Manifest deleted file mode 100644 index 7c6dfa9a637e..000000000000 --- a/games-fps/etlegacy/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST et260b.x86_full.zip 275647724 BLAKE2B ea52d1859e78c6da5a16bd3598c2b649e9f79596be93fe35858a1174b0d63ef94eaecdb24b8f749d7dc39b1a70dd38557d455238cbc4b857ed7083369fe47262 SHA512 7a9639c7a67c6c058ae1c85ca1e04e74526194a8a676eaccffa1984869251cc058f0cb79b96604ec087492003d14f7f3e96c8ebe7e527959ae47d4d25645d3e1 -DIST etlegacy-2.82.0.tar.gz 15179026 BLAKE2B 8821fd752e0779959ee858368280fdeca1ea3d9c230d7e93a5eee8aba40522110f8fd47dba08b1244730ac83fea7385c926f973f0a43ccf07ac39c3c5f5684f1 SHA512 7ca18da3d92e12c9aba6477646f14b57e9cfbeb267c6d19661b7f2fe2331e8b0496b55001ba3f7dbf5bc253ccdfd153223ae8767a43169dcd8df250219933ceb -DIST etlegacy-2.83.2.tar.gz 15738267 BLAKE2B 7cae3c0471a9f93ab98ebc1a57383df6f9f1ff1800c38a70d9cbc4091a7c54fbe421d7a126d2a6d3425dd9f9d0aef65402c533ce9cebab930200eb1aaae4edb3 SHA512 2d4d2f27ec522690d72836b1e3b3fcb3a9f1d43887d51e46ace01ef241a604a574a8b32e47dd4d291b9396983c19a8601359575b419cb8a9d7647d066c1f9b06 diff --git a/games-fps/etlegacy/etlegacy-2.82.0.ebuild b/games-fps/etlegacy/etlegacy-2.82.0.ebuild deleted file mode 100644 index 90de809ad6c1..000000000000 --- a/games-fps/etlegacy/etlegacy-2.82.0.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake unpacker xdg - -# We need the game files from the original enemy-territory release -ET_RELEASE="et260b" - -DESCRIPTION="Wolfenstein: Enemy Territory 2.60b compatible client/server" -HOMEPAGE="https://www.etlegacy.com/" -SRC_URI="https://cdn.splashdamage.com/downloads/games/wet/${ET_RELEASE}.x86_full.zip" - -S="${WORKDIR}/${P/_rc/rc}" - -if [[ ${PV} = "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="git://github.com/${PN}/${PN}.git" -else - SRC_URI+=" https://github.com/${PN}/${PN}/archive/v${PV/_rc/rc}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="GPL-3 RTCW-ETEULA" -SLOT="0" -IUSE="autoupdate +curl dedicated +freetype +gettext ipv6 irc +lua omnibot +openal +opengl +png renderer2 renderer-gles +ssl +theora +vorbis" -#REQUIRED_USE="omnibot? ( x86 )" - -RESTRICT="bindist mirror" - -# TODO add debug use for CMAKE_BUILD_TYPE=debug - -LUADEPEND="lua? ( >=dev-lang/lua-5.4:* )" - -# * media-libs/glew | media-libs/glew:= -# * media-libs/libpng:= < -# * > media-libs/libogg -# * media-libs/openal < -# * sys-devel/gettext < -UIDEPEND=" - media-libs/glew:= - media-libs/libsdl2[sound,video,X] - media-libs/libogg - media-libs/libjpeg-turbo:0 - virtual/opengl - virtual/minizip - curl? ( net-misc/curl ) - freetype? ( media-libs/freetype ) - gettext? ( sys-devel/gettext ) - renderer-gles? ( media-libs/mesa[opengl] ) - openal? ( media-libs/openal ) - png? ( media-libs/libpng:0= ) - ssl? ( dev-libs/openssl:0= ) - theora? ( media-libs/libtheora ) - vorbis? ( media-libs/libvorbis ) - ${LUADEPEND} -" - -DEPEND=" - dev-db/sqlite:3 - dev-libs/cJSON - opengl? ( ${UIDEPEND} ) -" - -RDEPEND="${DEPEND}" -BDEPEND="$(unpacker_src_uri_depends)" - -#QA_TEXTRELS="usr/share/games/etlegacy/legacy/omni-bot/omnibot_et.so" - -src_unpack() { - if [[ "${PV}" = 9999 ]] ; then - git-r3_src_unpack - else - default - fi - mkdir et && cd et || die - unzip "${DISTDIR}"/${ET_RELEASE}.x86_full.zip - unpack_makeself ${ET_RELEASE}.x86_keygen_V03.run -} - -src_prepare() { - cmake_src_prepare - # if [[ "${PV}" != 9999 ]] ; then - # sed -e "/^set(ETLEGACY_VERSION_MINOR/s@[[:digit:]]\+@$(ver_cut 2)@" \ - # -i cmake/ETLVersion.cmake || die - # fi - sed -e 's@[-_]dirty@@' -i cmake/ETLVersion.cmake || die -} - -src_configure() { - mycmakeargs=( - # path and build type - #-DCMAKE_BUILD_TYPE="Release" - -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" - -DINSTALL_DEFAULT_BASEDIR="/usr/share/${PN}" - -DINSTALL_DEFAULT_BINDIR="/usr/bin" - -DINSTALL_DEFAULT_MODDIR="/usr/share/${PN}" - -DCMAKE_LIBRARY_PATH="/usr/$(get_libdir)" - -DCMAKE_INCLUDE_PATH="/usr/include" - -DDOCDIR="${EPREFIX}/usr/share/doc/${PF}" - -DCROSS_COMPILE32="0" - # what to build - -DBUILD_CLIENT="$(usex opengl)" - -DBUILD_MOD="1" - -DBUILD_MOD_PK3="1" - -DBUILD_SERVER="$(usex dedicated)" - # no bundled libs - -DBUNDLED_LIBS="0" - -DBUNDLED_LIBS_DEFAULT="0" - #-DBUNDLED_SDL="0" - #-DBUNDLED_CURL="0" - #-DBUNDLED_JPEG="0" - #-DBUNDLED_LUA="0" - #-DBUNDLED_OGG_VORBIS="0" - #-DBUNDLED_GLEW="0" - #-DBUNDLED_FREETYPE="0" - # features - -DFEATURE_CURL="$(usex curl)" - -DFEATURE_SSL="$(usex ssl)" - -DFEATURE_OGG_VORBIS="$(usex vorbis)" - -DFEATURE_THEORA="$(usex theora)" - -DFEATURE_OPENAL="$(usex openal)" - -DFEATURE_FREETYPE="$(usex freetype)" - -DFEATURE_PNG="$(usex png)" - -DFEATURE_LUA="$(usex lua)" - -DFEATURE_IRC_CLIENT="$(usex irc)" - -DFEATURE_IPV6="$(usex ipv6)" - -DFEATURE_GETTEXT="$(usex gettext)" - -DFEATURE_ANTICHEAT="1" - -DFEATURE_AUTOUPDATE="$(usex autoupdate)" - # renderers - -DFEATURE_RENDERER2="$(usex renderer2 ON OFF)" - -DFEATURE_RENDERER_GLES="$(usex renderer-gles)" - - -DFEATURE_OMNIBOT="$(usex omnibot)" - -DINSTALL_OMNIBOT="$(usex omnibot)" - -DINSTALL_GEOIP="0" - -DINSTALL_WOLFADMIN="0" - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - local arch=$(uname -m || die "Failed to detect architecture") - - insinto /usr/share/etlegacy/legacy - doins "${BUILD_DIR}"/legacy/ui.mp.${arch}.so - - # Install the game files - insinto /usr/share/etlegacy/etmain - doins "${WORKDIR}"/et/etmain/pak[012].pk3 -} diff --git a/games-fps/etlegacy/etlegacy-2.83.2.ebuild b/games-fps/etlegacy/etlegacy-2.83.2.ebuild deleted file mode 100644 index 90de809ad6c1..000000000000 --- a/games-fps/etlegacy/etlegacy-2.83.2.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake unpacker xdg - -# We need the game files from the original enemy-territory release -ET_RELEASE="et260b" - -DESCRIPTION="Wolfenstein: Enemy Territory 2.60b compatible client/server" -HOMEPAGE="https://www.etlegacy.com/" -SRC_URI="https://cdn.splashdamage.com/downloads/games/wet/${ET_RELEASE}.x86_full.zip" - -S="${WORKDIR}/${P/_rc/rc}" - -if [[ ${PV} = "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="git://github.com/${PN}/${PN}.git" -else - SRC_URI+=" https://github.com/${PN}/${PN}/archive/v${PV/_rc/rc}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="GPL-3 RTCW-ETEULA" -SLOT="0" -IUSE="autoupdate +curl dedicated +freetype +gettext ipv6 irc +lua omnibot +openal +opengl +png renderer2 renderer-gles +ssl +theora +vorbis" -#REQUIRED_USE="omnibot? ( x86 )" - -RESTRICT="bindist mirror" - -# TODO add debug use for CMAKE_BUILD_TYPE=debug - -LUADEPEND="lua? ( >=dev-lang/lua-5.4:* )" - -# * media-libs/glew | media-libs/glew:= -# * media-libs/libpng:= < -# * > media-libs/libogg -# * media-libs/openal < -# * sys-devel/gettext < -UIDEPEND=" - media-libs/glew:= - media-libs/libsdl2[sound,video,X] - media-libs/libogg - media-libs/libjpeg-turbo:0 - virtual/opengl - virtual/minizip - curl? ( net-misc/curl ) - freetype? ( media-libs/freetype ) - gettext? ( sys-devel/gettext ) - renderer-gles? ( media-libs/mesa[opengl] ) - openal? ( media-libs/openal ) - png? ( media-libs/libpng:0= ) - ssl? ( dev-libs/openssl:0= ) - theora? ( media-libs/libtheora ) - vorbis? ( media-libs/libvorbis ) - ${LUADEPEND} -" - -DEPEND=" - dev-db/sqlite:3 - dev-libs/cJSON - opengl? ( ${UIDEPEND} ) -" - -RDEPEND="${DEPEND}" -BDEPEND="$(unpacker_src_uri_depends)" - -#QA_TEXTRELS="usr/share/games/etlegacy/legacy/omni-bot/omnibot_et.so" - -src_unpack() { - if [[ "${PV}" = 9999 ]] ; then - git-r3_src_unpack - else - default - fi - mkdir et && cd et || die - unzip "${DISTDIR}"/${ET_RELEASE}.x86_full.zip - unpack_makeself ${ET_RELEASE}.x86_keygen_V03.run -} - -src_prepare() { - cmake_src_prepare - # if [[ "${PV}" != 9999 ]] ; then - # sed -e "/^set(ETLEGACY_VERSION_MINOR/s@[[:digit:]]\+@$(ver_cut 2)@" \ - # -i cmake/ETLVersion.cmake || die - # fi - sed -e 's@[-_]dirty@@' -i cmake/ETLVersion.cmake || die -} - -src_configure() { - mycmakeargs=( - # path and build type - #-DCMAKE_BUILD_TYPE="Release" - -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" - -DINSTALL_DEFAULT_BASEDIR="/usr/share/${PN}" - -DINSTALL_DEFAULT_BINDIR="/usr/bin" - -DINSTALL_DEFAULT_MODDIR="/usr/share/${PN}" - -DCMAKE_LIBRARY_PATH="/usr/$(get_libdir)" - -DCMAKE_INCLUDE_PATH="/usr/include" - -DDOCDIR="${EPREFIX}/usr/share/doc/${PF}" - -DCROSS_COMPILE32="0" - # what to build - -DBUILD_CLIENT="$(usex opengl)" - -DBUILD_MOD="1" - -DBUILD_MOD_PK3="1" - -DBUILD_SERVER="$(usex dedicated)" - # no bundled libs - -DBUNDLED_LIBS="0" - -DBUNDLED_LIBS_DEFAULT="0" - #-DBUNDLED_SDL="0" - #-DBUNDLED_CURL="0" - #-DBUNDLED_JPEG="0" - #-DBUNDLED_LUA="0" - #-DBUNDLED_OGG_VORBIS="0" - #-DBUNDLED_GLEW="0" - #-DBUNDLED_FREETYPE="0" - # features - -DFEATURE_CURL="$(usex curl)" - -DFEATURE_SSL="$(usex ssl)" - -DFEATURE_OGG_VORBIS="$(usex vorbis)" - -DFEATURE_THEORA="$(usex theora)" - -DFEATURE_OPENAL="$(usex openal)" - -DFEATURE_FREETYPE="$(usex freetype)" - -DFEATURE_PNG="$(usex png)" - -DFEATURE_LUA="$(usex lua)" - -DFEATURE_IRC_CLIENT="$(usex irc)" - -DFEATURE_IPV6="$(usex ipv6)" - -DFEATURE_GETTEXT="$(usex gettext)" - -DFEATURE_ANTICHEAT="1" - -DFEATURE_AUTOUPDATE="$(usex autoupdate)" - # renderers - -DFEATURE_RENDERER2="$(usex renderer2 ON OFF)" - -DFEATURE_RENDERER_GLES="$(usex renderer-gles)" - - -DFEATURE_OMNIBOT="$(usex omnibot)" - -DINSTALL_OMNIBOT="$(usex omnibot)" - -DINSTALL_GEOIP="0" - -DINSTALL_WOLFADMIN="0" - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - local arch=$(uname -m || die "Failed to detect architecture") - - insinto /usr/share/etlegacy/legacy - doins "${BUILD_DIR}"/legacy/ui.mp.${arch}.so - - # Install the game files - insinto /usr/share/etlegacy/etmain - doins "${WORKDIR}"/et/etmain/pak[012].pk3 -} diff --git a/games-fps/etlegacy/metadata.xml b/games-fps/etlegacy/metadata.xml deleted file mode 100644 index a64b5494bf97..000000000000 --- a/games-fps/etlegacy/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type='person'> - <name>Florian Schmaus</name> - <email>flow@gentoo.org</email> - </maintainer> - <use> - <flag name="autoupdate">Enable autoupdate</flag> - <flag name="freetype">Enable freetype</flag> - <flag name="gettext">Enable gettext</flag> - <flag name="irc">Enable built-in IRC client</flag> - <flag name="omnibot">Built with Omnibot</flag> - <flag name="renderer2">Enable renderer2</flag> - <flag name="renderer-gles">Enable renderer-gles</flag> - </use> - <upstream> - <remote-id type="github">etlegacy/etlegacy</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-fps/etqw-bin/Manifest b/games-fps/etqw-bin/Manifest deleted file mode 100644 index 2680b487e868..000000000000 --- a/games-fps/etqw-bin/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST ETQW-client-1.5-full.x86.run 556383725 BLAKE2B 8fcaa8518c7c452a4fe593a00beea0f5a6d5849c72b03d4a443fffde8540ea53b7bf0376d90b2f2ed4e3a736628f8871e009a49b938344516b2db0495cf1e826 SHA512 32bb3d7ef47790ac6b790a5a5d61592c3504d034372254102985e58dee25b5d200e507330226bf8458c628154c246b2abcb08bf550fa044189c4c8de813af0c2 diff --git a/games-fps/etqw-bin/etqw-bin-1.5-r4.ebuild b/games-fps/etqw-bin/etqw-bin-1.5-r4.ebuild deleted file mode 100644 index 81752d07ee06..000000000000 --- a/games-fps/etqw-bin/etqw-bin-1.5-r4.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop wrapper - -DESCRIPTION="Enemy Territory: Quake Wars" -HOMEPAGE="https://zerowing.idsoftware.com/linux/etqw/ETQWFrontPage/index.html" -SRC_URI="http://ftp.jeuxlinux.fr/files/ETQW-client-${PV}-full.x86.run" -S="${WORKDIR}"/data - -LICENSE="ETQW" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="cdinstall" -RESTRICT="bindist mirror strip" - -RDEPEND=" - >=media-libs/libsdl-1.2.15-r4[video,sound,opengl,abi_x86_32(-)] - >=media-libs/alsa-lib-1.0.27.2[abi_x86_32(-)] - sys-libs/glibc - >=virtual/zlib-1.2.8-r1:=[abi_x86_32(-)] - >=x11-libs/libX11-1.6.2[abi_x86_32(-)] - >=x11-libs/libXext-1.3.2[abi_x86_32(-)] - virtual/jpeg-compat:62[abi_x86_32(-)] - amd64? ( sys-libs/glibc[multilib] ) - cdinstall? ( games-fps/etqw-data ) -" -BDEPEND="app-arch/unzip" - -MY_DIR=/opt/etqw - -QA_PREBUILT=" - ${MY_DIR#/}/*.x86 - ${MY_DIR#/}/*.so* -" - -src_unpack() { - tail -c +194885 "${DISTDIR}"/${A} > ${A}.zip - unpack ./${A}.zip - rm -f ${A}.zip || die -} - -src_install() { - insinto ${MY_DIR} - doins -r base pb *.png - dodoc *.txt - - exeinto ${MY_DIR} - doexe etqw{,ded,-rthread}.x86 openurl.sh libCgx86.so libSDL*.id.so* - - newicon etqw_icon.png etqw.png - make_wrapper etqw ./etqw.x86 "${MY_DIR}" "${MY_DIR}" - make_desktop_entry etqw "Enemy Territory: Quake Wars" etqw - - make_wrapper etqw-dedicated ./etqwded.x86 "${MY_DIR}" "${MY_DIR}" - make_desktop_entry etqw-dedicated "Enemy Territory: Quake Wars (dedicated server)" etqw - - make_wrapper etqw-rthread ./etqw-rthread.x86 "${MY_DIR}" "${MY_DIR}" - make_desktop_entry etqw-rthread "Enemy Territory: Quake Wars (SMP)" etqw -} - -pkg_postinst() { - if ! use cdinstall ; then - elog "You need to copy pak00*.pk4, zpak_*.pk4 and the megatextures" - elog "directory to ${MY_DIR}/base before running the game." - fi - - elog "To change the game language from English, add" - elog "seta sys_lang \"your_language\" to your autoexec.cfg file." - elog "Menu fonts may not show up until you do so." -} diff --git a/games-fps/etqw-bin/metadata.xml b/games-fps/etqw-bin/metadata.xml deleted file mode 100644 index 9de68a7b7983..000000000000 --- a/games-fps/etqw-bin/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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/etqw-data/etqw-data-1.0-r1.ebuild b/games-fps/etqw-data/etqw-data-1.0-r1.ebuild deleted file mode 100644 index 16aca76db81a..000000000000 --- a/games-fps/etqw-data/etqw-data-1.0-r1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit cdrom - -DESCRIPTION="Enemy Territory: Quake Wars data files" -HOMEPAGE="https://zerowing.idsoftware.com/linux/etqw/ETQWFrontPage/index.html" -SRC_URI="" - -LICENSE="ETQW" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="videos" -RESTRICT="bindist" - -S="${WORKDIR}" - -src_install() { - local dir=/opt/etqw - - cdrom_get_cds Setup/Data/base/DEU:Setup/Data/base/POL:Setup/Data/base - - cd "${CDROM_ROOT}"/Setup/Data/base - insinto "${dir}"/base - doins pak00{0..4}.pk4 - doins -r megatextures - - case ${CDROM_SET} in - 0) - doins \ - zpak_english000.pk4 \ - DEU/zpak_german000.pk4 \ - ESP/zpak_spanish000.pk4 \ - FRA/zpak_french000.pk4 - ;; - 1) - doins \ - POL/zpak_polish000.pk4 \ - RUS/zpak_russian000.pk4 - ;; - 2) - doins zpak_english000.pk4 - ;; - esac - - if use videos ; then - case ${CDROM_SET} in - 0|2) - doins -r video - ;; - esac - fi -} diff --git a/games-fps/etqw-data/metadata.xml b/games-fps/etqw-data/metadata.xml deleted file mode 100644 index 9de68a7b7983..000000000000 --- a/games-fps/etqw-data/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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/etqw-demo/Manifest b/games-fps/etqw-demo/Manifest deleted file mode 100644 index 29fbfca1afe7..000000000000 --- a/games-fps/etqw-demo/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST ETQW-demo2-client-full.r1.x86.run 691248874 BLAKE2B 42692da7b2f7f35730dea9557c26bb189ac555eccdaf2873d3b5e91bff640b1cd121022aa671c990f92164a97874e9f46f47c76ad01f2ff2973ad3edea6898db SHA512 41332208626449da74bea71a9926258f50986f0af85045d470d4405d27e497085ba318337181802be58eb50c724ab91df6b9c810e5fcc5f8dc131486d6529f38 diff --git a/games-fps/etqw-demo/etqw-demo-2.0_p1-r4.ebuild b/games-fps/etqw-demo/etqw-demo-2.0_p1-r4.ebuild deleted file mode 100644 index 7f79fc4e772b..000000000000 --- a/games-fps/etqw-demo/etqw-demo-2.0_p1-r4.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop unpacker wrapper - -MY_MAJOR=$(ver_cut 1) -MY_REV=$(ver_cut 3-) -MY_BODY="ETQW-demo${MY_MAJOR}-client-full.r${MY_REV/p/}.x86" - -DESCRIPTION="Enemy Territory: Quake Wars demo" -HOMEPAGE="https://zerowing.idsoftware.com/linux/etqw/ETQWFrontPage/index.html" -SRC_URI="mirror://idsoftware/etqw/${MY_BODY}.run" -S="${WORKDIR}" - -# See copyrights.txt -LICENSE="ETQW" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="bindist strip mirror" - -RDEPEND=" - >=media-libs/libsdl-1.2.15-r4[video,sound,opengl,abi_x86_32(-)] - sys-libs/ncurses-compat[abi_x86_32(-)] - >=virtual/zlib-1.2.8-r1:=[abi_x86_32(-)] - virtual/jpeg-compat:62[abi_x86_32(-)] - >=x11-libs/libX11-1.6.2[abi_x86_32(-)] - >=x11-libs/libXext-1.3.2[abi_x86_32(-)] -" - -BDEPEND="app-arch/unzip" - -dir=/opt/${PN} - -QA_PREBUILT=" - ${dir#/}/guis/libmojosetupgui_ncurses.so - ${dir#/}/data/* - ${dir#/}/data/pb/*.so -" - -src_unpack() { - # exit status of 1 should just be warnings, not corrupt archive - unpack_zip ${A} -} - -src_install() { - insinto "${dir}" - doins -r guis scripts - - cd data || die - insinto "${dir}"/data - doins -r base pb etqw_icon.png - dodoc README.txt EULA.txt copyrights.txt etqwtv.txt - - exeinto "${dir}"/data - doexe etqw *\.x86 etqw-* libCgx86* libSDL* *.sh - - make_wrapper ${PN} ./etqw.x86 "${dir}"/data "${dir}"/data - # Matches with desktop entry for enemy-territory-truecombat - make_desktop_entry ${PN} "Enemy Territory - Quake Wars (Demo)" - - make_wrapper ${PN}-ded ./etqwded.x86 "${dir}"/data "${dir}"/data -} diff --git a/games-fps/etqw-demo/metadata.xml b/games-fps/etqw-demo/metadata.xml deleted file mode 100644 index 1c3ba213c494..000000000000 --- a/games-fps/etqw-demo/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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/final-doom-data-gog/Manifest b/games-fps/final-doom-data-gog/Manifest deleted file mode 100644 index 7794370ee76d..000000000000 --- a/games-fps/final-doom-data-gog/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST setup_final_doom_1.9_(28044).exe 28883648 BLAKE2B e5b8657011eca1b06e9b04a3cdc57cc731b0009d32dee4e375ac308f71f568f4cfed9e8f030b89d7fad46b98076ede762a5635e81317a668c1b1e9c4c0b0e14a SHA512 e4c454609f2c3f08be3b0064768a76ca171a44ea3c822ec632ceee3616e1d9d2df7b5dd0cb8730160184b862bfccba0ac1da05e32a8f90cf3dc2a7314b196e6d diff --git a/games-fps/final-doom-data-gog/final-doom-data-gog-1.9.ebuild b/games-fps/final-doom-data-gog/final-doom-data-gog-1.9.ebuild deleted file mode 100644 index 8ff5f5a2491b..000000000000 --- a/games-fps/final-doom-data-gog/final-doom-data-gog-1.9.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Data files for Final DOOM from gog.com" -HOMEPAGE="https://www.gog.com/en/game/doom_ii_final_doom" -SRC_URI="setup_final_doom_${PV}_(28044).exe" -LICENSE="GOG-EULA" -SLOT="0" -KEYWORDS="~amd64 ~arm ~m68k ~x86" -RESTRICT="bindist fetch" - -BDEPEND="app-arch/innoextract" - -S="${WORKDIR}" - -pkg_nofetch() { - einfo "Please buy and download ${SRC_URI} from:" - einfo " ${HOMEPAGE}" - einfo "and move it to your distfiles directory." -} - -src_install() { - innoextract --extract --lowercase \ - --include=/Plutonia/PLUTONIA.WAD \ - --include=/TNT/TNT.WAD \ - --include=/Manual.pdf \ - "${DISTDIR}/${A}" || die - - insinto /usr/share/doom - doins plutonia/plutonia.wad tnt/tnt.wad - - dodoc manual.pdf -} diff --git a/games-fps/final-doom-data-gog/metadata.xml b/games-fps/final-doom-data-gog/metadata.xml deleted file mode 100644 index 88274e035679..000000000000 --- a/games-fps/final-doom-data-gog/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>chewi@gentoo.org</email> - <name>James Le Cuirot</name> - </maintainer> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> -</pkgmetadata> diff --git a/games-fps/freedm-data/Manifest b/games-fps/freedm-data/Manifest deleted file mode 100644 index 2c62ed6ab9ad..000000000000 --- a/games-fps/freedm-data/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST freedoom-0.13.0.tar.gz 18520091 BLAKE2B c3ad97bab73b3275ae604f4fef7459b5688f1c5fc63336475c34b6c22a56118c3558ad9859ac80d7abc97426a48e5f2b92ac9e02def11f9f0f7f1a2ef76629a5 SHA512 70dd124eee028bbf9aad29b17603c2c4c23e5280219d84a9ffa95417b601cfda33ddf44b6aa991e60194120cfd37110c1c888a5f80d4028e9625377c21f8d7a4 diff --git a/games-fps/freedm-data/freedm-data-0.13.0.ebuild b/games-fps/freedm-data/freedm-data-0.13.0.ebuild deleted file mode 100644 index 2e8bf7afa1a7..000000000000 --- a/games-fps/freedm-data/freedm-data-0.13.0.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -inherit prefix python-any-r1 xdg - -DESCRIPTION="Game resources for FreeDM" -HOMEPAGE="https://freedoom.github.io" -SRC_URI="https://github.com/freedoom/freedoom/archive/v${PV}.tar.gz -> freedoom-${PV}.tar.gz" -S="${WORKDIR}/freedoom-${PV}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -BDEPEND=" - $(python_gen_any_dep 'dev-python/pillow[${PYTHON_USEDEP},zlib]') - app-text/asciidoc - dev-util/source-highlight - games-util/deutex[png] -" - -DOOMWADPATH="share/doom" - -python_check_deps() { - python_has_version -b "dev-python/pillow[${PYTHON_USEDEP},zlib]" -} - -src_prepare() { - default - hprefixify dist/freedoom -} - -src_compile() { - emake wads/freedm.wad \ - freedm.6 \ - {NEWS,README}.html -} - -src_install() { - emake install-freedm \ - prefix="${ED}/usr/" \ - bindir="bin/" \ - docdir="share/doc/${PF}" \ - mandir="share/man/" \ - waddir="${DOOMWADPATH}/" \ - MANUAL_PDF_FILES= -} - -pkg_postinst() { - xdg_pkg_postinst - elog "FreeDM WAD file installed into ${EPREFIX}/usr/${DOOMWADPATH} directory." -} diff --git a/games-fps/freedm-data/metadata.xml b/games-fps/freedm-data/metadata.xml deleted file mode 100644 index a9c261e3dc0b..000000000000 --- a/games-fps/freedm-data/metadata.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <longdescription lang="en"> - FreeDM is a fast-paced competitive deathmatch game, part of the Freedoom - project. Rather than the usual single-player focused levels, these - contain no monsters and are intended for deathmatch only. It is - compatible with mods for Doom II. - - The Freedoom project aims to create a complete free content first person - shooter game. But Freedoom by itself is just the raw material for a - game: it must be paired with a compatible game engine to be played. - - id Software released the source code to their classic game, Doom, under - the GNU General Public License. This means that the program code that - powers Doom is free; Freedoom complements this with free levels, - artwork, sound effects and music to make a completely free game. - </longdescription> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <upstream> - <bugs-to>https://github.com/freedoom/freedoom/issues</bugs-to> - <doc lang="en">https://freedoom.github.io</doc> - <remote-id type="github">freedoom/freedoom</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-fps/freedm/freedm-0.13.0-r1.ebuild b/games-fps/freedm/freedm-0.13.0-r1.ebuild deleted file mode 100644 index 56eb2e3e2ba0..000000000000 --- a/games-fps/freedm/freedm-0.13.0-r1.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="A 32-level game designed for competitive deathmatch play" -HOMEPAGE="https://freedoom.github.io" - -LICENSE="metapackage" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -RDEPEND=" - ~games-fps/freedm-data-${PV} - || ( - games-engines/uzdoom - games-engines/odamex - games-fps/chocolate-doom - games-fps/dsda-doom - ) -" - -pkg_postinst() { - elog "If you are looking for a single-player focused game, consider games-fps/freedoom." -} diff --git a/games-fps/freedm/metadata.xml b/games-fps/freedm/metadata.xml deleted file mode 100644 index a9c261e3dc0b..000000000000 --- a/games-fps/freedm/metadata.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <longdescription lang="en"> - FreeDM is a fast-paced competitive deathmatch game, part of the Freedoom - project. Rather than the usual single-player focused levels, these - contain no monsters and are intended for deathmatch only. It is - compatible with mods for Doom II. - - The Freedoom project aims to create a complete free content first person - shooter game. But Freedoom by itself is just the raw material for a - game: it must be paired with a compatible game engine to be played. - - id Software released the source code to their classic game, Doom, under - the GNU General Public License. This means that the program code that - powers Doom is free; Freedoom complements this with free levels, - artwork, sound effects and music to make a completely free game. - </longdescription> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <upstream> - <bugs-to>https://github.com/freedoom/freedoom/issues</bugs-to> - <doc lang="en">https://freedoom.github.io</doc> - <remote-id type="github">freedoom/freedoom</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-fps/freedoom-data/Manifest b/games-fps/freedoom-data/Manifest deleted file mode 100644 index 2c62ed6ab9ad..000000000000 --- a/games-fps/freedoom-data/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST freedoom-0.13.0.tar.gz 18520091 BLAKE2B c3ad97bab73b3275ae604f4fef7459b5688f1c5fc63336475c34b6c22a56118c3558ad9859ac80d7abc97426a48e5f2b92ac9e02def11f9f0f7f1a2ef76629a5 SHA512 70dd124eee028bbf9aad29b17603c2c4c23e5280219d84a9ffa95417b601cfda33ddf44b6aa991e60194120cfd37110c1c888a5f80d4028e9625377c21f8d7a4 diff --git a/games-fps/freedoom-data/freedoom-data-0.13.0.ebuild b/games-fps/freedoom-data/freedoom-data-0.13.0.ebuild deleted file mode 100644 index 5474242ca883..000000000000 --- a/games-fps/freedoom-data/freedoom-data-0.13.0.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) - -inherit prefix python-any-r1 xdg - -DESCRIPTION="Game resources for Freedoom: Phase 1+2" -HOMEPAGE="https://freedoom.github.io" -SRC_URI="https://github.com/freedoom/freedoom/archive/v${PV}.tar.gz -> freedoom-${PV}.tar.gz" -S="${WORKDIR}/freedoom-${PV}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" - -BDEPEND=" - $(python_gen_any_dep 'dev-python/pillow[${PYTHON_USEDEP},zlib]') - app-text/asciidoc - dev-util/source-highlight - games-util/deutex[png] -" - -DOOMWADPATH="share/doom" - -python_check_deps() { - python_has_version -b "dev-python/pillow[${PYTHON_USEDEP},zlib]" -} - -src_prepare() { - default - hprefixify dist/freedoom -} - -src_compile() { - emake wads/freedoom{1,2}.wad \ - freedoom{1,2}.6 \ - {NEWS,README}.html -} - -src_install() { - emake install-freedoom \ - prefix="${ED}/usr/" \ - bindir="bin/" \ - docdir="share/doc/${PF}" \ - mandir="share/man/" \ - waddir="${DOOMWADPATH}/" \ - MANUAL_PDF_FILES= -} - -pkg_postinst() { - xdg_pkg_postinst - elog "Freedoom WAD files installed into ${EPREFIX}/usr/${DOOMWADPATH} directory." -} diff --git a/games-fps/freedoom-data/metadata.xml b/games-fps/freedoom-data/metadata.xml deleted file mode 100644 index aafdae7a61d2..000000000000 --- a/games-fps/freedoom-data/metadata.xml +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <longdescription lang="en"> - The Freedoom project aims to create a complete free content first person - shooter game. But Freedoom by itself is just the raw material for a - game: it must be paired with a compatible game engine to be played. - - id Software released the source code to their classic game, Doom, under - the GNU General Public License. This means that the program code that - powers Doom is free; Freedoom complements this with free levels, - artwork, sound effects and music to make a completely free game. - - Phase 1 is the first part of the single-player game, containing four - chapters which are nine levels each, smoothly paced for beginner - players. It is compatible with mods for the original Doom and The - Ultimate Doom. - - Phase 2 is the second major part of the single-player game, a massive - 32-level chapter expanding upon the same concepts present in Phase 1, as - well as containing additional monsters and the double-barreled shotgun! - The levels in this game tend to demand more skillful play than the - previous chapters. It is compatible with mods for Doom II. - </longdescription> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <upstream> - <bugs-to>https://github.com/freedoom/freedoom/issues</bugs-to> - <doc lang="en">https://freedoom.github.io</doc> - <remote-id type="github">freedoom/freedoom</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-fps/freedoom/freedoom-0.13.0-r1.ebuild b/games-fps/freedoom/freedoom-0.13.0-r1.ebuild deleted file mode 100644 index 12659126eb11..000000000000 --- a/games-fps/freedoom/freedoom-0.13.0-r1.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="A complete free-content single-player focused game based on the Doom engine" -HOMEPAGE="https://freedoom.github.io" - -LICENSE="metapackage" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" - -RDEPEND=" - ~games-fps/freedoom-data-${PV} - || ( - games-engines/uzdoom - games-engines/odamex - games-fps/chocolate-doom - games-fps/dsda-doom - ) -" - -pkg_postinst() { - elog "If you are looking for a multiplayer-focused deathmatch game, consider games-fps/freedm." -} diff --git a/games-fps/freedoom/metadata.xml b/games-fps/freedoom/metadata.xml deleted file mode 100644 index aafdae7a61d2..000000000000 --- a/games-fps/freedoom/metadata.xml +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <longdescription lang="en"> - The Freedoom project aims to create a complete free content first person - shooter game. But Freedoom by itself is just the raw material for a - game: it must be paired with a compatible game engine to be played. - - id Software released the source code to their classic game, Doom, under - the GNU General Public License. This means that the program code that - powers Doom is free; Freedoom complements this with free levels, - artwork, sound effects and music to make a completely free game. - - Phase 1 is the first part of the single-player game, containing four - chapters which are nine levels each, smoothly paced for beginner - players. It is compatible with mods for the original Doom and The - Ultimate Doom. - - Phase 2 is the second major part of the single-player game, a massive - 32-level chapter expanding upon the same concepts present in Phase 1, as - well as containing additional monsters and the double-barreled shotgun! - The levels in this game tend to demand more skillful play than the - previous chapters. It is compatible with mods for Doom II. - </longdescription> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <upstream> - <bugs-to>https://github.com/freedoom/freedoom/issues</bugs-to> - <doc lang="en">https://freedoom.github.io</doc> - <remote-id type="github">freedoom/freedoom</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-fps/glxquake-bin/Manifest b/games-fps/glxquake-bin/Manifest deleted file mode 100644 index acd442726d6b..000000000000 --- a/games-fps/glxquake-bin/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST glxquake.tar.gz 164094 BLAKE2B 4f9fa9c1e65dc8f1b3721dd068b9920c622a042875d4cb43a15b6d514bfd5e827f776b142a2087ef62e0adbd539c11a53d2b1f3769545b730531ddbbaaa348fb SHA512 0adb92dbdc8b3130bef7e46ad95a7efa6ddb3723e3e8891cacc3c2e46bccacb6235f688e12b8a1f35099615b6683b1409b2e380fd4278e0827897b2e0c8f3090 diff --git a/games-fps/glxquake-bin/glxquake-bin-0-r3.ebuild b/games-fps/glxquake-bin/glxquake-bin-0-r3.ebuild deleted file mode 100644 index eb9cce08a4ba..000000000000 --- a/games-fps/glxquake-bin/glxquake-bin-0-r3.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="A binary that works with any 3D-graphics-card that supports the glx X-extension" -HOMEPAGE="http://mfcn.ilo.de/glxquake/" -SRC_URI="http://www.wh-hms.uni-ulm.de/~mfcn/shared/glxquake/glxquake.tar.gz" -S="${WORKDIR}"/glxquake - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -RESTRICT="strip" - -RDEPEND=" - sys-libs/glibc - amd64? ( sys-libs/glibc[multilib] ) - virtual/opengl[abi_x86_32(-)] - x11-libs/libX11[abi_x86_32(-)] - x11-libs/libXext[abi_x86_32(-)] - x11-libs/libXxf86vm[abi_x86_32(-)] - x11-libs/libXxf86dga[abi_x86_32(-)] -" - -QA_PREBUILT="usr/bin/glquake" - -src_install() { - dobin glquake - dodoc README -} - -pkg_postinst() { - elog "To play with ${PN}, create a subdirectory called id1" - elog "Copy the pak0.pak, and eventually pak1.pak into this subdirectory" - elog "You can get pak0.pa by emerging games-fps/quake1-demodata" - elog "(or use the disc)" - elog "The file pak0.pak will be in /usr/share/quake1/demo/" - elog "You can now run glxquake by executing glquake" -} diff --git a/games-fps/glxquake-bin/metadata.xml b/games-fps/glxquake-bin/metadata.xml deleted file mode 100644 index 1c3ba213c494..000000000000 --- a/games-fps/glxquake-bin/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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/legends/Manifest b/games-fps/legends/Manifest deleted file mode 100644 index a9377c40e57a..000000000000 --- a/games-fps/legends/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST legends.png 5092 BLAKE2B 74715a28e6c25e3ce9a3357be23b07a998181e12e7a19d721b094c10b7f1312b273307ad1ac2830c0d71a710434be679149e0d758ee5a785cebc6b71d91f965f SHA512 7b9f336335dc69e2fbc24286b2076a228739ab4abf1b77d977321d9dccfb453897bdbd51388e3ed54369ba39b7faa92e458700928d8bf5ccc0f3639f8737489a -DIST legends_linux-0.4.1.43.run 123964866 BLAKE2B d16da9613a13c4d78d207fc474b859e222d6c387a676bc2fe851f34fed7e689a5457a022674e2e96abd7cfc8e9e68977078811147ffe44388986796a2157cd69 SHA512 17b1caa3aa6124f2389e2220ced82c41c4523897bde2f8211d219dc9ef8620583c4ae68999b0761155e3d45cb1ad9679cd65ba50c8440dd1848ef3b1a7a590d2 diff --git a/games-fps/legends/legends-0.4.1.43-r2.ebuild b/games-fps/legends/legends-0.4.1.43-r2.ebuild deleted file mode 100644 index f94214861731..000000000000 --- a/games-fps/legends/legends-0.4.1.43-r2.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop unpacker wrapper - -MY_P=${PN}_linux-${PV} -dir=/opt/${PN} - -DESCRIPTION="Fast-paced first-person-shooter online multiplayer game, similar to Tribes" -HOMEPAGE="http://legendsthegame.net/" -SRC_URI="http://legendsthegame.net/files/${MY_P}.run - mirror://gentoo/${PN}.png" -S="${WORKDIR}" - -LICENSE="Legends LGPL-2.1+" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="+dedicated" -RESTRICT="strip" - -QA_TEXTRELS="${dir:1}/libSDL-1.3.so.0" -QA_FLAGS_IGNORED="${dir:1}/libSDL-1.3.so.0 ${dir:1}/LinLegends ${dir:1}/lindedicated" - -RDEPEND="sys-libs/glibc - amd64? ( sys-libs/glibc[multilib] ) - media-fonts/font-adobe-75dpi - media-libs/libsdl[video,sound,opengl,abi_x86_32(-)] - x11-libs/libX11[abi_x86_32(-)] - x11-libs/libXext[abi_x86_32(-)] - media-libs/libogg[abi_x86_32(-)] - media-libs/libvorbis[abi_x86_32(-)] - media-libs/openal[abi_x86_32(-)]" - -src_unpack() { - unpack_makeself ${MY_P}.run - cd "${S}" || die - - # keep libSDL-1.3.so because legends requires it as of 0.4.0, and - # 1.2.6 is highest in portage - # rm libSDL-*.so* - rm runlegends libSDL-1.2.so.0 libopenal.so libogg.so.0 libvorbis.so.0 *.DLL || die -} - -src_install() { - insinto "${dir}" - doins -r * - - rm "${ED}/${dir}/"/{lindedicated,LinLegends,*.so.0} || die - exeinto "${dir}" - doexe lindedicated LinLegends *.so.0 - - make_wrapper ${PN} "./LinLegends" "${dir}" "${dir}" - if use dedicated ; then - make_wrapper ${PN}-ded "./lindedicated" "${dir}" "${dir}" - fi - - doicon "${DISTDIR}"/${PN}.png || die "doicon failed" - make_desktop_entry legends "Legends" -} - -pkg_postinst() { - ewarn "Version ${PV} of ${PN} may give problems if there are" - ewarn "config-files from earlier versions. Removing the ~/.legends dir" - ewarn "and restarting will solve this." - echo -} diff --git a/games-fps/legends/metadata.xml b/games-fps/legends/metadata.xml deleted file mode 100644 index b911c1e9c061..000000000000 --- a/games-fps/legends/metadata.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> -</maintainer> -<longdescription> -Legends is a fast-paced first-person-perspective online multiplayer -game. The game is designed to take advantage of the beautiful -environments available from the Torque engine it is based on while still -offering the breakneck pacing and variety of styles available from such -classics as Quake and Tribes. - -Gameplay is not the strafe-strafe-jump-strafe-shoot-strafe-run-like-hell -style a lot of games espouse; the addition of a jetpack adds a third -dimension of mobility that makes skill, forethought, and restraint -necessities to winning. - -Team sizes are going to be ideal between 10 and 15 on each side, and the -network code will allow anyone with any bandwidth to play relatively -smoothly. Game type offerings will range from the classic Capture the -Flag to our own new type, affectionately called "Knockout". - -Plenty of maps will be provided by us, but the beauty of this game is -its customization possibilities. Mission creation has never been easier, -with a stable, full-featured editor integrated into the game engine -itself. Skins, models, and effects can all be modified by the end-user -with commonly available tools. -</longdescription> -</pkgmetadata> diff --git a/games-fps/metadata.xml b/games-fps/metadata.xml deleted file mode 100644 index 38c906e88640..000000000000 --- a/games-fps/metadata.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE catmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<catmetadata> - <longdescription lang="en"> - The games-fps category contains first person shooter games. - </longdescription> - <longdescription lang="de"> - Die Kategorie games-fps enthält Egoshooter. - </longdescription> - <longdescription lang="es"> - La categoría games-fps contiene juegos de disparo en primera persona. - </longdescription> - <longdescription lang="ja"> - games-fpsカテゴリーにはファースト・パーソン・シューター・ゲームが - 含まれています。 - </longdescription> - <longdescription lang="nl"> - De games-fps categorie bevat schietspellen (uit persoonsperspectief). - </longdescription> - <longdescription lang="vi"> - Nhóm games-fps chứa các trò chơi bắn súng dạng "First Person Shooter (FPS)". - </longdescription> - <longdescription lang="it"> - La categoria games-fps contiene giochi sparatutto in prima persona "First Person Shooter (FPS)". - </longdescription> - <longdescription lang="pt"> - A categoria games-fps contém jogos de tiro em primeira pessoa. - </longdescription> - <longdescription lang="pl"> - Kategoria games-fps zawiera gry akcji oglądane z perspektywy pierwszej - osoby. - </longdescription> -</catmetadata> diff --git a/games-fps/nexuiz/Manifest b/games-fps/nexuiz/Manifest deleted file mode 100644 index 432c5686581a..000000000000 --- a/games-fps/nexuiz/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST nexmappack_r2.zip 113533483 BLAKE2B 32da18020e80835c0fea24280c4793fc33d017774311fb154ec438de97c46f58608cb83cdc8b27fd033c4086384b5bb3d5ffc9a8841618d7cc54401073cc7d8b SHA512 f7e2dd60530b58f3fc505cdf0d605208b6905136586107210031233cb870b1892bae59efc4fb38403a4f0fc5301321297d03107b38daa501cb90e5669455eac0 -DIST nexuiz-252.zip 931253731 BLAKE2B 620d46cf90ef73cd0039721597d11b7a5924a6614f065d413339f6e01fff8396b49a576bd293f3f64882e51c05fd0dea190eb8c9fbef5ab57cdd26736ccffd4c SHA512 da661eb2ff1764fed1d5f5547b89e4f9aa47613d41a3999c0202d8858ec2b882e4ef0ec182a81d1bdb25dff2ef65aad6af132009884e3557206941a736c2a68c diff --git a/games-fps/nexuiz/files/nexuiz-2.5.2-libpng-1.4.patch b/games-fps/nexuiz/files/nexuiz-2.5.2-libpng-1.4.patch deleted file mode 100644 index 0e064f8b6c3f..000000000000 --- a/games-fps/nexuiz/files/nexuiz-2.5.2-libpng-1.4.patch +++ /dev/null @@ -1,42 +0,0 @@ -fix compatibility with >=libpng-1.4 -https://bugs.gentoo.org/show_bug.cgi?id=491610 - -diff -Nur darkplaces.old/image_png.c darkplaces/image_png.c ---- darkplaces.old/image_png.c 2009-09-15 06:08:02.000000000 +0300 -+++ darkplaces/image_png.c 2010-01-28 01:23:24.000000000 +0200 -@@ -36,7 +36,7 @@ - static void* (*qpng_create_info_struct) (void*); - static void (*qpng_read_info) (void*, void*); - static void (*qpng_set_expand) (void*); --static void (*qpng_set_gray_1_2_4_to_8) (void*); -+static void (*qpng_set_expand_gray_1_2_4_to_8) (void*); - static void (*qpng_set_palette_to_rgb) (void*); - static void (*qpng_set_tRNS_to_alpha) (void*); - static void (*qpng_set_gray_to_rgb) (void*); -@@ -61,7 +61,7 @@ - {"png_create_info_struct", (void **) &qpng_create_info_struct}, - {"png_read_info", (void **) &qpng_read_info}, - {"png_set_expand", (void **) &qpng_set_expand}, -- {"png_set_gray_1_2_4_to_8", (void **) &qpng_set_gray_1_2_4_to_8}, -+ {"png_set_expand_gray_1_2_4_to_8", (void **) &qpng_set_expand_gray_1_2_4_to_8}, - {"png_set_palette_to_rgb", (void **) &qpng_set_palette_to_rgb}, - {"png_set_tRNS_to_alpha", (void **) &qpng_set_tRNS_to_alpha}, - {"png_set_gray_to_rgb", (void **) &qpng_set_gray_to_rgb}, -@@ -110,7 +110,7 @@ - #elif defined(MACOSX) - "libpng12.0.dylib", - #else -- "libpng12.so.0", -+ "libpng14.so.0", - "libpng.so", // FreeBSD - #endif - NULL -@@ -311,7 +311,7 @@ - { - qpng_set_gray_to_rgb(png); - if (my_png.BitDepth < 8) -- qpng_set_gray_1_2_4_to_8(png); -+ qpng_set_expand_gray_1_2_4_to_8(png); - } - - if (qpng_get_valid(png, pnginfo, PNG_INFO_tRNS)) diff --git a/games-fps/nexuiz/metadata.xml b/games-fps/nexuiz/metadata.xml deleted file mode 100644 index e823835abde4..000000000000 --- a/games-fps/nexuiz/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <use> - <flag name="maps">Install the community map pack</flag> - </use> - <upstream> - <remote-id type="sourceforge">nexuiz</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-fps/nexuiz/nexuiz-2.5.2-r2.ebuild b/games-fps/nexuiz/nexuiz-2.5.2-r2.ebuild deleted file mode 100644 index a9f11d374a47..000000000000 --- a/games-fps/nexuiz/nexuiz-2.5.2-r2.ebuild +++ /dev/null @@ -1,140 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop toolchain-funcs - -MY_PN=Nexuiz -MY_P=${PN}-${PV//./} -MAPS=nexmappack_r2 -DESCRIPTION="Deathmatch FPS based on DarkPlaces, an advanced Quake 1 engine" -HOMEPAGE="http://www.nexuiz.com/" -SRC_URI="https://downloads.sourceforge.net/${PN}/${MY_P}.zip - maps? ( https://downloads.sourceforge.net/${PN}/${MAPS}.zip )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="alsa dedicated maps opengl sdl" - -# no headers for libpng needed -UIRDEPEND=" - media-libs/libmodplug - media-libs/libogg - >=media-libs/libpng-1.4:0 - media-libs/libtheora:= - media-libs/libvorbis - x11-libs/libX11 - x11-libs/libXau - x11-libs/libXdmcp - x11-libs/libXext - x11-libs/libXpm - x11-libs/libXxf86dga - x11-libs/libXxf86vm - virtual/opengl - alsa? ( media-libs/alsa-lib ) - sdl? ( media-libs/libsdl[joystick,opengl,video] )" -UIDEPEND="x11-base/xorg-proto" -RDEPEND="virtual/jpeg:0 - net-misc/curl - opengl? ( ${UIRDEPEND} ) - !dedicated? ( !opengl? ( ${UIRDEPEND} ) )" -DEPEND="${RDEPEND} - app-arch/unzip - opengl? ( ${UIDEPEND} ) - !dedicated? ( !opengl? ( ${UIDEPEND} ) )" - -S=${WORKDIR}/darkplaces - -PATCHES=( - "${FILESDIR}"/${P}-libpng-1.4.patch -) - -src_unpack() { - unpack ${MY_P}.zip - - local f - for f in "${MY_PN}"/sources/*.zip ; do - unpack ./${f} - done - - if use maps ; then - cd "${WORKDIR}"/${MY_PN} - unpack ${MAPS}.zip - fi -} - -src_prepare() { - default - - # Make the game automatically look in the correct data directory - sed -i \ - -e 's:-O2:$(CFLAGS):' \ - -e '/-lm/s:$: $(LDFLAGS):' \ - -e '/^STRIP/s/strip/true/' \ - makefile.inc || die - - sed -i \ - -e '1i DP_LINK_TO_LIBJPEG=1' \ - -e "s:ifdef DP_.*:DP_FS_BASEDIR=${EPREFIX}/usr/share/${PN}\n&:" \ - makefile || die - - if ! use alsa ; then - sed -i \ - -e "/DEFAULT_SNDAPI/s:ALSA:OSS:" \ - makefile || die - fi -} - -src_compile() { - # Unset STRIP because the build system by default will not strip - # If users express a preference, this triggers strip - # bug #739294 - unset STRIP - - tc-export CC - - if use opengl || ! use dedicated ; then - emake cl-${PN} - if use sdl ; then - emake sdl-${PN} - fi - fi - - if use dedicated ; then - emake sv-${PN} - fi -} - -src_install() { - if use opengl || ! use dedicated ; then - dobin ${PN}-glx - doicon ${PN}.xpm - make_desktop_entry ${PN}-glx "Nexuiz (GLX)" - if use sdl ; then - dobin ${PN}-sdl - make_desktop_entry ${PN}-sdl "Nexuiz (SDL)" - dosym ${PN}-sdl /usr/bin/${PN} - else - dosym ${PN}-glx /usr/bin/${PN} - fi - fi - - if use dedicated ; then - dobin ${PN}-dedicated - fi - - cd "${WORKDIR}"/${MY_PN} || die - - dodoc Docs/*.txt - dodoc -r readme.html Docs - - insinto /usr/share/${PN} - - if use dedicated ; then - doins -r server - fi - - doins -r data havoc -} diff --git a/games-fps/openspades/Manifest b/games-fps/openspades/Manifest deleted file mode 100644 index d67408cf59ff..000000000000 --- a/games-fps/openspades/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST OpenSpadesDevPackage-r33.zip 4036321 BLAKE2B 7f2caaa6fd52961fc8221e7d7c2bb4312a444e26ad4edf2865d815e5cbadb354592bd5186f0e460a354bd0cf11419e8481b20f9fcba33a1544b74883a1d98ec3 SHA512 eb16dee8adfdd93388eac6309908811af02afdcdd6d009e2ab30b87a6b9bb495e77d3de750af18a3209dcf01ddb8400a6b03c1d570f1b77f8a1d2e5f26eb329e -DIST openspades-0.1.3.tar.gz 7507842 BLAKE2B c9b4d1df2383b35f674d4274703079ca6cda3a5a8d7b3808889411c35e3e5a8d47e0d487ad869d194967a7058f59ffbebb04cf726548cc93d89998e16101bde1 SHA512 227f83980ecd87290a9ccbc625dd59f49b1ac92d9d50a077b5f2660eee7d76a14ff7c2d693ba53873e59ffa57a529078a3c2cc16c311829b76c927792564dcec diff --git a/games-fps/openspades/files/openspades-0.1.3-dont-compress-docs.patch b/games-fps/openspades/files/openspades-0.1.3-dont-compress-docs.patch deleted file mode 100644 index 24cc986ff2e4..000000000000 --- a/games-fps/openspades/files/openspades-0.1.3-dont-compress-docs.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index a582acd..f66b8e3 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -215,10 +215,10 @@ if(UNIX AND NOT APPLE) - INSTALL(FILES Resources/Unix/Menu/openspades DESTINATION ${OPENSPADES_INSTALL_MENU}/) - - # man file -- INSTALL(FILES ${CMAKE_BINARY_DIR}/Resources/Unix/Man/openspades.6.gz DESTINATION ${OPENSPADES_INSTALL_MAN}/) -+ INSTALL(FILES ${CMAKE_BINARY_DIR}/Resources/Unix/Man/openspades.6 DESTINATION ${OPENSPADES_INSTALL_MAN}/) - - # changelog file -- INSTALL(FILES ${CMAKE_BINARY_DIR}/Resources/Unix/Debian/changelog.gz DESTINATION ${OPENSPADES_INSTALL_DOC}/) -+ INSTALL(FILES ${CMAKE_BINARY_DIR}/Resources/Unix/Debian/changelog DESTINATION ${OPENSPADES_INSTALL_DOC}/) - - # copyright file - INSTALL(FILES ${CMAKE_BINARY_DIR}/Resources/Unix/Debian/copyright DESTINATION ${OPENSPADES_INSTALL_DOC}/) -diff --git a/Resources/CMakeLists.txt b/Resources/CMakeLists.txt -index 1f9b514..ce892da 100644 ---- a/Resources/CMakeLists.txt -+++ b/Resources/CMakeLists.txt -@@ -69,12 +69,7 @@ if(UNIX AND NOT APPLE) - - add_custom_command( - TARGET OpenSpades_Unix -- COMMAND sh -c \"gzip -9 -c ${CMAKE_CURRENT_SOURCE_DIR}/Unix/Debian/changelog > changelog.gz\" -+ COMMAND sh -c \"cp ${CMAKE_CURRENT_SOURCE_DIR}/Unix/Debian/changelog changelog\" - WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/Unix/Debian - ) -- add_custom_command( -- TARGET OpenSpades_Unix -- COMMAND sh -c \"gzip -9 -c ${CMAKE_CURRENT_BINARY_DIR}/Unix/Man/openspades.6 > openspades.6.gz\" -- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/Unix/Man -- ) - endif(UNIX AND NOT APPLE) diff --git a/games-fps/openspades/metadata.xml b/games-fps/openspades/metadata.xml deleted file mode 100644 index 7889ce82124c..000000000000 --- a/games-fps/openspades/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <longdescription> - OpenSpades is a clone of Ace of Spades 0.75, which is a free online - first-person shooter created by Ben Aksoy, featuring fully destructible - terrain and plenty of game modes (including the well-known Capture the Flag) - created by the community. - </longdescription> - <upstream> - <remote-id type="github">yvt/openspades</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-fps/openspades/openspades-0.1.3.ebuild b/games-fps/openspades/openspades-0.1.3.ebuild deleted file mode 100644 index a084bf379a1b..000000000000 --- a/games-fps/openspades/openspades-0.1.3.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake xdg flag-o-matic - -PAK_REV=33 - -DESCRIPTION="Open-source voxel FPS" -HOMEPAGE="https://openspades.yvt.jp/" -SRC_URI=" -https://github.com/yvt/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz -https://github.com/yvt/${PN}-paks/releases/download/r${PAK_REV}/OpenSpadesDevPackage-r${PAK_REV}.zip -" -# GPL-2 refers to the bundled Unifont. -LICENSE="GPL-3 GPL-2-with-font-exception OFL-1.1 openspades-pak" -SLOT="0" -KEYWORDS="~amd64" -RESTRICT="mirror" -RDEPEND=" -media-libs/libsdl2 -media-libs/sdl2-image[jpeg,png] -media-libs/glew -net-misc/curl -media-libs/freetype -media-libs/opus -media-libs/opusfile -x11-misc/xdg-utils -x11-themes/hicolor-icon-theme -" -DEPEND="${RDEPEND}" -BDEPEND=" -virtual/pkgconfig -app-arch/zip -app-arch/unzip -virtual/imagemagick-tools[jpeg,png] -" -PATCHES=( - "${FILESDIR}/${PN}-0.1.3-dont-compress-docs.patch" -) -CMAKE_BUILD_TYPE=release - -src_prepare() { - cmake_src_prepare - - mkdir -p "${BUILD_DIR}/Resources" - mv "${WORKDIR}/Nonfree/pak000-Nonfree.pak" "${BUILD_DIR}/Resources/" - mv "${WORKDIR}/Nonfree/LICENSE.md" "${BUILD_DIR}/Resources/LICENSE.pak000.md" - mv "${WORKDIR}/OfficialMods/font-unifont.pak" "${BUILD_DIR}/Resources/" - mv "${WORKDIR}/OfficialMods/LICENSE" "${BUILD_DIR}/Resources/LICENSE.unifont.txt" - - # Without this, CMake will error out because it will try to download the zip - # during building. - touch "${BUILD_DIR}/Resources/OpenSpadesDevPackage-r${PAK_REV}.zip" - - append-cflags -fno-strict-aliasing - append-cxxflags -fno-strict-aliasing -} - -src_configure() { - local mycmakeargs=( - -DOPENSPADES_INSTALL_DOC=share/doc/"${PF}" - -DOPENSPADES_INSTALL_BINARY=bin - -DOPENSPADES_INSTALL_RESOURCES=share/"${PN}"/Resources - # This arg is currently unused, but I'll set it anyway just in case it's - # needed in a later version. - -DOPENSPADES_INSTALL_LIBS=$(get_libdir) - ) - - cmake_src_configure -} - -pkg_postinst() { - xdg_pkg_postinst -} - -pkg_postrm() { - xdg_pkg_postrm -} diff --git a/games-fps/quake1-demodata/Manifest b/games-fps/quake1-demodata/Manifest deleted file mode 100644 index cff000106dec..000000000000 --- a/games-fps/quake1-demodata/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST quake106.zip 9094045 BLAKE2B 39d639a7c4daf48bacfed3d8f7488131cabd61eba3d1969b23958f4f35ac7f693a165500a4a1cf2b917bb8d363d360a402c7100ba8f6b7083c7eaba1fe16756a SHA512 8960c48d9c3c8bb142fd812968d29f05304384bd559b5cdb1d2cb8b6faac84d30ebf9cdf5e5e4eb3739907d9b599ca2ba34035647c58a8ed1874bdc7f0b75e1d diff --git a/games-fps/quake1-demodata/metadata.xml b/games-fps/quake1-demodata/metadata.xml deleted file mode 100644 index 1c3ba213c494..000000000000 --- a/games-fps/quake1-demodata/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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/quake1-demodata/quake1-demodata-1.06-r1.ebuild b/games-fps/quake1-demodata/quake1-demodata-1.06-r1.ebuild deleted file mode 100644 index b5931771e141..000000000000 --- a/games-fps/quake1-demodata/quake1-demodata-1.06-r1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PV=$(ver_rs 1- '') -MY_PN="quake" - -DESCRIPTION="Demo data for Quake 1" -HOMEPAGE="https://en.wikipedia.org/wiki/Quake_I" -SRC_URI="mirror://idsoftware/${MY_PN}/${MY_PN}${MY_PV}.zip" -S="${WORKDIR}" - -# See licinfo.txt -LICENSE="quake1-demodata" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="symlink" - -RDEPEND="symlink? ( !games-fps/quake1-data )" -BDEPEND=" - app-arch/lha - app-arch/unzip -" - -dir=usr/share/${MY_PN}1 - -pkg_setup() { - if has_version "games-fps/quake1-data" ; then - ewarn "games-fps/quake1-data already includes the demo data," - ewarn "so this installation is not very useful." - fi -} - -src_unpack() { - unpack ${A} - - # File rename for bug #159100 - mv resource.{1,x} || die - - lha xfq resource.x || die "lha failed" - # Don't want to conflict with the cdinstall files - mv ID1 demo || die -} - -src_install() { - insinto ${dir} - doins -r demo - - dodoc *.TXT - - if use symlink ; then - # Make the demo the default, so that people can just run it, - # without having to mess with command-line options. - cd "${ED}/${dir}" || die - ln -sfn demo id1 || die - fi -} - -pkg_postinst() { - elog "This is just the demo data." - elog "You will still need a Quake 1 client, to play, such as darkplaces." - echo - - if use symlink ; then - elog "id1 has been symlinked to demo, for convenience, within:" - elog "${dir}" - echo - fi -} diff --git a/games-fps/quake1-rally/Manifest b/games-fps/quake1-rally/Manifest deleted file mode 100644 index 584400f9ad96..000000000000 --- a/games-fps/quake1-rally/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST qr12.zip 9885866 BLAKE2B a2fa1ad28033bd5530c53c132b44732325fcfc58585474859b6e3cc34c94751142ff69bcaf01062a8adb16e259583bae923c90d294b08ea7278862621c39a8b2 SHA512 a49b00e67b95c06b4898ad8e1f9e0a718c025736e7d68d3aa8e6ff9cf3062ea8a0cd0ea0deee5c2af8e3e30652c4420cd4b030b3bd8f1dd4ace9236bfaaf5e5a -DIST qrlo1.zip 4086037 BLAKE2B 066945f0121efe38a222dc475d30d759ad50ab0c58f98e798955b18b3723001e2aeeac8d2627972bb3e9706786032ccf53e7fd96874815ae13f9167589435854 SHA512 94af61a0f6978c39425cbc414e094417deef99f109aac2905877b3723873657c3ef7d7ae7d3b247144d68eabbfb79750a654e627ac039d315ff0f2fd323f395d diff --git a/games-fps/quake1-rally/metadata.xml b/games-fps/quake1-rally/metadata.xml deleted file mode 100644 index 1c3ba213c494..000000000000 --- a/games-fps/quake1-rally/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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/quake1-rally/quake1-rally-1.2-r1.ebuild b/games-fps/quake1-rally/quake1-rally-1.2-r1.ebuild deleted file mode 100644 index 8623924bac22..000000000000 --- a/games-fps/quake1-rally/quake1-rally-1.2-r1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit edos2unix - -DESCRIPTION="TC which turns Quake into a Rally racing game" -HOMEPAGE="http://wiki.quakeworld.nu/Quake_Rally" -SRC_URI="http://ehall.freeshell.org/quake/qr$(ver_rs 1-2 '').zip - http://ehall.freeshell.org/quake/qrlo1.zip" -S="${WORKDIR}" - -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RESTRICT="mirror bindist" - -BDEPEND="app-arch/unzip" - -src_unpack() { - einfo "Unpacking qr12.zip to ${PWD}" - unzip -qoLL "${DISTDIR}"/qr12.zip || die "unpacking qr12.zip failed" - - einfo "Unpacking qrlo1.zip to ${PWD}" - unzip -qoLL "${DISTDIR}"/qrlo1.zip || die "unpacking qrlo1.zip failed" - - rm -f button.wav qrally.exe || die - cd rally || die - - edos2unix $(find . -name '*.txt' -o -name '*.cfg' || die) - mv rally{,.example}.cfg || die -} - -src_install() { - insinto /usr/share/quake1 - doins -r * -} diff --git a/games-fps/quake1-teamfortress/Manifest b/games-fps/quake1-teamfortress/Manifest deleted file mode 100644 index f81ff16457f4..000000000000 --- a/games-fps/quake1-teamfortress/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST tf28.zip 4204316 BLAKE2B 9cb90e942d58380e8b9fd8ec527232d7461860621ed2bce888fadbbae03ad7c4cfb96035b74dc10c1a3124659869c161bb716178b7d7954fac2a6c828cbbef1f SHA512 2b158982fbf501712fa31fae7b8d34ce4adf41c7ada7c32549bc94ea7370f56b7ebb03f08f70c38c4e53a4ba49a95cbd23acda39eddc4a360d236cc0129a3262 -DIST tf29qw.zip 626175 BLAKE2B b480cfc0f3ce330142fc1816632b6da8207b532fac9f5e47fd93d4b1b8bc3fc02dbfc541f1ef052782db0ae6251bec90b09f384e607b6ec9272386b6e18623e4 SHA512 77ea488e5d9fcd3ad91317f2a35bd9e19ca38712cf9bf248bcfa88d1a5a66577ccc504476ecfb5d06bb7a28cd93ce92d3728f4be825c93567c8c2b61cb80c08d diff --git a/games-fps/quake1-teamfortress/metadata.xml b/games-fps/quake1-teamfortress/metadata.xml deleted file mode 100644 index 1c3ba213c494..000000000000 --- a/games-fps/quake1-teamfortress/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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/quake1-teamfortress/quake1-teamfortress-2.9-r1.ebuild b/games-fps/quake1-teamfortress/quake1-teamfortress-2.9-r1.ebuild deleted file mode 100644 index 92573dc42b6e..000000000000 --- a/games-fps/quake1-teamfortress/quake1-teamfortress-2.9-r1.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit edos2unix - -DESCRIPTION="The classic Team Fortress Quake World mod" -HOMEPAGE="http://www.planetfortress.com/teamfortress/" -SRC_URI="mirror://gentoo/tf28.zip - mirror://gentoo/tf29qw.zip" -S="${WORKDIR}" - -LICENSE="quake1-teamfortress" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -BDEPEND="app-arch/unzip" - -src_unpack() { - elog "Unpacking tf28.zip to ${PWD}" - unzip -qoL "${DISTDIR}"/tf28.zip || die "unpacking tf28.zip failed" - - cd fortress || die - elog "Unpacking tf29qw.zip to ${PWD}" - unzip -qoL "${DISTDIR}"/tf29qw.zip || die "unpacking tf29qw.zip failed" - - edos2unix $(find . -name '*.txt' -o -name '*.cfg' || die) - mv server.cfg server.example.cfg || die -} - -src_install() { - insinto /usr/share/quake1 - doins -r * -} diff --git a/games-fps/quake2-data/Manifest b/games-fps/quake2-data/Manifest deleted file mode 100644 index e3e38eee137b..000000000000 --- a/games-fps/quake2-data/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST q2-3.20-x86-full-ctf.exe 19267584 BLAKE2B a388035f1694f83ecb9fbbaf48668c190179cd62fd6b013c80dee02edf2a7eb02d5b26a382cc3e4e078fd39b95f04ca82ee74407b19ca2696cc226845b62ff14 SHA512 056a56f218f3fd7a3c5270665990bb347ce3e6f4aa8afa3b65a5d291d3b0cd149e3b58ed0cd136bd3edecb3c080f790f9dac68c63d19f095818720f0537b5bad diff --git a/games-fps/quake2-data/metadata.xml b/games-fps/quake2-data/metadata.xml deleted file mode 100644 index 1c3ba213c494..000000000000 --- a/games-fps/quake2-data/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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/quake2-data/quake2-data-3.20-r1.ebuild b/games-fps/quake2-data/quake2-data-3.20-r1.ebuild deleted file mode 100644 index 2aa94b7063e0..000000000000 --- a/games-fps/quake2-data/quake2-data-3.20-r1.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cdrom unpacker - -DESCRIPTION="iD Software's Quake 2 ... the data files" -HOMEPAGE="https://www.idsoftware.com/" -SRC_URI="mirror://idsoftware/quake2/q2-${PV}-x86-full-ctf.exe" -S="${WORKDIR}" - -LICENSE="Q2EULA" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="videos" -RESTRICT="bindist" - -RDEPEND="!games-fps/quake2-demodata[symlink]" -BDEPEND="app-arch/unzip" - -src_unpack() { - export CDROM_NAME_SET=("Existing Install" "Ultimate Quake Edition" "Quake2 CD" "Quake4 Bonus DVD") - cdrom_get_cds baseq2:Install/patch:Install:Movies - # The .exe is just a self-extracting .zip - unpack_zip ${A} -} - -src_install() { - dodoc DOCS/* 3.20_Changes.txt - newdoc ctf/readme.txt ctf-readme.txt - - case ${CDROM_SET} in - 0) { docinto html && dodoc -r "${CDROM_ROOT}"/Install/DOCS/quake2_manual/* ; } ;; - 1) { docinto html && dodoc -r "${CDROM_ROOT}"/Install/Docs/quake2_manual/* ; } ;; - 2) { docinto html && dodoc -r "${CDROM_ROOT}"/Install/DOCS/quake2_manual/* ; } ;; - 3) dodoc "${CDROM_ROOT}"/Docs/* ;; - esac - - local baseq2_cdpath - case ${CDROM_SET} in - 0) baseq2_cdpath=${CDROM_ROOT}/baseq2;; - 1) baseq2_cdpath=${CDROM_ROOT}/Install/Data/baseq2;; - 2) baseq2_cdpath=${CDROM_ROOT}/Install/Data/baseq2;; - 3) baseq2_cdpath=${CDROM_ROOT}/setup/Data/baseq2;; - esac - - dodir /usr/share/quake2/baseq2 - - if use videos ; then - insinto /usr/share/quake2/baseq2/video - doins "${baseq2_cdpath}"/video/* - fi - - insinto /usr/share/quake2/baseq2 - doins "${baseq2_cdpath}"/pak0.pak - doins baseq2/*.pak baseq2/maps.lst - - dodir /usr/share/quake2/baseq2/players - cp -R "${baseq2_cdpath}"/players/* baseq2/players/* \ - "${ED}"/usr/share/quake2/baseq2/players/ || die - - for mod in ctf rogue xatrix ; do - if [[ -d ${baseq2_cdpath}/../${mod} ]] ; then - if use videos && [[ -d ${baseq2_cdpath}/../${mod}/video ]] ; then - insinto /usr/share/quake2/${mod}/video - doins "${baseq2_cdpath}"/../${mod}/video/* 2>/dev/null - fi - if [[ -n $(ls "${baseq2_cdpath}"/../${mod}/*.pak 2>/dev/null) ]] ; then - insinto /usr/share/quake2/${mod} - doins "${baseq2_cdpath}"/../${mod}/*.pak - fi - fi - done - - insinto /usr/share/quake2/ctf - doins ctf/*.{cfg,ico,pak} -} diff --git a/games-fps/quake2-demodata/Manifest b/games-fps/quake2-demodata/Manifest deleted file mode 100644 index fced54dd8f4a..000000000000 --- a/games-fps/quake2-demodata/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST q2-314-demo-x86.exe 39015499 BLAKE2B 1259d8e2481e5667a1a458e356593b026619a16d8dff32b664143121481f61b5e29129aac6b1aee0c0f0f12eee0f254965355f265c6c66d0ba3acab6e1b5983d SHA512 9aa5123807a64a6e3e3b113b582efd353f176f093fd0aae6bd01d9cff397374c06948a7147f59748b3aa6f4251769e409fae838157edb66429c9d41381b3df86 diff --git a/games-fps/quake2-demodata/metadata.xml b/games-fps/quake2-demodata/metadata.xml deleted file mode 100644 index 1c3ba213c494..000000000000 --- a/games-fps/quake2-demodata/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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/quake2-demodata/quake2-demodata-3.14-r1.ebuild b/games-fps/quake2-demodata/quake2-demodata-3.14-r1.ebuild deleted file mode 100644 index fc2d0953a824..000000000000 --- a/games-fps/quake2-demodata/quake2-demodata-3.14-r1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit unpacker - -#MY_PV=$(delete_all_version_separators) -MY_PV=$(ver_rs 1- '') -MY_PN="quake2" -FILE="q2-${MY_PV}-demo-x86.exe" - -DESCRIPTION="Demo data for Quake 2" -HOMEPAGE="https://en.wikipedia.org/wiki/Quake_II" -SRC_URI="mirror://idsoftware/${MY_PN}/${FILE}" -S="${WORKDIR}" - -# See license.txt - it's a bit different to Q2EULA in Portage -LICENSE="quake2-demodata" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="symlink" - -RDEPEND="!games-fps/quake2-data" # games-fps/quake2-data already includes the demo data -BDEPEND="app-arch/unzip" - -dir=usr/share/${MY_PN} - -src_unpack() { - unpack_zip ${A} -} - -src_install() { - insinto ${dir}/demo - doins -r Install/Data/baseq2/{pak0.pak,players} - - dodoc Install/Data/DOCS/*.txt - - if use symlink ; then - # Make the demo the default, so that people can just run it, - # without having to mess with command-line options. - cd "${ED}"/${dir} || die - ln -sfn demo baseq2 || die - fi -} - -pkg_postinst() { - elog "This is just the demo data. To play, install a client" - elog "such as games-fps/qudos" - echo - - if use symlink ; then - elog "baseq2 has been symlinked to demo, for convenience, within:" - elog "${dir}" - echo - fi -} diff --git a/games-fps/quake2-icculus/Manifest b/games-fps/quake2-icculus/Manifest deleted file mode 100644 index 211ad8f10833..000000000000 --- a/games-fps/quake2-icculus/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST maxpak.pak 3282742 BLAKE2B 3ad4dd5aade5747b100a24499bae0f0d7fd5cc610e4671c1eafb3fc9fe50cbb955bb1d0d0cbaa19b08be7c07499c6a488200f1d811fb2fbe98e190dd58b324b8 SHA512 49eef504190323add8bbe6fd007ee51a17dc843898a2199a44a0b214a14da90202070f9eb025503c58b64d6306832bdb6c0d04efe927ea651eb83b0517a59782 -DIST quake2-r0.16.1.tar.gz 1525384 BLAKE2B b95db08ed3799d2788a20d24f63ea3a84d7ff4b581ee5f01dc5d588a1d5af50d52586a04ca28d9942e953d028e140112737432e499edcebf999085a29c63fcfb SHA512 63e8fa10446698b1f1cbd20b4bbfeec75d7620cb6454bb90b853cd2a3d6cd9040041a164666a5e015c3a8289423127f9164b500f57793505f6e4671dec932cf2 -DIST roguesrc320.shar.Z 626769 BLAKE2B f6d79630ee41e834ad07907f886766fdc9fd99152c2a1964629d2c74de259b9a232f691e5e3c4ad26ff3239d127f06d20878422dd7c1b896591db7c732a41ef7 SHA512 330db4966b758b8e363eb8d699b30ce5ec7d9fa581936288e7267000d0815996388adebc0206a8903734cdc1c5658616b15518a2bf888ad9e6059f8155960141 -DIST xatrixsrc320.shar.Z 455917 BLAKE2B 646801fad3c7eaac4957a971f507b13fff0ea6ae0423cb7fe8e8276666c4f89165384e2e2148e828b692533f9f582b64db849efe8d858e51026b9fb847282101 SHA512 6723440d3cfdaf7f9b260d5777d9823937a4c3ee800c8c204e8a5c3d29f2b37f6bdc7c0786025a19d040b5692aa54b99b9db2dc121bc0ca2b53c8763b4ab4dfa diff --git a/games-fps/quake2-icculus/files/0.16-rogue-armor.patch b/games-fps/quake2-icculus/files/0.16-rogue-armor.patch deleted file mode 100644 index bed337e4ce31..000000000000 --- a/games-fps/quake2-icculus/files/0.16-rogue-armor.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/rogue/g_local.h -+++ b/rogue/g_local.h -@@ -545,9 +545,6 @@ - extern int sm_meat_index; - extern int snd_fry; - --extern int jacket_armor_index; --extern int combat_armor_index; --extern int body_armor_index; - - - // means of death diff --git a/games-fps/quake2-icculus/files/0.16-rogue-nan.patch b/games-fps/quake2-icculus/files/0.16-rogue-nan.patch deleted file mode 100644 index 318d514b944c..000000000000 --- a/games-fps/quake2-icculus/files/0.16-rogue-nan.patch +++ /dev/null @@ -1,55 +0,0 @@ -From db3c20829db69b3e7451a167f9f639a89d41491a Mon Sep 17 00:00:00 2001 -From: Eli Schwartz <eschwartz93@gmail.com> -Date: Sun, 12 May 2024 14:31:52 -0400 -Subject: [PATCH] remove bogus nan.h header - -In theory somehow maybe possibly sort of, glibc has bits/nan.h, and in -gentoo-historical-2.git: - -commit e5551898509b2b7802941b16bb580ef7cf34b488 -Author: Mike Frysinger <vapier@gentoo.org> -AuthorDate: Sat Dec 27 14:45:18 2003 -Commit: Mike Frysinger <vapier@gentoo.org> -CommitDate: Sat Dec 27 14:45:18 2003 - - add rogue/xatrix game support #33029 - -a patch was added to switch it to including that header instead. -Helpfully, bits/nan.h has this to say: - -#ifndef _MATH_H -#error "Never use <bits/nan.h> directly; include <math.h> instead." -#endif - -... or at least it does, on versions of glibc that installed such a -header. In 2.27 the header file was removed entirely. - -Now, "fortunately", g_local.h had already included math.h, which meant -the best efforts of glibc developers to demonstrate this is an error -were evaded; no error was emitted. Unfortunately, glibc 2.27 is long in -the past and this code no longer builds, times 2 because now we patched -it to be extra silly. - -Fix it properly this time. - -Bug: https://bugs.gentoo.org/33029 -Bug: https://bugs.gentoo.org/738832 ---- - src/rogue/g_local.h | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/rogue/g_local.h b/src/rogue/g_local.h -index 6ecbe2d..6746240 100644 ---- a/rogue/g_local.h -+++ b/rogue/g_local.h -@@ -22,7 +22,6 @@ - //================================================================== - - #ifndef _WIN32 --#include <nan.h> - #define min(a,b) ((a) < (b) ? (a) : (b)) - #define max(a,b) ((a) > (b) ? (a) : (b)) - #ifdef __sun__ --- -2.43.2 - diff --git a/games-fps/quake2-icculus/files/README-postinstall b/games-fps/quake2-icculus/files/README-postinstall deleted file mode 100644 index 3e2245f3bb0a..000000000000 --- a/games-fps/quake2-icculus/files/README-postinstall +++ /dev/null @@ -1,79 +0,0 @@ -This was taken from the README file in the source distribution -and cleaned up a bit. Read all of this, or at least skim it. Please? - -Note: -1. If you install a new compile of quake2, you'll lose your savegames. I'm -sorry. Don't upgrade in the middle of a single-player game. - -=============================================================================== - -To emerge the Quake2 data: --------------------------- -1. emerge quake2-data - -That was easy huh ? :) Note: this requires the Quake2 CD and/or the data files -from an installed copy of the game (like for windows). - -=============================================================================== - -To install the Quake2 demo data: --------------------------------- -1. download ftp://ftp.idsoftware.com/idstuff/quake2/q2-314-demo-x86.exe -2. unzip -L q2-314-demo-x86.exe into a temp directory -3. cp baseq2/pak0.pak to /usr/share/games/quake2-data/baseq2/pak0.pak - -=============================================================================== - -To install the Quake2 gamedata from game CD: --------------------------------------------- -(assuming the cdrom is mounted at /cdrom) - -1. cp /cdrom/Install/Data/baseq2/pak0.pak /usr/share/games/quake2-data/baseq2/ - -2. cp /cdrom/Install/Data/baseq2/video/ /usr/share/games/quake2-data/baseq2/ - (optional) - -3. Download ftp://ftp.idsoftware.com/idstuff/quake2/q2-3.20-x86-full.exe - and extract the contents to a temporary directory (use unzip -L, as this - is a standard zip file). - -4. cp <temp directory>/baseq2/pak1.pak /usr/share/games/quake2-data/baseq2/ -5. cp <temp directory>/baseq2/pak2.pak /usr/share/games/quake2-data/baseq2/ -6. cp <temp directory>/baseq2/players/ /usr/share/games/quake2-data/baseq2/ - -7. if you really want to use the crakhor model, you can find the - skins/sounds on websites like http://www.mike-d.com/games/modskins.html - (optional) - -=============================================================================== - -Capture The Flag: ------------ -To run Capture The Flag, you need to do the following: - -1. Download ftp://ftp.idsoftware.com/idstuff/quake2/q2-3.20-x86-full-ctf.exe -2. unzip that file (using unzip -L) into a temp directory -3. cp <temp directory>/ctf /usr/share/games/quake2-data/ - -Execute quake2 with: - -quake2 +set game ctf +set dedicated 1 - -- or -- -q2ded +set game ctf -=============================================================================== - -Joystick Support: ------------------ -Joystick should function on all compatible SDL platforms using the sdlquake2 -binary as well as on linux using the linux kernel joystick API. - -Joystick obeys the same free-look/strafe rules as mouse. You can set these in -the options menu. - -There are four command line settings for joystick: -1. j_invert_y [1],0 if set to zero pulling back on the joystick points down -2. j_lr_axis [0] set the axis which controls left right movement -3. j_ud_axis [1] set the axis which controls up down (in free-look) or - forward back (freelock off) -4. j_throttle [3] set the axis which controls the players forward backward - throttle (if free-look is true) diff --git a/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-alsa.patch b/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-alsa.patch deleted file mode 100644 index a27fc035cd4c..000000000000 --- a/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-alsa.patch +++ /dev/null @@ -1,172 +0,0 @@ ---- a/src/linux/snd_alsa.c -+++ b/src/linux/snd_alsa.c -@@ -22,13 +22,22 @@ - $Id: quake2-icculus-0.16.1-alsa.patch,v 1.2 2015/03/27 06:40:34 mr_bones_ Exp $ - */ - --#define BUFFER_SIZE 4096 -+// quake2-r0.16.1/src/linux/snd_alsa.c 2010-08-29 09:58:50 -+// Alsa Redux Patch -+#define BUFFER_SIZE 16384 - - #include <alsa/asoundlib.h> - - #include "../client/client.h" - #include "../client/snd_loc.h" - -+#define AFSize 4 -+static int snd_inited=0; -+static snd_pcm_t *playback_handle; -+static int AlsaFrames; -+static int AlsaPos; -+ -+/* - #define snd_buf BUFFER_SIZE - - static int snd_inited; -@@ -43,17 +52,58 @@ - cvar_t *snddevice; - - static int tryrates[] = { 44100, 22051, 11025, 8000 }; -- -+*/ - qboolean SNDDMA_Init (void) - { -- int i; -- int err; -- int buffersize; -- int framesize; -- int format; -+ int confirm; -+ int latency; -+ Com_Printf("Setting up ALSA driver .....\n"); - - if (snd_inited) { return 1; } -- -+ int s_khz=(Cvar_Get("s_khz", "22", CVAR_ARCHIVE))->value; -+ if (s_khz <22 ){ -+ Com_Printf("Low Performance 11KHz.\n"); -+ Cvar_Set("s_mixahead","0.2"); -+ dma.speed=11025; -+ AlsaFrames=2048; -+ latency=200000; -+ }else{ -+ Com_Printf("High Quality 48KHz.\n"); -+ Cvar_Set("s_mixahead","0.1"); -+ dma.speed=48000; -+ AlsaFrames=4800; -+ latency=110000;} -+ -+ dma.channels = 2; -+ dma.samplebits = 16; -+ AlsaPos = 0; -+ playback_handle = NULL; -+ confirm = -+snd_pcm_open(&playback_handle,"default",SND_PCM_STREAM_PLAYBACK,SND_PCM_NONBLOCK); -+ if (confirm < 0) { -+ Com_Printf("ALSA sound error: cannot open device \n"); -+ return 0;} -+ confirm = snd_pcm_set_params(playback_handle, -+ SND_PCM_FORMAT_S16_LE, -+ SND_PCM_ACCESS_RW_INTERLEAVED, -+ dma.channels, -+ dma.speed, -+ 1,//soft resample -+ latency); -+ if (confirm < 0){ -+ Com_Printf("Alsa error: %s\n", snd_strerror(confirm)); -+ return 0;} -+ confirm = snd_pcm_prepare(playback_handle); -+ if (confirm < 0) { -+ Com_Printf("...failed.\n"); -+ return 0;} -+ -+ int rambuffer = (BUFFER_SIZE+AlsaFrames)*AFSize; -+ dma.buffer=malloc(rambuffer); -+ dma.samplepos = 0; -+ dma.samples = BUFFER_SIZE*dma.channels; -+ dma.submission_chunk = 16; -+ /* - sndbits = Cvar_Get("sndbits", "16", CVAR_ARCHIVE); - sndspeed = Cvar_Get("sndspeed", "0", CVAR_ARCHIVE); - sndchannels = Cvar_Get("sndchannels", "2", CVAR_ARCHIVE); -@@ -159,7 +209,6 @@ - return 0; - } - -- /* - buffer_size = snd_pcm_hw_params_get_buffer_size(hw_params); - frame_size = (snd_pcm_format_physical_width(format)*dma.channels)/8; - -@@ -172,7 +221,6 @@ - } - - snd_buf = buffer_size*frame_size; -- */ - - //snd_buf = BUFFER_SIZE; - -@@ -183,7 +231,7 @@ - dma.samples = snd_buf / (dma.samplebits/8); - dma.submission_chunk = 1; - dma.buffer = (char *)buffer; -- -+ */ - snd_inited = 1; - return 1; - } -@@ -191,11 +239,25 @@ - int - SNDDMA_GetDMAPos (void) - { -- if(snd_inited) -- return dma.samplepos; -- else -- Com_Printf ("Sound not inizialized\n"); -- return 0; -+ int timerpos; -+ int send; -+ int taken; -+ timerpos = snd_pcm_avail(playback_handle); -+ if (timerpos<0){// likely buffer underrun. -+ timerpos = snd_pcm_prepare(playback_handle); -+ timerpos=0;} -+ -+ send=AlsaFrames-timerpos; -+ if ( (send+AlsaPos)>BUFFER_SIZE ) -+ { memcpy (dma.buffer+BUFFER_SIZE*AFSize, -+ dma.buffer,AlsaFrames*AFSize);} -+ taken = snd_pcm_writei(playback_handle, dma.buffer+AlsaPos*AFSize, send); -+ if (taken<0) {taken=0;} -+ -+ AlsaPos+=taken; -+ if (BUFFER_SIZE<=AlsaPos){AlsaPos -= BUFFER_SIZE;} -+ return AlsaPos*dma.channels; -+ - } - - void -@@ -205,8 +267,8 @@ - snd_pcm_drop(playback_handle); - snd_pcm_close(playback_handle); - snd_inited = 0; -+ free(dma.buffer); - } -- free(dma.buffer); - dma.buffer = NULL; - } - -@@ -217,13 +279,6 @@ - void - SNDDMA_Submit (void) - { -- int written; -- -- if ((written = snd_pcm_writei(playback_handle, dma.buffer, snd_buf)) < 0) { -- snd_pcm_prepare(playback_handle); -- Com_Printf("alsa: buffer underrun\n"); -- } -- dma.samplepos += written/(dma.samplebits/8); - } - - diff --git a/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-amd64.patch b/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-amd64.patch deleted file mode 100644 index 30966c813d7c..000000000000 --- a/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-amd64.patch +++ /dev/null @@ -1,18 +0,0 @@ -The default video renderers (softx / soft) currently do not work -on amd64. So for now we add a little hack which will select the -glx renderer by default. - -http://bugs.gentoo.org/show_bug.cgi?id=86552 - ---- a/src/linux/vid_so.c -+++ b/src/linux/vid_so.c -@@ -435,6 +440,9 @@ VID_Init - */ - void VID_Init (void) - { -+#if defined __x86_64__ -+ vid_ref = Cvar_Get ("vid_ref", "glx", CVAR_ARCHIVE); -+#endif - /* Create the video variables so we know how to start the graphics drivers */ - // if DISPLAY is defined, try X - if (getenv("DISPLAY")) diff --git a/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-fno-common.patch b/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-fno-common.patch deleted file mode 100644 index 8392ec63b784..000000000000 --- a/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-fno-common.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/src/client/client.h -+++ b/src/client/client.h -@@ -49,7 +49,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - #ifdef QMAX - #define random() ((rand () & 0x7fff) / ((float)0x7fff)) - #define crandom() (2.0 * (random() - 0.5)) --vec3_t clientOrg; //lerped org of client for server->client side effects - - void vectoangles2 (vec3_t value1, vec3_t angles); - diff --git a/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-gcc41.patch b/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-gcc41.patch deleted file mode 100644 index 1ea4d41df80a..000000000000 --- a/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-gcc41.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/src/xatrix/g_local.h -+++ b/src/xatrix/g_local.h -@@ -446,11 +446,6 @@ - extern int sm_meat_index; - extern int snd_fry; - --extern int jacket_armor_index; --extern int combat_armor_index; --extern int body_armor_index; -- -- - // means of death - #define MOD_UNKNOWN 0 - #define MOD_BLASTER 1 diff --git a/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-gentoo-paths.patch b/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-gentoo-paths.patch deleted file mode 100644 index 4631d3ca92f4..000000000000 --- a/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-gentoo-paths.patch +++ /dev/null @@ -1,213 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -74,35 +74,46 @@ endif - - CC=gcc - -+ifndef OPT_CFLAGS - ifeq ($(ARCH),axp) --RELEASE_CFLAGS=$(BASE_CFLAGS) -ffast-math -funroll-loops \ -+OPT_CFLAGS=-ffast-math -funroll-loops \ - -fomit-frame-pointer -fexpensive-optimizations - endif - - ifeq ($(ARCH),ppc) --RELEASE_CFLAGS=$(BASE_CFLAGS) -O2 -ffast-math -funroll-loops \ -+OPT_CFLAGS=-O2 -ffast-math -funroll-loops \ - -fomit-frame-pointer -fexpensive-optimizations - endif - - ifeq ($(ARCH),sparc) --RELEASE_CFLAGS=$(BASE_CFLAGS) -ffast-math -funroll-loops \ -+OPT_CFLAGS=-ffast-math -funroll-loops \ - -fomit-frame-pointer -fexpensive-optimizations - endif - - ifeq ($(ARCH),i386) --RELEASE_CFLAGS=$(BASE_CFLAGS) -O2 -ffast-math -funroll-loops -falign-loops=2 \ -+OPT_CFLAGS=-O2 -ffast-math -funroll-loops -falign-loops=2 \ - -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing - # compiler bugs with gcc 2.96 and 3.0.1 can cause bad builds with heavy opts. --#RELEASE_CFLAGS=$(BASE_CFLAGS) -O6 -m486 -ffast-math -funroll-loops \ -+#OPT_CFLAGS=-O6 -m486 -ffast-math -funroll-loops \ - # -fomit-frame-pointer -fexpensive-optimizations -malign-loops=2 \ - # -malign-jumps=2 -malign-functions=2 - endif - - ifeq ($(ARCH),x86_64) - _LIB := 64 --RELEASE_CFLAGS=$(BASE_CFLAGS) -O2 -ffast-math -funroll-loops \ -+OPT_CFLAGS=-O2 -ffast-math -funroll-loops \ - -fomit-frame-pointer -fexpensive-optimizations -fno-strict-aliasing - endif -+endif -+RELEASE_CFLAGS=$(BASE_CFLAGS) $(OPT_CFLAGS) -+ -+ifeq ($(ADDCFLAGS),debug) -+CFLAGS=$(DEBUG_CFLAGS) -DLINUX_VERSION=\"$(VERSION) Debug\" -+endif -+ -+ifeq ($(ADDCFLAGS),release) -+CFLAGS=$(RELEASE_CFLAGS) -DLINUX_VERSION=\"$(VERSION)\" -+endif - - VERSION=3.21+r0.16 - -@@ -133,6 +136,13 @@ else - NET_UDP=net_udp - endif - -+ifdef DEFAULT_BASEDIR -+BASE_CFLAGS += -DDEFAULT_BASEDIR=\"$(DEFAULT_BASEDIR)\" -+endif -+ifdef DEFAULT_LIBDIR -+BASE_CFLAGS += -DDEFAULT_LIBDIR=\"$(DEFAULT_LIBDIR)\" -+endif -+ - ifeq ($(strip $(BUILD_QMAX)),YES) - BASE_CFLAGS+=-DQMAX - endif -@@ -406,7 +424,7 @@ - $(BUILD_DEBUG_DIR)/ctf \ - $(BUILD_DEBUG_DIR)/xatrix \ - $(BUILD_DEBUG_DIR)/rogue -- $(MAKE) targets BUILDDIR=$(BUILD_DEBUG_DIR) CFLAGS="$(DEBUG_CFLAGS) -DLINUX_VERSION='\"$(VERSION) Debug\"'" -+ $(MAKE) targets BUILDDIR=$(BUILD_DEBUG_DIR) ADDCFLAGS=debug - - build_release: - @-mkdir -p $(BUILD_RELEASE_DIR) \ -@@ -418,7 +436,7 @@ - $(BUILD_RELEASE_DIR)/ctf \ - $(BUILD_RELEASE_DIR)/xatrix \ - $(BUILD_RELEASE_DIR)/rogue -- $(MAKE) targets BUILDDIR=$(BUILD_RELEASE_DIR) CFLAGS="$(RELEASE_CFLAGS) -DLINUX_VERSION='\"$(VERSION)\"'" -+ $(MAKE) targets BUILDDIR=$(BUILD_RELEASE_DIR) ADDCFLAGS=release - - targets: $(TARGETS) - ---- a/src/linux/qgl_linux.c -+++ b/src/linux/qgl_linux.c -@@ -3006,13 +3006,17 @@ qboolean QGL_Init( const char *dllname ) - // dllname, dlerror()); - - // try basedir next -- path = ri.Cvar_Get ("basedir", ".", CVAR_NOSET)->string; -+ path = ri.Cvar_Get ("basedir", DEFAULT_BASEDIR, CVAR_NOSET)->string; - - snprintf (fn, MAX_OSPATH, "%s/%s", path, dllname ); - - if ( ( glw_state.OpenGLLib = dlopen( fn, RTLD_LAZY ) ) == 0 ) { -- ri.Con_Printf( PRINT_ALL, "%s\n", dlerror() ); -- return false; -+ path = ri.Cvar_Get ("libdir", DEFAULT_LIBDIR, CVAR_NOSET)->string; -+ snprintf (fn, MAX_OSPATH, "%s/%s", path, dllname ); -+ if ( ( glw_state.OpenGLLib = dlopen( fn, RTLD_LAZY ) ) == 0 ) { -+ ri.Con_Printf( PRINT_ALL, "%s\n", dlerror() ); -+ return false; -+ } - } - Com_Printf ("Using %s for OpenGL...", fn); - } else { ---- a/src/linux/vid_so.c -+++ b/src/linux/vid_so.c -@@ -237,13 +237,17 @@ qboolean VID_LoadRefresh( char *name ) - //regain root - seteuid(saved_euid); - -- path = Cvar_Get ("basedir", ".", CVAR_NOSET)->string; -+ path = Cvar_Get ("basedir", DEFAULT_BASEDIR, CVAR_NOSET)->string; - - snprintf (fn, MAX_OSPATH, "%s/%s", path, name ); - - if (stat(fn, &st) == -1) { -- Com_Printf( "LoadLibrary(\"%s\") failed: %s\n", name, strerror(errno)); -- return false; -+ path = Cvar_Get ("libdir", DEFAULT_LIBDIR, CVAR_NOSET)->string; -+ snprintf (fn, MAX_OSPATH, "%s/%s", path, name ); -+ if (stat(fn, &st) == -1) { -+ Com_Printf( "LoadLibrary(\"%s\") failed: %s\n", name, strerror(errno)); -+ return false; -+ } - } - - // permission checking -@@ -493,13 +497,19 @@ qboolean VID_CheckRefExists (const char - char *path; - struct stat st; - -- path = Cvar_Get ("basedir", ".", CVAR_NOSET)->string; -+ path = Cvar_Get ("libdir", DEFAULT_LIBDIR, CVAR_NOSET)->string; - snprintf (fn, MAX_OSPATH, "%s/ref_%s.so", path, ref ); - - if (stat(fn, &st) == 0) - return true; -- else -- return false; -+ else { -+ path = Cvar_Get ("basedir", DEFAULT_BASEDIR, CVAR_NOSET)->string; -+ snprintf (fn, MAX_OSPATH, "%s/ref_%s.so", path, ref ); -+ if (stat(fn, &st) == 0) -+ return true; -+ else -+ return false; -+ } - } - - /*****************************************************************************/ ---- a/src/qcommon/files.c -+++ b/src/qcommon/files.c -@@ -60,6 +60,7 @@ typedef struct pack_s - - char fs_gamedir[MAX_OSPATH]; - cvar_t *fs_basedir; -+cvar_t *fs_libdir; - cvar_t *fs_cddir; - cvar_t *fs_gamedirvar; - -@@ -681,6 +682,7 @@ void FS_SetGamedir (char *dir) - if (fs_cddir->string[0]) - FS_AddGameDirectory (va("%s/%s", fs_cddir->string, dir) ); - FS_AddGameDirectory (va("%s/%s", fs_basedir->string, dir) ); -+ FS_AddGameDirectory (va("%s/%s", fs_libdir->string, dir) ); - FS_AddHomeAsGameDirectory(dir); - } - } -@@ -898,7 +900,13 @@ void FS_InitFilesystem (void) - // basedir <path> - // allows the game to run from outside the data tree - // -- fs_basedir = Cvar_Get ("basedir", ".", CVAR_NOSET); -+ fs_basedir = Cvar_Get ("basedir", DEFAULT_BASEDIR, CVAR_NOSET); -+ -+ // -+ // libdir <path> -+ // allows the game to store binary files (not data) in a sep tree -+ // -+ fs_libdir = Cvar_Get ("libdir", DEFAULT_LIBDIR, CVAR_NOSET); - - // - // cddir <path> -@@ -913,6 +921,7 @@ void FS_InitFilesystem (void) - // add baseq2 to search path - // - FS_AddGameDirectory (va("%s/"BASEDIRNAME, fs_basedir->string) ); -+ FS_AddGameDirectory (va("%s/"BASEDIRNAME, fs_libdir->string) ); - - // - // then add a '.quake2/baseq2' directory in home directory by default ---- a/src/qcommon/qcommon.h -+++ b/src/qcommon/qcommon.h -@@ -74,6 +74,13 @@ Foundation, Inc., 59 Temple Place - Suit - - #endif - -+#ifndef DEFAULT_BASEDIR -+# define DEFAULT_BASEDIR "." -+#endif -+#ifndef DEFAULT_LIBDIR -+# define DEFAULT_LIBDIR DEFAULT_BASEDIR -+#endif -+ - //============================================================================ - - typedef struct sizebuf_s diff --git a/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-gnusource.patch b/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-gnusource.patch deleted file mode 100644 index 42041978509f..000000000000 --- a/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-gnusource.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/src/linux/q_shlinux.c -+++ b/src/linux/q_shlinux.c -@@ -17,6 +17,9 @@ - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - */ -+#if !defined(_GNU_SOURCE) -+ #define _GNU_SOURCE -+#endif - #include <sys/types.h> - #include <sys/stat.h> - #include <errno.h> diff --git a/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-ia64.patch b/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-ia64.patch deleted file mode 100644 index fe61bf501658..000000000000 --- a/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-ia64.patch +++ /dev/null @@ -1,97 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -54,24 +54,26 @@ endif - - - # this nice line comes from the linux kernel makefile - ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc/ -e s/sparc64/sparc/ -e s/arm.*/arm/ -e s/sa110/arm/ -e s/alpha/axp/) - - ifneq ($(ARCH),x86_64) - ifneq ($(ARCH),i386) - ifneq ($(ARCH),axp) -+ifneq ($(ARCH),ia64) - ifneq ($(ARCH),ppc) - ifneq ($(ARCH),sparc) - $(error arch $(ARCH) is currently not supported) - endif - endif - endif - endif - endif -+endif - - CC=gcc - - ifndef OPT_CFLAGS - ifeq ($(ARCH),axp) - OPT_CFLAGS=-ffast-math -funroll-loops \ - -fomit-frame-pointer -fexpensive-optimizations - endif -@@ -283,16 +285,46 @@ ifeq ($(ARCH),axp) - $(warning Warning: SDL support not supported for $(ARCH)) - endif - - ifeq ($(strip $(BUILD_SDLGL)),YES) - $(warning Warning: SDLGL support not supported for $(ARCH)) - endif - endif # ARCH axp - -+ifeq ($(ARCH),ia64) -+ ifeq ($(strip $(BUILD_SDLQUAKE2)),YES) -+ TARGETS += $(BUILDDIR)/sdlquake2 -+ endif -+ -+ ifeq ($(strip $(BUILD_SVGA)),YES) -+ TARGETS += $(BUILDDIR)/ref_soft.$(SHLIBEXT) -+ endif -+ -+ ifeq ($(strip $(BUILD_X11)),YES) -+ TARGETS += $(BUILDDIR)/ref_softx.$(SHLIBEXT) -+ endif -+ -+ ifeq ($(strip $(BUILD_GLX)),YES) -+ TARGETS += $(BUILDDIR)/ref_glx.$(SHLIBEXT) -+ endif -+ -+ ifeq ($(strip $(BUILD_FXGL)),YES) -+ TARGETS += $(BUILDDIR)/ref_gl.$(SHLIBEXT) -+ endif -+ -+ ifeq ($(strip $(BUILD_SDL)),YES) -+ TARGETS += $(BUILDDIR)/ref_softsdl.$(SHLIBEXT) -+ endif -+ -+ ifeq ($(strip $(BUILD_SDLGL)),YES) -+ TARGETS += $(BUILDDIR)/ref_sdlgl.$(SHLIBEXT) -+ endif -+endif # ARCH ia64 -+ - ifeq ($(ARCH),ppc) - ifeq ($(strip $(BUILD_SDLQUAKE2)),YES) - TARGETS += $(BUILDDIR)/sdlquake2 - endif - - ifeq ($(strip $(BUILD_SVGA)),YES) - $(warning Warning: SVGAlib support not supported for $(ARCH)) - endif ---- a/src/linux/sys_linux.c -+++ b/src/linux/sys_linux.c -@@ -216,16 +216,18 @@ void *Sys_GetGameAPI (void *parms) - char *path; - char *str_p; - #if defined __i386__ - const char *gamename = "gamei386.so"; - #elif defined __x86_64__ - const char *gamename = "gamex86_64.so"; - #elif defined __alpha__ - const char *gamename = "gameaxp.so"; -+#elif defined __ia64__ -+ const char *gamename = "gameia64.so"; - #elif defined __powerpc__ - const char *gamename = "gameppc.so"; - #elif defined __sparc__ - const char *gamename = "gamesparc.so"; - #else - #error Unknown arch - #endif - diff --git a/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-ldflags.patch b/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-ldflags.patch deleted file mode 100644 index 765c146dd4ec..000000000000 --- a/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-ldflags.patch +++ /dev/null @@ -1,56 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -169,18 +169,18 @@ - DEBUG_CFLAGS=$(BASE_CFLAGS) -g - - ifeq ($(OSTYPE),FreeBSD) --LDFLAGS=-lm -+LDLIBS=-lm - endif - ifeq ($(OSTYPE),Linux) --LDFLAGS=-lm -ldl -+LDLIBS=-lm -ldl - endif - - ifeq ($(strip $(BUILD_ARTS)),YES) --LDFLAGS+=$(shell artsc-config --libs) -+LDLIBS+=$(shell artsc-config --libs) - endif - - ifeq ($(strip $(BUILD_ALSA)),YES) --LDFLAGS+=-lasound -+LDLIBS+=-lasound - endif - - -@@ -226,7 +226,7 @@ - SHLIBEXT=so - - SHLIBCFLAGS=-fPIC --SHLIBLDFLAGS=-shared -+SHLIBLDFLAGS=$(LDFLAGS) -shared - - DO_CC=$(CC) $(CFLAGS) -o $@ -c $< - DO_DED_CC=$(CC) $(CFLAGS) -DDEDICATED_ONLY -o $@ -c $< -@@ -518,10 +518,10 @@ - endif - - $(BUILDDIR)/quake2 : $(QUAKE2_OBJS) $(QUAKE2_LNX_OBJS) $(QUAKE2_AS_OBJS) -- $(CC) $(CFLAGS) -o $@ $(QUAKE2_OBJS) $(QUAKE2_LNX_OBJS) $(QUAKE2_AS_OBJS) $(LDFLAGS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(QUAKE2_OBJS) $(QUAKE2_LNX_OBJS) $(QUAKE2_AS_OBJS) $(LDLIBS) - - $(BUILDDIR)/sdlquake2 : $(QUAKE2_OBJS) $(QUAKE2_SDL_OBJS) $(QUAKE2_AS_OBJS) -- $(CC) $(CFLAGS) -o $@ $(QUAKE2_OBJS) $(QUAKE2_SDL_OBJS) $(QUAKE2_AS_OBJS) $(LDFLAGS) $(SDLLDFLAGS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(QUAKE2_OBJS) $(QUAKE2_SDL_OBJS) $(QUAKE2_AS_OBJS) $(LDLIBS) $(SDLLDFLAGS) - - $(BUILDDIR)/client/cl_cin.o : $(CLIENT_DIR)/cl_cin.c - $(DO_CC) -@@ -710,7 +710,7 @@ - $(BUILDDIR)/ded/cd_null.o - - $(BUILDDIR)/q2ded : $(Q2DED_OBJS) -- $(CC) $(CFLAGS) -o $@ $(Q2DED_OBJS) $(LDFLAGS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(Q2DED_OBJS) $(LDLIBS) - - $(BUILDDIR)/ded/cmd.o : $(COMMON_DIR)/cmd.c - $(DO_DED_CC) diff --git a/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-no-asm-io.patch b/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-no-asm-io.patch deleted file mode 100644 index 0a1eecef2afa..000000000000 --- a/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-no-asm-io.patch +++ /dev/null @@ -1,25 +0,0 @@ -http://bugs.gentoo.org/193107 - -asm/io.h does not exist with sanitized kernel headers, nor do these source -files actually need the header, so punt it - ---- a/src/linux/rw_in_aa.c -+++ b/src/linux/rw_in_aa.c -@@ -46,7 +46,6 @@ - #include <sys/mman.h>
-
- #if defined (__linux__)
--#include <asm/io.h>
- #include <sys/vt.h>
- #endif
-
---- a/src/linux/rw_aa.c -+++ b/src/linux/rw_aa.c -@@ -63,7 +63,6 @@ - #include <dlfcn.h>
- #if defined (__linux__)
- #include <sys/vt.h>
--#include <asm/io.h>
- #endif
- #include <aalib.h>
-
diff --git a/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-x11_mouse.patch b/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-x11_mouse.patch deleted file mode 100644 index 5d2a85a68e9b..000000000000 --- a/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-x11_mouse.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/src/linux/rw_x11.c -+++ b/src/linux/rw_x11.c -@@ -989,8 +989,8 @@ - } - else - { -- mx -= ((int)event.xmotion.x + mwx)*2; -- my -= ((int)event.xmotion.y + mwy)*2; -+ mx += ((int)event.xmotion.x - mwx)*2; -+ my += ((int)event.xmotion.y - mwy)*2; - mwx = event.xmotion.x; - mwy = event.xmotion.y; - diff --git a/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-x11_soft.patch b/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-x11_soft.patch deleted file mode 100644 index cd0f2c807ae0..000000000000 --- a/games-fps/quake2-icculus/files/quake2-icculus-0.16.1-x11_soft.patch +++ /dev/null @@ -1,45 +0,0 @@ - -the x11 software renderer just needs some tweaks to get working - ---- a/Makefile -+++ b/Makefile -@@ -358,7 +358,7 @@ - endif - - ifeq ($(strip $(BUILD_X11)),YES) -- $(warning Warning: Software X Renderer not supported for $(ARCH)) -+ TARGETS += $(BUILDDIR)/ref_softx.$(SHLIBEXT) - endif - - ifeq ($(strip $(BUILD_GLX)),YES) ---- a/src/linux/rw_x11.c -+++ b/src/linux/rw_x11.c -@@ -53,7 +53,7 @@ - #include <X11/Xatom.h> - #include <X11/keysym.h> - #include <X11/extensions/XShm.h> --#include <X11/extensions/xf86dga.h> -+#include <X11/extensions/Xxf86dga.h> - #ifdef OPENGL - #include <X11/extensions/xf86vmode.h> - #endif -@@ -151,7 +151,7 @@ - int config_notify_height; - - typedef unsigned short PIXEL16; --typedef unsigned long PIXEL24; -+typedef unsigned int PIXEL24; - #ifdef REDBLUE - static PIXEL16 st2d_8to16table_s[2][256]; - static PIXEL24 st2d_8to24table_s[2][256]; ---- a/src/ref_soft/r_poly.c -+++ b/src/ref_soft/r_poly.c -@@ -994,7 +994,7 @@ - scale = yscale * pout->zi; - pout->v = (ycenter - scale * transformed[1]); - -- pv += sizeof (vec5_t) / sizeof (pv); -+ pv += sizeof (vec5_t) / sizeof (float); - } - - // draw it diff --git a/games-fps/quake2-icculus/files/quake2.xpm b/games-fps/quake2-icculus/files/quake2.xpm deleted file mode 100644 index bbbcbb8f064f..000000000000 --- a/games-fps/quake2-icculus/files/quake2.xpm +++ /dev/null @@ -1,37 +0,0 @@ -/* XPM */ -static char * quake2_xpm[] = { -"32 32 2 1", -" c None", -". c #000000", -" ", -" .. .. ", -" .. .. ", -" .. .. ", -" .. .. ", -" .. .. ", -" .. .. ", -" .. .. ", -" .. .. ", -" .. .. ", -" .. .. ", -" .. .. ", -" .. .. ", -" .. .. ", -" ... ... ", -" ... ........ ... ", -" ... ...... ... ", -" .... .. .. .... ", -" .... .. .. .... ", -" ........ ........ ", -" ................ ", -" .............. ", -" .......... ", -" ...... ", -" .. .. ", -" .. .. ", -" .. .. ", -" .. .. ", -" .. .. ", -" .. .. ", -" .. .. ", -" .. .. "}; diff --git a/games-fps/quake2-icculus/metadata.xml b/games-fps/quake2-icculus/metadata.xml deleted file mode 100644 index 2a6294aa8c7b..000000000000 --- a/games-fps/quake2-icculus/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <use> - <flag name="demo">Install the demo files (quake2-demodata) and configure for use</flag> - <flag name="qmax">Build the pretty version (quake max)</flag> - <flag name="rogue">Build support for the 'Ground Zero' Mission Pack (rogue)</flag> - <flag name="xatrix">Build support for the 'The Reckoning' Mission Pack (xatrix)</flag> - </use> -</pkgmetadata> diff --git a/games-fps/quake2-icculus/quake2-icculus-0.16.1-r3.ebuild b/games-fps/quake2-icculus/quake2-icculus-0.16.1-r3.ebuild deleted file mode 100644 index c51bb899c34f..000000000000 --- a/games-fps/quake2-icculus/quake2-icculus-0.16.1-r3.ebuild +++ /dev/null @@ -1,215 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop flag-o-matic toolchain-funcs - -MY_P="quake2-r${PV}" -DESCRIPTION="The icculus.org Linux port of iD's Quake 2 engine" -HOMEPAGE="https://icculus.org/quake2/" -SRC_URI="https://icculus.org/quake2/files/${MY_P}.tar.gz - qmax? ( https://icculus.org/quake2/files/maxpak.pak ) - rogue? ( mirror://idsoftware/quake2/source/roguesrc320.shar.Z ) - xatrix? ( mirror://idsoftware/quake2/source/xatrixsrc320.shar.Z )" -S="${WORKDIR}"/${MY_P} - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="aalib alsa cdinstall dedicated demo ipv6 joystick opengl qmax rogue sdl X xatrix" - -UIDEPEND="aalib? ( media-libs/aalib ) - alsa? ( media-libs/alsa-lib ) - opengl? ( virtual/opengl ) - sdl? ( media-libs/libsdl[sound,joystick?,video] ) - X? ( - x11-libs/libXxf86dga - x11-libs/libXxf86vm - )" -RDEPEND="${UIDEPEND} - cdinstall? ( games-fps/quake2-data ) - demo? ( games-fps/quake2-demodata )" -DEPEND="${UIDEPEND} - X? ( x11-base/xorg-proto ) - rogue? ( app-arch/sharutils ) - xatrix? ( app-arch/sharutils )" - -PATCHES=( - # -amd64.patch # make sure this is still needed in future versions - "${FILESDIR}"/${P}-amd64.patch - "${FILESDIR}"/${P}-gentoo-paths.patch - "${FILESDIR}"/${P}-ldflags.patch - "${FILESDIR}"/${P}-no-asm-io.patch - "${FILESDIR}"/${P}-gnusource.patch - "${FILESDIR}"/${P}-x11_soft.patch - "${FILESDIR}"/${P}-x11_mouse.patch - "${FILESDIR}"/${P}-alsa.patch - "${FILESDIR}"/${P}-ia64.patch - "${FILESDIR}"/${P}-fno-common.patch -) - -pkg_setup() { - if ! use qmax && $( use opengl || use sdl ) ; then - elog "The 'qmax' graphical improvements are recommended." - echo - fi -} - -src_prepare() { - # Now we deal with the silly rogue / xatrix addons ... this is ugly :/ - ln -s $(type -P echo) "${T}"/more || die - - for g in rogue xatrix ; do - use ${g} || continue - mkdir -p src/${g} || die - - pushd src/${g} || die - - local shar=../../../${g}src320.shar - sed -i -e 's:^read ans:ans=yes :' ${shar} || die - elog "Unpacking ${shar} to ${PWD}" - env PATH="${T}:${PATH}" unshar ${shar} || die - - popd || die - done - - sed -i -e 's:jpeg_mem_src:_&:' src/ref_candygl/gl_image.c || die - sed -i -e 's:BUILD_SOFTX:BUILD_X11:' Makefile || die - - default - - if use xatrix ; then - eapply "${FILESDIR}/${P}"-gcc41.patch - fi - if use rogue ; then - cd src || die - eapply \ - "${FILESDIR}"/0.16-rogue-nan.patch \ - "${FILESDIR}"/0.16-rogue-armor.patch - fi -} - -yesno() { - for f in "$@" ; do - if ! use $f ; then - echo NO - return 1 - fi - done - echo YES - return 0 -} - -src_compile() { - # -Werror=strict-aliasing, also -Werror=lto-type-mismatch - # https://bugs.gentoo.org/858752 - # - # Upstream last committed changes in 2006, and that was "Switch from CVS to SVN". - # Effectively no mailing list discussion since then (sporadic posts from users). - append-flags -fno-strict-aliasing - filter-lto - - # xatrix fails to build - # rogue fails to build - local libsuffix - for BUILD_QMAX in YES NO ; do - ! use qmax && [[ ${BUILD_QMAX} == "YES" ]] && continue - [[ ${BUILD_QMAX} == "YES" ]] \ - && libsuffix=-qmax \ - || libsuffix= - emake -j1 clean - emake -j1 build_release \ - BUILD_SDLQUAKE2=$(yesno sdl) \ - BUILD_SVGA=NO \ - BUILD_X11=$(yesno X) \ - BUILD_GLX=$(yesno opengl) \ - BUILD_SDL=$(yesno sdl) \ - BUILD_SDLGL=$(yesno sdl opengl) \ - BUILD_CTFDLL=YES \ - BUILD_XATRIX=$(yesno xatrix) \ - BUILD_ROGUE=$(yesno rogue) \ - BUILD_JOYSTICK=$(yesno joystick) \ - BUILD_DEDICATED=$(yesno dedicated) \ - BUILD_AA=$(yesno aalib) \ - BUILD_QMAX=${BUILD_QMAX} \ - HAVE_IPV6=$(yesno ipv6) \ - BUILD_ARTS=NO \ - BUILD_ALSA=$(yesno alsa) \ - SDLDIR=/usr/lib \ - DEFAULT_BASEDIR="/usr/share/quake2" \ - DEFAULT_LIBDIR="/usr/$(get_libdir)/${PN}${libsuffix}" \ - OPT_CFLAGS="${CFLAGS}" \ - CC="$(tc-getCC)" - - # now we save the build dir ... except for the object files ... - rm release*/*/*.o || die - mv release* my-rel-${BUILD_QMAX} || die - cd my-rel-${BUILD_QMAX} || die - rm -rf ref_{gl,soft} ded game client ctf/*.o || die - mkdir baseq2 || die - mv game*.so baseq2/ || die - cd .. || die - done -} - -src_install() { - local q2dir=/usr/$(get_libdir)/${PN} - local q2maxdir=/usr/$(get_libdir)/${PN}-qmax - - dodoc readme.txt README TODO "${FILESDIR}"/README-postinstall - - # regular q2 files - dodir "${q2dir}" - cp -rf my-rel-NO/* "${ED}/${q2dir}"/ || die - - dobin "${ED}/${q2dir}"/quake2 - rm "${ED}/${q2dir}"/quake2 || die - - use dedicated \ - && dobin "${ED}/${q2dir}"/q2ded \ - && rm "${ED}/${q2dir}"/q2ded - use sdl \ - && dobin "${ED}/${q2dir}"/sdlquake2 \ - && rm "${ED}/${q2dir}"/sdlquake2 - - doicon "${FILESDIR}"/quake2.xpm - make_desktop_entry quake2 "Quake 2" quake2 - - # q2max files - if use qmax ; then - dodir "${q2maxdir}" - - cp -rf my-rel-YES/* "${ED}/${q2maxdir}"/ || die - - newbin "${ED}/${q2maxdir}"/quake2 quake2-qmax - rm "${ED}/${q2maxdir}"/quake2 || die - - if use dedicated ; then - newbin "${ED}/${q2maxdir}"/q2ded q2ded-qmax - rm "${ED}/${q2maxdir}"/q2ded || die - fi - - if use sdl ; then - newbin "${ED}/${q2maxdir}"/sdlquake2 sdlquake2-qmax - rm "${ED}/${q2maxdir}"/sdlquake2 || die - fi - - insinto "${q2maxdir}"/baseq2 - doins "${DISTDIR}"/maxpak.pak - - make_desktop_entry quake2-qmax Quake2-qmax quake2 - fi -} - -pkg_postinst() { - elog "Go read README-postinstall in /usr/share/doc/${PF}" - elog "right now! It's important - this install is just the engine, you still need" - elog "the data paks. Go read." - - if use demo && ! has_version "games-fps/quake2-demodata[symlink]" ; then - ewarn "To play the Quake 2 demo," - ewarn "emerge games-fps/quake2-demodata with the 'symlink' USE flag." - echo - fi -} diff --git a/games-fps/quake2-textures/Manifest b/games-fps/quake2-textures/Manifest deleted file mode 100644 index 00fa7741c8d6..000000000000 --- a/games-fps/quake2-textures/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pak8.zip 15099933 BLAKE2B 297c56b3115462c627febbc5cbcba684a3c36e01f088fe975793c7980abbf274fe721668aa0d6b5a4d5ab6b893fd774be0dda73eb2585bbae05cc11b8fb48e1b SHA512 2d51e3e97796e1ad86894767374bb335f5da59852aacc2dead622c4e51f4b73258c5a852561afbc6c6df54149424e96b3d433179864f7d52af81d9445ada8337 diff --git a/games-fps/quake2-textures/metadata.xml b/games-fps/quake2-textures/metadata.xml deleted file mode 100644 index 1c3ba213c494..000000000000 --- a/games-fps/quake2-textures/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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/quake2-textures/quake2-textures-0_beta8-r1.ebuild b/games-fps/quake2-textures/quake2-textures-0_beta8-r1.ebuild deleted file mode 100644 index c26a14c1fc59..000000000000 --- a/games-fps/quake2-textures/quake2-textures-0_beta8-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PV=$(ver_cut 2-) -MY_PV=${MY_PV/beta/} - -DESCRIPTION="High-resolution textures for Quake 2" -HOMEPAGE="http://jdolan.tastyspleen.net/" -SRC_URI="http://jdolan.tastyspleen.net/pak${MY_PV}.zip" -S="${WORKDIR}" - -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RESTRICT="bindist mirror" - -BDEPEND="app-arch/unzip" - -src_install() { - insinto /usr/share/quake2/baseq2 - doins *.pak - dodoc README -} - -pkg_postinst() { - elog "Use a recent Quake 2 client to take advantage of" - elog "these textures, e.g. qudos or quake2-icculus." - echo -} diff --git a/games-fps/quakespasm/Manifest b/games-fps/quakespasm/Manifest deleted file mode 100644 index ba92939d5b95..000000000000 --- a/games-fps/quakespasm/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST quakespasm-0.96.3.tar.gz 11552047 BLAKE2B 70412a86b549995011bf3e68f20f2b997ed22dcc2db49c2c107326f0db58205f14efcfcacb6c29f7c198051b8e4d8fbea42dd489d1b4b368fb7bcc530a70b8f5 SHA512 e8500d566a6cc6532c81823aa7775a48d9edcecc053528477d3c360ba17b8895b5fbda20b2679f571c9996da58d411eed1f975ef9435beb63a3261c14082f18e diff --git a/games-fps/quakespasm/files/quakespasm-0.96.3-cflags.patch b/games-fps/quakespasm/files/quakespasm-0.96.3-cflags.patch deleted file mode 100644 index 7b402d8d0805..000000000000 --- a/games-fps/quakespasm/files/quakespasm-0.96.3-cflags.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/Quake/Makefile 2022-06-28 03:02:56.000000000 +0300 -+++ b/Quake/Makefile 2022-09-30 19:05:39.392041782 +0300 -@@ -61,7 +61,6 @@ CFLAGS += -g - do_strip= - else - DFLAGS += -DNDEBUG --CFLAGS += -O2 - #CFLAGS += -fno-asynchronous-unwind-tables - CFLAGS += $(call check_gcc,-fweb,) - CFLAGS += $(call check_gcc,-frename-registers,) diff --git a/games-fps/quakespasm/files/quakespasm-0.96.3-mkpak-portable-shell.patch b/games-fps/quakespasm/files/quakespasm-0.96.3-mkpak-portable-shell.patch deleted file mode 100644 index 891267e4b88d..000000000000 --- a/games-fps/quakespasm/files/quakespasm-0.96.3-mkpak-portable-shell.patch +++ /dev/null @@ -1,62 +0,0 @@ -From dd8a42d142a638de08cb6ea7483e33b27fe221b5 Mon Sep 17 00:00:00 2001 -From: Alexander Tsoy <alexander@tsoy.me> -Date: Thu, 19 Jun 2025 18:10:04 +0300 -Subject: [PATCH] mkpak.sh: use more portable shell - -At least it now works in dash ---- - Misc/qs_pak/mkpak.sh | 16 ++++++---------- - 1 file changed, 6 insertions(+), 10 deletions(-) - -diff --git a/Misc/qs_pak/mkpak.sh b/Misc/qs_pak/mkpak.sh -index e6562bf9..dbfd9eb5 100755 ---- a/Misc/qs_pak/mkpak.sh -+++ b/Misc/qs_pak/mkpak.sh -@@ -39,7 +39,7 @@ assert_valid_file() { - then - error "$1: Permission denied" - fi -- if test $(echo -n "$1" | wc -c) -gt 55 -+ if test $(printf '%s' "$1" | wc -c) -gt 55 - then - error "$1: Name too long" - fi -@@ -53,15 +53,11 @@ assert_valid_int32() { - } - - octal() { -- if test $1 -gt 7 -- then -- octal $(expr $1 / 8) -- fi -- echo -n $(expr $1 % 8) -+ printf '%o' $1 - } - - byte() { -- echo -en \\0$(octal $1) -+ printf '%b' "\\0$(octal $1)" - } - - little_endian_uint32() { -@@ -90,14 +86,14 @@ zero_padding() { - } - - header() { -- echo -n PACK -+ printf '%s' PACK - little_endian_int32 $1 - little_endian_int32 $2 - } - - directory_entry() { -- echo -n "$1" -- zero_padding $(expr 56 - $(echo -n "$1" | wc -c)) -+ printf '%s' "$1" -+ zero_padding $(expr 56 - $(printf '%s' "$1" | wc -c)) - little_endian_int32 $2 - little_endian_int32 $3 - } --- -2.49.0 - diff --git a/games-fps/quakespasm/metadata.xml b/games-fps/quakespasm/metadata.xml deleted file mode 100644 index 1d9c20d6520b..000000000000 --- a/games-fps/quakespasm/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>contact@hacktivis.me</email> - <name>Haelwenn (lanodan) Monnier</name> - </maintainer> - <maintainer type="person"> - <email>alexander@tsoy.me</email> - <name>Alexander Tsoy</name> - </maintainer> - <upstream> - <remote-id type="sourceforge">quakespasm</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-fps/quakespasm/quakespasm-0.96.3.ebuild b/games-fps/quakespasm/quakespasm-0.96.3.ebuild deleted file mode 100644 index c1442cceaf3d..000000000000 --- a/games-fps/quakespasm/quakespasm-0.96.3.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://git.code.sf.net/p/quakespasm/quakespasm" -else - SRC_URI="https://download.sourceforge.net/quakespasm/Source/${P}.tar.gz" - KEYWORDS="~amd64" -fi - -inherit desktop eapi9-ver - -DESCRIPTION="A modern, cross-platform Quake game engine based on FitzQuake" -HOMEPAGE="https://quakespasm.sourceforge.net/" - -LICENSE="GPL-2+" -SLOT="0" -IUSE="flac mikmod modplug mp3 opus vorbis" - -DEPEND=" - media-libs/libsdl2[opengl] - media-libs/libglvnd - flac? ( media-libs/flac:= ) - mikmod? ( media-libs/libmikmod ) - modplug? ( media-libs/libmodplug ) - mp3? ( media-sound/mpg123 ) - opus? ( media-libs/opusfile ) - vorbis? ( media-libs/libvorbis ) -" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -DOCS=( Quakespasm.html Quakespasm.txt Quakespasm-Music.txt ) - -PATCHES=( - "${FILESDIR}"/${PN}-0.96.3-cflags.patch - "${FILESDIR}"/${P}-mkpak-portable-shell.patch # https://github.com/sezero/quakespasm/pull/127 -) - -src_compile() { - local emakeargs=( - COMMON_LIBS="-lOpenGL -lm" - LDFLAGS="${LDFLAGS}" - DO_USERDIRS=1 - MP3LIB=mpg123 - STRIP=true - USE_SDL2=1 - USE_CODEC_FLAC=$(usex flac 1 0) - USE_CODEC_MIKMOD=$(usex mikmod 1 0) - USE_CODEC_MODPLUG=$(usex modplug 1 0) - USE_CODEC_MP3=$(usex mp3 1 0) - USE_CODEC_VORBIS=$(usex vorbis 1 0) - USE_CODEC_OPUS=$(usex opus 1 0) - ) - - emake -C Quake "${emakeargs[@]}" - emake -C Misc/qs_pak -} - -src_install() { - dobin Quake/quakespasm - - insinto /usr/share/quakespasm - doins Misc/qs_pak/quakespasm.pak - - insinto /usr/share/metainfo - doins Linux/net.sourceforge.quakespasm.Quakespasm.appdata.xml - - domenu Linux/net.sourceforge.quakespasm.Quakespasm.desktop - - newicon Misc/QuakeSpasm_512.png net.sourceforge.quakespasm.Quakespasm.png - - einstalldocs -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]] || ver_replacing -lt 0.96.3; then - elog - elog "Please note that quakespasm doesn't support system-wide game data." - elog "In order to play, you must copy game data files into" - elog "\"~/.quakespasm/\" directory." - elog - elog "It is also recommended to copy quakespasm.pak as it contains default" - elog "config, custom console background and other minor features:" - elog "cp \"${EROOT}/usr/share/quakespasm/quakespasm.pak\" ~/.quakespasm/" - elog - fi -} diff --git a/games-fps/quakespasm/quakespasm-9999.ebuild b/games-fps/quakespasm/quakespasm-9999.ebuild deleted file mode 100644 index fda51b75f623..000000000000 --- a/games-fps/quakespasm/quakespasm-9999.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://git.code.sf.net/p/quakespasm/quakespasm" -else - SRC_URI="https://download.sourceforge.net/quakespasm/Source/${P}.tar.gz" - KEYWORDS="~amd64" -fi - -inherit desktop eapi9-ver - -DESCRIPTION="A modern, cross-platform Quake game engine based on FitzQuake" -HOMEPAGE="https://quakespasm.sourceforge.net/" - -LICENSE="GPL-2+" -SLOT="0" -IUSE="flac mikmod modplug mp3 opus vorbis" - -DEPEND=" - media-libs/libsdl2[opengl] - media-libs/libglvnd - flac? ( media-libs/flac:= ) - mikmod? ( media-libs/libmikmod ) - modplug? ( media-libs/libmodplug ) - mp3? ( media-sound/mpg123 ) - opus? ( media-libs/opusfile ) - vorbis? ( media-libs/libvorbis ) -" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -DOCS=( Quakespasm.html Quakespasm.txt Quakespasm-Music.txt ) - -PATCHES=( - "${FILESDIR}"/${PN}-0.96.3-cflags.patch -) - -src_compile() { - local emakeargs=( - COMMON_LIBS="-lOpenGL -lm" - LDFLAGS="${LDFLAGS}" - DO_USERDIRS=1 - MP3LIB=mpg123 - STRIP=true - USE_SDL2=1 - USE_CODEC_FLAC=$(usex flac 1 0) - USE_CODEC_MIKMOD=$(usex mikmod 1 0) - USE_CODEC_MODPLUG=$(usex modplug 1 0) - USE_CODEC_MP3=$(usex mp3 1 0) - USE_CODEC_VORBIS=$(usex vorbis 1 0) - USE_CODEC_OPUS=$(usex opus 1 0) - ) - - emake -C Quake "${emakeargs[@]}" - emake -C Misc/qs_pak -} - -src_install() { - dobin Quake/quakespasm - - insinto /usr/share/quakespasm - doins Misc/qs_pak/quakespasm.pak - - insinto /usr/share/metainfo - doins Linux/net.sourceforge.quakespasm.Quakespasm.appdata.xml - - domenu Linux/net.sourceforge.quakespasm.Quakespasm.desktop - - newicon Misc/QuakeSpasm_512.png net.sourceforge.quakespasm.Quakespasm.png - - einstalldocs -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]] || ver_replacing -lt 0.96.3; then - elog - elog "Please note that quakespasm doesn't support system-wide game data." - elog "In order to play, you must copy game data files into" - elog "\"~/.quakespasm/\" directory." - elog - elog "It is also recommended to copy quakespasm.pak as it contains default" - elog "config, custom console background and other minor features:" - elog "cp \"${EROOT}/usr/share/quakespasm/quakespasm.pak\" ~/.quakespasm/" - elog - fi -} diff --git a/games-fps/red-blue-quake2/Manifest b/games-fps/red-blue-quake2/Manifest deleted file mode 100644 index 3a8bc12dfcbd..000000000000 --- a/games-fps/red-blue-quake2/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST q2source-3.21.zip 1477764 BLAKE2B afdeeff318e23397d24f9ecc68f4015b03d58d3f7794dd23febc4e285a916b2cf8c93b872a62a33dc1a4b7c2fff34ad92781e0320296cc13d4721b8cd5bf345a SHA512 eb3fcf3327272b7472a044336be4d73111f5b9f50b4916609996ecb690555654990c1f86e63cd6e7d4a30844e66d3eca2e428e29a598bce52e953c326caf9752 -DIST red-blue-quake2-0.1.tar.gz 34874 BLAKE2B 6dc10e8307c4274961ee133af0721d5cb9e1605de4fb47c3256b4a54b91c5e7ea79622140bf5eda2cbce10075ba971c40547726cf45f99e81cadc20828663384 SHA512 4123fb1cceb788068c5cd525e3e03cce8a993ecdd0d86c3c154426689a7893b6d33cddeafbb53761a27473a050829545e7fc802f1236f4dc60161103ad259da5 diff --git a/games-fps/red-blue-quake2/files/0.1-gentoo.patch b/games-fps/red-blue-quake2/files/0.1-gentoo.patch deleted file mode 100644 index e283e6e3bc03..000000000000 --- a/games-fps/red-blue-quake2/files/0.1-gentoo.patch +++ /dev/null @@ -1,63 +0,0 @@ -diff -ur Makefile.old Makefile ---- a/linux/Makefile -+++ b/linux/Makefile -@@ -54,7 +54,7 @@ - RELEASE_CFLAGS=$(BASE_CFLAGS) -O6 -ffast-math -funroll-loops \ - -fomit-frame-pointer -fexpensive-optimizations - else --RELEASE_CFLAGS=$(BASE_CFLAGS) -g -mpentiumpro -O6 -ffast-math -funroll-loops \ -+RELEASE_CFLAGS=$(BASE_CFLAGS) -g $(GENTOO_CFLAGS) -DGENTOO_DATADIR=\\\"$(GENTOO_DATADIR)\\\" -O6 -ffast-math -funroll-loops \ - -fomit-frame-pointer -fexpensive-optimizations - endif - -diff -ur sys_linux.c.old sys_linux.c ---- a/linux/sys_linux.c -+++ b/linux/sys_linux.c -@@ -220,7 +220,7 @@ - char curpath[MAX_OSPATH];
- char *path;
- #ifdef __i386__
-- const char *gamename = "gamei386.so";
-+ const char *gamename = "GENTOO_DIR/gamei386.so";
- #elif defined __alpha__
- const char *gamename = "gameaxp.so";
- #else
-@@ -250,6 +250,14 @@ - {
- Com_Printf ("LoadLibrary (%s)\n",name);
- break;
-+ } else {
-+ sprintf (name, "%s", gamename);
-+ game_library = dlopen (name, RTLD_LAZY );
-+ if (game_library)
-+ {
-+ Com_Printf ("LoadLibrary (%s)\n",name);
-+ break;
-+ }
- }
- }
-
-diff -ur ../qcommon/files.c ../qcommon/files.c ---- a/qcommon/files.c -+++ b/qcommon/files.c -@@ -865,7 +865,7 @@ - //
- // start up with baseq2 by default
- //
-- FS_AddGameDirectory (va("%s/"BASEDIRNAME, fs_basedir->string) );
-+ FS_AddGameDirectory (va(BASEDIRNAME) );
-
- // any set gamedirs will be freed up to here
- fs_base_searchpaths = fs_searchpaths;
-diff -ur ../qcommon/qcommon.h ../qcommon/qcommon.h ---- a/qcommon/qcommon.h -+++ b/qcommon/qcommon.h -@@ -25,7 +25,7 @@ -
- #define VERSION 3.21
-
--#define BASEDIRNAME "baseq2"
-+#define BASEDIRNAME GENTOO_DATADIR
-
- #ifdef WIN32
-
diff --git a/games-fps/red-blue-quake2/files/red-blue-quake2-0.1-c23.patch b/games-fps/red-blue-quake2/files/red-blue-quake2-0.1-c23.patch deleted file mode 100644 index 920e96100a49..000000000000 --- a/games-fps/red-blue-quake2/files/red-blue-quake2-0.1-c23.patch +++ /dev/null @@ -1,24 +0,0 @@ -Bug: https://bugs.gentoo.org/948964 - ---- a/ctf/q_shared.h -+++ b/ctf/q_shared.h -@@ -52,7 +52,7 @@ - #endif
-
- typedef unsigned char byte;
--typedef enum {false, true} qboolean;
-+typedef int qboolean;
-
-
- #ifndef NULL
---- a/game/q_shared.h -+++ b/game/q_shared.h -@@ -52,7 +52,7 @@ - #endif
-
- typedef unsigned char byte;
--typedef enum {false, true} qboolean;
-+typedef int qboolean;
-
-
- #ifndef NULL
diff --git a/games-fps/red-blue-quake2/files/red-blue-quake2-0.1-c99.patch b/games-fps/red-blue-quake2/files/red-blue-quake2-0.1-c99.patch deleted file mode 100644 index f464f5945e7e..000000000000 --- a/games-fps/red-blue-quake2/files/red-blue-quake2-0.1-c99.patch +++ /dev/null @@ -1,138 +0,0 @@ -Bug: https://bugs.gentoo.org/926464 - ---- a/client/menu.c -+++ b/client/menu.c -@@ -1402,8 +1402,8 @@ - */
- static int credits_start_time;
- static const char **credits;
--static char *creditsIndex[256];
--static char *creditsBuffer;
-+static const char *creditsIndex[256];
-+static void *creditsBuffer;
- static const char *idcredits[] =
- {
- "+QUAKE II BY ID SOFTWARE",
-@@ -2603,7 +2603,7 @@ - s_startmap_list.generic.x = 0;
- s_startmap_list.generic.y = 0;
- s_startmap_list.generic.name = "initial map";
-- s_startmap_list.itemnames = mapnames;
-+ s_startmap_list.itemnames = (const char **) mapnames;
-
- s_rules_box.generic.type = MTYPE_SPINCONTROL;
- s_rules_box.generic.x = 0;
-@@ -3395,7 +3395,7 @@ -
- static void ModelCallback( void *unused )
- {
-- s_player_skin_box.itemnames = s_pmi[s_player_model_box.curvalue].skindisplaynames;
-+ s_player_skin_box.itemnames = (const char **) s_pmi[s_player_model_box.curvalue].skindisplaynames;
- s_player_skin_box.curvalue = 0;
- }
-
-@@ -3684,7 +3684,7 @@ - s_player_model_box.generic.callback = ModelCallback;
- s_player_model_box.generic.cursor_offset = -48;
- s_player_model_box.curvalue = currentdirectoryindex;
-- s_player_model_box.itemnames = s_pmnames;
-+ s_player_model_box.itemnames = (const char **) s_pmnames;
-
- s_player_skin_title.generic.type = MTYPE_SEPARATOR;
- s_player_skin_title.generic.name = "skin";
-@@ -3698,7 +3698,7 @@ - s_player_skin_box.generic.callback = 0;
- s_player_skin_box.generic.cursor_offset = -48;
- s_player_skin_box.curvalue = currentskinindex;
-- s_player_skin_box.itemnames = s_pmi[currentdirectoryindex].skindisplaynames;
-+ s_player_skin_box.itemnames = (const char **) s_pmi[currentdirectoryindex].skindisplaynames;
-
- s_player_hand_title.generic.type = MTYPE_SEPARATOR;
- s_player_hand_title.generic.name = "handedness";
---- a/ctf/g_items.c -+++ b/ctf/g_items.c -@@ -2211,7 +2211,7 @@ - "item_flag_team1",
- CTFPickup_Flag,
- NULL,
-- CTFDrop_Flag, //Should this be null if we don't want players to drop it manually?
-+ NULL,
- NULL,
- "ctf/flagtk.wav",
- "players/male/flag1.md2", EF_FLAG1,
-@@ -2234,7 +2234,7 @@ - "item_flag_team2",
- CTFPickup_Flag,
- NULL,
-- CTFDrop_Flag, //Should this be null if we don't want players to drop it manually?
-+ NULL,
- NULL,
- "ctf/flagtk.wav",
- "players/male/flag2.md2", EF_FLAG2,
---- a/game/m_boss31.c -+++ b/game/m_boss31.c -@@ -28,7 +28,7 @@ - #include "g_local.h"
- #include "m_boss31.h"
-
--extern SP_monster_makron (edict_t *self);
-+extern void SP_monster_makron (edict_t *self);
- qboolean visible (edict_t *self, edict_t *other);
-
- static int sound_pain1;
---- a/game/q_shared.h -+++ b/game/q_shared.h -@@ -32,6 +32,7 @@ - #endif
-
- #include <assert.h>
-+#include <ctype.h>
- #include <math.h>
- #include <stdio.h>
- #include <stdarg.h>
---- a/linux/net_udp.c -+++ b/linux/net_udp.c -@@ -25,6 +25,7 @@ - #include <sys/socket.h>
- #include <sys/time.h>
- #include <netinet/in.h>
-+#include <arpa/inet.h>
- #include <netdb.h>
- #include <sys/param.h>
- #include <sys/ioctl.h>
---- a/linux/q_shlinux.c -+++ b/linux/q_shlinux.c -@@ -23,6 +23,12 @@ - #include <stdio.h>
- #include <dirent.h>
- #include <unistd.h>
-+#ifndef __USE_GNU /* mremap(2) + glibc */
-+#define __USE_GNU
-+#endif
-+#ifndef _GNU_SOURCE /* mremap(2) + musl */
-+#define _GNU_SOURCE
-+#endif
- #include <sys/mman.h>
- #include <sys/time.h>
-
---- a/linux/snd_linux.c -+++ b/linux/snd_linux.c -@@ -54,7 +54,7 @@ - extern uid_t saved_euid;
-
- if (snd_inited)
-- return;
-+ return 0;
-
- if (!snddevice) {
- sndbits = Cvar_Get("sndbits", "16", CVAR_ARCHIVE);
---- a/linux/rw_x11.c -+++ b/linux/rw_x11.c -@@ -33,6 +33,7 @@ - */
-
- #include <ctype.h>
-+#include <sys/mman.h>
- #include <sys/time.h>
- #include <sys/types.h>
- #include <unistd.h>
diff --git a/games-fps/red-blue-quake2/files/red-blue-quake2-0.1-gcc41.patch b/games-fps/red-blue-quake2/files/red-blue-quake2-0.1-gcc41.patch deleted file mode 100644 index 22ca5c56a54f..000000000000 --- a/games-fps/red-blue-quake2/files/red-blue-quake2-0.1-gcc41.patch +++ /dev/null @@ -1,39 +0,0 @@ ---- a/game/g_local.h -+++ b/game/g_local.h -@@ -458,11 +458,6 @@ - extern int sm_meat_index;
- extern int snd_fry;
-
--extern int jacket_armor_index;
--extern int combat_armor_index;
--extern int body_armor_index;
--
--
- // means of death
- #define MOD_UNKNOWN 0
- #define MOD_BLASTER 1
---- a/ctf/g_local.h -+++ b/ctf/g_local.h -@@ -466,11 +466,6 @@ - extern int sm_meat_index;
- extern int snd_fry;
-
--extern int jacket_armor_index;
--extern int combat_armor_index;
--extern int body_armor_index;
--
--
- // means of death
- #define MOD_UNKNOWN 0
- #define MOD_BLASTER 1
-@@ -556,10 +556,6 @@ -
- extern cvar_t *sv_maplist;
-
--//ZOID
--extern qboolean is_quad;
--//ZOID
--
- #define world (&g_edicts[0])
-
- // item spawnflags
diff --git a/games-fps/red-blue-quake2/files/red-blue-quake2-0.1-ldflags.patch b/games-fps/red-blue-quake2/files/red-blue-quake2-0.1-ldflags.patch deleted file mode 100644 index 547b9045a869..000000000000 --- a/games-fps/red-blue-quake2/files/red-blue-quake2-0.1-ldflags.patch +++ /dev/null @@ -1,92 +0,0 @@ ---- a/linux/Makefile -+++ b/linux/Makefile -@@ -59,7 +59,7 @@ - endif - - DEBUG_CFLAGS=$(BASE_CFLAGS) -g --LDFLAGS=-ldl -lm -+LDLIBS=-ldl -lm - SVGALDFLAGS=-lvga -lm - XLDFLAGS=-L/usr/X11R6/lib -lX11 -lXext -lXxf86dga - XCFLAGS= -@@ -195,7 +195,7 @@ - endif - - $(BUILDDIR)/quake2 : $(QUAKE2_OBJS) $(QUAKE2_AS_OBJS) -- $(CC) $(CFLAGS) -o $@ $(QUAKE2_OBJS) $(QUAKE2_AS_OBJS) $(LDFLAGS) -+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(QUAKE2_OBJS) $(QUAKE2_AS_OBJS) $(LDLIBS) - - $(BUILDDIR)/client/cl_cin.o : $(CLIENT_DIR)/cl_cin.c - $(DO_CC) -@@ -374,7 +374,7 @@ - $(BUILDDIR)/ded/cd_null.o - - $(BUILDDIR)/q2ded : $(Q2DED_OBJS) -- $(CC) $(CFLAGS) -o $@ $(Q2DED_OBJS) $(LDFLAGS) -+ $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(Q2DED_OBJS) $(LDLIBS) - - $(BUILDDIR)/ded/cmd.o : $(COMMON_DIR)/cmd.c - $(DO_DED_CC) -@@ -503,7 +503,7 @@ - $(BUILDDIR)/game/m_flash.o - - $(BUILDDIR)/game$(ARCH).$(SHLIBEXT) : $(GAME_OBJS) -- $(CC) $(CFLAGS) $(SHLIBLDFLAGS) -o $@ $(GAME_OBJS) -+ $(CC) $(LDFLAGS) $(CFLAGS) $(SHLIBLDFLAGS) -o $@ $(GAME_OBJS) - - $(BUILDDIR)/game/g_ai.o : $(GAME_DIR)/g_ai.c - $(DO_SHLIB_CC) -@@ -682,7 +682,7 @@ - $(BUILDDIR)/ctf/q_shared.o - - $(BUILDDIR)/ctf/game$(ARCH).$(SHLIBEXT) : $(CTF_OBJS) -- $(CC) $(CFLAGS) $(SHLIBLDFLAGS) -o $@ $(CTF_OBJS) -+ $(CC) $(LDFLAGS) $(CFLAGS) $(SHLIBLDFLAGS) -o $@ $(CTF_OBJS) - - $(BUILDDIR)/ctf/g_ai.o : $(CTF_DIR)/g_ai.c - $(DO_SHLIB_CC) -@@ -821,7 +821,7 @@ - $(BUILDDIR)/xatrix/q_shared.o - - $(BUILDDIR)/xatrix/game$(ARCH).$(SHLIBEXT) : $(XATRIX_OBJS) -- $(CC) $(CFLAGS) $(SHLIBLDFLAGS) -o $@ $(XATRIX_OBJS) -+ $(CC) $(LDFLAGS) $(CFLAGS) $(SHLIBLDFLAGS) -o $@ $(XATRIX_OBJS) - - $(BUILDDIR)/xatrix/g_ai.o : $(XATRIX_DIR)/g_ai.c - $(DO_SHLIB_CC) -@@ -1048,7 +1048,7 @@ - $(BUILDDIR)/rogue/q_shared.o - - $(BUILDDIR)/rogue/game$(ARCH).$(SHLIBEXT) : $(ROGUE_OBJS) -- $(CC) $(CFLAGS) $(SHLIBLDFLAGS) -o $@ $(ROGUE_OBJS) -+ $(CC) $(LDFLAGS) $(CFLAGS) $(SHLIBLDFLAGS) -o $@ $(ROGUE_OBJS) - - $(BUILDDIR)/rogue/dm_ball.o : $(ROGUE_DIR)/dm_ball.c - $(DO_SHLIB_CC) -@@ -1287,11 +1287,11 @@ - $(BUILDDIR)/ref_soft/rw_x11.o - - $(BUILDDIR)/ref_soft.$(SHLIBEXT) : $(REF_SOFT_OBJS) $(REF_SOFT_SVGA_OBJS) -- $(CC) $(CFLAGS) $(SHLIBLDFLAGS) -Xlinker -Map -Xlinker map.out -o $@ $(REF_SOFT_OBJS) \ -+ $(CC) $(LDFLAGS) $(CFLAGS) $(SHLIBLDFLAGS) -Xlinker -Map -Xlinker map.out -o $@ $(REF_SOFT_OBJS) \ - $(REF_SOFT_SVGA_OBJS) $(SVGALDFLAGS) - - $(BUILDDIR)/ref_softx.$(SHLIBEXT) : $(REF_SOFT_OBJS) $(REF_SOFT_X11_OBJS) -- $(CC) $(CFLAGS) $(SHLIBLDFLAGS) -o $@ $(REF_SOFT_OBJS) \ -+ $(CC) $(LDFLAGS) $(CFLAGS) $(SHLIBLDFLAGS) -o $@ $(REF_SOFT_OBJS) \ - $(REF_SOFT_X11_OBJS) $(XLDFLAGS) - - $(BUILDDIR)/ref_soft/r_aclip.o : $(REF_SOFT_DIR)/r_aclip.c -@@ -1431,10 +1431,10 @@ - $(BUILDDIR)/ref_gl/gl_glx.o - - $(BUILDDIR)/ref_gl.$(SHLIBEXT) : $(REF_GL_OBJS) $(REF_GL_FXMESA_OBJS) -- $(CC) $(CFLAGS) $(SHLIBLDFLAGS) -o $@ $(REF_GL_OBJS) $(REF_GL_FXMESA_OBJS) $(GLLDFLAGS) -+ $(CC) $(LDFLAGS) $(CFLAGS) $(SHLIBLDFLAGS) -o $@ $(REF_GL_OBJS) $(REF_GL_FXMESA_OBJS) $(GLLDFLAGS) - - $(BUILDDIR)/ref_glx.$(SHLIBEXT) : $(REF_GL_OBJS) $(REF_GL_GLX_OBJS) -- $(CC) $(CFLAGS) $(SHLIBLDFLAGS) -o $@ $(REF_GL_OBJS) $(REF_GL_GLX_OBJS) $(GLXLDFLAGS) -+ $(CC) $(LDFLAGS) $(CFLAGS) $(SHLIBLDFLAGS) -o $@ $(REF_GL_OBJS) $(REF_GL_GLX_OBJS) $(GLXLDFLAGS) - - $(BUILDDIR)/ref_gl/gl_draw.o : $(REF_GL_DIR)/gl_draw.c - $(DO_GL_SHLIB_CC) diff --git a/games-fps/red-blue-quake2/metadata.xml b/games-fps/red-blue-quake2/metadata.xml deleted file mode 100644 index 1c3ba213c494..000000000000 --- a/games-fps/red-blue-quake2/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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/red-blue-quake2/red-blue-quake2-0.1-r1.ebuild b/games-fps/red-blue-quake2/red-blue-quake2-0.1-r1.ebuild deleted file mode 100644 index 01e871966b25..000000000000 --- a/games-fps/red-blue-quake2/red-blue-quake2-0.1-r1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="Red-blue Quake II! Play quake2 with 3D glasses!" -HOMEPAGE="https://www.jfedor.org/red-blue-quake2/" -SRC_URI="mirror://idsoftware/source/q2source-3.21.zip - https://www.jfedor.org/red-blue-quake2/${P}.tar.gz" -S="${WORKDIR}"/quake2-3.21 - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" - -RDEPEND="x11-libs/libX11" -DEPEND="${RDEPEND}" -BDEPEND="app-arch/unzip" - -PATCHES=( - "${FILESDIR}"/${PV}-gentoo.patch - "${FILESDIR}"/${P}-gcc41.patch - "${FILESDIR}"/${P}-ldflags.patch -) - -src_prepare() { - default - - cd linux || die - - sed -i \ - -e "s:GENTOO_DIR:$(get_libdir)/${PN}:" \ - sys_linux.c || die - - sed -i \ - -e "s:/etc/quake2.conf:/etc/${PN}.conf:" \ - sys_linux.c vid_so.c || die - - sed -i \ - -e 's:-O6::' \ - -e 's:-g::' \ - Makefile || die - - echo "$(get_libdir)"/${PN} > "${T}"/${PN}.conf || die -} - -src_compile() { - cd linux || die - - mkdir -p releasei386-glibc/ref_soft || die - - emake \ - CC="$(tc-getCC)" \ - GENTOO_CFLAGS="${CFLAGS}" \ - GENTOO_DATADIR=/usr/share/quake2/baseq2/ \ - build_release -} - -src_install() { - cd linux/release* || die - - exeinto "$(get_libdir)"/${PN} - doexe gamei386.so ref_softx.so - - exeinto "$(get_libdir)"/${PN}/ctf - doexe ctf/gamei386.so - newbin quake2 red-blue-quake2 - - insinto /etc - doins "${T}"/${PN}.conf -} diff --git a/games-fps/red-blue-quake2/red-blue-quake2-0.1-r2.ebuild b/games-fps/red-blue-quake2/red-blue-quake2-0.1-r2.ebuild deleted file mode 100644 index 88657927ff3f..000000000000 --- a/games-fps/red-blue-quake2/red-blue-quake2-0.1-r2.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="Red-blue Quake II! Play quake2 with 3D glasses!" -HOMEPAGE="https://www.jfedor.org/red-blue-quake2/" -SRC_URI="mirror://idsoftware/source/q2source-3.21.zip - https://www.jfedor.org/red-blue-quake2/${P}.tar.gz" -S="${WORKDIR}"/quake2-3.21 - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" - -RDEPEND=" - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXxf86dga -" -DEPEND="${RDEPEND}" -BDEPEND="app-arch/unzip" - -PATCHES=( - "${FILESDIR}"/${PV}-gentoo.patch - "${FILESDIR}"/${P}-gcc41.patch - "${FILESDIR}"/${P}-ldflags.patch - "${FILESDIR}"/${P}-c99.patch - "${FILESDIR}"/${P}-c23.patch -) - -src_prepare() { - default - - cd linux || die - - sed -i \ - -e "s:GENTOO_DIR:$(get_libdir)/${PN}:" \ - sys_linux.c || die - - sed -i \ - -e "s:/etc/quake2.conf:/etc/${PN}.conf:" \ - sys_linux.c vid_so.c || die - - sed -i \ - -e 's:-O6::' \ - -e 's:-g::' \ - Makefile || die - - echo "$(get_libdir)"/${PN} > "${T}"/${PN}.conf || die -} - -src_compile() { - cd linux || die - - mkdir -p releasei386-glibc/ref_soft || die - - emake \ - CC="$(tc-getCC)" \ - GENTOO_CFLAGS="${CFLAGS}" \ - GENTOO_DATADIR=/usr/share/quake2/baseq2/ \ - build_release -} - -src_install() { - cd linux/release* || die - - exeinto "$(get_libdir)"/${PN} - doexe gamei386.so ref_softx.so - - exeinto "$(get_libdir)"/${PN}/ctf - doexe ctf/gamei386.so - newbin quake2 red-blue-quake2 - - insinto /etc - doins "${T}"/${PN}.conf -} diff --git a/games-fps/redeclipse/Manifest b/games-fps/redeclipse/Manifest deleted file mode 100644 index 01ebe9068941..000000000000 --- a/games-fps/redeclipse/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST redeclipse_2.0.0_nix.tar.bz2 948705751 BLAKE2B 00cb03320f80433db1cc5bb9b895cdc829453e64e32d0e481eeac6c5dec9332b2e763f511bee4e9917b334d3f383c2c2a2605dfbd07cc73ffeb3f8efb90278fc SHA512 179a8177ddafefb09de38629c7cc15e8843cd49ad3580093c9f4243dd0d2d2fe095e8df770c2a8f3996d4e273822d6bc955acca73f8191266adb95a34beaf6dd diff --git a/games-fps/redeclipse/files/redeclipse b/games-fps/redeclipse/files/redeclipse deleted file mode 100644 index 9f2c62fead05..000000000000 --- a/games-fps/redeclipse/files/redeclipse +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# It is necessary to run the binary from the root of the data directory -# for the binary to properly locate its assets and load properly. -# Upstream's original install procedure is doing the same thing. - -SERVER=/usr/bin/redeclipse_server_linux -CLIENT=/usr/bin/redeclipse_linux -cd /usr/share/redeclipse || exit 1 -[ "${0##*/}" = "redeclipse_server" ] && exec "${SERVER}" || exec "${CLIENT}" diff --git a/games-fps/redeclipse/metadata.xml b/games-fps/redeclipse/metadata.xml deleted file mode 100644 index bb382631e939..000000000000 --- a/games-fps/redeclipse/metadata.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>kitsunenokenja@protonmail.ch</email> - <name>Rob Levitsky</name> - </maintainer> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <use> - <flag name="dedicated">Install only as a dedicated game server</flag> - </use> -</pkgmetadata> diff --git a/games-fps/redeclipse/redeclipse-2.0.0-r1.ebuild b/games-fps/redeclipse/redeclipse-2.0.0-r1.ebuild deleted file mode 100644 index 84cbcb3349e1..000000000000 --- a/games-fps/redeclipse/redeclipse-2.0.0-r1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop - -DESCRIPTION="First-person ego-shooter, built as a total conversion of Cube Engine 2" -HOMEPAGE="https://www.redeclipse.net" -SRC_URI="https://github.com/${PN}/base/releases/download/v${PV}/${PN}_${PV}_nix.tar.bz2" -# According to doc/license.txt file -LICENSE="ZLIB CC-BY-SA-4.0" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="dedicated" - -DEPEND="!dedicated? ( - media-libs/freetype:2 - media-libs/libsdl2[opengl] - media-libs/sdl2-image:0[jpeg,png] - media-libs/sdl2-mixer:0[mp3,vorbis] - virtual/opengl - x11-libs/libX11 - ) - >=net-libs/enet-1.3.9:= - virtual/zlib:=" -RDEPEND="${DEPEND}" - -src_prepare() { - sed -e "s:@APPNAME@:${PN}:" \ - src/install/nix/redeclipse.desktop.am \ - > src/install/nix/redeclipse.desktop || die - - if ! use dedicated; then - sed -e "s:@LIBEXECDIR@:/usr/libexec:g" \ - -e "s:@DATADIR@:/usr/share:g" \ - -e "s:@DOCDIR@:/usr/share/doc/${PF}:" \ - -e "s:@CAPPNAME@:${PN^^}:g" \ - -e "s:@APPNAME@:${PN}:g" \ - doc/man/redeclipse.6.am \ - > doc/man/redeclipse.6 || die - fi - - sed -e "s:@LIBEXECDIR@:/usr/libexec:g" \ - -e "s:@DATADIR@:/usr/share:g" \ - -e "s:@DOCDIR@:/usr/share/doc/${PF}:" \ - -e "s:@CAPPNAME@:${PN^^}:g" \ - -e "s:@APPNAME@:${PN}:g" \ - doc/man/redeclipse-server.6.am \ - > doc/man/redeclipse-server.6 || die - - default -} - -src_compile() { - if ! use dedicated; then - emake CXXFLAGS="${CXXFLAGS}" STRIP= -C src client server - else - emake CXXFLAGS="${CXXFLAGS}" STRIP= -C src server - fi -} - -src_install() { - insinto /usr/share/redeclipse - doins -r config data - - dobin src/redeclipse_server_linux - - if ! use dedicated; then - dobin src/redeclipse_linux - newicon "src/install/nix/${PN}_x128.png" "${PN}.png" - domenu "src/install/nix/${PN}.desktop" - doman doc/man/redeclipse.6 - fi - - doman doc/man/redeclipse-server.6 - dodoc readme.txt doc/examples/servinit.cfg - - dobin "${FILESDIR}/redeclipse" - dosym redeclipse /usr/bin/redeclipse_server -} diff --git a/games-fps/rott/Manifest b/games-fps/rott/Manifest deleted file mode 100644 index eed0dc3cfb9b..000000000000 --- a/games-fps/rott/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST rott-1.1.2.tar.gz 749079 BLAKE2B 1c18ef25b8bb97a7edf8c376bf0b6da3829ca0406100ee9f44652077c06414d826086e354850a551152901036673b91d686d4d2e816ba6bb29b8dcce68144c00 SHA512 809a9064fe31c63afccb9a6397ac2c9d4172cdd802b055697cf3b0090ee6a78c9e40b52a4a8df25196489d9a0259304c91e2f84f95413a293bc66192502cf200 -DIST swdata.zip 2889672 BLAKE2B 593f95cbfb4a285ab3b946372d618b6b5cf785aa4b2e5228ac8aaaf702ceb8e4cc000d606f5b3aea85af1b34a4fe45bdebc2f692ba3bfc9c1d3afc7c570ad8a0 SHA512 99373097356afa583021367b2e0ec6ec745941890e4f17f4e07206c66dd370dfa9e928bc0bd6ab9809d8c72646dcc609e3c19f688d2b89a886f215a153b6dd0d diff --git a/games-fps/rott/metadata.xml b/games-fps/rott/metadata.xml deleted file mode 100644 index d54cf0f05440..000000000000 --- a/games-fps/rott/metadata.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <longdescription> - THE STORY - - You are part of an elite group of operatives called HUNT (High-risk - United Nations Taskforce), and you must stop a maniac cult leader from - killing millions of people. While scouting a remote island, you are - suddenly surrounded by enemy troops with guns blaring. In the distance - you see your boat--your only chance to escape--explode into matchsticks. - In front of you is a huge fortress monastery, and your only chance to - stop the madness. You are e quipped with awesome, high-tech weaponry - like heat-seeking missiles, split missiles, and the Flamewall cannon, - which leaves a trail of charred skeletons in its wake. You'll also find - magical instruments and weapons so incredible they defy description. - </longdescription> - <use> - <flag name="demo">Install the shareware version</flag> - </use> -</pkgmetadata> diff --git a/games-fps/rott/rott-1.1.2-r1.ebuild b/games-fps/rott/rott-1.1.2-r1.ebuild deleted file mode 100644 index 7b80302df3e4..000000000000 --- a/games-fps/rott/rott-1.1.2-r1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="Rise of the Triad for Linux!" -HOMEPAGE="https://www.icculus.org/rott/" -SRC_URI="https://www.icculus.org/rott/releases/${P}.tar.gz - demo? ( http://filesingularity.timedoctor.org/swdata.zip )" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="demo" - -RDEPEND=" - media-libs/libsdl[sound,joystick,video] - media-libs/sdl-mixer" -DEPEND="${RDEPEND} - app-arch/unzip" - -S="${WORKDIR}/${P}/rott" - -src_prepare() { - default - - sed -i \ - -e '/^CC =/d' \ - Makefile || die "sed failed" - emake clean -} - -src_compile() { - # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/858758 - # - # The upstream homepage notes that you should send bug reports and feature - # requests to your distro. Rationale: "1.1.2 contains all the debian - # patches from the previous 2.5 years" and "1.1.1. contains all the debian - # and fedora patches that accumulated during the past year." - # - # This is an interesting collaborative model that unfortunately means there - # will be NO bug report. - filter-lto - - tc-export CC - emake -j1 \ - EXTRACFLAGS="${CFLAGS} -DDATADIR=\\\"/usr/share/${PN}/\\\"" \ - SHAREWARE=$(usex demo "1" "0") -} - -src_install() { - dobin rott - dodoc ../doc/*.txt ../README - doman ../doc/rott.6 - if use demo ; then - cd "${WORKDIR}" || die - insinto /usr/share/${PN} - doins *.dmo huntbgin.* remote1.rts - fi -} - -pkg_postinst() { - if ! use demo ; then - elog "To play the full version, just copy the" - elog "data files to /usr/share/${PN}/" - fi -} diff --git a/games-fps/sauerbraten/Manifest b/games-fps/sauerbraten/Manifest deleted file mode 100644 index ac6dbb73f725..000000000000 --- a/games-fps/sauerbraten/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST sauerbraten_2020_12_29_linux.tar.bz2 985823440 BLAKE2B 8d3cb9a26b65fecd6596211af58504cf8a2f5f95486785e15fb2faa8398046d80f7548727dff96683a1d6dcd713ec175bbd9ca47852a8c88d872d954d02ab2c0 SHA512 fd2106e4ed3d48352b5cc2f9d4037933a486e6200ef89bf9e3f31952f4a27ef565f7740d45c32bb9b22da0e17e6542257169134f216bc51a6a465ff311f9bae9 diff --git a/games-fps/sauerbraten/files/sauerbraten-2020.12.27-respect-FLAGS-don-t-strip-symbols.patch b/games-fps/sauerbraten/files/sauerbraten-2020.12.27-respect-FLAGS-don-t-strip-symbols.patch deleted file mode 100644 index 6d0dc3b1f082..000000000000 --- a/games-fps/sauerbraten/files/sauerbraten-2020.12.27-respect-FLAGS-don-t-strip-symbols.patch +++ /dev/null @@ -1,146 +0,0 @@ -From: Sam James <sam@gentoo.org> -Date: Thu, 22 Apr 2021 13:47:33 +0000 -Subject: Respect *FLAGS, don't strip symbols - ---- a/src/enet/Makefile -+++ b/src/enet/Makefile -@@ -1,4 +1,3 @@ --CFLAGS=-O3 -fomit-frame-pointer - override CFLAGS:= $(CFLAGS) -Iinclude $(shell ./check_cflags.sh $(CC) $(CFLAGS)) - - OBJS= \ ---- a/src/rpggame/Makefile -+++ b/src/rpggame/Makefile -@@ -1,4 +1,3 @@ --CXXFLAGS= -Os - override CXXFLAGS+= -Wall -fsigned-char -fno-exceptions -fno-rtti - - PLATFORM= $(shell uname -s) -@@ -7,11 +6,6 @@ PLATFORM_PREFIX= native - INCLUDES= -I../shared -I../engine -I../rpggame -I../enet/include - - STRIP= --ifeq (,$(findstring -g,$(CXXFLAGS))) --ifeq (,$(findstring -pg,$(CXXFLAGS))) -- STRIP=strip --endif --endif - - MV=mv - -@@ -118,7 +112,7 @@ clean: - $(filter-out shared/%,$(CLIENT_PCH)): $(filter shared/%,$(CLIENT_PCH)) - - %.h.gch: %.h -- $(CXX) $(CXXFLAGS) -x c++-header -o $@.tmp $< -+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) -x c++-header -o $@.tmp $< - $(MV) $@.tmp $@ - - $(CLIENT_OBJS): CXXFLAGS += $(CLIENT_INCLUDES) -@@ -129,13 +123,13 @@ $(filter ../rpggame/%,$(CLIENT_OBJS)): $(filter ../rpggame/%,$(CLIENT_PCH)) - ifneq (,$(findstring MINGW,$(PLATFORM))) - client: $(CLIENT_OBJS) - $(WINDRES) -I ../vcpp -i ../vcpp/mingw.rc -J rc -o ../vcpp/mingw.res -O coff -- $(CXX) $(CXXFLAGS) -o ../$(WINBIN)/rpg.exe ../vcpp/mingw.res $(CLIENT_OBJS) $(CLIENT_LIBS) -+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o ../$(WINBIN)/rpg.exe ../vcpp/mingw.res $(CLIENT_OBJS) $(CLIENT_LIBS) - ifneq (,$(STRIP)) - $(STRIP) ../../bin/rpg.exe - endif - else - client: libenet $(CLIENT_OBJS) -- $(CXX) $(CXXFLAGS) -o rpg_client $(CLIENT_OBJS) $(CLIENT_LIBS) -+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o rpg_client $(CLIENT_OBJS) $(CLIENT_LIBS) - endif - - depend: ---- a/src/Makefile -+++ b/src/Makefile -@@ -1,4 +1,3 @@ --CXXFLAGS= -O3 -fomit-frame-pointer -ffast-math - override CXXFLAGS+= -Wall -fsigned-char -fno-exceptions -fno-rtti - - PLATFORM= $(shell uname -s | tr '[:lower:]' '[:upper:]') -@@ -7,12 +6,6 @@ PLATFORM_PREFIX= native - INCLUDES= -Ishared -Iengine -Ifpsgame -Ienet/include - - STRIP= --ifeq (,$(findstring -g,$(CXXFLAGS))) --ifeq (,$(findstring -pg,$(CXXFLAGS))) -- STRIP=strip --endif --endif -- - MV=mv - - ifneq (,$(findstring MINGW,$(PLATFORM))) -@@ -65,8 +58,8 @@ CLIENT_LIBS= -F../sauerbraten.app/Contents/Frameworks/ -framework SDL2 -framewor - CLIENT_LIBS+= -framework SDL2_mixer -framework CoreAudio -framework AudioToolbox - CLIENT_LIBS+= -framework AudioUnit -framework OpenGL -framework Cocoa -lz -Lenet -lenet - else --CLIENT_INCLUDES= $(INCLUDES) -I/usr/X11R6/include `sdl2-config --cflags` --CLIENT_LIBS= -Lenet -lenet -L/usr/X11R6/lib -lX11 `sdl2-config --libs` -lSDL2_image -lSDL2_mixer -lz -lGL -+CLIENT_INCLUDES= $(INCLUDES) `sdl2-config --cflags` -+CLIENT_LIBS= -Lenet -lenet -lX11 `sdl2-config --libs` -lSDL2_image -lSDL2_mixer -lz -lGL - endif - endif - ifeq ($(PLATFORM),LINUX) -@@ -173,11 +166,11 @@ clean: - $(filter-out shared/%,$(CLIENT_PCH)): $(filter shared/%,$(CLIENT_PCH)) - - %.h.gch: %.h -- $(CXX) $(CXXFLAGS) -x c++-header -o $@.tmp $< -+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) -x c++-header -o $@.tmp $< - $(MV) $@.tmp $@ - - %-standalone.o: %.cpp -- $(CXX) $(CXXFLAGS) -c -o $@ $< -+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $< - - $(CLIENT_OBJS): CXXFLAGS += $(CLIENT_INCLUDES) - $(filter shared/%,$(CLIENT_OBJS)): $(filter shared/%,$(CLIENT_PCH)) -@@ -188,35 +181,35 @@ $(SERVER_MASTER_OBJS): CXXFLAGS += $(SERVER_INCLUDES) - - ifneq (,$(findstring MINGW,$(PLATFORM))) - client: $(CLIENT_OBJS) -- $(WINDRES) -I vcpp -i vcpp/mingw.rc -J rc -o vcpp/mingw.res -O coff -- $(CXX) $(CXXFLAGS) -o $(WINBIN)/sauerbraten.exe vcpp/mingw.res $(CLIENT_OBJS) $(CLIENT_LIBS) -+ $(WINDRES) -I vcpp -i vcpp/mingw.rc -J rc $(LDFLAGS) -o vcpp/mingw.res $(LDFLAGS) -o coff -+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $(WINBIN)/sauerbraten.exe vcpp/mingw.res $(CLIENT_OBJS) $(CLIENT_LIBS) - - server: $(SERVER_OBJS) -- $(WINDRES) -I vcpp -i vcpp/mingw.rc -J rc -o vcpp/mingw.res -O coff -- $(CXX) $(CXXFLAGS) -o $(WINBIN)/sauer_server.exe vcpp/mingw.res $(SERVER_OBJS) $(SERVER_LIBS) -+ $(WINDRES) -I vcpp -i vcpp/mingw.rc -J rc $(LDFLAGS) -o vcpp/mingw.res $(LDFLAGS) -o coff -+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $(WINBIN)/sauer_server.exe vcpp/mingw.res $(SERVER_OBJS) $(SERVER_LIBS) - - master: $(MASTER_OBJS) -- $(CXX) $(CXXFLAGS) -o $(WINBIN)/sauer_master.exe $(MASTER_OBJS) $(MASTER_LIBS) -+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $(WINBIN)/sauer_master.exe $(MASTER_OBJS) $(MASTER_LIBS) - - install: all - else - client: libenet $(CLIENT_OBJS) -- $(CXX) $(CXXFLAGS) -o sauer_client $(CLIENT_OBJS) $(CLIENT_LIBS) -+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o sauer_client $(CLIENT_OBJS) $(CLIENT_LIBS) - ifneq (,$(findstring DARWIN,$(PLATFORM))) - install_name_tool -add_rpath @executable_path/../Frameworks sauer_client - endif - - server: libenet $(SERVER_OBJS) -- $(CXX) $(CXXFLAGS) -o sauer_server $(SERVER_OBJS) $(SERVER_LIBS) -+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o sauer_server $(SERVER_OBJS) $(SERVER_LIBS) - - master: libenet $(MASTER_OBJS) -- $(CXX) $(CXXFLAGS) -o sauer_master $(MASTER_OBJS) $(MASTER_LIBS) -+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o sauer_master $(MASTER_OBJS) $(MASTER_LIBS) - - shared/cube2font.o: shared/cube2font.c -- $(CXX) $(CXXFLAGS) -c -o $@ $< `freetype-config --cflags` -+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -c -o $@ $< `freetype-config --cflags` - - cube2font: shared/cube2font.o -- $(CXX) $(CXXFLAGS) -o cube2font shared/cube2font.o `freetype-config --libs` -lz -+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o cube2font shared/cube2font.o `freetype-config --libs` -lz - - ifneq (,$(findstring DARWIN,$(PLATFORM))) - install: client diff --git a/games-fps/sauerbraten/files/sauerbraten-2020.12.27-unbundle-enet.patch b/games-fps/sauerbraten/files/sauerbraten-2020.12.27-unbundle-enet.patch deleted file mode 100644 index ad7494b55385..000000000000 --- a/games-fps/sauerbraten/files/sauerbraten-2020.12.27-unbundle-enet.patch +++ /dev/null @@ -1,113 +0,0 @@ -From f269af0dc953ee79d95beabd2679e4c91992ac8d Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Thu, 22 Apr 2021 14:06:00 +0000 -Subject: [PATCH] Unbundle enet - ---- a/src/Makefile -+++ b/src/Makefile -@@ -4,7 +4,7 @@ override CXXFLAGS+= -Wall -fsigned-char -fno-exceptions -fno-rtti - PLATFORM= $(shell uname -s | tr '[:lower:]' '[:upper:]') - PLATFORM_PREFIX= native - --INCLUDES= -Ishared -Iengine -Ifpsgame -Ienet/include -+INCLUDES= -Ishared -Iengine -Ifpsgame - - STRIP= - MV=mv -@@ -57,10 +57,10 @@ override CXX+= -arch x86_64 -mmacosx-version-min=$(OSXMIN) - CLIENT_INCLUDES= $(INCLUDES) -Iinclude - CLIENT_LIBS= -F../sauerbraten.app/Contents/Frameworks/ -framework SDL2 -framework SDL2_image - CLIENT_LIBS+= -framework SDL2_mixer -framework CoreAudio -framework AudioToolbox --CLIENT_LIBS+= -framework AudioUnit -framework OpenGL -framework Cocoa -lz -Lenet -lenet -+CLIENT_LIBS+= -framework AudioUnit -framework OpenGL -framework Cocoa -lz -lenet - else --CLIENT_INCLUDES= $(INCLUDES) `sdl2-config --cflags` --CLIENT_LIBS= -Lenet -lenet -lX11 `sdl2-config --libs` -lSDL2_image -lSDL2_mixer -lz -lGL -+CLIENT_INCLUDES= $(INCLUDES) `sdl2-config --cflags` -+CLIENT_LIBS= -lenet -lX11 `sdl2-config --libs` -lSDL2_image -lSDL2_mixer -lz -lGL - endif - endif - ifeq ($(PLATFORM),LINUX) -@@ -135,7 +135,7 @@ SERVER_LIBS= -mwindows $(STD_LIBS) -L$(WINBIN) -L$(WINLIB) -lzlib1 -lenet -lws2_ - MASTER_LIBS= $(STD_LIBS) -L$(WINBIN) -L$(WINLIB) -lzlib1 -lenet -lws2_32 -lwinmm - else - SERVER_INCLUDES= -DSTANDALONE $(INCLUDES) --SERVER_LIBS= -Lenet -lenet -lz -+SERVER_LIBS= -lenet -lz - MASTER_LIBS= $(SERVER_LIBS) - endif - SERVER_OBJS= \ -@@ -226,10 +226,6 @@ endif - endif - endif - --enet/libenet.a: -- $(MAKE) -C enet CC='$(CC)' AR='$(AR)' --libenet: enet/libenet.a -- - depend: - makedepend -Y -Ishared -Iengine -Ifpsgame $(CLIENT_OBJS:.o=.cpp) - makedepend -a -o.h.gch -Y -Ishared -Iengine -Ifpsgame $(CLIENT_PCH:.h.gch=.h) - ---- a/src/Makefile -+++ b/src/Makefile -@@ -193,16 +193,16 @@ master: $(MASTER_OBJS) - - install: all - else --client: libenet $(CLIENT_OBJS) -+client: $(CLIENT_OBJS) - $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o sauer_client $(CLIENT_OBJS) $(CLIENT_LIBS) - ifneq (,$(findstring DARWIN,$(PLATFORM))) - install_name_tool -add_rpath @executable_path/../Frameworks sauer_client - endif - --server: libenet $(SERVER_OBJS) -+server: $(SERVER_OBJS) - $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o sauer_server $(SERVER_OBJS) $(SERVER_LIBS) - --master: libenet $(MASTER_OBJS) -+master: $(MASTER_OBJS) - $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o sauer_master $(MASTER_OBJS) $(MASTER_LIBS) - - shared/cube2font.o: shared/cube2font.c ---- a/src/rpggame/Makefile -+++ b/src/rpggame/Makefile -@@ -3,7 +3,7 @@ override CXXFLAGS+= -Wall -fsigned-char -fno-exceptions -fno-rtti - PLATFORM= $(shell uname -s) - PLATFORM_PREFIX= native - --INCLUDES= -I../shared -I../engine -I../rpggame -I../enet/include -+INCLUDES= -I../shared -I../engine -I../rpggame - - STRIP= - -@@ -41,7 +41,7 @@ STD_LIBS= -static-libgcc -static-libstdc++ - CLIENT_LIBS= -mwindows $(STD_LIBS) -L../$(WINBIN) -L../$(WINLIB) -lSDL2 -lSDL2_image -lSDL2_mixer -lzlib1 -lopengl32 -lenet -lws2_32 -lwinmm - else - CLIENT_INCLUDES= $(INCLUDES) -I/usr/X11R6/include `sdl2-config --cflags` --CLIENT_LIBS= -L../enet -lenet -L/usr/X11R6/lib -lX11 `sdl2-config --libs` -lSDL2_image -lSDL2_mixer -lz -lGL -+CLIENT_LIBS= -lenet -L/usr/X11R6/lib -lX11 `sdl2-config --libs` -lSDL2_image -lSDL2_mixer -lz -lGL - endif - ifeq ($(PLATFORM),Linux) - CLIENT_LIBS+= -lrt -@@ -102,10 +102,6 @@ default: all - - all: client - --enet/libenet.a: -- $(MAKE) -C ../enet/ --libenet: enet/libenet.a -- - clean: - -$(RM) $(CLIENT_PCH) $(CLIENT_OBJS) rpg_client - -@@ -128,7 +124,7 @@ ifneq (,$(STRIP)) - $(STRIP) ../../bin/rpg.exe - endif - else --client: libenet $(CLIENT_OBJS) -+client: $(CLIENT_OBJS) - $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o rpg_client $(CLIENT_OBJS) $(CLIENT_LIBS) - endif - diff --git a/games-fps/sauerbraten/files/sauerbraten-2020.12.27-use-pkg-config-for-freetype2.patch b/games-fps/sauerbraten/files/sauerbraten-2020.12.27-use-pkg-config-for-freetype2.patch deleted file mode 100644 index ae4a43b43f98..000000000000 --- a/games-fps/sauerbraten/files/sauerbraten-2020.12.27-use-pkg-config-for-freetype2.patch +++ /dev/null @@ -1,28 +0,0 @@ -From: Sam James <sam@gentoo.org> -Date: Thu, 22 Apr 2021 14:33:15 +0000 -Subject: [PATCH] Use pkg-config for freetype2 - ---- a/src/Makefile -+++ b/src/Makefile -@@ -1,5 +1,7 @@ - override CXXFLAGS+= -Wall -fsigned-char -fno-exceptions -fno-rtti - -+PKG_CONFIG?=pkg-config -+ - PLATFORM= $(shell uname -s | tr '[:lower:]' '[:upper:]') - PLATFORM_PREFIX= native - -@@ -206,10 +208,10 @@ master: libenet $(MASTER_OBJS) - $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o sauer_master $(MASTER_OBJS) $(MASTER_LIBS) - - shared/cube2font.o: shared/cube2font.c -- $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -c -o $@ $< `freetype-config --cflags` -+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -c -o $@ $< `${PKG_CONFIG} --cflags freetype2` - - cube2font: shared/cube2font.o -- $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o cube2font shared/cube2font.o `freetype-config --libs` -lz -+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -o cube2font shared/cube2font.o `${PKG_CONFIG} --libs freetype2` -lz - - ifneq (,$(findstring DARWIN,$(PLATFORM))) - install: client --- diff --git a/games-fps/sauerbraten/files/sauerbraten-2020.12.29-includefix.patch b/games-fps/sauerbraten/files/sauerbraten-2020.12.29-includefix.patch deleted file mode 100644 index 422d6b1b3963..000000000000 --- a/games-fps/sauerbraten/files/sauerbraten-2020.12.29-includefix.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff --git a/movie.cpp b/movie.cpp -index 25cb491..7f7536c 100644 ---- a/src/engine/movie.cpp -+++ b/src/engine/movie.cpp -@@ -8,7 +8,7 @@ - // kino - ok - - #include "engine.h" --#include "SDL_mixer.h" -+#include <SDL2/SDL_mixer.h> - - VAR(dbgmovie, 0, 0, 1); - -diff --git a/sound.cpp b/sound.cpp -index 38ff025..a0ed5db 100644 ---- a/src/engine/sound.cpp -+++ b/src/engine/sound.cpp -@@ -1,7 +1,7 @@ - // sound.cpp: basic positional sound using sdl_mixer - - #include "engine.h" --#include "SDL_mixer.h" -+#include <SDL2/SDL_mixer.h> - - bool nosound = true; - -diff --git a/texture.cpp b/texture.cpp -index 964d39d..f76b9b1 100644 ---- a/src/engine/texture.cpp -+++ b/src/engine/texture.cpp -@@ -1,7 +1,7 @@ - // texture.cpp: texture slot management - - #include "engine.h" --#include "SDL_image.h" -+#include <SDL2/SDL_image.h> - - #ifndef SDL_IMAGE_VERSION_ATLEAST - #define SDL_IMAGE_VERSION_ATLEAST(X, Y, Z) \ diff --git a/games-fps/sauerbraten/files/sauerbraten.conf b/games-fps/sauerbraten/files/sauerbraten.conf deleted file mode 100644 index f0c2896b2bea..000000000000 --- a/games-fps/sauerbraten/files/sauerbraten.conf +++ /dev/null @@ -1,28 +0,0 @@ -# Config file for /etc/init.d/sauerbraten - -# Owner of Sauerbraten server processes (must be existing) -USER="sauerbraten" -GROUP="sauerbraten" - - -# Whether to run the dedicated server -RUNSERVER="Yes" - -# Location of the dedicated server config directory -SERVERCONFIG="/var/lib/sauerbraten" - -# Additional command line arguments to the dedicated server -SERVERARGS="" - - -# Whether to run the master server -RUNMASTER="No" - -# Location of the master server config directory -MASTERCONFIG="/var/lib/sauerbraten" - -# What port should the masterserver use -MASTERPORT="28787" - -# What ip should the masterserver bind to -MASTERIP="" diff --git a/games-fps/sauerbraten/files/sauerbraten.init b/games-fps/sauerbraten/files/sauerbraten.init deleted file mode 100644 index 14248bc88959..000000000000 --- a/games-fps/sauerbraten/files/sauerbraten.init +++ /dev/null @@ -1,74 +0,0 @@ -#!/sbin/openrc-run - -depend() { - use net -} - -start() { - [ $(echo ${RUNMASTER} | tr '[:upper:]' '[:lower:]') = "yes" ] && start_master - [ $(echo ${RUNSERVER} | tr '[:upper:]' '[:lower:]') = "yes" ] && start_server - true -} - -start_server() { - ebegin "Starting Sauerbraten dedicated server" - - # Make sure necessary parameters are set - SERVERCONFIG="${SERVERCONFIG:-%SYSCONFDIR%}" - - if [ ! -d ${SERVERCONFIG} ]; then - einfo "No ${SERVERCONFIG} around. Creating new..." - mkdir ${SERVERCONFIG} - chown ${USER}:${GROUP} ${SERVERCONFIG} - fi - - start-stop-daemon \ - --quiet --start --user ${USER}:${GROUP} --chdir ${SERVERCONFIG} \ - --make-pidfile --pidfile /var/run/sauerbraten/server.pid \ - --background --exec %LIBEXECDIR%/sauer_server -- ${SERVERARGS} - eend $? -} - -start_master() { - ebegin "Starting Sauerbraten master server" - - # Make sure necessary parameters are set - MASTERCONFIG="${MASTERCONFIG:-%SYSCONFDIR%}" - [ -n "${MASTERIP}" ] && MASTERPORT="${MASTERPORT:-28787}" - MASTERARGS="${MASTERCONFIG}/ ${MASTERPORT} ${MASTERIP}" - - if [ ! -d ${MASTERCONFIG} ]; then - einfo "No ${MASTERCONFIG} around. Creating new..." - mkdir ${MASTERCONFIG} - chown ${USER}:${GROUP} ${MASTERCONFIG} - fi - - start-stop-daemon \ - --quiet --start --user ${USER}:${GROUP} \ - --make-pidfile --pidfile /var/run/sauerbraten/master.pid \ - --background --exec %LIBEXECDIR%/sauer_master -- ${MASTERARGS} - eend $? -} - -stop() { - [ $(echo ${RUNSERVER} | tr '[:upper:]' '[:lower:]') = "yes" ] && stop_server - [ $(echo ${RUNMASTER} | tr '[:upper:]' '[:lower:]') = "yes" ] && stop_master - true -} - -stop_server() { - ebegin "Stopping Sauerbraten dedicated server" - start-stop-daemon --stop --retry 3 --pidfile /var/run/sauerbraten/server.pid - eend $? -} - -stop_master() { - ebegin "Stopping Sauerbraten master server" - start-stop-daemon --stop --retry 3 --pidfile /var/run/sauerbraten/master.pid - eend $? -} - -restart() { - svc_stop - svc_start -} diff --git a/games-fps/sauerbraten/metadata.xml b/games-fps/sauerbraten/metadata.xml deleted file mode 100644 index 438f4f0f9813..000000000000 --- a/games-fps/sauerbraten/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <use> - <flag name="server">Compile server support</flag> - </use> - <upstream> - <remote-id type="sourceforge">sauerbraten</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-fps/sauerbraten/sauerbraten-2020.12.29.ebuild b/games-fps/sauerbraten/sauerbraten-2020.12.29.ebuild deleted file mode 100644 index 447ca038571c..000000000000 --- a/games-fps/sauerbraten/sauerbraten-2020.12.29.ebuild +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop flag-o-matic toolchain-funcs wrapper xdg - -DESCRIPTION="Sauerbraten is a FOSS game engine (Cube 2) with freeware game data (Sauerbraten)" -HOMEPAGE="http://sauerbraten.org/" -SRC_URI="https://downloads.sourceforge.net/sauerbraten/sauerbraten/2020_11_29/sauerbraten_${PV//./_}_linux.tar.bz2" -S="${WORKDIR}"/${PN} - -LICENSE="ZLIB freedist" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug dedicated server" - -DEPEND=" - >=net-libs/enet-1.3.6:1.3 - virtual/zlib:= - !dedicated? ( - media-libs/libsdl2[X,opengl] - media-libs/sdl2-image - media-libs/sdl2-mixer - virtual/opengl - virtual/glu - x11-libs/libX11 - ) -" -RDEPEND=" - ${DEPEND} - acct-group/sauerbraten - dedicated? ( acct-user/sauerbraten ) -" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - # Respect CXXFLAGS, LDFLAGS - "${FILESDIR}"/${PN}-2020.12.27-respect-FLAGS-don-t-strip-symbols.patch - - # Patch Makefile to use system enet instead of bundled - "${FILESDIR}"/${PN}-2020.12.27-unbundle-enet.patch - - # Don't use freetype-config, it's obsolete - "${FILESDIR}"/${PN}-2020.12.27-use-pkg-config-for-freetype2.patch - # More sensible ways of including SDL_mixer and SDL_image. Game doesn't build w/o this. - "${FILESDIR}"/${PN}-2020.12.29-includefix.patch -) - -src_prepare() { - rm -rf sauerbraten_unix bin_unix src/{include,lib,vcpp} || die - - default - - # Fix links so they point to the correct directory - sed -i -e 's:docs/::' README.html || die -} - -src_compile() { - tc-export CXX PKG_CONFIG - - if use debug ; then - append-cppflags -D_DEBUG - fi - - emake -C src \ - master \ - $(usex dedicated "server" "$(usex server "server client" "client")") -} - -src_install() { - local LIBEXECDIR="/usr/lib" - local DATADIR="/usr/share/${PN}" - local STATEDIR="/var/lib/${PN}" - - if ! use dedicated ; then - # Install the game data - insinto "${DATADIR}" - doins -r data packages - - # Install the client executable - exeinto "${LIBEXECDIR}" - doexe src/sauer_client - - # Install the client wrapper - make_wrapper "${PN}-client" "${LIBEXECDIR}/sauer_client -q\$HOME/.${PN} -r" "${DATADIR}" - - # Create menu entry - newicon -s 256 data/cube.png ${PN}.png - make_desktop_entry "${PN}-client" "Cube 2: Sauerbraten" - fi - - # Install the server config files - insinto "${STATEDIR}" - doins server-init.cfg - - # Install the server executables - exeinto "${LIBEXECDIR}" - doexe src/sauer_master - - if use dedicated || use server ; then - doexe src/sauer_server - fi - - make_wrapper "${PN}-server" \ - "${LIBEXECDIR}/sauer_server -k${DATADIR} -q${STATEDIR}" - make_wrapper "${PN}-master" \ - "${LIBEXECDIR}/sauer_master ${STATEDIR}" - - # Install the server init script - cp "${FILESDIR}"/${PN}.init "${T}" || die - sed -i \ - -e "s:%SYSCONFDIR%:${STATEDIR}:g" \ - -e "s:%LIBEXECDIR%:${LIBEXECDIR}:g" \ - -e "s:%/var/lib/%:/var/run:g" \ - "${T}"/${PN}.init || die - - newinitd "${T}"/${PN}.init ${PN} - cp "${FILESDIR}"/${PN}.conf "${T}" || die - sed -i \ - -e "s:%SYSCONFDIR%:${STATEDIR}:g" \ - -e "s:%LIBEXECDIR%:${LIBEXECDIR}:g" \ - -e "s:%GAMES_USER_DED%:sauerbraten:g" \ - -e "s:%GAMES_GROUP%:sauerbraten:g" \ - "${T}"/${PN}.conf || die - newconfd "${T}"/${PN}.conf ${PN} - - dodoc src/*.txt docs/dev/*.txt - - docinto html - dodoc -r README.html docs/* -} - -pkg_postinst() { - xdg_pkg_postinst - - elog "If you plan to use map editor feature copy all map data from ${DATADIR}" - elog "to corresponding folder in your HOME/.${PN}" -} diff --git a/games-fps/serioussam-tfe-data/Manifest b/games-fps/serioussam-tfe-data/Manifest deleted file mode 100644 index be0fb14292c0..000000000000 --- a/games-fps/serioussam-tfe-data/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST serioussamfe-patch_1.05_FE.tar.xz 1221836 BLAKE2B 0ae7103151ee42f3c1ff88afd2d77037e0c3e5c49c19adf213068f87eed524c7aa6552d020c3337f5457847f167c1a2e4ca1fda7572e96b9630fb2dbfd3e6b0f SHA512 18c5a5f66e1fbe3864eca3274d20e525f50c223507e0c1c793a642aed66edfeb723cf3d4ffc583afa4d9a10388cbed14af7035bf6a1b9c214dac79c5eb1d2548 diff --git a/games-fps/serioussam-tfe-data/metadata.xml b/games-fps/serioussam-tfe-data/metadata.xml deleted file mode 100644 index e76bc72b6a01..000000000000 --- a/games-fps/serioussam-tfe-data/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>t.x00100x.t@yandex.ru</email> - <name>Alexander Pavlov</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <upstream> - <remote-id type="github">tx00100xt/serioussam-mods</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-fps/serioussam-tfe-data/serioussam-tfe-data-1.5-r1.ebuild b/games-fps/serioussam-tfe-data/serioussam-tfe-data-1.5-r1.ebuild deleted file mode 100644 index 8b0b3f73ea37..000000000000 --- a/games-fps/serioussam-tfe-data/serioussam-tfe-data-1.5-r1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cdrom unpacker - -# Game name -GN="serioussam" -PATCH_PREFIX="${GN}fe-patch_1.05_FE" - -DESCRIPTION="Croteam's Serious Sam Classic The First Encounter ... the data files" -HOMEPAGE="https://www.croteam.com/ - https://store.steampowered.com/app/41050/Serious_Sam_Classic_The_First_Encounter/" -SRC_URI="https://github.com/tx00100xt/serioussam-mods/raw/main/Patches/${PATCH_PREFIX}.tar.xz" -S="${WORKDIR}" - -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="bindist" - -pkg_setup() { - cdrom_get_cds "Install/1_00_music.gro" -} - -src_unpack() { - mkdir Levels Mods || die "failed create dirs" - cat "${DISTDIR}/${PATCH_PREFIX}.tar.xz" > "${PATCH_PREFIX}.tar.xz" \ - || die "failed to copy patch 1.05" - unpack "${WORKDIR}/${PATCH_PREFIX}.tar.xz" -} - -src_install() { - local dir="/usr/share/${GN}" - - einfo "Copying from ${CDROM_ROOT}" - insinto "${dir}" - doins -r "${CDROM_ROOT}"/Install/* - - mv "${WORKDIR}"/*.gro "${ED}${dir}" || die "failed to moved patch 1.05" - mv "${ED}${dir}"/Scripts/PersistentSymbols.ini "${WORKDIR}" \ - || die "failed to moved PersistentSymbols.ini" - - rm -rf \ - "${ED}${dir}"/{Bin,Controls,Data,Demos,Mods,Players,Scripts} \ - || die "failed to remove directories" - rm -rf \ - "${ED}${dir}"/{VirtualTrees,Locales,Help/ShellSymbols.txt} \ - || die "failed to remove directories" - mkdir "${ED}${dir}/Scripts" || die "failed create Scripts dir" - mv "${WORKDIR}"/PersistentSymbols.ini "${ED}${dir}/Scripts" \ - || die "failed to moved PersistentSymbols.ini" - - # Remove useless Windows files - rm -f "${ED}${dir}"/{*.exe,*.ex_,*.bmp,*.inx,*.hdr,*.bin,*.cab,*.ini,*.log} \ - || die "Failed to remove windows cruft" - - # Ensure that file datestamps from the CD are sane - find "${ED}${dir}"/Levels -exec touch -d '09 May 2020 14:00' '{}' \; \ - || die "touch failed" -} - -pkg_postinst() { - elog "Important information about the Linux port is at:" - elog " https://github.com/tx00100xt/SeriousSamClassic-VK" - elog " look at:" - elog " https://github.com/tx00100xt/SeriousSamClassic-VK/wiki" - elog " For information about of the game" -} diff --git a/games-fps/serioussam-tse-data/Manifest b/games-fps/serioussam-tse-data/Manifest deleted file mode 100644 index 17920efbe1b7..000000000000 --- a/games-fps/serioussam-tse-data/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST serioussamse-patch_1.07_SE.tar.xz 33172 BLAKE2B bc185d0b504e7aa01862a57ba97691881e19d0031ac88187ec80fb52d8bd758c0dac6b932a333fa4f9df09264232ab87e97875a8ae7a58cd0816153a082ffc45 SHA512 1c0e2ac2503584d26ac7fc59f72b0dcb6903bfc4897acc5732b426fe691928c1f49839b3a893809e635e178e447aa72fb9969179806a1703d412c4ea321ca637 diff --git a/games-fps/serioussam-tse-data/metadata.xml b/games-fps/serioussam-tse-data/metadata.xml deleted file mode 100644 index e76bc72b6a01..000000000000 --- a/games-fps/serioussam-tse-data/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>t.x00100x.t@yandex.ru</email> - <name>Alexander Pavlov</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <upstream> - <remote-id type="github">tx00100xt/serioussam-mods</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-fps/serioussam-tse-data/serioussam-tse-data-1.7-r1.ebuild b/games-fps/serioussam-tse-data/serioussam-tse-data-1.7-r1.ebuild deleted file mode 100644 index 3f46d0d019f9..000000000000 --- a/games-fps/serioussam-tse-data/serioussam-tse-data-1.7-r1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cdrom unpacker - -# Game name -GN="serioussamse" -PATCH_PREFIX="${GN}-patch_1.07_SE" - -DESCRIPTION="Croteam's Serious Sam Classic The Second Encounter ... the data files" -HOMEPAGE="https://www.croteam.com/ - https://store.steampowered.com/app/41060/Serious_Sam_Classic_The_Second_Encounter/" -SRC_URI="https://github.com/tx00100xt/serioussam-mods/raw/main/Patches/${PATCH_PREFIX}.tar.xz" -S="${WORKDIR}" - -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="bindist" - -pkg_setup() { - cdrom_get_cds "Install/SE1_00_Levels.gro" -} - -src_unpack() { - mkdir Levels Mods || die "failed create dirs" - cat "${DISTDIR}/${PATCH_PREFIX}.tar.xz" > "${PATCH_PREFIX}.tar.xz" \ - || die "failed to copy patch 1.07" - unpack "${WORKDIR}/${PATCH_PREFIX}.tar.xz" -} - -src_install() { - local dir="/usr/share/${GN}" - - einfo "Copying from ${CDROM_ROOT}" - insinto "${dir}" - doins -r "${CDROM_ROOT}"/Install/* - - mv "${WORKDIR}"/*.gro "${ED}${dir}" || die "failed to moved patch 1.07" - mv "${ED}${dir}"/Scripts/PersistentSymbols.ini "${WORKDIR}" \ - || die "failed to moved PersistentSymbols.ini" - - rm -rf \ - "${ED}${dir}"/{Bin,Controls,Data,Demos,Mods,Players,Scripts,Locales} \ - || die "failed to remove directories" - rm -rf \ - "${ED}${dir}"/{VirtualTrees,ModEXT.txt,Help/ShellSymbols.txt} \ - || die "failed to remove directories" - mkdir "${ED}${dir}/Scripts" || die "failed create Scripts dir" - mv "${WORKDIR}"/PersistentSymbols.ini "${ED}${dir}/Scripts" \ - || die "failed to moved PersistentSymbols.ini" - - # Remove useless Windows files - rm -f "${ED}${dir}"/{*.exe,*.ex_,*.bmp,*.inx,*.hdr,*.bin,*.cab,*.ini,*.log} \ - || die "Failed to remove windows cruft" - - # Ensure that file datestamps from the CD are sane - find "${ED}${dir}"/Levels -exec touch -d '09 May 2020 14:00' '{}' \; \ - || die "touch failed" -} - -pkg_postinst() { - elog "Important information about the Linux port is at:" - elog " https://github.com/tx00100xt/SeriousSamClassic-VK" - elog " look at:" - elog " https://github.com/tx00100xt/SeriousSamClassic-VK/wiki" - elog " For information about of the game" -} diff --git a/games-fps/serioussam/Manifest b/games-fps/serioussam/Manifest deleted file mode 100644 index a3473b88b03b..000000000000 --- a/games-fps/serioussam/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST serioussam-1.10.6c.tar.gz 47908208 BLAKE2B 90af9f8c11b474ce0e114c3390e1afd5c746c1b2ca4e61bd6085f1dc42f6f73981cc4434ff8fdcc1306178ae9d2707026765a3a1da006d5adb841d2d314a4214 SHA512 de1ba536c84977d1e7335833b8a2080b13a22ca25efba88363972dceb4bcbfda1db448de42d262fa003fe9df393327509e76afc3cc501f96ed6495d29b74b6bb -DIST serioussam-1.10.6d.tar.gz 47922084 BLAKE2B b035df25f897e498e8e6bf4707c3003e0aeb79eff8d0067b5887716acd3630640e2d599434288635f4ae7d6aeb522a0e814c0b5acb64dc6166d7b7487e9ee88c SHA512 1a71e1277f6d2e7d0d059a15c51877d3d838e1c97ea6d8c61cdeb4ff0a4c2640be6a412db2c099b78d15b657d3b0bf8f324416d9258f7867fee6cf54923a542d diff --git a/games-fps/serioussam/metadata.xml b/games-fps/serioussam/metadata.xml deleted file mode 100644 index c9c22cde71e7..000000000000 --- a/games-fps/serioussam/metadata.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>t.x00100x.t@yandex.ru</email> - <name>Alexander Pavlov</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <use> - <flag name="alsa">Enable support ALSA sound.</flag> - <flag name="pipewire">Enable support for pipewire.</flag> - <flag name="vulkan">Enable support Vulkan render.</flag> - </use> - <upstream> - <remote-id type="github">tx00100xt/SeriousSamClassic-VK</remote-id> - <bugs-to>https://github.com/tx00100xt/SeriousSamClassic-VK/issues</bugs-to> - <changelog>https://github.com/tx00100xt/SeriousSamClassic-VK/releases</changelog> - </upstream> -</pkgmetadata> diff --git a/games-fps/serioussam/serioussam-1.10.6c.ebuild b/games-fps/serioussam/serioussam-1.10.6c.ebuild deleted file mode 100644 index 2931c975d622..000000000000 --- a/games-fps/serioussam/serioussam-1.10.6c.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake desktop - -MY_PN1="SamTFE" -MY_PN2="SamTSE" -# Game name -GN1="serioussam" -GN2="serioussamse" - -DESCRIPTION="Linux port of Serious Sam Classic with Vulkan support" -HOMEPAGE="https://github.com/tx00100xt/SeriousSamClassic-VK" -SRC_URI="https://github.com/tx00100xt/SeriousSamClassic-VK/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/SeriousSamClassic-VK-${PV}" - -MY_CONTENT1="${WORKDIR}/SeriousSamClassic-VK-${PV}/${MY_PN1}" -MY_CONTENT2="${WORKDIR}/SeriousSamClassic-VK-${PV}/${MY_PN2}" - -LICENSE="GPL-2 ZLIB" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="alsa pipewire vulkan" - -RDEPEND=" - games-fps/serioussam-tfe-data - games-fps/serioussam-tse-data - media-libs/libsdl2[video,joystick,opengl] - media-libs/libvorbis - virtual/zlib:= - alsa? ( - >=media-libs/libsdl2-2.0.6[alsa,sound] - ) - pipewire? ( - >=media-libs/libsdl2-2.0.6[pipewire,sound] - ) - vulkan? ( - dev-util/vulkan-headers - media-libs/vulkan-loader - media-libs/libsdl2[video,joystick,opengl,vulkan] - ) -" - -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - app-alternatives/lex - app-alternatives/yacc - media-gfx/imagemagick -" - -src_configure() { - einfo "Remove Win32 stuff..." - rm -rf "${MY_CONTENT1}"/Tools.Win32 || die "Failed to remove stuff Win32" - rm -rf "${MY_CONTENT2}"/Tools.Win32 || die "Failed to remove stuff Win32" - - einfo "Setting build type Release..." - CMAKE_BUILD_TYPE="Release" - local mycmakeargs=( - -DUSE_SYSTEM_INSTALL=ON - -DUSE_SYSTEM_VULKAN=$(usex vulkan ON OFF) - -DUSE_ASM=$(usex x86 OFF ON) - ) - cmake_src_configure -} - -src_install() { - local dir1="/usr/share/${GN1}" - local dir2="/usr/share/${GN2}" - local dir3="/usr/share/applications" - cmake_src_install - - # install man pages - mv "${S}"/man/gentoo/serioussam-vk.1 "${S}"/man/gentoo/serioussam.1 \ - || die "Failed move man pages" - doman "${S}"/man/gentoo/serioussam.1 - - # removing repo stuff - rm -fr "${MY_CONTENT1}/Sources" && rm -fr "${MY_CONTENT2}/Sources" \ - || die "Failed to remove Sources" - rm -f "${MY_CONTENT1}"/{*.png,*.desktop} \ - || die "Failed to remove serioussam icon and desktop file" - rm -f "${MY_CONTENT2}"/{*.png,*.desktop} \ - || die "Failed to remove serioussamse icon and desktop file" - rm -f "${ED}${dir3}/${GN1}.desktop" "${ED}${dir3}/${GN2}.desktop" \ - || die "Failed to remove desktop file" - - # moving repo content (Scripts, Data, Settings ...) - cp -fr "${MY_CONTENT1}"/* "${ED}${dir1}" \ - || die "Failed to copy repo content (Scripts, Settings)" - cp -fr "${MY_CONTENT2}"/* "${ED}${dir2}" \ - || die "Failed to copy repo content (Scripts, Settings)" - - make_desktop_entry ${GN1} "Serious Sam The First Encounter" ${GN1} - make_desktop_entry ${GN2} "Serious Sam The Second Encounter" ${GN2} -} - -pkg_postinst() { - elog " Look at:" - elog " man serioussam" - elog " https://github.com/tx00100xt/SeriousSamClassic-VK" - elog " https://github.com/tx00100xt/SeriousSamClassic-VK/wiki" - elog " For information on the first launch of the game" -} diff --git a/games-fps/serioussam/serioussam-1.10.6d.ebuild b/games-fps/serioussam/serioussam-1.10.6d.ebuild deleted file mode 100644 index 572da9131dd9..000000000000 --- a/games-fps/serioussam/serioussam-1.10.6d.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake desktop - -MY_PN1="SamTFE" -MY_PN2="SamTSE" -# Game name -GN1="serioussam" -GN2="serioussamse" - -DESCRIPTION="Linux port of Serious Sam Classic with Vulkan support" -HOMEPAGE="https://github.com/tx00100xt/SeriousSamClassic-VK" -SRC_URI="https://github.com/tx00100xt/SeriousSamClassic-VK/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/SeriousSamClassic-VK-${PV}" - -MY_CONTENT1="${WORKDIR}/SeriousSamClassic-VK-${PV}/${MY_PN1}" -MY_CONTENT2="${WORKDIR}/SeriousSamClassic-VK-${PV}/${MY_PN2}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="alsa pipewire vulkan" - -RDEPEND=" - games-fps/serioussam-tfe-data - games-fps/serioussam-tse-data - media-libs/libsdl2[video,joystick,opengl] - media-libs/libvorbis - virtual/zlib:= - alsa? ( - >=media-libs/libsdl2-2.0.6[alsa,sound] - ) - pipewire? ( - >=media-libs/libsdl2-2.0.6[pipewire,sound] - ) - vulkan? ( - dev-util/vulkan-headers - media-libs/vulkan-loader - media-libs/libsdl2[video,joystick,opengl,vulkan] - ) -" - -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - app-alternatives/lex - app-alternatives/yacc - media-gfx/imagemagick -" - -src_configure() { - einfo "Remove Win32 stuff..." - rm -rf "${MY_CONTENT1}"/Tools.Win32 || die "Failed to remove stuff Win32" - rm -rf "${MY_CONTENT2}"/Tools.Win32 || die "Failed to remove stuff Win32" - - einfo "Setting build type Release..." - CMAKE_BUILD_TYPE="Release" - local mycmakeargs=( - -DUSE_SYSTEM_INSTALL=ON - -DUSE_SYSTEM_VULKAN=$(usex vulkan ON OFF) - -DUSE_ASM=$(usex x86 OFF ON) - ) - cmake_src_configure -} - -src_install() { - local dir1="/usr/share/${GN1}" - local dir2="/usr/share/${GN2}" - local dir3="/usr/share/applications" - cmake_src_install - - # install man pages - mv "${S}"/man/gentoo/serioussam-vk.1 "${S}"/man/gentoo/serioussam.1 \ - || die "Failed move man pages" - doman "${S}"/man/gentoo/serioussam.1 - - # removing repo stuff - rm -fr "${MY_CONTENT1}/Sources" && rm -fr "${MY_CONTENT2}/Sources" \ - || die "Failed to remove Sources" - rm -f "${MY_CONTENT1}"/{*.png,*.desktop} \ - || die "Failed to remove serioussam icon and desktop file" - rm -f "${MY_CONTENT2}"/{*.png,*.desktop} \ - || die "Failed to remove serioussamse icon and desktop file" - rm -f "${ED}${dir3}/${GN1}.desktop" "${ED}${dir3}/${GN2}.desktop" \ - || die "Failed to remove desktop file" - - # moving repo content (Scripts, Data, Settings ...) - cp -fr "${MY_CONTENT1}"/* "${ED}${dir1}" \ - || die "Failed to copy repo content (Scripts, Settings)" - cp -fr "${MY_CONTENT2}"/* "${ED}${dir2}" \ - || die "Failed to copy repo content (Scripts, Settings)" - - make_desktop_entry ${GN1} "Serious Sam The First Encounter" ${GN1} - make_desktop_entry ${GN2} "Serious Sam The Second Encounter" ${GN2} -} - -pkg_postinst() { - elog " Look at:" - elog " man serioussam" - elog " https://github.com/tx00100xt/SeriousSamClassic-VK" - elog " https://github.com/tx00100xt/SeriousSamClassic-VK/wiki" - elog " For information on the first launch of the game" -} diff --git a/games-fps/soldieroffortune/Manifest b/games-fps/soldieroffortune/Manifest deleted file mode 100644 index d34b45f915b5..000000000000 --- a/games-fps/soldieroffortune/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST sof-1.06a-cdrom-x86.run 22928437 BLAKE2B f76f605af08a19b77548455c0101e03aca7cae69462914e47911da2fadd6d4f3b766e1069556ead0d06c757b179ae2e8105e76ea37852f17796b47b4712aec87 SHA512 91ef3953bd6b6630ab602f64d15a3056f85d90139b18aa3eb9a9a0a75db2ece61ef683ddf1d03b63f0dfc902d7a27914ae673398713941f281e96555d9645078 diff --git a/games-fps/soldieroffortune/metadata.xml b/games-fps/soldieroffortune/metadata.xml deleted file mode 100644 index d2e45524c8e9..000000000000 --- a/games-fps/soldieroffortune/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> -</maintainer> -<longdescription> -Soldier of Fortune is a first-person 3-D shooter based on the mercenary trade. You play as John, an ex-military mercinary who still has plenty of good friends on the inside. For a wad of bucks, you'll do the job -- no cares, no worries. Just get the gun, play for keeps, get paid, on to the next one -- that's your life. That's what you do. And you're good at it, one of the best even. But now is the time for your biggest challenge ever. The game was ported to Linux by the now defunct Loki Entertainment and is commercial software. You can still pick up a copy from Tuxgames (http://www.tuxgames.com), but supplies are limited, as the publisher is no longer in business. -</longdescription> -</pkgmetadata> diff --git a/games-fps/soldieroffortune/soldieroffortune-1.06a-r2.ebuild b/games-fps/soldieroffortune/soldieroffortune-1.06a-r2.ebuild deleted file mode 100644 index 9a8d92f1d5fa..000000000000 --- a/games-fps/soldieroffortune/soldieroffortune-1.06a-r2.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -CHECKREQS_DISK_BUILD="1450M" -CHECKREQS_DISK_USR="725M" -inherit cdrom check-reqs desktop unpacker wrapper - -DESCRIPTION="First-person shooter based on the mercenary trade" -HOMEPAGE="https://www.lokigames.com/products/sof/" -SRC_URI="https://updates.lokigames.com/sof/sof-${PV}-cdrom-x86.run" -S="${WORKDIR}" - -LICENSE="LOKI-EULA" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="strip mirror bindist" - -RDEPEND=" - media-libs/libsdl[X,opengl,sound,abi_x86_32(-)] - media-libs/smpeg[abi_x86_32(-)] - sys-libs/glibc - virtual/opengl[abi_x86_32(-)] - x11-libs/libXrender[abi_x86_32(-)] - x11-libs/libXrandr[abi_x86_32(-)] - amd64? ( sys-libs/glibc[multilib] ) -" -BDEPEND="games-util/loki_patch" - -dir=opt/${PN} -Ddir="${ED}"/${dir} -unpackDir="${T}"/unpack - -pkg_pretend() { - check-reqs_pkg_pretend -} - -src_unpack() { - cdrom_get_cds sof.xpm - unpack_makeself - mkdir ${unpackDir} || die - tar xzf "${CDROM_ROOT}"/paks.tar.gz -C "${unpackDir}" || die - tar xzf "${CDROM_ROOT}"/binaries.tar.gz -C "${unpackDir}" || die -} - -src_install() { - einfo "Copying files... this may take a while..." - - exeinto ${dir} - doexe "${CDROM_ROOT}"/bin/x86/glibc-2.1/sof - - insinto ${dir} - doins -r "${unpackDir}"/* - doins "${CDROM_ROOT}"/{README,kver.pub,sof.xpm} - - cd "${S}" || die - export _POSIX2_VERSION=199209 - loki_patch --verify patch.dat || die - loki_patch patch.dat "${Ddir}" >& /dev/null || die - - # now, since these files are coming off a cd, the times/sizes/md5sums wont - # be different ... that means portage will try to unmerge some files (!) - # we run touch on ${D} so as to make sure portage doesnt do any such thing - find "${Ddir}" -exec touch '{}' + || die - - make_wrapper sof ./sof "${dir}" "${dir}" - - # Fix buffer overflow - sed -i -e '/^exec/i \ -export MESA_EXTENSION_MAX_YEAR=2003 \ -export __GL_ExtensionStringVersion=17700' \ - "${ED}/usr/bin/sof" || die - - doicon "${CDROM_ROOT}"/sof.xpm - make_desktop_entry sof "Soldier of Fortune" sof -} - -pkg_postinst() { - elog "To play the game run:" - elog " sof" -} diff --git a/games-fps/the-dark-mod-bin/Manifest b/games-fps/the-dark-mod-bin/Manifest deleted file mode 100644 index 236cde46aa1c..000000000000 --- a/games-fps/the-dark-mod-bin/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST the-dark-mod-2.12.tar.xz 17263615692 BLAKE2B c4a7b2bbf804b46c88ded6150970989c6f6aa5e200a0cea175169f8c109b2d6bde565010bcfca200d75961f21fc90588fc347c9a2059c2a06431362e3327583c SHA512 35bba5d49a5a7dd5c612b06996a2ce43f6aa3b9e07db9fdeb42a403b1d34d825c6a6877c6690a0ae082a8a8a5e85abdcda62ccaa897a2f2c238fe492a1f456d1 diff --git a/games-fps/the-dark-mod-bin/metadata.xml b/games-fps/the-dark-mod-bin/metadata.xml deleted file mode 100644 index 115e9d64a669..000000000000 --- a/games-fps/the-dark-mod-bin/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> -</pkgmetadata> diff --git a/games-fps/the-dark-mod-bin/the-dark-mod-bin-2.12-r1.ebuild b/games-fps/the-dark-mod-bin/the-dark-mod-bin-2.12-r1.ebuild deleted file mode 100644 index 1beb62eef0be..000000000000 --- a/games-fps/the-dark-mod-bin/the-dark-mod-bin-2.12-r1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Inspired by Thief on Doom 3 libre engine (id Tech 4)" -HOMEPAGE=" - https://www.thedarkmod.com - https://en.wikipedia.org/wiki/The_Dark_Mod -" -SRC_URI="https://archive.org/download/the-dark-mod/the-dark-mod-$PV.tar.xz" - -S="${WORKDIR}/the-dark-mod" - -LICENSE=" - GPL-3 - CC-BY-NC-ND-3.0 -" -SLOT="0" -KEYWORDS="~amd64" - -QA_PREBUILT="*" -RESTRICT="strip" - -DEPEND="x11-libs/libX11" -RDEPEND="${DEPEND}" - -src_install() { - dodir /opt - dodir /usr/bin/ - - cp -r . "$ED/opt/$PN" || die - - echo "cd /opt/$PN; ./thedarkmod.x64; cd -" > "$ED/usr/bin/$PN" - fperms +x "/usr/bin/$PN" -} diff --git a/games-fps/transfusion-bin/Manifest b/games-fps/transfusion-bin/Manifest deleted file mode 100644 index 9068b7e82547..000000000000 --- a/games-fps/transfusion-bin/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST transfusion-1.0-linux.i386.zip 40532193 BLAKE2B 9b12f8d6ed91a1c31935f21a3094e186439159401411f3e1291381832dc09dcbc265113ed6df056109394b2c59ee9b556a7e16ebde6b001acd63a8854a58ebbe SHA512 cd4372e09ac6e3e4f1e2fe99afb18b1c5981c56dac84edd4d440be8914322984a377d4622e2b45719fead86d1b1c7f3ab74580430eba8b69bbe01702c8dbcafb -DIST transfusion-patch-1.01-linux.i386.zip 8790776 BLAKE2B b8faa46a259a2f13f876540860b01b269a31969516b48901cf1e54c372e7db91f416f86af80b9a131e4bf2cb17cffc93dd04b50c1450f361601b3a048b8d2729 SHA512 b5d6b446be580ab09a79bdb651436de242603a7f215e85ab61ecc45d02739ca285a9a0bfaaf95c08df77f79928a42a27cace76a1695300d80172e2f4e9a488cf -DIST transfusion.png 2102 BLAKE2B 5d062ee459ab8f309b35d07abdb63c442f30b98bb2cce6e55b23336e9ddf36f099f1d554a5ea0a76a3a1b1484a6559cf085e5e3d8aa27972c04d52bee3b7a701 SHA512 902c630c5f0956678a905760674be7c8bd0a4d72e217ca8cddd56681d0b1161051602bd7bf6e24cc25b6d99cf7c0e5a9802f8230eec7c6a9831aecd700838363 diff --git a/games-fps/transfusion-bin/files/transfusion b/games-fps/transfusion-bin/files/transfusion deleted file mode 100644 index 316b16625997..000000000000 --- a/games-fps/transfusion-bin/files/transfusion +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -cd GENTOO_DIR && exec ./transfusion-glx ${@} || exit 1 diff --git a/games-fps/transfusion-bin/metadata.xml b/games-fps/transfusion-bin/metadata.xml deleted file mode 100644 index ef8189577b9b..000000000000 --- a/games-fps/transfusion-bin/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <upstream> - <remote-id type="sourceforge">blood</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-fps/transfusion-bin/transfusion-bin-1.01-r1.ebuild b/games-fps/transfusion-bin/transfusion-bin-1.01-r1.ebuild deleted file mode 100644 index c81d6d5611f9..000000000000 --- a/games-fps/transfusion-bin/transfusion-bin-1.01-r1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop wrapper - -MY_PN="${PN/-bin/}" -DESCRIPTION="Blood remake" -HOMEPAGE="https://www.transfusion-game.com/" -SRC_URI="https://downloads.sourceforge.net/blood/${MY_PN}-1.0-linux.i386.zip - https://downloads.sourceforge.net/blood/${MY_PN}-patch-${PV}-linux.i386.zip - mirror://gentoo/${MY_PN}.png" -S="${WORKDIR}/${MY_PN}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -RESTRICT="strip" - -RDEPEND=" - sys-libs/glibc - x11-libs/libX11 - x11-libs/libXext -" -DEPEND="${RDEPEND}" -BDEPEND="app-arch/unzip" - -QA_PREBUILT=" - opt/transfusion/transfusion-dedicated - opt/transfusion/transfusion-glx -" - -dir="/opt/${MY_PN}" -Ddir="${D}/${dir}" - -src_install() { - # install everything that looks anything like docs... - dodoc ${MY_PN}/doc/*.txt ${MY_PN}/*txt qw/*txt - HTML_DOCS="${MY_PN}/doc/*.html" einstalldocs - - #...then mass copy everything to the install dir... - dodir ${dir} - cp -R * "${Ddir}" || die - - # ...and remove the docs since we don't need them installed twice. - rm -rf \ - "${Ddir}"/${MY_PN}/doc \ - "${Ddir}"/qw/*txt \ - "${Ddir}"/${MY_PN}/*txt || die - - doicon "${DISTDIR}"/${MY_PN}.png - make_wrapper ${MY_PN} ./${MY_PN}-glx "${dir}" "${dir}" - make_desktop_entry ${MY_PN} "Transfusion" ${MY_PN} -} diff --git a/games-fps/tribes2/Manifest b/games-fps/tribes2/Manifest deleted file mode 100644 index f42d13da1880..000000000000 --- a/games-fps/tribes2/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST tribes2-25034-cdrom-x86.run 95560158 BLAKE2B a4516fddde83a8623348557983b3b5592c24108805da521d1b24bee21c06f8300ca812db8533855b70d924c59cf2bf417a771daa417c7f9b79e39f34a3611f98 SHA512 a3d2800af06d8659193ed1da4b9042af0924e1a0ade8a410aec31d66591efa2d2773aa12b33f7234975efee083974a77434bb1c0124bd57bfcc3be4898c46ad8 diff --git a/games-fps/tribes2/metadata.xml b/games-fps/tribes2/metadata.xml deleted file mode 100644 index 1c3ba213c494..000000000000 --- a/games-fps/tribes2/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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/tribes2/tribes2-25034.ebuild b/games-fps/tribes2/tribes2-25034.ebuild deleted file mode 100644 index 91f1f12d5d8f..000000000000 --- a/games-fps/tribes2/tribes2-25034.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cdrom desktop unpacker wrapper - -DESCRIPTION="Tribes 2 - Team Combat on an Epic Scale" -HOMEPAGE="https://www.lokigames.com/products/tribes2/" -SRC_URI="https://www.libsdl.org/projects/${PN}/release/${P}-cdrom-x86.run" -S="${WORKDIR}" - -LICENSE="LOKI-EULA" -SLOT="0" -# This package is broken and doesn't patch right on AMD64. I've not taken the -# time to try to figure it out but this definitely needs to stay -amd64 until -# someone does fix the patching. -KEYWORDS="-amd64 ~x86" -RESTRICT="mirror bindist strip" - -DEPEND=" - sys-libs/glibc -" -RDEPEND=" - ${DEPEND} - virtual/opengl -" -BDEPEND="games-util/loki_patch" - -dir=opt/${PN} -Ddir="${ED}"/${dir} - -pkg_setup() { - ewarn "The installed game takes about 507MB of space!" -} - -src_unpack() { - cdrom_get_cds README.tribes2d - unpack_makeself -} - -src_install() { - einfo "Copying files... this may take a while..." - exeinto "${dir}" - doexe "${CDROM_ROOT}"/bin/x86/glibc-2.1/{t2launch,tribes2,tribes2.dynamic,tribes2d,tribes2d-restart.sh,tribes2d.dynamic} - - insinto "${dir}" - doins "${CDROM_ROOT}"/{README,README.tribes2d,Tribes2_Manual.pdf,console_start.cs,kver.pub} "${Ddir}" - - # Video card profiles - # TODO: move this to src_unpack where it belongs. - tar xzf ${CDROM_ROOT}/profiles.tar.gz -C "${Ddir}" || die - - # Base (Music, Textures, Maps, etc.) - doins -r ${CDROM_ROOT}/base ${CDROM_ROOT}/menu - - cd "${S}" - loki_patch --verify patch.dat - loki_patch patch.dat "${Ddir}" >& /dev/null || die - - # now, since these files are coming off a cd, the times/sizes/md5sums wont - # be different ... that means portage will try to unmerge some files (!) - # we run touch on ${D} so as to make sure portage doesnt do any such thing - find "${Ddir}" -exec touch '{}' + || die - - newicon "${CDROM_ROOT}"/icon.xpm tribes2.xpm - make_wrapper t2launch ./t2launch "${dir}" "${dir}" - make_desktop_entry t2launch "Tribes 2" tribes2 -} - -pkg_postinst() { - elog "To play the game run:" - elog " t2launch" -} diff --git a/games-fps/urbanterror-data/Manifest b/games-fps/urbanterror-data/Manifest deleted file mode 100644 index 0d0c3b281c1f..000000000000 --- a/games-fps/urbanterror-data/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -DIST urbanterror-data-4.3.0-to-4.3.1.zip 7495315 BLAKE2B a4562c81169274e6f7685c9ca771c0e004ec40aa123d0757794e89c019bbd6e280f22e0929dc6917b0a43d9fe6e6ea90a4f190ce01ff2e6be087299a9bb64cab SHA512 f05564babadff73793778926411bc7914bfef4a5f7dfc1003c36e8a549c568ab520adcff8a38e7dd905238738d242aa865e7c6d7db36ed6d592b144e497ed823 -DIST urbanterror-data-4.3.0.zip 1490106979 BLAKE2B 2bee5e869b3929564cdba268765f6fda67ec1e4fb55209cac3f7b51b418bba287ba22112e5cd4db8ff2aae81ac836a31640760b1e4b24440054f2b2ee4d7e3c3 SHA512 2f54b59355f790a65b3dbd205e9e8b30d41856f5010a55e9e1436a6ec78e986ceecf78c8d84fac1060702c38a7df849f78a2832bdccb91ea46444877635b32ea -DIST urbanterror-data-4.3.1-to-4.3.2.zip 15305498 BLAKE2B d3b21c893dc6f5ce2323ca383ff52c1f6711ba57ab752c30d8fbb76b5d72125427a14fc30127589c5612df34cfda869a0727a838006fd6fc566005a54b7e741d SHA512 cb24939fffef9310c6ca8496d0d4f3be8656685e749ff1d6589fd193990be67ac70494b61ef6a12dd1f6995a78d451b9f09098e03970e82e1e3153ec3f89792c -DIST urbanterror-data-4.3.2-to-4.3.3.zip 10409736 BLAKE2B edc33e959cd16528ef732ae31335412c7c7741ccc5f106d2c0c6236f180cf9fd9b14a23b5e4a60d91aa9b8c4126fae5f110034216d5d2ae63ab784fc16532730 SHA512 f2100bf11b5dc0dac265f43fe6c8aa0a1e604728ce02b5b6ca770c9145d11bf02a7e2118ff818d1fdb2b9693ddb85eb012814f346337ef14c58c3a4f3e3abb90 -DIST urbanterror-data-4.3.3-to-4.3.4.zip 10421275 BLAKE2B 95ad6f395fef538fcb5e0413070fda7752759244d968649b0f59d2d9060cd79645a5485c554f2afc74028b7664dc907183ab99274db96826c00169ef5235c577 SHA512 05e14a1411a606fc7aeec3fa6393227af87afcf1ddd5ed5210c6612a9a1c15e0c4f9e14c40d43c078ac3fdbf519e9e8cb7d7a7983b7fceb39d11222d14ed39d6 diff --git a/games-fps/urbanterror-data/metadata.xml b/games-fps/urbanterror-data/metadata.xml deleted file mode 100644 index 992dc299fa65..000000000000 --- a/games-fps/urbanterror-data/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>holgersson@posteo.de</email> - <name>Nils Freydank</name> - </maintainer> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> -</pkgmetadata> diff --git a/games-fps/urbanterror-data/urbanterror-data-4.3.4.ebuild b/games-fps/urbanterror-data/urbanterror-data-4.3.4.ebuild deleted file mode 100644 index cb0421234916..000000000000 --- a/games-fps/urbanterror-data/urbanterror-data-4.3.4.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -CHECKREQS_DISK_BUILD="3300M" -CHECKREQS_DISK_USR="1400M" - -inherit check-reqs - -ENGINE_PV=${PV} -MY_PN=UrbanTerror -MY_PV=43_full - -DESCRIPTION="Data files for UrbanTerror" -HOMEPAGE="https://www.urbanterror.info" -# load the base image and save it as .0 file -# use 43_full-2.zip as upstream fixed something back then -SRC_URI="https://up.barbatos.fr/urt/${MY_PN}${MY_PV}_2.zip -> ${PN}-4.3.0.zip" -S="${WORKDIR}/${MY_PN}43" - -# fetch updates recursively for |4.3.x-4.3.0| -if [[ "${PV}" != "4.3.0" ]]; then - MY_CTR=0 - while [[ "${MY_CTR}" -lt "${PV/4.3./}" ]]; do - SRC_URI="${SRC_URI} https://up.barbatos.fr/urt/${MY_PN}-4.3.${MY_CTR}-to-4.3.$(( ${MY_CTR} + 1 )).zip -> ${PN}-4.3.${MY_CTR}-to-4.3.$(( ${MY_CTR} + 1 )).zip" - MY_CTR=$(( ${MY_CTR} + 1 )) - done -fi -unset MY_CTR - -LICENSE="Q3AEULA-20000111 urbanterror-4.2-maps" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="bindist mirror" - -BDEPEND="app-arch/unzip" - -src_prepare() { - default - - # apply updates we fetched before - # again recursively for |4.3.x - 4.3.0| - local MY_CTR - if [[ "${PV}" != "4.3.0" ]]; then - MY_CTR=0 - while [[ "${MY_CTR}" -lt "${PV/4.3./}" ]]; do - cp -dfpr \ - "${WORKDIR}"/${MY_PN}-4.3.${MY_CTR}-to-4.3.$(( ${MY_CTR} + 1 ))/* "${S}" || die - MY_CTR=$(( ${MY_CTR} + 1 )) - done - fi -} - -src_install() { - insinto /usr/share/urbanterror/q3ut4 - doins q3ut4/*.pk3 - # These files are *essential* for startup - newins q3ut4/server_example.cfg server.cfg - newins q3ut4/autoexec_example.cfg autoexec.cfg - - dodoc q3ut4/readme43.txt - docinto examples - dodoc q3ut4/{server_example.cfg,mapcycle_example.txt} -} diff --git a/games-fps/urbanterror/Manifest b/games-fps/urbanterror/Manifest deleted file mode 100644 index c979f83b10ba..000000000000 --- a/games-fps/urbanterror/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST urbanterror-4.3.4_p20211208.tar.gz 6187667 BLAKE2B 7901ad0d23d9b80634a3e4e68973227f302bb7004bdb1f450f7ab520f1a3243821aa49712a486d1e577e5bb055504d4005555fa273e64a2e2b57a75661044370 SHA512 24c0fe6775a165ddcc6b919bc46872fdcfff7e471c6ff88b635e6926bce051cc034e7ef8a5145996d67c79632cef763e4cc6c5c988d36088de0f69bb5626ff86 diff --git a/games-fps/urbanterror/files/urbanterror-4.3.4_p20211208-respect-flags.patch b/games-fps/urbanterror/files/urbanterror-4.3.4_p20211208-respect-flags.patch deleted file mode 100644 index d6938f3a4609..000000000000 --- a/games-fps/urbanterror/files/urbanterror-4.3.4_p20211208-respect-flags.patch +++ /dev/null @@ -1,79 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -322,30 +322,30 @@ ifneq (,$(findstring "$(PLATFORM)", "linux" "gnu_kfreebsd" "kfreebsd-gnu" "gnu") - -pipe -DUSE_ICON -DARCH_STRING=\\\"$(ARCH)\\\" - CLIENT_CFLAGS += $(SDL_CFLAGS) - -- OPTIMIZEVM = -O3 -- OPTIMIZE = $(OPTIMIZEVM) -ffast-math -+ OPTIMIZEVM = -+ OPTIMIZE = $(OPTIMIZEVM) - - ifeq ($(ARCH),x86_64) -- OPTIMIZEVM = -O3 -- OPTIMIZE = $(OPTIMIZEVM) -ffast-math -+ OPTIMIZEVM = -+ OPTIMIZE = $(OPTIMIZEVM) - HAVE_VM_COMPILED = true - else - ifeq ($(ARCH),x86) -- OPTIMIZEVM = -O3 -march=i586 -- OPTIMIZE = $(OPTIMIZEVM) -ffast-math -+ OPTIMIZEVM = -+ OPTIMIZE = $(OPTIMIZEVM) - HAVE_VM_COMPILED=true - else - ifeq ($(ARCH),ppc) -- ALTIVEC_CFLAGS = -maltivec -+ ALTIVEC_CFLAGS = - HAVE_VM_COMPILED=true - endif - ifeq ($(ARCH),ppc64) -- ALTIVEC_CFLAGS = -maltivec -+ ALTIVEC_CFLAGS = - HAVE_VM_COMPILED=true - endif - ifeq ($(ARCH),sparc) -- OPTIMIZE += -mtune=ultrasparc3 -mv8plus -- OPTIMIZEVM += -mtune=ultrasparc3 -mv8plus -+ OPTIMIZE += -+ OPTIMIZEVM += - HAVE_VM_COMPILED=true - endif - ifeq ($(ARCH),armv7l) -@@ -1153,7 +1153,7 @@ endif - - define DO_CC - $(echo_cmd) "CC $<" --$(Q)$(CC) $(NOTSHLIBCFLAGS) $(CFLAGS) $(CLIENT_CFLAGS) $(OPTIMIZE) -o $@ -c $< -+$(Q)$(CC) $(NOTSHLIBCFLAGS) $(CFLAGS) $(CPPFLAGS) $(CLIENT_CFLAGS) $(OPTIMIZE) -o $@ -c $< - endef - - define DO_CC_ALTIVEC -@@ -1163,7 +1163,7 @@ endef - - define DO_REF_CC - $(echo_cmd) "REF_CC $<" --$(Q)$(CC) $(SHLIBCFLAGS) $(CFLAGS) $(CLIENT_CFLAGS) $(OPTIMIZE) -o $@ -c $< -+$(Q)$(CC) $(SHLIBCFLAGS) $(CFLAGS) $(CPPFLAGS) $(CLIENT_CFLAGS) $(OPTIMIZE) -o $@ -c $< - endef - - define DO_REF_CC_ALTIVEC -@@ -1181,7 +1181,7 @@ endef - - define DO_BOT_CC - $(echo_cmd) "BOT_CC $<" --$(Q)$(CC) $(NOTSHLIBCFLAGS) $(CFLAGS) $(BOTCFLAGS) $(OPTIMIZE) -DBOTLIB -o $@ -c $< -+$(Q)$(CC) $(NOTSHLIBCFLAGS) $(CFLAGS) $(CPPFLAGS) $(BOTCFLAGS) $(OPTIMIZE) -DBOTLIB -o $@ -c $< - endef - - ifeq ($(GENERATE_DEPENDENCIES),1) -@@ -1195,7 +1195,7 @@ endef - - define DO_DED_CC - $(echo_cmd) "DED_CC $<" --$(Q)$(CC) $(NOTSHLIBCFLAGS) -DDEDICATED $(CFLAGS) $(SERVER_CFLAGS) $(OPTIMIZE) -o $@ -c $< -+$(Q)$(CC) $(NOTSHLIBCFLAGS) -DDEDICATED $(CFLAGS) $(CPPFLAGS) $(SERVER_CFLAGS) $(OPTIMIZE) -o $@ -c $< - endef - - define DO_WINDRES diff --git a/games-fps/urbanterror/metadata.xml b/games-fps/urbanterror/metadata.xml deleted file mode 100644 index b4768f36b429..000000000000 --- a/games-fps/urbanterror/metadata.xml +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>holgersson@posteo.de</email> - <name>Nils Freydank</name> - </maintainer> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <use> - <flag name="altgamma">Alternative way for gamma setting with modesetting driver</flag> - <flag name="client">Build binary for client (includes code for non-dedicated server)</flag> - <flag name="mumble">Use Mumble for ingame VoIP (experimental)</flag> - <flag name="server">Build binary for dedicated server</flag> - <flag name="skeetshootmod">Build support for skeetshoot mod for specific maps</flag> - <flag name="voip">Use ioq3 ingame VoIP (experimental)</flag> - </use> - <upstream> - <remote-id type="github">Barbatos/ioq3-for-UrbanTerror-4</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-fps/urbanterror/urbanterror-4.3.4_p20211208.ebuild b/games-fps/urbanterror/urbanterror-4.3.4_p20211208.ebuild deleted file mode 100644 index 1516f8cb2c4a..000000000000 --- a/games-fps/urbanterror/urbanterror-4.3.4_p20211208.ebuild +++ /dev/null @@ -1,172 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop flag-o-matic toolchain-funcs xdg-utils - -DESCRIPTION="Hollywood tactical shooter based on the ioquake3 engine" -HOMEPAGE="https://urbanterror.info https://github.com/mickael9/ioq3" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/mickael9/ioq3.git" - EGIT_BRANCH="urt" -else - COMMIT_ID="c988f7669bd70b59beb384563d4c8304062ae011" - SRC_URI="https://github.com/mickael9/ioq3/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/ioq3-${COMMIT_ID}" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="+altgamma +client +curl debug mumble openal +opus server +skeetshootmod voip vorbis" -REQUIRED_USE=" - || ( client server ) - voip? ( opus ) -" - -DOCS=( ChangeLog README.md README.ioq3.md md4-readme.txt ) - -PATCHES=( - "${FILESDIR}"/${PN}-4.3.4_p20211208-respect-flags.patch -) - -RDEPEND=" - client? ( - media-libs/libsdl2[X,sound,joystick,opengl,video] - mumble? ( net-voip/mumble:= ) - openal? ( media-libs/openal:= ) - opus? ( media-libs/opusfile ) - vorbis? ( media-libs/libvorbis ) - ) - curl? ( net-misc/curl ) - ~games-fps/urbanterror-data-4.3.4 - virtual/minizip:= - virtual/jpeg:0 - x11-libs/libX11 - x11-libs/libXxf86vm -" - -DEPEND="${RDEPEND}" - -pkg_pretend() { - if use client; then - if ! use openal && ! use opus && ! use vorbis; then - ewarn - ewarn "No sound implementation selected. Enable 'openal', 'opus' or 'vorbis' USE flag to get sound!" - fi - fi -} - -src_configure() { - tc-export CC PKG_CONFIG - default -} - -src_compile() { - # Workaround for used zlib macro, which got renamed in Gentoo - # wrt bug #449510 - has_version "<virtual/zlib-1.3:=" && append-cppflags "-DOF=_Z_OF" - - local myemakeargs=( - ARCH=$(usex amd64 "x86_64" "i686" ) - DEFAULT_BASEDIR="/usr/share/urbanterror" - BUILD_CLIENT=$(usex "client" 1 0) - BUILD_SERVER=$(usex "server" 1 0) - BUILD_BASEGAME=1 - BUILD_MISSIONPACK=0 - BUILD_GAME_SO=0 - BUILD_GAME_QVM=0 - BUILD_STANDALONE=1 - SERVERBIN="Quake3-UrT-Ded" - CLIENTBIN="Quake3-UrT" - USE_RENDERER_DLOPEN=0 - USE_YACC=0 - BASEGAME="q3ut4" - BASEGAME_CFLAGS="${CFLAGS}" - USE_OPENAL=$(usex "openal" 1 0) - USE_OPENAL_DLOPEN=$(usex "openal" 1 0) - USE_CURL=$(usex "curl" 1 0) - USE_CURL_DLOPEN=$(usex "curl" 1 0) - USE_CODEC_VORBIS=$(usex "vorbis" 1 0) - USE_CODEC_OPUS=$(usex "opus" 1 0) - USE_MUMBLE=$(usex "mumble" 1 0) - USE_SKEETMOD=$(usex "skeetshootmod" 1 0) - USE_VOIP=$(usex "mumble" 1 0) - USE_INTERNAL_LIBS=0 - USE_LOCAL_HEADERS=0 - USE_ALTGAMMA=$(usex "altgamma" 1 0) - $(usex "debug" "debug" "release") - ) - emake "${myemakeargs[@]}" -} - -src_install() { - local myarch=$(usex amd64 "x86_64" "i386") - local myreleasetype=$(usex debug "debug" "release") - - if use client; then - newbin build/${myreleasetype}-linux-${myarch}/Quake3-UrT.${myarch} ${PN} - # Shooter as defined in https://specifications.freedesktop.org/menu-spec/latest/apas02.html - make_desktop_entry ${PN} "UrbanTerror" ${PN} - fi - - if use server && ! use client; then - # dedicated server only - newbin build/${myreleasetype}-linux-${myarch}/Quake3-UrT-Ded.${myarch} ${PN}-ded - fi - - einstalldocs -} - -pkg_postinst() { - use client && xdg_desktop_database_update - - if [[ -z "${REPLACING_VERSIONS}" ]]; then - # ^this is a new installation, so: - if use openal; then - elog "" - elog "You might need to set:" - elog " seta s_useopenal \"1\"" - elog "in your ~/.q3a/q3ut4/q3config.cfg for openal to work." - fi - - if use altgamma; then - elog "" - elog "You might need to set:" - elog " seta r_altgamma \"1\"" - elog "in your ~/.q3a/q3ut4/q3config.cfg for altgamma to work." - elog "Be aware that altgamme works on a global scale, so external" - elog "applications like redshift can cause trouble. Disabling" - elog "these while playing is a usable workaround." - fi - - if ! use altgamma; then - elog "" - elog "If you are using a modesetting graphics driver you might" - elog "consider setting USE=\"altgamma\"." - elog "For details take a look at:" - elog "https://bugs.freedesktop.org/show_bug.cgi?id=27222" - fi - - if ! use client; then - elog "" - elog "You disabled client support. You won't be able to connect" - elog "to any servers and play. If you want to do so, enable" - elog "USE=\"client\"." - fi - - if use skeetshootmod; then - elog "" - elog "You might need to set:" - elog " seta sv_skeetshoot \"1\"" - elog "in your ~/.q3a/q3ut4/q3config.cfg to use the skeetshoot mod." - fi - fi -} - -pkg_postrm() { - use client && xdg_desktop_database_update -} diff --git a/games-fps/ut2003-bonuspack-cm/Manifest b/games-fps/ut2003-bonuspack-cm/Manifest deleted file mode 100644 index b62d6451a53c..000000000000 --- a/games-fps/ut2003-bonuspack-cm/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST cbp2003.zip 149198696 BLAKE2B d6319e3605752e309411b16358696cdf0559b3cc6acedfae2f063eedb4ee98fefb470e9ff601cdce46821eaaa3f7c0ef3c13ddc2ce3639842ec98e1e68fefb85 SHA512 382ea605b7ce89654b7a58dfd1b36f0624bb0ac63aff6a07f1942dd3c8715ac6d79812828f2f28e2bd1b162673147e0ab8653ac67b4ee5d936e8840dede8e408 diff --git a/games-fps/ut2003-bonuspack-cm/metadata.xml b/games-fps/ut2003-bonuspack-cm/metadata.xml deleted file mode 100644 index dff2122c8937..000000000000 --- a/games-fps/ut2003-bonuspack-cm/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> -</maintainer> -<longdescription> -Unreal Tounament 2003 is a first-person 3-D shooter and sequel to the 1999 Game of the Year, Unreal Tournament. The game was ported to Linux by Ryan "icculus" Gordon under contract from Epic Games and the Linux installer was released in the retail box. This game is commercial software and requires data from the original retail discs to play. If you're interested in checking out the technology behind Unreal Tournament 2003, you can "emerge ut2003-demo" to get the playable demo. -</longdescription> -</pkgmetadata> diff --git a/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1-r1.ebuild b/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1-r1.ebuild deleted file mode 100644 index a40e978c7e73..000000000000 --- a/games-fps/ut2003-bonuspack-cm/ut2003-bonuspack-cm-1-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit unpacker - -DESCRIPTION="Community Bonus Pack for UT2003" -HOMEPAGE="https://liandri.beyondunreal.com/Unreal_Tournament_2003" -SRC_URI="https://downloads.unrealadmin.org/UT2003/BonusPack/cbp2003.zip" -S="${WORKDIR}" - -LICENSE="ut2003" -SLOT="1" -KEYWORDS="~x86" -# Needs signup to download -RESTRICT="bindist fetch mirror strip" - -RDEPEND="games-fps/ut2003" -DEPEND="${RDEPEND}" -BDEPEND="app-arch/unzip" - -src_unpack() { - unpack_zip "${DISTDIR}"/${A} -} - -src_install() { - # Inlined from games.eclass - local dir="${EPREFIX}"/opt/ut2003 - local Ddir="${D}${dir}" - - # Inlined from games.eclass - _games_umod_unpack() { - local umod=${1} - - mkdir -p "${Ddir}"/System || die - cp "${dir}"/System/{ucc-bin,Manifest.ini,{Engine,Core,zlib,ogg,vorbis}.so,{Engine,Core}.int} "${Ddir}"/System || die - # Don't die here (for now) in case Default.ini, DefUser.ini are missing - cp "${dir}"/System/Def{ault,User}.ini "${Ddir}"/System &> /dev/null - - cd "${Ddir}"/System || die - UT_DATA_PATH="${Ddir}"/System ./ucc-bin umodunpack -x "${S}/${umod}" -nohomedir &> /dev/null || die "uncompressing file ${umod}" - rm -f "${Ddir}"/System/{ucc-bin,{Manifest,Def{ault,User},User,UT200{3,4}}.ini,{Engine,Core,zlib,ogg,vorbis}.so,{Engine,Core}.int,ucc.log &>/dev/null || die "Removing temporary files" - } - - for i in Animations Help Music Maps StaticMeshes Textures System; do - mkdir -p "${Ddir}"/${i} || die - done - - _games_umod_unpack CBP2003.ut2mod - - rm "${Ddir}"/Readme.txt "${Ddir}/cbp installer logo1.bmp" || die -} diff --git a/games-fps/ut2003-bonuspack-de/Manifest b/games-fps/ut2003-bonuspack-de/Manifest deleted file mode 100644 index 047ac933107d..000000000000 --- a/games-fps/ut2003-bonuspack-de/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST debonus.ut2mod.zip 74977458 BLAKE2B bd9c91524e1d3b3ac24434c7daedd886044884cbb36b919452e408b73de317cf43b1c18e3f843a0c272652dd40ae7ad2da007d87ea370da23e88ea599c1026ab SHA512 2c70d39eea1ea647d2fbee21dda5b00057b7feb1607a89d86982ac43e6063820aa70c633fbc21c768d1491fec909a06634e0e883aa771be2607b51ab193f0935 diff --git a/games-fps/ut2003-bonuspack-de/metadata.xml b/games-fps/ut2003-bonuspack-de/metadata.xml deleted file mode 100644 index dff2122c8937..000000000000 --- a/games-fps/ut2003-bonuspack-de/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> -</maintainer> -<longdescription> -Unreal Tounament 2003 is a first-person 3-D shooter and sequel to the 1999 Game of the Year, Unreal Tournament. The game was ported to Linux by Ryan "icculus" Gordon under contract from Epic Games and the Linux installer was released in the retail box. This game is commercial software and requires data from the original retail discs to play. If you're interested in checking out the technology behind Unreal Tournament 2003, you can "emerge ut2003-demo" to get the playable demo. -</longdescription> -</pkgmetadata> diff --git a/games-fps/ut2003-bonuspack-de/ut2003-bonuspack-de-1-r1.ebuild b/games-fps/ut2003-bonuspack-de/ut2003-bonuspack-de-1-r1.ebuild deleted file mode 100644 index 6e54cd2f15ee..000000000000 --- a/games-fps/ut2003-bonuspack-de/ut2003-bonuspack-de-1-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_P="debonus.ut2mod.zip" -DESCRIPTION="Digital Extremes Bonus Pack for UT2003" -HOMEPAGE="https://www.moddb.com/games/unreal-tournament-2003" -SRC_URI="http://ftp.student.utwente.nl/pub/games/UT2003/BonusPack/${MY_P}" -S="${WORKDIR}" - -LICENSE="ut2003" -SLOT="1" -KEYWORDS="~x86" -RESTRICT="bindist mirror strip" - -RDEPEND="games-fps/ut2003" -DEPEND="${RDEPEND}" -BDEPEND="app-arch/unzip" - -src_unpack() { - unzip -qq "${DISTDIR}"/${A} || die -} - -src_install() { - local dir="${EPREFIX}"/opt/ut2003 - local Ddir="${D}${dir}" - - # Inlined from games.eclass - _games_umod_unpack() { - local umod=${1} - - mkdir -p "${Ddir}"/System || die - cp "${dir}"/System/{ucc-bin,Manifest.ini,{Engine,Core,zlib,ogg,vorbis}.so,{Engine,Core}.int} "${Ddir}"/System || die - # Don't die here (for now) in case Default.ini, DefUser.ini are missing - cp "${dir}"/System/Def{ault,User}.ini "${Ddir}"/System &> /dev/null - - cd "${Ddir}"/System || die - UT_DATA_PATH="${Ddir}"/System ./ucc-bin umodunpack -x "${S}/${umod}" -nohomedir &> /dev/null || die "uncompressing file ${umod}" - rm -f "${Ddir}"/System/{ucc-bin,{Manifest,Def{ault,User},User,UT200{3,4}}.ini,{Engine,Core,zlib,ogg,vorbis}.so,{Engine,Core}.int,ucc.log &>/dev/null || die "Removing temporary files" - } - - mkdir -p "${Ddir}"/{System,Maps,StaticMeshes,Textures,Music,Help} || die - - _games_umod_unpack DEBonus.ut2mod -} diff --git a/games-fps/ut2003-bonuspack-epic/Manifest b/games-fps/ut2003-bonuspack-epic/Manifest deleted file mode 100644 index 75d5a60afab6..000000000000 --- a/games-fps/ut2003-bonuspack-epic/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST UT2003-epicbonuspackone.exe 156913152 BLAKE2B ea420203dfd7f12a1f790d06875af34073fa30764a7184d6945e97063291100ef4377025afb86fab2038f7a824d60e2c93b991202465864de993456b10638f94 SHA512 26fa06637c6a99704d11b58f5fe54454f8018c6f07b06b6a9a2075d17b9a9fb7d7155298de5502cefa0f07995f4513ce9531863cef8c344996b5e6dd5fbd339d diff --git a/games-fps/ut2003-bonuspack-epic/files/epic-installer b/games-fps/ut2003-bonuspack-epic/files/epic-installer deleted file mode 100644 index a8c35aa0c751..000000000000 --- a/games-fps/ut2003-bonuspack-epic/files/epic-installer +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/bash - -if [[ -d $HOME/.ut2003/System ]] ; then - cd "$HOME/.ut2003/System" - echo "Editing UT2003.ini in $PWD" - cat >> UT2003.ini <<EOT - -[Xinterface.Tab_AudioSettings] -BonusPackInfo[1]=(PackageName="AnnouncerEvil.uax",Description="Evil") -BonusPackInfo[2]=(PackageName="AnnouncerFemale.uax",Description="Female") -BonusPackInfo[3]=(PackageName="AnnouncerSexy.uax",Description="Aroused") - -EOT - - ed UT2003.ini >/dev/null 2>&1 <<EOT -/\[xInterface.ExtendedConsole\] -a -MusicManagerClassName=OGGPlayer.UT2OGGMenu -. -wq -EOT - - ed UT2003.ini >/dev/null 2>&1 <<EOT -$ -?EditPackages? -a -EditPackages=BonusPack -EditPackages=SkaarjPack -EditPackages=SkaarjPack_rc -. -wq -EOT - - ed UT2003.ini >/dev/null 2>&1 <<EOT -$ -?ServerPackages? -a -ServerPackages=BonusPack -ServerPackages=SkaarjPack -ServerPackages=SkaarjPack_rc -. -wq -EOT - - echo "Editing User.ini in $PWD" - sed 's/^F11=.*$/F11=MusicMenu/g' < User.ini > User.ini~~ - mv User.ini~~ User.ini -fi diff --git a/games-fps/ut2003-bonuspack-epic/metadata.xml b/games-fps/ut2003-bonuspack-epic/metadata.xml deleted file mode 100644 index 1c3ba213c494..000000000000 --- a/games-fps/ut2003-bonuspack-epic/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1-r1.ebuild b/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1-r1.ebuild deleted file mode 100644 index 6a7219759cf8..000000000000 --- a/games-fps/ut2003-bonuspack-epic/ut2003-bonuspack-epic-1-r1.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Epic Bonus Pack for UT2003" -HOMEPAGE="https://www.moddb.com/games/unreal-tournament-2003" -SRC_URI="http://ftp.student.utwente.nl/pub/games/UT2003/BonusPack/UT2003-epicbonuspackone.exe" -S="${WORKDIR}"/UT2003-BonusPack - -LICENSE="ut2003" -SLOT="1" -KEYWORDS="~x86" -RESTRICT="bindist mirror strip" - -RDEPEND=" - acct-group/gamestat - games-fps/ut2003 -" -BDEPEND="app-arch/unzip" - -dir=opt/ut2003 -Ddir="${ED}"/${dir} - -src_unpack() { - unzip -qq "${DISTDIR}"/${A} || die - - # This is done since the files are the same - rm -f "${S}"/Textures/LastManStanding.utx || die -} - -src_install() { - insinto "${dir}"/Help - newins "${S}"/Help/BonusPackReadme.txt EpicBonusPack.README - - exeinto "${dir}" - doexe "${FILESDIR}"/epic-installer - dodir "${dir}"/System - - cp -r "${S}"/{Maps,Sounds,StaticMeshes,Textures} "${Ddir}" || die - cp "${S}"/System/{*.{det,est,frt,int,itt,kot,tmt,u},User.ini} "${Ddir}"/System || die - cp -v "${S}"/System/Manifest.ini "${Ddir}"/System/Manifest.ini.epic || die -} - -pkg_postinst() { - elog "You will need to run:" - elog "emerge --config =${CATEGORY}/${PF}" - elog "to make the necessary changes to the system .ini files." - elog - elog "Each user whom has already played the game will need to run:" - elog " ${dir}/epic-installer" - echo - elog "to update their configuration files in their home directory." - echo -} - -pkg_config() { - cd ${dir}/System || die - cp Manifest.ini Manifest.ini.pre-epic || die - cp ${dir}/System/Manifest.ini.epic Manifest.ini || die - - cp Default.ini Default.ini.pre-epic || die - cat >> Default.ini <<EOT - -[Xinterface.Tab_AudioSettings] -BonusPackInfo[1]=(PackageName="AnnouncerEvil.uax",Description="Evil") -BonusPackInfo[2]=(PackageName="AnnouncerFemale.uax",Description="Female") -BonusPackInfo[3]=(PackageName="AnnouncerSexy.uax",Description="Aroused") - -EOT - - ed Default.ini >/dev/null 2>&1 <<EOT -/\[xInterface.ExtendedConsole\] -a -MusicManagerClassName=OGGPlayer.UT2OGGMenu -. -w -q -EOT - - ed Default.ini >/dev/null 2>&1 <<EOT -$ -?EditPackages? -a -EditPackages=BonusPack -EditPackages=SkaarjPack -EditPackages=SkaarjPack_rc -. -w -q -EOT - - ed Default.ini >/dev/null 2>&1 <<EOT -$ -?ServerPackages? -a -ServerPackages=BonusPack -ServerPackages=SkaarjPack -ServerPackages=SkaarjPack_rc -. -w -q -EOT - - cp DefUser.ini DefUser.ini.pre-epic || die - sed -i 's/^F11=.*$/F11=MusicMenu/g' DefUser.ini || die - chown :gamestat "${dir}"/System/*.ini || die -} diff --git a/games-fps/ut2003-data/Manifest b/games-fps/ut2003-data/Manifest deleted file mode 100644 index 0bb40ab41427..000000000000 --- a/games-fps/ut2003-data/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST UT2003CrashFix.zip 2764 BLAKE2B 697c35a02f447d0d436fc32bebdeafbca55ef644d951e92085c33f7597108625770b76e027f31287cd2ac66607692ff8c908f6971f936a134d58d0effc2586fc SHA512 24fdaac873b08a0860c23f66b9bd93922fc4f64486adbe9bfefeb340f9d9374778b5e7bacd0e12cc79d819fb340e007ab2a7f1f45c9e4f27ab3ab6b11033d444 diff --git a/games-fps/ut2003-data/metadata.xml b/games-fps/ut2003-data/metadata.xml deleted file mode 100644 index dff2122c8937..000000000000 --- a/games-fps/ut2003-data/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> -</maintainer> -<longdescription> -Unreal Tounament 2003 is a first-person 3-D shooter and sequel to the 1999 Game of the Year, Unreal Tournament. The game was ported to Linux by Ryan "icculus" Gordon under contract from Epic Games and the Linux installer was released in the retail box. This game is commercial software and requires data from the original retail discs to play. If you're interested in checking out the technology behind Unreal Tournament 2003, you can "emerge ut2003-demo" to get the playable demo. -</longdescription> -</pkgmetadata> diff --git a/games-fps/ut2003-data/ut2003-data-2107-r2.ebuild b/games-fps/ut2003-data/ut2003-data-2107-r2.ebuild deleted file mode 100644 index ac69da5ef178..000000000000 --- a/games-fps/ut2003-data/ut2003-data-2107-r2.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop cdrom unpacker - -DESCRIPTION="Unreal Tournament 2003 - Sequel to the 1999 multi-player first-person shooter" -HOMEPAGE="http://www.unrealtournament2003.com/" -SRC_URI="https://dev.gentoo.org/~chewi/distfiles/UT2003CrashFix.zip" # MIT licensed (bug #754360) -S="${WORKDIR}" - -LICENSE="ut2003 MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -RESTRICT="bindist mirror strip" - -BDEPEND=" - app-arch/unzip - games-util/uz2unpack -" - -dir=opt/ut2003 -Ddir="${ED}"/${dir} - -pkg_setup() { - ewarn "The installed game takes about 2.7GB of space!" -} - -src_unpack() { - cdrom_get_cds System/Packages.md5 StaticMeshes/AWHardware.usx.uz2 \ - Extras/MayaPLE/Maya4PersonalLearningEditionEpic.exe - unzip "${DISTDIR}"/UT2003CrashFix.zip || die -} - -src_install() { - # Inlined from games.eclass - _games_ut_unpack() { - local ut_unpack="${1}" - local f= - - if [[ -z ${ut_unpack} ]] ; then - die "You must provide an argument to games_ut_unpack" - fi - - if [[ -f ${ut_unpack} ]] ; then - uz2unpack "${ut_unpack}" "${ut_unpack%.uz2}" || die "failed uncompressing file ${ut_unpack}" - fi - - if [[ -d ${ut_unpack} ]] ; then - while read f ; do - uz2unpack "${ut_unpack}/${f}" "${ut_unpack}/${f%.uz2}" || die "failed uncompressing file ${f}" - rm -f "${ut_unpack}/${f}" || die "failed deleting compressed file ${f}" - done < <(find "${ut_unpack}" -maxdepth 1 -name '*.uz2' -printf '%f\n' 2>/dev/null) - fi - } - - insinto "${dir}" - # Disk 1 - einfo "Copying files from Disk 1..." - doins -r "${CDROM_ROOT}"/{Animations,ForceFeedback,KarmaData,Maps,Sounds,Textures,Web} - insinto "${dir}"/System - doins -r "${CDROM_ROOT}"/System/{editorres,*.{bmp,dat,det,est,frt,ini,int,itt,md5,u,upl,url}} - insinto "${dir}"/Benchmark/Stuff - doins -r "${CDROM_ROOT}"/Benchmark/Stuff/* - cdrom_load_next_cd - - # Disk 2 - insinto "${dir}" - einfo "Copying files from Disk 2..." - doins -r "${CDROM_ROOT}"/{Music,Sounds,StaticMeshes,Textures} - cdrom_load_next_cd - - # Disk 3 - einfo "Copying files from Disk 3..." - doins -r "${CDROM_ROOT}"/Sounds - - # TODO: move this to src_unpack, where it belongs - unpack_makeself "${CDROM_ROOT}"/linux_installer.sh || die - tar xf "${S}"/ut2003lnxbins.tar || die - - # create empty files in Benchmark - for j in {CSVs,Logs,Results} ; do - mkdir -p "${Ddir}"/Benchmark/${j} || die - touch "${Ddir}"/Benchmark/${j}/DO_NOT_DELETE.ME || die - done - - # Cleaning up our installation - rm "${Ddir}"/System/{Build,Def{ault,User},Manifest,UT2003,User}.ini || die - rm -f "${Ddir}"/System/{Core,Engine,Setup,UnrealGame,Window,XGame,XInterface,XWeapons}.{det,est,frt,int,itt,u} || die - rm -rf "${Ddir}"/Web/ServerAdmin || die - rm -f "${Ddir}"/System/{Editor,Fire,IpDrv,UnrealEd,Vehicles,XEffects,XPickups,XWebAdmin}.u || die - rm -f "${Ddir}"/System/{UWeb,XAdmin}.{int,u} || die - rm -f "${Ddir}"/System/GamePlay.{det,itt,u} || die - rm -f "${Ddir}"/System/XMaps.{det,est} "${Ddir}"/System/Xweapons.itt || die - rm -f "${Ddir}"/System/Manifest.int "${Ddir}"/System/Packages.md5 || die - - # install extra help files - insinto "${dir}"/Help - doins "${S}"/Help/Unreal.bmp - - # install Default and DefUser ini files - insinto "${dir}"/System - doins "${S}"/System/Def{ault,User}.ini - - # install EULA - insinto "${dir}" - doins "${S}"/eula/License.int - - # copying extra/updater - doins -r "${S}"/{extras,updater} - rm -f "${Ddir}"/updater/update || die - - # copy libraries - exeinto "${dir}"/System - doexe "${S}"/System/libSDL-1.2.so.0 - - # uncompressing files - einfo "Uncompressing files... this may take a while..." - for j in {Animations,Maps,Sounds,StaticMeshes,Textures} ; do - _games_ut_unpack "${Ddir}"/${j} || die "uncompressing files" - done - - # installing documentation/icon - dodoc "${S}"/README.linux - newicon "${S}"/Unreal.xpm ut2003.xpm - doins "${S}"/README.linux "${S}"/Unreal.xpm - # copy ut2003/ucc - exeinto "${dir}" - doexe "${S}"/bin/ut2003 "${S}"/ucc - - # 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 <<EOT -$ -?Engine.GameInfo? -a -AccessControlClass=crashfix.iaccesscontrolini -. -w -q -EOT - - # Here we apply fix for bug #54726 - sed -i -e "s:UplinkToGamespy=True:UplinkToGamespy=False:" \ - "${Ddir}"/System/Default.ini || die - - # now, since these files are coming off a cd, the times/sizes/md5sums wont - # be different ... that means portage will try to unmerge some files (!) - # we run touch on ${D} so as to make sure portage doesnt do any such thing - find "${Ddir}" -exec touch '{}' + || die -} diff --git a/games-fps/ut2003-demo/Manifest b/games-fps/ut2003-demo/Manifest deleted file mode 100644 index 42efaae97e4c..000000000000 --- a/games-fps/ut2003-demo/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -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 diff --git a/games-fps/ut2003-demo/files/benchmark b/games-fps/ut2003-demo/files/benchmark deleted file mode 100644 index 2047897da9ab..000000000000 --- a/games-fps/ut2003-demo/files/benchmark +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh -# Originally from linuxforen.de -# Modified by phoen][x <phoenix@gentoo.org>, Sep/19/2002 -# Modifications, enhancements or bugs? Mail me. - -# Tweaks by Daniel Robbins <drobbins@gentoo.org> 25 Feb 2003 - -STUFF=GAMES_PREFIX_OPT/ut2003-demo/Benchmark/Stuff -MYPATH=${HOME}/.ut2003/Benchmark -TEMPLOG=${MYPATH}/benchmark.log -LOG=${MYPATH}/bench.log - -[ -d ${MYPATH} ] || mkdir -p ${MYPATH} - -rm -f ${TEMPLOG} ${LOG} -touch ${TEMPLOG} ${LOG} - -date > $LOG - -echo ">> Starting benchmark" -cd GAMES_PREFIX_OPT//ut2003-demo/System -for BENCH in GAMES_PREFIX_OPT//ut2003-demo/Benchmark/*-*.sh -do - echo "Running ${BENCH} with MinDetail" - ${BENCH} -ini=${STUFF}/MinDetail.ini -userini=${STUFF}/MinDetailUser.ini &> /dev/null - echo -n "${BENCH} / MinDetail / " >> ${LOG} - cat ${TEMPLOG} | tail -n1 >> ${LOG} - - echo "Running ${BENCH} with MaxDetail" - ${BENCH} -ini=${STUFF}/MaxDetail.ini -userini=${STUFF}/MaxDetailUser.ini &> /dev/null - echo -n "${BENCH} / MaxDetail / " >> ${LOG} - cat ${TEMPLOG} | tail -n1 >> ${LOG} -done - -echo ">> Benchmark complete" -GAMES_PREFIX_OPT/ut2003-demo/Benchmark/results.sh -echo ">> Use 'ut2003-demo --results' to show these results again (without benchmarking)" diff --git a/games-fps/ut2003-demo/files/results.sh b/games-fps/ut2003-demo/files/results.sh deleted file mode 100644 index a74cf909c9ad..000000000000 --- a/games-fps/ut2003-demo/files/results.sh +++ /dev/null @@ -1,79 +0,0 @@ -#!/bin/bash -# Written by phoen][x <phoenix@gentoo.org>, Sep/21/2002 -# Modifications, enhancements or bugs? Contact games@gentoo.org - -[[ -z "${1}" ]] \ - && FILE="${HOME}/.ut2003/Benchmark/bench.log" \ - || FILE="${1}" - -CURLINE=0 - -BM_MIN_SCORE=0 -BM_MIN_COUNT=0 -BM_MAX_SCORE=0 -BM_MAX_COUNT=0 - -FB_MIN_SCORE=0 -FB_MIN_COUNT=0 -FB_MAX_SCORE=0 -FB_MAX_COUNT=0 - -while read LINE ; do - CURLINE=`expr $CURLINE + 1` - if [[ ${CURLINE} -eq 1 ]] ; then - echo ">> Results of the UT2003-demo benchmark" - echo ">> Created on ${LINE}" - continue - fi - - set -- ${LINE} - TYPE=$(echo $(basename ${1}) | cut -d- -f1) - DETAIL=${3} - SCORE=${14} - - case ${TYPE} in - "botmatch") - case ${DETAIL} in - "MinDetail") - BM_MIN_SCORE=`echo ${BM_MIN_SCORE} + ${SCORE} | bc` - BM_MIN_COUNT=`expr ${BM_MIN_COUNT} + 1` - ;; - "MaxDetail") - BM_MAX_SCORE=`echo ${BM_MAX_SCORE} + ${SCORE} | bc` - BM_MAX_COUNT=`expr ${BM_MAX_COUNT} + 1` - ;; - esac - ;; - "flyby") - case ${DETAIL} in - "MinDetail") - FB_MIN_SCORE=`echo ${FB_MIN_SCORE} + ${SCORE} | bc` - FB_MIN_COUNT=`expr ${FB_MIN_COUNT} + 1` - ;; - "MaxDetail") - FB_MAX_SCORE=`echo ${FB_MAX_SCORE} + ${SCORE} | bc` - FB_MAX_COUNT=`expr ${FB_MAX_COUNT} + 1` - ;; - esac - ;; - esac -done < ${FILE} - -BM_MIN_AVG=`echo "scale=6; ${BM_MIN_SCORE} / ${BM_MIN_COUNT}" | bc` -BM_MAX_AVG=`echo "scale=6; ${BM_MAX_SCORE} / ${BM_MAX_COUNT}" | bc` -BM_ALL_AVG=`echo "scale=6; (${BM_MIN_SCORE} + ${BM_MAX_SCORE}) / (${BM_MIN_COUNT} + ${BM_MAX_COUNT})" | bc` - -FB_MIN_AVG=`echo "scale=6; ${FB_MIN_SCORE} / ${FB_MIN_COUNT}" | bc` -FB_MAX_AVG=`echo "scale=6; ${FB_MAX_SCORE} / ${FB_MAX_COUNT}" | bc` -FB_ALL_AVG=`echo "scale=6; (${FB_MIN_SCORE} + ${FB_MAX_SCORE}) / (${FB_MIN_COUNT} + ${FB_MAX_COUNT})" | bc` - -echo " ->> Score for Botmatch -MinDetail: ${BM_MIN_AVG} (${BM_MIN_COUNT} tests) -MaxDetail: ${BM_MAX_AVG} (${BM_MAX_COUNT} tests) -Average : ${BM_ALL_AVG} (`expr ${BM_MIN_COUNT} + ${BM_MAX_COUNT}` tests) - ->> Score for FlyBy -MinDetail: ${FB_MIN_AVG} (${FB_MIN_COUNT} tests) -MaxDetail: ${FB_MAX_AVG} (${FB_MAX_COUNT} tests) -Average : ${FB_ALL_AVG} (`expr ${FB_MIN_COUNT} + ${FB_MAX_COUNT}` tests)" diff --git a/games-fps/ut2003-demo/files/ut2003-demo b/games-fps/ut2003-demo/files/ut2003-demo deleted file mode 100644 index 56d7e10e6a73..000000000000 --- a/games-fps/ut2003-demo/files/ut2003-demo +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash -# Written by phoen][x <phoenix@gentoo.org>, Sep/19/2002 -# Modifications, enhancements or bugs? Mail me. - -INSTALL="GAMES_PREFIX_OPT//ut2003-demo" - -case ${1} in - "--results") - pushd ${INSTALL}/Benchmark &> /dev/null - ./results.sh - popd &> /dev/null - ;; - "--bench") - pushd ${INSTALL}/Benchmark &> /dev/null - ./benchmark - popd &> /dev/null - ;; - "--help") - echo "Usage:" - echo " ut2003-demo [--bench] || [--results]" - echo " Optional parameters, only one at a time." - echo " --bench : starts ut2003-demo in benchmark mode" - echo " --results : outputs the results of your last benchmark" - ;; - *) - pushd ${INSTALL} &> /dev/null - ./ut2003_demo - popd &> /dev/null - ;; -esac diff --git a/games-fps/ut2003-demo/metadata.xml b/games-fps/ut2003-demo/metadata.xml deleted file mode 100644 index dfc265db7673..000000000000 --- a/games-fps/ut2003-demo/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> -</maintainer> -<longdescription> -Unreal Tounament 2003 is a first-person 3-D shooter and sequel to the 1999 Game of the Year, Unreal Tournament. The game was ported to Linux by Ryan "icculus" Gordon under contract from Epic Games and the Linux installer was released in the retail box. This game is a playable demo of the full commercial version. -</longdescription> -</pkgmetadata> diff --git a/games-fps/ut2003-demo/ut2003-demo-2206-r5.ebuild b/games-fps/ut2003-demo/ut2003-demo-2206-r5.ebuild deleted file mode 100644 index 92c5ea481614..000000000000 --- a/games-fps/ut2003-demo/ut2003-demo-2206-r5.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop unpacker - -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" -S="${WORKDIR}" - -LICENSE="ut2003-demo" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -RESTRICT="bindist mirror strip" - -RDEPEND=" - app-alternatives/bc - sys-libs/glibc - sys-libs/libstdc++-v3:5 - virtual/opengl[abi_x86_32(-)] - x11-libs/libX11[abi_x86_32(-)] - x11-libs/libXext[abi_x86_32(-)] -" -BDEPEND="app-arch/unzip" - -dir=opt/${PN} -Ddir="${ED}"/${dir} - -QA_PREBUILT="${dir}/*.so ${dir}/*-bin ${dir}/System/libSDL-1.2.so.0" - -src_unpack() { - unpack_makeself "${DISTDIR}"/ut2003demo-lnx-${PV}.sh.bin || die - unzip "${DISTDIR}"/UT2003CrashFix.zip || die - - cd "${S}" || die - 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} || die - 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 - dobin "${FILESDIR}"/ut2003-demo - exeinto "${dir}"/Benchmark - doexe "${FILESDIR}/"{benchmark,results.sh} - sed -i \ - -e "s:GAMES_PREFIX_OPT:/opt:" \ - "${ED}/usr/bin/${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 <<EOT -$ -?Engine.GameInfo? -a -AccessControlClass=crashfix.iaccesscontrolini -. -w -q -EOT - - exeinto "${dir}" - insinto "${dir}" - doins DemoLicense.int README.linux - doexe ucc ut2003_demo - newicon Unreal.xpm ut2003-demo.xpm - make_desktop_entry ut2003-demo "Unreal Tournament 2003 (Demo)" ${PN} -} - -pkg_postinst() { - elog "You can run benchmarks by typing 'ut2003-demo --bench' (MinDetail seems" - elog "to not be working for some unknown reason :/)" - - echo - elog "Read ${dir}/README.linux for instructions on how to run a" - elog "dedicated server." - - echo - ewarn "If you are not installing for the first time and you plan on running" - ewarn "a server, you will probably need to edit your" - ewarn "~/.ut2003demo/System/UT2003.ini file and add a line that says" - ewarn "AccessControlClass=crashfix.iaccesscontrolini to your" - ewarn "[Engine.GameInfo] section to close a security issue." - - echo - elog "To play the demo run:" - elog " ut2003-demo" - - echo -} diff --git a/games-fps/ut2003/Manifest b/games-fps/ut2003/Manifest deleted file mode 100644 index dab215295219..000000000000 --- a/games-fps/ut2003/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST ut2003lnx_patch2225.tar.bz2 10039316 BLAKE2B a15398eb2b66606f3e7b1382b01fda6b5d38982bc3fe7065184232eb18a8c85792147187951e810ecb6af738b5f5a15a2e56832d7e91fb21ab8956d699817f76 SHA512 3c44b6254b2b778bf2aca826c710f51db4ec0687c21f1c98e1070f3a9ad7e1a809e741a5b94e20a44c56c60a8b1e4a049788ff5f2a4d581c4eedf3dbbc0da86d diff --git a/games-fps/ut2003/files/ut2003-ded.confd b/games-fps/ut2003/files/ut2003-ded.confd deleted file mode 100644 index e6f81661a928..000000000000 --- a/games-fps/ut2003/files/ut2003-ded.confd +++ /dev/null @@ -1,6 +0,0 @@ -# User and group the server should run as. -ut2003_ded_user="nobody" -ut2003_ded_group="nobody" - -# Any extra options you want to pass to the server. -ut2003_ded_opts="DM-Antalus" diff --git a/games-fps/ut2003/files/ut2003-ded.initd b/games-fps/ut2003/files/ut2003-ded.initd deleted file mode 100644 index 19c8f1ada616..000000000000 --- a/games-fps/ut2003/files/ut2003-ded.initd +++ /dev/null @@ -1,13 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -pidfile="/var/run/${RC_SVCNAME}.pid" -command_background="true" -command_user="${ut2003_ded_user}:${ut2003_ded_group}" -command="ut2003-ded" -command_args="${ut2003_ded_opts}" - -depend() { - need net -} diff --git a/games-fps/ut2003/metadata.xml b/games-fps/ut2003/metadata.xml deleted file mode 100644 index dff2122c8937..000000000000 --- a/games-fps/ut2003/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> -</maintainer> -<longdescription> -Unreal Tounament 2003 is a first-person 3-D shooter and sequel to the 1999 Game of the Year, Unreal Tournament. The game was ported to Linux by Ryan "icculus" Gordon under contract from Epic Games and the Linux installer was released in the retail box. This game is commercial software and requires data from the original retail discs to play. If you're interested in checking out the technology behind Unreal Tournament 2003, you can "emerge ut2003-demo" to get the playable demo. -</longdescription> -</pkgmetadata> diff --git a/games-fps/ut2003/ut2003-2225-r6.ebuild b/games-fps/ut2003/ut2003-2225-r6.ebuild deleted file mode 100644 index a3f18e9121c3..000000000000 --- a/games-fps/ut2003/ut2003-2225-r6.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop wrapper - -DESCRIPTION="Sequel to the 1999 Game of the Year multi-player first-person shooter" -HOMEPAGE="https://en.wikipedia.org/wiki/Unreal_Tournament_2003" -SRC_URI="https://ftp.snt.utwente.nl/pub/games/UT2003/Patches/Linux/${PN}lnx_patch${PV}.tar.bz2" - -LICENSE="ut2003" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -RESTRICT="bindist mirror strip" - -RDEPEND=" - !games-server/ut2003-ded - games-fps/ut2003-data - sys-libs/glibc - virtual/opengl[abi_x86_32] -" - -BDEPEND="app-admin/chrpath" - -S="${WORKDIR}/${PN}-lnx-${PV}" -DIR="/opt/${PN}" - -QA_PREBUILT="*" - -src_prepare() { - default - chrpath -d System/{{ucc,${PN}}-bin,*.so} || die -} - -src_install() { - insinto "${DIR}" - doins -r . - fperms +x "${DIR}"/System/{ucc,${PN}}-bin - - make_wrapper ${PN} ./${PN}-bin "${DIR}" - make_wrapper ${PN}-ded ./ucc "${DIR}" - - make_desktop_entry ${PN} "Unreal Tournament 2003" applications-games - - 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 - ewarn - ewarn "If you are not installing for the first time and you plan on running" - ewarn "a server, you will probably need to edit your" - ewarn "~/.ut2003/System/UT2003.ini file and add a line that says" - ewarn "AccessControlClass=crashfix.iaccesscontrolini to your" - ewarn "[Engine.GameInfo] section to close a security issue." -} - -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!" - echo - einfo "CD key format is: XXXX-XXXX-XXXX-XXXX" - 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 -} diff --git a/games-fps/ut2004-bonuspack-cbp1/Manifest b/games-fps/ut2004-bonuspack-cbp1/Manifest deleted file mode 100644 index c7650cd79ad3..000000000000 --- a/games-fps/ut2004-bonuspack-cbp1/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST cbp1.zip 144163647 BLAKE2B ff32fbf431475ae2c24920574e5d158c4242fca2359bf1817131e189c0cd25e52d17de3232acb0b118d7f689ee67821cf6707a2e416e1a9b3f2b5f2e8fbcca86 SHA512 e2ead75796fd68b3f0d6ea50b4ed9988fef043730c6b81487d34c45aa26f63cac7b6a43991b673fbd6315f1496d2eecc52a5845c12f244411cd71fedab93c6fd diff --git a/games-fps/ut2004-bonuspack-cbp1/metadata.xml b/games-fps/ut2004-bonuspack-cbp1/metadata.xml deleted file mode 100644 index 1c3ba213c494..000000000000 --- a/games-fps/ut2004-bonuspack-cbp1/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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-bonuspack-cbp1/ut2004-bonuspack-cbp1-1-r3.ebuild b/games-fps/ut2004-bonuspack-cbp1/ut2004-bonuspack-cbp1-1-r3.ebuild deleted file mode 100644 index 76aca526c4b4..000000000000 --- a/games-fps/ut2004-bonuspack-cbp1/ut2004-bonuspack-cbp1-1-r3.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="UT2003 Community Bonus Pack for UT2004 Volume 1" -HOMEPAGE="https://liandri.beyondunreal.com/Unreal_Tournament_2004" -SRC_URI="http://ut2004.ut-files.com/BonusPacks/cbp1.zip" -LICENSE="free-noncomm" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="strip" - -BDEPEND="app-arch/unzip" -RDEPEND="|| ( games-fps/ut2004 >=games-server/ut2004-ded-3369.3-r2 )" - -S="${WORKDIR}" - -src_install() { - insinto /opt/ut2004 - doins -r * -} diff --git a/games-fps/ut2004-bonuspack-cbp2/Manifest b/games-fps/ut2004-bonuspack-cbp2/Manifest deleted file mode 100644 index 66f28c73f5d6..000000000000 --- a/games-fps/ut2004-bonuspack-cbp2/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST cbp2-volume1_zip.zip 203766207 BLAKE2B 7f7d19f4a1a1caaf388eccecadb8123a103d4aafbb95f2b344e106b881507f9bac0ffdda48435be7c2303b8bd70545d3d74ca7971f97a989bfa955d3155d956c SHA512 9e425985640f9fcf9c1696d75e0794b31110715ba3bf664087ede1f1925a68e76e4ee87d248b245429702c2bffc1fb16362fcc43f795681efcc5880a2a7c3213 -DIST cbp2-volume2_zip.zip 200444127 BLAKE2B 21d61d09af54e86047d46cc8d136cd6ba746098c4d0a53ade1e8e5c4143b543f0a90eb0dbca2cb00e29754f916dc84e7040a5d64f582bedd2a0107bb4c182291 SHA512 52982b302bb2d8f0839392f8bad05935bb8c5cae9e98528dfada7fa80f595050829ff6872b834197486c3401256f60c6c023133f6446299cbd72e1fd7ec3c8f4 diff --git a/games-fps/ut2004-bonuspack-cbp2/metadata.xml b/games-fps/ut2004-bonuspack-cbp2/metadata.xml deleted file mode 100644 index 1c3ba213c494..000000000000 --- a/games-fps/ut2004-bonuspack-cbp2/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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-bonuspack-cbp2/ut2004-bonuspack-cbp2-1-r3.ebuild b/games-fps/ut2004-bonuspack-cbp2/ut2004-bonuspack-cbp2-1-r3.ebuild deleted file mode 100644 index c67e88e17741..000000000000 --- a/games-fps/ut2004-bonuspack-cbp2/ut2004-bonuspack-cbp2-1-r3.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="UT2004 Community Bonus Pack 2 Volume 1 and 2" -HOMEPAGE="https://liandri.beyondunreal.com/Unreal_Tournament_2004" -SRC_URI="http://ut2004.ut-files.com/BonusPacks/cbp2-volume1_zip.zip - http://ut2004.ut-files.com/BonusPacks/cbp2-volume2_zip.zip" -LICENSE="free-noncomm all-rights-reserved" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="mirror bindist strip" - -BDEPEND="app-arch/unzip" -RDEPEND="|| ( games-fps/ut2004 >=games-server/ut2004-ded-3369.3-r2 ) - games-fps/ut2004-bonuspack-cbp1 - games-fps/ut2004-bonuspack-mega" - -S="${WORKDIR}" - -src_prepare() { - default - - # In ut2004-bonuspack-cbp1. - rm Music/Soeren.ogg || die - - # In ut2004-bonuspack-mega. - rm Textures/Ty_RocketTextures.utx || die - - # Useless file. - rm Help/Note.txt || die - - cd Help || die - mv Readme.txt CBP2-Readme.txt || die - mv GERROIDREADME.txt DOM-CBP2-Gerroid.txt || die - mv Tydal.txt DM-CBP2-Tydal.txt || die -} - -src_install() { - insinto /opt/ut2004 - doins -r * -} diff --git a/games-fps/ut2004-bonuspack-ece/Manifest b/games-fps/ut2004-bonuspack-ece/Manifest deleted file mode 100644 index 8b665d6181d2..000000000000 --- a/games-fps/ut2004-bonuspack-ece/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST UT2004-ONSBonusMapPack.zip 11018471 BLAKE2B bc915d6942c321df4031b02eaa25f83793b3fa1f2bb916c5d413c5569a3f887b6517fc4dceb8cb914e22be62f58512e727a41d5efbc6066113be12a9da9621d0 SHA512 8193375b89cd6fbc8b00de195797099c128fcf5cb73757bbc57d3c5350c497a878eaf0200f2e0711bf062e25c5d170e05b055c63f85b908b18dcc89572d71fd2 -DIST ut2004megapack-linux.tar.bz2 203124107 BLAKE2B 1459e2638181411446ec5679bceb44023382b3533951478ee06c274199688f3bbe341d7f7806299a332373791b6d0a9e1b57efdc6a13a5983220e0adbc413118 SHA512 4ae5eec0622c2bd96dfc162541bc0771399b012fb00f022282bc8c34600cb8e9bb7c18a52dd55fbef6f16fedaf225e301c46077a6accd001f4c77ddad89ed17b diff --git a/games-fps/ut2004-bonuspack-ece/metadata.xml b/games-fps/ut2004-bonuspack-ece/metadata.xml deleted file mode 100644 index 1c3ba213c494..000000000000 --- a/games-fps/ut2004-bonuspack-ece/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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-bonuspack-ece/ut2004-bonuspack-ece-1-r4.ebuild b/games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1-r4.ebuild deleted file mode 100644 index 0bd06e11ea1e..000000000000 --- a/games-fps/ut2004-bonuspack-ece/ut2004-bonuspack-ece-1-r4.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_P="ut2004megapack-linux.tar.bz2" - -DESCRIPTION="UT2004 Editor's Choice Edition - Editor's Choice Edition bonus pack" -HOMEPAGE="http://www.unrealtournament2004.com/" -SRC_URI=" - http://ut2004.ut-files.com/BonusPacks/${MY_P} - http://unrealmassdestruction.com/downloads/ut2k4/essentials/UT2004-ONSBonusMapPack.zip" - -LICENSE="ut2003" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="bindist mirror" - -BDEPEND="app-arch/unzip" - -S="${WORKDIR}" - -src_unpack() { - unpack "${MY_P}" - - cd UT2004MegaPack/Maps || die - unpack UT2004-ONSBonusMapPack.zip # bug #278002 -} - -src_prepare() { - default - - mv -f UT2004MegaPack/* . || die - rmdir UT2004MegaPack || die - - rm -r Music Speech || die - - # Remove megapack files which are not in ece - rm Animations/ONSNewTank-A.ukx || die - rm Help/ReadMePatch.int.txt || die - # Help/{DebuggerLogo.bmp,InstallerLogo.bmp,Unreal.ico,UnrealEd.ico} - # are not in megapack. - # Keep new Help/UT2004Logo.bmp - # Manual dir does not exist in megapack - rm Maps/{AS*,CTF*,DM*} || die - rm Sounds/A_Announcer_BP2.uax || die - rm StaticMeshes/{JumpShipObjects.usx,Ty_RocketSMeshes.usx} || die - rm System/{A*,b*,B*,CacheRecords.ucl} || die - rm System/{*.det,*.est,*.frt,*.itt,*.kot} || die - rm System/{CTF*,D*,Editor*,G*,I*,L*,Onslaught.*,*.md5} || die - rm System/{u*,U*,V*,X*,Core.u,Engine.u,F*,*.ucl,Sk*} || die - rm Textures/{J*,j*,T*} || die - rm -r Web || die - - # The file lists of ut2004-3369-r1 and -r2 are identical - # Remove files owned by ut2004-3369-r2 - rm Help/UT2004Logo.bmp || die - # The 2 Manifest files have not changed - rm System/{Manifest.in{i,t},OnslaughtFull.int} || die - rm System/{Core.int,Engine.int,Setup.int,Window.int} || die - rm System/{OnslaughtFull.u,OnslaughtBP.u} || die -} - -src_install() { - insinto /opt/ut2004 - doins -r Animations Help Maps Sounds StaticMeshes System Textures - - dosym ut2004 /opt/ut2004-ded -} diff --git a/games-fps/ut2004-bonuspack-mega/Manifest b/games-fps/ut2004-bonuspack-mega/Manifest deleted file mode 100644 index cf2ddd056d0f..000000000000 --- a/games-fps/ut2004-bonuspack-mega/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST ut2004megapack-linux.tar.bz2 203124107 BLAKE2B 1459e2638181411446ec5679bceb44023382b3533951478ee06c274199688f3bbe341d7f7806299a332373791b6d0a9e1b57efdc6a13a5983220e0adbc413118 SHA512 4ae5eec0622c2bd96dfc162541bc0771399b012fb00f022282bc8c34600cb8e9bb7c18a52dd55fbef6f16fedaf225e301c46077a6accd001f4c77ddad89ed17b diff --git a/games-fps/ut2004-bonuspack-mega/metadata.xml b/games-fps/ut2004-bonuspack-mega/metadata.xml deleted file mode 100644 index 1c3ba213c494..000000000000 --- a/games-fps/ut2004-bonuspack-mega/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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-bonuspack-mega/ut2004-bonuspack-mega-1-r3.ebuild b/games-fps/ut2004-bonuspack-mega/ut2004-bonuspack-mega-1-r3.ebuild deleted file mode 100644 index 76d8760255cb..000000000000 --- a/games-fps/ut2004-bonuspack-mega/ut2004-bonuspack-mega-1-r3.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="UT2004 Megapack - Megapack bonus pack" -HOMEPAGE="http://www.unrealtournament2004.com/" -SRC_URI="http://ut2004.ut-files.com/BonusPacks/ut2004megapack-linux.tar.bz2" -S="${WORKDIR}" - -LICENSE="ut2003" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="bindist mirror" - -src_prepare() { - default - - mv -f UT2004MegaPack/* . || die - rmdir UT2004MegaPack || die - - # Remove files in Megapack which are already installed - rm -r Animations Speech Web || die - - rm Help/{ReadMePatch.int.txt,UT2004Logo.bmp} || die - mv Help/BonusPackReadme.txt Help/MegapackReadme.txt || die - - rm Maps/ONS-{Adara,IslandHop,Tricky,Urban}.ut2 || die - rm Sounds/{CicadaSnds,DistantBooms,ONSBPSounds}.uax || die - rm StaticMeshes/{BenMesh02,BenTropicalSM01,HourAdara,ONS-BPJW1,PC_UrbanStatic}.usx || die - - # System - rm System/{AL,AS-,B,b,C,D,E,F,G,I,L,O,o,S,s,U,V,W,X,x}* || die - rm System/{ucc,ut2004}-bin || die - rm System/{ucc,ut2004}-bin-linux-amd64 || die - rm Textures/{AW-2k4XP,BenTex02,BenTropical01,BonusParticles,CicadaTex,Construction_S,HourAdaraTexor,jwfasterfiles,ONSBP_DestroyedVehicles,ONSBPTextures,PC_UrbanTex,UT2004ECEPlayerSkins}.utx || die -} - -src_install() { - insinto /opt/ut2004 - doins -r Help Maps Music Sounds StaticMeshes System Textures - - dosym ut2004 /opt/ut2004-ded -} diff --git a/games-fps/ut2004-data/metadata.xml b/games-fps/ut2004-data/metadata.xml deleted file mode 100644 index 1c3ba213c494..000000000000 --- a/games-fps/ut2004-data/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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-data/ut2004-data-3186-r5.ebuild b/games-fps/ut2004-data/ut2004-data-3186-r5.ebuild deleted file mode 100644 index 1afad93fd0c1..000000000000 --- a/games-fps/ut2004-data/ut2004-data-3186-r5.ebuild +++ /dev/null @@ -1,399 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cdrom desktop portability unpacker xdg-utils - -DESCRIPTION="Unreal Tournament 2004 - This is the data portion of UT2004" -HOMEPAGE="https://liandri.beyondunreal.com/Unreal_Tournament_2004" - -LICENSE="ut2003" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RESTRICT="bindist" - -BDEPEND=" - games-util/uz2unpack - >=app-arch/unshield-0.5-r1 -" - -PDEPEND=">=games-fps/ut2004-3369.3-r2" -RDEPEND="!games-fps/ut2004-ded" - -S="${WORKDIR}" - -check_dvd() { - # The following is a nasty mess to determine if we are installing from - # a DVD or from multiple CDs. Anyone feel free to submit patches to this - # to bugs.gentoo.org as I know it is a very ugly hack. - - USE_DVD= - USE_ECE_DVD= - USE_MIDWAY_DVD= - USE_GERMAN_MIDWAY_DVD= - - local point foo fs mnts=() - while read point foo fs foo ; do - [[ ${fs} =~ (9660|udf) ]] && mnts+=( "${point//\040/ }" ) - done < <(get_mounts) - - local r - for r in "${CD_ROOT}" "${CD_ROOT_1}" "${mnts[@]}" ; do - if [[ -n ${r} ]] ; then - einfo "Searching ${r}" - if [[ -f ${r}/AutoRunData/Unreal.ico ]] \ - && [[ -f ${r}/Disk5/data6.cab ]] ; then - USE_MIDWAY_DVD=1 - USE_DVD=1 - elif [[ -f ${r}/autorund/unreal.ico ]] \ - && [[ -f ${r}/disk7/data8.cab ]] ; then - USE_MIDWAY_DVD=1 - USE_GERMAN_MIDWAY_DVD=1 - USE_DVD=1 - else - [[ -d ${r}/CD1 ]] && USE_DVD=1 - [[ -d ${r}/CD7 ]] && USE_ECE_DVD=1 - fi - fi - done -} - -grabdirs() { - local d - for d in {Music,Sounds,Speech,StaticMeshes,Textures} ; do - local srcdir=${CDROM_ROOT}/${1}/${d} - # Is flexible to handle CD_ROOT vs CD_ROOT_1 mixups - [[ -d ${srcdir} ]] || srcdir=${CDROM_ROOT}/${d} - if [[ -d ${srcdir} ]] ; then - insinto /opt/ut2004 - doins -r "${srcdir}" - fi - done -} - -ut_unpack() { - local ut_unpack="$1" - local f= - - if [[ -z ${ut_unpack} ]] ; then - die "You must provide an argument to ut_unpack" - fi - if [[ -f ${ut_unpack} ]] ; then - uz2unpack "${ut_unpack}" "${ut_unpack%.uz2}" \ - || die "uncompressing file ${ut_unpack}" - fi - if [[ -d ${ut_unpack} ]] ; then - while read f ; do - uz2unpack "${ut_unpack}/${f}" "${ut_unpack}/${f%.uz2}" \ - || die "uncompressing file ${f}" - rm -f "${ut_unpack}/${f}" || die "deleting compressed file ${f}" - done < <(find "${ut_unpack}" -maxdepth 1 -name '*.uz2' -printf '%f\n' 2>/dev/null) - fi -} - -pkg_setup() { - ewarn "This is a huge package. If you do not have at least 7GB of free" - ewarn "disk space in ${PORTAGE_TMPDIR} and also in /opt" - ewarn "then you should abort this installation now and free up some space." -} - -src_unpack() { - check_dvd - - if [[ ${USE_DVD} -eq 1 ]] ; then - if [[ ${USE_MIDWAY_DVD} -eq 1 ]] ; then - # Is 1 DVD, either UT2004-only or Anthology - if [[ ${USE_GERMAN_MIDWAY_DVD} -eq 1 ]] ; then - cdrom_get_cds autorund/unreal.ico - else - cdrom_get_cds AutoRunData/Unreal.ico - fi - else - DISK1="CD1" - DISK2="CD2" - DISK3="CD3" - DISK4="CD4" - DISK5="CD5" - DISK6="CD6" - if [[ ${USE_ECE_DVD} -eq 1 ]] ; then - # Editor's Choice Edition DVD - cdrom_get_cds \ - ${DISK1}/System/UT2004.ini \ - ${DISK2}/Textures/2K4Fonts.utx.uz2 \ - ${DISK3}/Textures/ONSDeadVehicles-TX.utx.uz2 \ - ${DISK4}/Textures/XGameShaders2004.utx.uz2 \ - ${DISK5}/Speech/ons.xml \ - ${DISK6}/Sounds/TauntPack.det_uax.uz2 - else - # Original DVD - cdrom_get_cds \ - ${DISK1}/System/UT2004.ini \ - ${DISK2}/Textures/2K4Fonts.utx.uz2 \ - ${DISK3}/Textures/ONSDeadVehicles-TX.utx.uz2 \ - ${DISK4}/StaticMeshes/AlienTech.usx.uz2 \ - ${DISK5}/Speech/ons.xml \ - ${DISK6}/Sounds/TauntPack.det_uax.uz2 - fi - fi - else - # 6 CDs - cdrom_get_cds \ - System/UT2004.ini \ - Textures/2K4Fonts.utx.uz2 \ - Textures/ONSDeadVehicles-TX.utx.uz2 \ - StaticMeshes/AlienTech.usx.uz2 \ - Speech/ons.xml \ - Sounds/TauntPack.det_uax.uz2 - fi - - if [[ ${USE_MIDWAY_DVD} -ne 1 ]] ; then - unpack_makeself "${CDROM_ROOT}"/linux-installer.sh - use x86 && unpack ./linux-x86.tar - use amd64 && unpack ./linux-amd64.tar - fi -} - -src_install() { - local j - local Ddir="${ED}"/opt/ut2004 - - if [[ ${USE_MIDWAY_DVD} -eq 1 ]] ; then - einfo "Copying files from UT2004 Midway DVD." - - if [[ -f ${CDROM_ROOT}/Manual/Manual.pdf ]] ; then - insinto /opt/ut2004/Manual - doins "${CDROM_ROOT}"/Manual/Manual.pdf - elif [[ -f ${CDROM_ROOT}/Manual.pdf ]] ; then - insinto /opt/ut2004/Manual - doins "${CDROM_ROOT}"/Manual.pdf - fi - - # Symlinks for unshield. data1&2.cab are both in Disk1. - # unshield needs data1.hdr - # The Midway Anthology DVD contains up to data9.cab - local cabfile - for cabfile in "${CDROM_ROOT}"/[dD]isk*/data*.{cab,hdr} ; do - ln -sfn "${cabfile}" . - done - - # The big extraction - einfo "Extracting from CAB files - this will take several minutes..." - unshield x data1.cab || die - - if [[ -d 4_UT2004_Animations ]] ; then - # Delete the other games on the Anthology DVD - rm -rf {1,2,3}_Unreal* 4_UT2004_EXE Launcher_* OCXFiles || die - # Rename directories to be same as Midway UT2004-only DVD, - # i.e. rename "4_UT2004_Animations" to "Animations". - for j in 4_UT2004_* ; do - mv -f ${j} ${j/4_UT2004_} || die - done - fi - - # The "logging" subdirectory is created by unshield. - rm -rf logging || die - rm -f *.{cab,hdr} || die - - for j in Animations Benchmark ForceFeedback Help KarmaData \ - Manual Maps Music Sounds Speech StaticMeshes \ - System Textures Web ; do - - # UT2004-only DVD has "All_*" dirs, and Anthology DVD has "*_All" - if [[ -d All_${j} ]] ; then - if [[ -d ${j} ]] ; then - cp -rf All_${j}/* ${j}/ || die - else - mv -f All_${j} ${j} || die - fi - fi - if [[ -d ${j}_All ]] ; then - if [[ -d ${j} ]] ; then - cp -rf ${j}_All/* ${j}/ || die - else - mv -f ${j}_All ${j} || die - fi - fi - - if [[ -d English_${j} ]] ; then - if [[ -d ${j} ]] ; then - cp -rf English_${j}/* ${j}/ || die - else - mv -f English_${j} ${j} || die - fi - fi - if [[ -d ${j}_English ]] ; then - if [[ -d ${j} ]] ; then - cp -rf ${j}_English/* ${j}/ || die - else - mv -f ${j}_English ${j} || die - fi - fi - - # Ensure that the directory exists - mkdir -p ${j} - done - - # Rearrange directories - if [[ -d English_Sounds_Speech_System_Help ]] ; then - # http://utforums.epicgames.com/showthread.php?t=558146 - for j in Sounds Speech System Help ; do - cp -rf English_Sounds_Speech_System_Help/${j}/* ${j}/ || die - done - fi - - if [[ ! -d Benchmark/Stuff ]] ; then - mkdir -p Benchmark/Stuff || die - cp -f BenchmarkStuff/timedemo.txt Benchmark/Stuff || die - fi - - if [[ ! -d System/editorres ]] ; then - mkdir -p System/editorres || die - cp -rf Systemeditorres/* System/editorres || die - fi - - if [[ ! -d Web/images ]] ; then - mkdir -p Web/{images,ServerAdmin,Src} || die - cp -rf Webimages/* Web/images || die - cp -rf WebServerAdmin/* Web/ServerAdmin || die - cp -rf WebSrc/* Web/Src || die - fi - - # Other languages - for j in Help_* Sounds_* System_* ; do - [[ ! -d ${j} ]] && continue - mv -n ${j}/* ${j/_*}/ || die - done - - # Remove unnecessary directories - rm -rf Benchmark{CSVs,Logs,Results,Stuff} - rm -rf Systemeditorres Web{images,ServerAdmin,Src} - rm -rf Help_* Sounds_* Speech_* System_* - rm -rf \<* \[* _* All_* English_* *_All *_English - - # These files are replaced later, for all installations - rm -f $(find . -type f -name 'DO_NOT_DELETE.ME') - - # Install icon - if [[ -f ut2004.xpm ]] ; then - doicon ut2004.xpm - elif [[ -f Help/Unreal.ico ]] ; then - newicon Help/Unreal.ico ut2004.ico - elif [[ -f ${CDROM_ROOT}/AutoRunData/Unreal.ico ]] ; then - newicon "${CDROM_ROOT}"/AutoRunData/Unreal.ico ut2004.ico - elif [[ -f Help/Unreal.bmp ]] ; then - newicon Help/Unreal.bmp ut2004.bmp - fi - - # The big install - einfo "Installing UT2004 directories..." - insinto /opt/ut2004 - doins -r . - else - # Disk 1 - einfo "Copying files from Disk 1..." - insinto /opt/ut2004 - doins -r "${CDROM_ROOT}"/${DISK1}/{Animations,ForceFeedback,Help,KarmaData,Maps,Sounds,Web} - insinto /opt/ut2004/System - doins -r "${CDROM_ROOT}"/${DISK1}/System/{editorres,*.{bat,bmp,dat,det,est,frt,ini,int,itt,kot,md5,smt,tmt,u,ucl,upl,url}} - insinto /opt/ut2004/Manual - doins "${CDROM_ROOT}"/${DISK1}/Manual/Manual.pdf - insinto /opt/ut2004/Benchmark/Stuff - doins -r "${CDROM_ROOT}"/${DISK1}/Benchmark/Stuff/. - cdrom_load_next_cd - - local diskno - for diskno in {2..5} ; do - einfo "Copying files from Disk ${diskno}..." - local varname="DISK${diskno}" - grabdirs ${!varname} - cdrom_load_next_cd - done - - # Disk 6 - einfo "Copying files from Disk 6..." - grabdirs "${DISK6}" - - # Install extra help files - insinto /opt/ut2004/Help - doins README.linux Unreal.bmp UT2004_EULA.txt ut2004.xpm - - doicon ut2004.xpm - - # Uncompress files - einfo "Uncompressing files... this *will* take a while..." - for j in Animations Maps Sounds StaticMeshes Textures ; do - fperms -R u+w /opt/ut2004/${j} - ut_unpack "${Ddir}"/${j} - done - fi - - # Create empty files in Benchmark - for j in {CSVs,Logs,Results} ;do - keepdir /opt/ut2004/Benchmark/${j} - done - - # Remove unneccessary files - rm -f "${Ddir}"/*.{bat,exe,EXE,int} || die - rm -f "${Ddir}"/Help/{.DS_Store,SAPI-EULA.txt} || die - rm -f "${Ddir}"/Manual/*.exe || die - rm -rf "${Ddir}"/Speech/Redist || die - rm -f "${Ddir}"/System/*.{bat,dll,exe,tar} || die - rm -f "${Ddir}"/System/{{License,Manifest}.smt,{ucc,StdOut}.log} || die - rm -f "${Ddir}"/System/{User,UT2004}.ini || die - - # Remove file collisions with ut2004-3369-r4 - rm -f "${Ddir}"/Animations/ONSNewTank-A.ukx || die - rm -f "${Ddir}"/Help/UT2004Logo.bmp || die - rm -f "${Ddir}"/System/{ALAudio.kot,AS-{Convoy,FallenCity,Glacier}.kot,AS-{Convoy,FallenCity,Glacier,Junkyard,Mothership,RobotFactory}.int,bonuspack.{det,est,frt},BonusPack.{int,itt,u},BR-Serenity.int} || die - rm -f "${Ddir}"/System/CTF-{AbsoluteZero,BridgeOfFate,DE-ElecFields,DoubleDammage,January,LostFaith}.int || die - rm -f "${Ddir}"/System/DM-{1on1-Albatross,1on1-Desolation,1on1-Mixer,Corrugation,IronDeity,JunkYard}.int || die - rm -f "${Ddir}"/System/{DOM-Atlantis.int,OnslaughtBP.{kot,u,ucl},OnslaughtFull.int} || die - rm -f "${Ddir}"/System/{Build.ini,CacheRecords.ucl,Core.{est,frt,kot,int,itt,u},CTF-January.kot,D3DDrv.kot,DM-1on1-Squader.kot} || die - rm -f "${Ddir}"/System/{Editor,Engine,Gameplay,GamePlay,UnrealGame,UT2k4Assault,XInterface,XPickups,xVoting,XVoting,XWeapons,XWebAdmin}.{det,est,frt,int,itt,u} || die - rm -f "${Ddir}"/System/{Fire.u,IpDrv.u,License.int,ONS-ArcticStronghold.kot} || die - rm -f "${Ddir}"/System/{OnslaughtFull,onslaughtfull,UT2k4AssaultFull}.{det,est,frt,itt,u} || die - rm -f "${Ddir}"/System/{GUI2K4,Onslaught,skaarjpack,SkaarjPack,XGame}.{det,est,frt,int,itt,kot,u} || die - rm -f "${Ddir}"/System/{Setup,Window}.{det,est,frt,int,itt,kot} || die - rm -f "${Ddir}"/System/XPlayers.{det,est,frt,int,itt} || die - rm -f "${Ddir}"/System/{UnrealEd.u,UTClassic.u,UTV2004c.u,UTV2004s.u,UWeb.u,Vehicles.kot,Vehicles.u,Xweapons.itt,UT2K4AssaultFull.int,UTV2004.kot,UTV2004s.kot} || die - rm -f "${Ddir}"/System/{XAdmin.kot,XAdmin.u,XMaps.det,XMaps.est} || die - rm -f "${Ddir}"/Textures/jwfasterfiles.utx || die - rm -f "${Ddir}"/Web/ServerAdmin/{admins_home.htm,current_bots.htm,ut2003.css,current_bots_species_group.inc} || die - rm -f "${Ddir}"/Web/ServerAdmin/ClassicUT/current_bots.htm || die - rm -f "${Ddir}"/Web/ServerAdmin/UnrealAdminPage/{adminsframe.htm,admins_home.htm,admins_menu.htm,current_bots.htm,currentframe.htm,current_menu.htm} || die - rm -f "${Ddir}"/Web/ServerAdmin/UnrealAdminPage/{defaultsframe.htm,defaults_menu.htm,footer.inc,mainmenu.htm,mainmenu_itemd.inc,rootframe.htm,UnrealAdminPage.css} || die - rm -f "${Ddir}"/Web/ServerAdmin/UT2K3Stats/{admins_home.htm,current_bots.htm,ut2003stats.css} || die - - # Remove file collisions with ut2004-bonuspack-ece - rm -f "${Ddir}"/Animations/{MechaSkaarjAnims,MetalGuardAnim,NecrisAnim,ONSBPAnimations}.ukx || die - rm -f "${Ddir}"/Help/BonusPackReadme.txt || die - rm -f "${Ddir}"/Maps/ONS-{Adara,IslandHop,Tricky,Urban}.ut2 || die - rm -f "${Ddir}"/Sounds/{CicadaSnds,DistantBooms,ONSBPSounds}.uax || die - rm -f "${Ddir}"/StaticMeshes/{BenMesh02,BenTropicalSM01,HourAdara,ONS-BPJW1,PC_UrbanStatic}.usx || die - rm -f "${Ddir}"/System/{ONS-Adara.int,ONS-IslandHop.int,ONS-Tricky.int,ONS-Urban.int,OnslaughtBP.int,xaplayersl3.upl} || die - rm -f "${Ddir}"/Textures/{AW-2k4XP,BenTex02,BenTropical01,BonusParticles,CicadaTex,Construction_S}.utx || die - rm -f "${Ddir}"/Textures/{HourAdaraTexor,ONSBPTextures,ONSBP_DestroyedVehicles,PC_UrbanTex,UT2004ECEPlayerSkins}.utx || die - - # Remove file collisions with ut2004-bonuspack-mega - rm -f "${Ddir}"/Help/MegapackReadme.txt || die - rm -f "${Ddir}"/Maps/{AS-BP2-Acatana,AS-BP2-Jumpship,AS-BP2-Outback,AS-BP2-SubRosa,AS-BP2-Thrust}.ut2 || die - rm -f "${Ddir}"/Maps/{CTF-BP2-Concentrate,CTF-BP2-Pistola,DM-BP2-Calandras,DM-BP2-GoopGod}.ut2 || die - rm -f "${Ddir}"/Music/APubWithNoBeer.ogg || die - rm -f "${Ddir}"/Sounds/A_Announcer_BP2.uax || die - rm -f "${Ddir}"/StaticMeshes/{JumpShipObjects,Ty_RocketSMeshes}.usx || die - rm -f "${Ddir}"/System/{AssaultBP.u,Manifest.in{i,t},Packages.md5} || die - rm -f "${Ddir}"/Textures/{JumpShipTextures,T_Epic2k4BP2,Ty_RocketTextures}.utx || die -} - -pkg_postinst() { - xdg_icon_cache_update - - elog "This is only the data portion of the game. To play UT2004," - elog "you still need to install games-fps/ut2004." -} - -pkg_postrm() { - xdg_icon_cache_update -} diff --git a/games-fps/ut2004-demo/Manifest b/games-fps/ut2004-demo/Manifest deleted file mode 100644 index 0e41c1b71159..000000000000 --- a/games-fps/ut2004-demo/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST ut2004-lnx-demo3334.run 288950743 BLAKE2B 82a45af7de4735cbcb1b8b4b5303d28d96e3e4888e12b60b920db096ed07b4c5d902eda258276c95865316206ddfd5828174397a8e921118e33f63be01e71861 SHA512 4cdd61901f4c082d1e02caf301a24f1e18e89f4efc9fbce0e4496178916b6c14245131b62f27deb17f1763cd4b8bf68ee60cc7af5ece5fa2b39d1bf349361da0 diff --git a/games-fps/ut2004-demo/metadata.xml b/games-fps/ut2004-demo/metadata.xml deleted file mode 100644 index 1c3ba213c494..000000000000 --- a/games-fps/ut2004-demo/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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-demo/ut2004-demo-3334-r3.ebuild b/games-fps/ut2004-demo/ut2004-demo-3334-r3.ebuild deleted file mode 100644 index c63c698427b0..000000000000 --- a/games-fps/ut2004-demo/ut2004-demo-3334-r3.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop unpacker wrapper - -MY_P="ut2004-lnx-demo${PV}.run" -DESCRIPTION="Demo for the critically-acclaimed first-person shooter" -HOMEPAGE="http://www.unrealtournament.com/" -SRC_URI="mirror://gentoo/${MY_P}" -S="${WORKDIR}" - -LICENSE="ut2003-demo" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -RESTRICT="bindist mirror strip" - -RDEPEND=" - sys-libs/glibc - sys-libs/libstdc++-v3:5 - x11-libs/libX11[abi_x86_32(-)] - x11-libs/libXext[abi_x86_32(-)] - virtual/opengl[abi_x86_32(-)] -" - -dir=/opt/${PN} -Ddir="${ED}"/${dir#/} -QA_PREBUILT="${dir#/}/System/*" - -src_unpack() { - unpack_makeself - unpack ./setupstuff.tar.gz -} - -src_install() { - dodir ${dir} - - tar xjf ut2004demo.tar.bz2 -C "${Ddir}" || die - - if use x86 ; then - tar xjf linux-x86.tar.bz2 || die - elif use amd64 ; then - tar xjf linux-amd64.tar.bz2 || die - fi - - insinto ${dir} - doins README.linux ut2004.xpm - newicon ut2004.xpm ut2004-demo.xpm - - exeinto ${dir} - doexe bin/ut2004-demo - - exeinto ${dir}/System - doexe System/{libSDL-1.2.so.0,openal.so,ucc-bin,ut2004-bin} - - make_wrapper ut2004-demo ./ut2004-demo "${dir}" "${dir}" - make_desktop_entry ut2004-demo "Unreal Tournament 2004 (Demo)" ut2004-demo -} - -pkg_postinst() { - echo - elog "For Text To Speech:" - elog " 1) emerge festival speechd" - elog " 2) Edit your ~/.ut2004demo/System/UT2004.ini file." - elog " In the [SDLDrv.SDLClient] section, add:" - elog " TextToSpeechFile=/dev/speech" - elog " 3) Start speechd." - elog " 4) Start the game. Be sure to go into the Audio" - elog " options and enable Text To Speech." - echo - elog "To test, pull down the console (~) and type:" - elog " TTS this is a test." - echo - elog "You should hear something that sounds like 'This is a test.'" - echo -} diff --git a/games-fps/ut2004/Manifest b/games-fps/ut2004/Manifest deleted file mode 100644 index 11839ddb2810..000000000000 --- a/games-fps/ut2004/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST ut2004-lnxpatch3369-2.tar.tar 22465217 BLAKE2B 9852f9d55804b7f2927a31be86aee1552aaebeb38d2a40fb206154c236e9d6eff47f7594024c0d9b25c7216d3ca62571b1f89f23f72ee9e135b2e6451bcb006a SHA512 0d6f26d5a811efd64be8c304e928e03f546d9a8eaba6b074843e2b7e76e0670b39df95200a2fe2040d72bbd204c7157ed0115649a5c85396a76d9e0b7ec284b1 -DIST ut2004-v3369-3-linux-dedicated.7z 5013927 BLAKE2B 72d24d7bc37c777f3697b767a03e052ad9b547005dd6da73833e439496e87a9c1ebbe01f88d62b29a41b2bf6380a3b3bd745e6883fbb6d0f2b7e52998d4af276 SHA512 3b2a7b64934a3647c02c9fec48565c5c2c35370d635b2af4059eb76587bfa13f46e6a4e14fdb0494ba7a4182497ed5963601986f4fcfa318e69a8a8a8c0178cf diff --git a/games-fps/ut2004/files/ut2004-ded.confd b/games-fps/ut2004/files/ut2004-ded.confd deleted file mode 100644 index e82238b93de0..000000000000 --- a/games-fps/ut2004/files/ut2004-ded.confd +++ /dev/null @@ -1,6 +0,0 @@ -# User and group the server should run as. -ut2004_ded_user="nobody" -ut2004_ded_group="nobody" - -# Any extra options you want to pass to the server. -ut2004_ded_opts="DM-Deck17" diff --git a/games-fps/ut2004/files/ut2004-ded.initd b/games-fps/ut2004/files/ut2004-ded.initd deleted file mode 100644 index c4cf9810cd15..000000000000 --- a/games-fps/ut2004/files/ut2004-ded.initd +++ /dev/null @@ -1,13 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -pidfile="/var/run/${RC_SVCNAME}.pid" -command_background="true" -command_user="${ut2004_ded_user}:${ut2004_ded_group}" -command="ut2004-ded" -command_args="${ut2004_ded_opts}" - -depend() { - need net -} diff --git a/games-fps/ut2004/metadata.xml b/games-fps/ut2004/metadata.xml deleted file mode 100644 index 1c3ba213c494..000000000000 --- a/games-fps/ut2004/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://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-r4.ebuild b/games-fps/ut2004/ut2004-3369.3-r4.ebuild deleted file mode 100644 index c03880a15a05..000000000000 --- a/games-fps/ut2004/ut2004-3369.3-r4.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop wrapper unpacker - -PATCH_P="${PN}-lnxpatch${PV%.*}-2.tar.tar" -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=" - http://ut2004.ut-files.com/UT2004/${PATCH_P} - https://dev.gentoo.org/~chewi/distfiles/ut2004-v${PV/./-}-linux-dedicated.7z -" -S="${WORKDIR}/${PN^^}-Patch" -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="$(unpacker_src_uri_depends)" - -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 -} diff --git a/games-fps/worldofpadman/Manifest b/games-fps/worldofpadman/Manifest deleted file mode 100644 index f23849885d1e..000000000000 --- a/games-fps/worldofpadman/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST wop-1.7.0-unified.zip 1200906511 BLAKE2B ef8da8d79d28eae3907954a490679bf436cb96e1f5d7480d874acb62c5f9aba204cc6e48b10ca91ffeefeda04f73c6f70cdb80de6bcd9fa77a9a7eb9c280467c SHA512 1c1f2d88d6a4fe31f9f5a0f7884c6660feedb7c9d12c88f2339036041aa38e1ef4be9580489b2b42a93518c676f0ecdc6ee85be518e8a74970eb11a9d53b58a0 -DIST worldofpadman-1.7.0.tar.gz 119562391 BLAKE2B ee6d23aef07fcdb36e5eac2c07ff97263c33466b1ba53c0c383285a21554b7b3dc7a268020c35098e3df0f9581f0ab9d4b151f4c24448e3f6b5bbb080a40a78e SHA512 c85053c73326893c61b23a2290e46647d2b58e60fa604004ed909c0a6d0ebae3500a3e2a5922fbf556dd12dddc6b58e8a61d27166ba55cc7ff5aded8697c5f9f diff --git a/games-fps/worldofpadman/files/worldofpadman-1.7-c23.patch b/games-fps/worldofpadman/files/worldofpadman-1.7-c23.patch deleted file mode 100644 index 4acc672d1e6c..000000000000 --- a/games-fps/worldofpadman/files/worldofpadman-1.7-c23.patch +++ /dev/null @@ -1,75 +0,0 @@ -From 5604ddf69b47e314150191c56a04b7009d885160 Mon Sep 17 00:00:00 2001 -From: Tim Angus <tim@ngus.net> -Date: Sat, 8 Mar 2025 13:00:48 +0000 -Subject: [PATCH] Rename LCC constexpr function to constantexpr, avoiding C23 - keyword clash - -fixes #349 ---- - code/tools/lcc/src/c.h | 2 +- - code/tools/lcc/src/init.c | 2 +- - code/tools/lcc/src/simp.c | 4 ++-- - code/tools/lcc/src/stmt.c | 2 +- - 4 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/code/tools/lcc/src/c.h b/code/tools/lcc/src/c.h -index d8560a020..2260141e3 100644 ---- a/code/tools/lcc/src/c.h -+++ b/code/tools/lcc/src/c.h -@@ -529,7 +529,7 @@ extern int process(char *); - extern int findfunc(char *, char *); - extern int findcount(char *, int, int); - --extern Tree constexpr(int); -+extern Tree constantexpr(int); - extern int intexpr(int, int); - extern Tree simplify(int, Type, Tree, Tree); - extern int ispow2(unsigned long u); -diff --git a/code/tools/lcc/src/init.c b/code/tools/lcc/src/init.c -index 64d73d319..972abf530 100644 ---- a/code/tools/lcc/src/init.c -+++ b/code/tools/lcc/src/init.c -@@ -190,7 +190,7 @@ static int initstruct(int len, Type ty, int lev) { - return n; - } - --/* initializer - constexpr | { constexpr ( , constexpr )* [ , ] } */ -+/* initializer - constantexpr | { constantexpr ( , constantexpr )* [ , ] } */ - Type initializer(Type ty, int lev) { - int n = 0; - Tree e; -diff --git a/code/tools/lcc/src/simp.c b/code/tools/lcc/src/simp.c -index 9f4e3ecc3..50e83e484 100644 ---- a/code/tools/lcc/src/simp.c -+++ b/code/tools/lcc/src/simp.c -@@ -167,7 +167,7 @@ static int subi(long x, long y, long min, long max, int needconst) { - static int subd(double x, double y, double min, double max, int needconst) { - return addd(x, -y, min, max, needconst); - } --Tree constexpr(int tok) { -+Tree constantexpr(int tok) { - Tree p; - - needconst++; -@@ -177,7 +177,7 @@ Tree constexpr(int tok) { - } - - int intexpr(int tok, int n) { -- Tree p = constexpr(tok); -+ Tree p = constantexpr(tok); - - needconst++; - if (p->op == CNST + I || p->op == CNST + U) -diff --git a/code/tools/lcc/src/stmt.c b/code/tools/lcc/src/stmt.c -index fe83e21f8..a65efc0ec 100644 ---- a/code/tools/lcc/src/stmt.c -+++ b/code/tools/lcc/src/stmt.c -@@ -128,7 +128,7 @@ - static char stop[] = {IF, ID, 0}; - Tree p; - t = gettok(); -- p = constexpr(0); -+ p = constantexpr(0); - if (generic(p->op) == CNST && isint(p->type)) { - if (swp) { - needconst++; diff --git a/games-fps/worldofpadman/metadata.xml b/games-fps/worldofpadman/metadata.xml deleted file mode 100644 index 706fe2f07637..000000000000 --- a/games-fps/worldofpadman/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <upstream> - <remote-id type="github">PadWorld-Entertainment/worldofpadman</remote-id> - <remote-id type="sourceforge">worldofpadman</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-fps/worldofpadman/worldofpadman-1.7.0-r3.ebuild b/games-fps/worldofpadman/worldofpadman-1.7.0-r3.ebuild deleted file mode 100644 index 7e4073a41614..000000000000 --- a/games-fps/worldofpadman/worldofpadman-1.7.0-r3.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake desktop - -DESCRIPTION="Cartoon style multiplayer first-person shooter" -HOMEPAGE="https://worldofpadman.net/" -SRC_URI="https://github.com/PadWorld-Entertainment/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" -SRC_URI+=" https://github.com/PadWorld-Entertainment/${PN}/releases/download/v${PV}/wop-${PV}-unified.zip" - -LICENSE="GPL-2 worldofpadman" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+opengl" - -# bundled libs (bug #963154): -# media-libs/libjpeg-turbo:= -# media-libs/libtheora -# media-libs/libogg -# media-libs/libvorbis -RDEPEND=" - media-libs/libsdl2[joystick,opengl?,video,X] - media-libs/openal - net-misc/curl - virtual/glu - virtual/zlib:= - opengl? ( virtual/opengl ) -" -DEPEND="${RDEPEND}" -BDEPEND="app-arch/unzip" - -DOCS=( docs/id-readme.txt docs/ioq3-readme.md docs/voip-readme.txt CHANGELOG.md ) - -PATCHES=( - "${FILESDIR}"/${PN}-1.7-c23.patch # bug 944329, git main -) - -src_prepare() { - rm -r libs/SDL2 || die # unused bundled lib, bug #964479 - cmake_src_prepare -} - -src_configure() { - local arch - - if use amd64 ; then - arch=x86_64 - elif use x86 ; then - arch=i386 - fi - - local mycmakeargs=( - -DCMAKE_INSTALL_PREFIX=/usr/share/${PN} - -DCMAKE_INSTALL_RPATH=/usr/share/${PN} - -DARCH=${arch} - -DBUILD_CLIENT=ON # no benefit to disable this as-is - # BUILD_SERVER: no extra deps; was: $(usex dedicated OFF ON) - -DBUILD_RENDERER_OPENGL2=$(usex opengl) - -DBUILD_RENDERER_VULKAN=OFF - -DUSE_CURL_DLOPEN=OFF - -DUSE_OPENAL_DLOPEN=OFF - -DUSE_RENDERER_DLOPEN=OFF - -DDEFAULT_BASEDIR=/usr/share/${PN} - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - mkdir -p "${ED}"/usr/bin || die - mv "${ED}"/usr/share/${PN}/wopded.* "${ED}"/usr/bin/${PN}-ded || die - - mv "${ED}"/usr/share/${PN}/wop.* "${ED}"/usr/bin/${PN} || die - newicon misc/wop.svg ${PN}.svg - make_desktop_entry --eapi9 ${PN} -n "World of Padman" - - insinto /usr/share/${PN}/wop - doins "${WORKDIR}"/wop/*.pk3 - doins "${WORKDIR}"/wop/*.cfg - - local HTML_DOCS=( XTRAS/{readme,readme.html} ) - einstalldocs -} diff --git a/games-fps/xonotic/Manifest b/games-fps/xonotic/Manifest deleted file mode 100644 index 0416a5788373..000000000000 --- a/games-fps/xonotic/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST xonotic-0.8.6.zip 1238439495 BLAKE2B f9a9823a2ef8a1a8790c92fe898599938ff39fe9a32bb1f3595a4b451237f7fca29385feeaf8164216713a2cbe2db4d78cadeee91bb08093dae4a7ad1588e4d4 SHA512 cb39879e96f19abb2877588c2d50c5d3e64dd68153bec3dd1bebedf4d765e506afa419c28381d7005aed664cb1a042571c132b5b319e4308cab67745d996c2a6 diff --git a/games-fps/xonotic/files/xonotic-0.8.6-fix-c23.patch b/games-fps/xonotic/files/xonotic-0.8.6-fix-c23.patch deleted file mode 100644 index 59cbbfd4478e..000000000000 --- a/games-fps/xonotic/files/xonotic-0.8.6-fix-c23.patch +++ /dev/null @@ -1,50 +0,0 @@ -https://github.com/xonotic/darkplaces/commit/0ad63a18c8d59dc27c0729175d6d0fea3cdd4d18 - -From 56ddec2571e27a8f144d14d2243dcc723b2956f6 Mon Sep 17 00:00:00 2001 -From: Root <root@example.com> -Date: Mon, 28 Jul 2025 10:27:56 +0800 -Subject: [PATCH] fix GCC 15 build - ---- - source/darkplaces/dpsoftrast.c | 4 ---- - source/darkplaces/qtypes.h | 7 +------ - 2 files changed, 1 insertion(+), 10 deletions(-) - -diff --git a/source/darkplaces/dpsoftrast.c b/source/darkplaces/dpsoftrast.c -index fff29b8..1eda341 100644 ---- a/source/darkplaces/dpsoftrast.c -+++ b/source/darkplaces/dpsoftrast.c -@@ -10,10 +10,6 @@ - #pragma warning(disable : 4324) - #endif - --#ifndef __cplusplus --typedef qboolean bool; --#endif -- - #define ALIGN_SIZE 16 - #define ATOMIC_SIZE 4 - -diff --git a/source/darkplaces/qtypes.h b/source/darkplaces/qtypes.h -index 6c09614..e6e277b 100644 ---- a/source/darkplaces/qtypes.h -+++ b/source/darkplaces/qtypes.h -@@ -2,14 +2,9 @@ - #ifndef QTYPES_H - #define QTYPES_H - --#undef true --#undef false -+#include <stdbool.h> - --#ifndef __cplusplus --typedef enum qboolean_e {false, true} qboolean; --#else - typedef bool qboolean; --#endif - - #ifndef NULL - #define NULL ((void *)0) --- -2.50.1 - diff --git a/games-fps/xonotic/metadata.xml b/games-fps/xonotic/metadata.xml deleted file mode 100644 index 6f0500eb437d..000000000000 --- a/games-fps/xonotic/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <use> - <flag name="ode">Enable support for physics engine from <pkg>dev-games/ode</pkg></flag> - </use> - <upstream> - <remote-id type="gitlab">xonotic/xonotic</remote-id> - </upstream> -</pkgmetadata> diff --git a/games-fps/xonotic/xonotic-0.8.6.ebuild b/games-fps/xonotic/xonotic-0.8.6.ebuild deleted file mode 100644 index 08392e90a631..000000000000 --- a/games-fps/xonotic/xonotic-0.8.6.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop check-reqs toolchain-funcs xdg - -DESCRIPTION="Fork of Nexuiz, Deathmatch FPS based on DarkPlaces, an advanced Quake 1 engine" -HOMEPAGE="https://xonotic.org/" -SRC_URI="https://dl.xonotic.org/${P}.zip" -S="${WORKDIR}/${PN^}" - -LICENSE="GPL-3+ GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="X +alsa ode +sdl" - -# note: many dependencies are used through dlopen() -COMMON_UIDEPEND=" - media-libs/libogg - media-libs/libtheora - media-libs/libvorbis" -RDEPEND=" - dev-libs/d0_blind_id - media-libs/libjpeg-turbo:= - media-libs/libpng - media-libs/freetype:2 - net-misc/curl - virtual/zlib:= - X? ( - ${COMMON_UIDEPEND} - media-libs/libglvnd[X] - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXpm - x11-libs/libXxf86vm - alsa? ( media-libs/alsa-lib ) - ) - ode? ( dev-games/ode:=[double-precision] ) - sdl? ( - ${COMMON_UIDEPEND} - media-libs/libsdl2[joystick,opengl,sound,video] - )" -DEPEND=" - ${RDEPEND} - X? ( x11-base/xorg-proto )" -BDEPEND="app-arch/unzip" - -CHECKREQS_DISK_BUILD="1500M" -CHECKREQS_DISK_USR="1200M" - -PATCHES=( - "${FILESDIR}/${P}-fix-c23.patch" -) - -src_prepare() { - default - - sed -e 's|-O3 ||' \ - -e '/^LDFLAGS_RELEASE/s/$(OPTIM_RELEASE)/$(GENTOO_LDFLAGS)/' \ - -i source/darkplaces/makefile.inc || die -} - -src_compile() { - tc-export CC - - # do not pass in array to keep the makefile.inc's += flags - local -x CPUOPTIMIZATIONS=${CFLAGS} - - local emakeargs=( - -C source/darkplaces - DEFAULT_SNDAPI=$(usex alsa ALSA OSS) - DP_FS_BASEDIR="${EPREFIX}"/usr/share/${PN} - DP_LINK_ODE=$(usex ode shared no) - STRIP=: - GENTOO_LDFLAGS="${LDFLAGS}" - ) - - # split for bug 473352 - emake "${emakeargs[@]}" sv-release - use X && emake "${emakeargs[@]}" cl-release - use sdl && emake "${emakeargs[@]}" sdl-release -} - -src_install() { - newbin {source/darkplaces/darkplaces,${PN}}-dedicated - - if use X || use sdl; then - if use X; then - newbin {source/darkplaces/darkplaces,${PN}}-glx - domenu misc/logos/${PN}-glx.desktop - fi - if use sdl; then - newbin {source/darkplaces/darkplaces,${PN}}-sdl - domenu misc/logos/${PN}.desktop - fi - - local size - for size in 16 22 24 32 48 128 256 512; do - newicon -s ${size} misc/logos/icons_png/${PN}_${size}.png ${PN}.png - done - newicon -s scalable misc/logos/${PN}_icon.svg ${PN}.svg - fi - - dodoc Docs/*.{md,txt} - - insinto /usr/share/${PN} - doins -r key_0.d0pk server data - - rm "${ED}"/usr/share/${PN}/server/.gitattributes || die -} diff --git a/games-fps/yamagi-quake2/Manifest b/games-fps/yamagi-quake2/Manifest deleted file mode 100644 index 292c2e45d624..000000000000 --- a/games-fps/yamagi-quake2/Manifest +++ /dev/null @@ -1,9 +0,0 @@ -DIST quake2-8.51.tar.xz 2179516 BLAKE2B e8bac5f5216d81d70cb8bf493a0748ac1ff425dc57bdd2b820cf61538a87ad3c7d6d236c45dadb1767990f6dc7979fd908af86ba293f036c9c7c60c7f448f457 SHA512 f2d5cefc01fd1cd6d089fe939862a6e1a8bb89496c21834d7e10e7a421ae2fd4e355096113e76857c82a6c03c91b114bc20b1728f45d52e299193d814fb58753 -DIST quake2-8.60.tar.xz 2222192 BLAKE2B 96917bc78c1f1aeffed1e7b471ed96ed80826ee8f8fe0b44e290b0dd180e49bc43ee70dc0f8632dc1495de3af7aa3b569a99e2112b39d5a52a866d6a71977e7c SHA512 ed7ad1fc039c546d475d387f9788b998a4e715bfeb71cd60b7cdb55b2e61807e78e1a634041fb4e43b37568b9c57a8e34cb53855023623818e479be7cffb9136 -DIST quake2-ctf-1.12.tar.xz 137848 BLAKE2B 465eebfebcef6631e03c5235df2c55c340bec0e29a2b423a76b316843c67ec32d812ff1fc26ab3d8672d5859c34e51cdfb8146a40afedf9099669eb727bab283 SHA512 afe8a767cae5b557c375682a40d2bc992ccf40a66bdc4d1e0ce39eb614d3a7ac8327abc17db09dc16bbb7dee0c74df266076455ce2333002d49da4624a44ac37 -DIST quake2-ref_vk-1.0.10.tar.gz 319809 BLAKE2B a9616a081ce5793e9e2b4070eab5d1d34d111a9c3946aa8a870f96f25c7b264ec1a6fe99b06590bcd470813533b10809ab764fe7322927e9d8323af68e68fdfd SHA512 92e9f2b99b3076ea51b28c51bd2ab5dfa0b9434d839cf7b4022a7377420873c90e6033312b143f33fd425c89ec008b342c6c441bd334869d89e3a8c4daf84145 -DIST quake2-ref_vk-1.0.11.tar.gz 351527 BLAKE2B c6c26202f6853019ed41978eabe3635e4ee5e5f990d3cb8d267c5bdb746138643867f3842791f133764dd462936e5030b733e5794f008fca106d8124d4e4a629 SHA512 dfd5ca0c4533aadfafbb94cba0e226cdf1eea99c036de421e8d8edbcb4857744f31bda2288203cadeed3fc25ff9d63fe504bb2ffc7633771befcf6cbc7ab88f6 -DIST quake2-rogue-2.14.tar.xz 327560 BLAKE2B 4a554de3089cf504dc6788c0377b044c96ce5957077a8acee8a6fe2b3f9f48a22fb43fe6951402d0aa5e4e004692625297c9c4fd30d5384f581951584c85b880 SHA512 4f456292fc8fc1324e23a5740073231d248a6b6227772243cccb68a61db9ba4991170c338019b4b7321baba64ecf538eba82d6590dbde46183510766081ac161 -DIST quake2-rogue-2.15.tar.xz 327776 BLAKE2B 7810e1bcb586b48ec319b35eddbca314a7ac4e4abcf8e0220e63a3d080bc67bb279dff88dca10b5bd5847ed2097a7afed40fec24615401261b2e5c3b79c38371 SHA512 f23304c74b85e754880b17fc25c0bbb615d2e7cb59a31bf80cc2f8f3fc2f5e228b7b3817f992f0e23e904e00a1a9c4a21ef1b43062bad207009fa55e9a1001a5 -DIST quake2-xatrix-2.15.tar.xz 219740 BLAKE2B 580910de6779b6723e065b4b28a1f7c052f18af78b394f3460854009cd2009916a8e45960167dc47b14d9f8e0ef12ebc548147f125ebc72a3a545ed65124df24 SHA512 462d1f36c0347d61bb024db327d224a9a5961058da65384e97b4c4bebf7cc9203e1dcdf682f03af0cce5cb030b9ea1e5ec54f148802f0656c7550c8f8e4f12c4 -DIST quake2-xatrix-2.16.tar.xz 219812 BLAKE2B ab544df0ab8b4cc978d7973199234413cd3d9e4fe93ad727e47258a5cd7d2731b1e3dbf358d048999bb4197441161a9a0f1e38abc9f8522dd7e190b9d7ba6544 SHA512 5ae55519048e214cb7349d404b7b50de6a386812ac8cb9580ca175a9e22d13692a9506733cb024d144f4d018e76450b8afc04bbd6c73021d773a23884f727c96 diff --git a/games-fps/yamagi-quake2/files/yamagi-quake2-8.01-execinfo.patch b/games-fps/yamagi-quake2/files/yamagi-quake2-8.01-execinfo.patch deleted file mode 100644 index 40de2342fa8e..000000000000 --- a/games-fps/yamagi-quake2/files/yamagi-quake2-8.01-execinfo.patch +++ /dev/null @@ -1,49 +0,0 @@ -From e4a23de95ac1b1333a8f349a1ead82999bca3862 Mon Sep 17 00:00:00 2001 -From: Alexander Tsoy <alexander@tsoy.me> -Date: Sun, 17 Apr 2022 17:07:28 +0300 -Subject: [PATCH] build: Make execinfo optional - ---- - Makefile | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/Makefile b/Makefile -index 3f9d72ce..99048a82 100644 ---- a/Makefile -+++ b/Makefile -@@ -62,6 +62,8 @@ WITH_SYSTEMWIDE:=no - # MUST NOT be surrounded by quotation marks! - WITH_SYSTEMDIR:="" - -+WITH_EXECINFO:=yes -+ - # This will set the build options to create an MacOS .app-bundle. - # The app-bundle itself will not be created, but the runtime paths - # will be set to expect the game-data in *.app/ -@@ -406,6 +408,7 @@ config: - @echo "WITH_RPATH = $(WITH_RPATH)" - @echo "WITH_SYSTEMWIDE = $(WITH_SYSTEMWIDE)" - @echo "WITH_SYSTEMDIR = $(WITH_SYSTEMDIR)" -+ @echo "WITH_EXECINFO = $(WITH_EXECINFO)" - @echo "============================" - @echo "" - -@@ -492,6 +495,7 @@ release/quake2 : CFLAGS += -DUSE_OPENAL -DDEFAULT_OPENAL_DRIVER='"libopenal.so.1 - endif - endif - -+ifeq ($(WITH_EXECINFO),yes) - ifeq ($(YQ2_OSTYPE), Linux) - release/quake2 : CFLAGS += -DHAVE_EXECINFO - endif -@@ -523,6 +527,7 @@ ifeq ($(YQ2_OSTYPE), Haiku) - release/quake2 : CFLAGS += -DHAVE_EXECINFO - release/quake2 : LDLIBS += -lexecinfo - endif -+endif - - ifeq ($(WITH_RPATH),yes) - ifeq ($(YQ2_OSTYPE), Darwin) --- -2.35.1 - diff --git a/games-fps/yamagi-quake2/metadata.xml b/games-fps/yamagi-quake2/metadata.xml deleted file mode 100644 index 109c79bc1f83..000000000000 --- a/games-fps/yamagi-quake2/metadata.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>alexander@tsoy.me</email> - <name>Alexander Tsoy</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <upstream> - <remote-id type="github">yquake2/yquake2</remote-id> - </upstream> - <use> - <flag name="client">Build client</flag> - <flag name="ctf">Build support for the 'Capture The Flag' addon</flag> - <flag name="gles">Build GLES3 renderer</flag> - <flag name="rogue">Build support for the 'Ground Zero' Mission Pack</flag> - <flag name="softrender">Build software renderer</flag> - <flag name="vulkan">Build experimental Vulkan renderer</flag> - <flag name="xatrix">Build support for the 'The Reckoning' Mission Pack</flag> - </use> -</pkgmetadata> diff --git a/games-fps/yamagi-quake2/yamagi-quake2-8.51.ebuild b/games-fps/yamagi-quake2/yamagi-quake2-8.51.ebuild deleted file mode 100644 index 602b6f23ae8c..000000000000 --- a/games-fps/yamagi-quake2/yamagi-quake2-8.51.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop toolchain-funcs wrapper - -CTF_V="1.12" -ROGUE_V="2.14" -XATRIX_V="2.15" -REF_VK_V="1.0.10" - -DESCRIPTION="Quake 2 engine focused on single player" -HOMEPAGE="https://www.yamagi.org/quake2/" -SRC_URI="https://deponie.yamagi.org/quake2/quake2-${PV}.tar.xz - ctf? ( https://deponie.yamagi.org/quake2/quake2-ctf-${CTF_V}.tar.xz ) - rogue? ( https://deponie.yamagi.org/quake2/quake2-rogue-${ROGUE_V}.tar.xz ) - xatrix? ( https://deponie.yamagi.org/quake2/quake2-xatrix-${XATRIX_V}.tar.xz ) - vulkan? ( https://github.com/yquake2/ref_vk/archive/refs/tags/v${REF_VK_V}.tar.gz -> - quake2-ref_vk-${REF_VK_V}.tar.gz ) -" -S="${WORKDIR}/quake2-${PV}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" -# TODO: there is also GLES1 renderer since 8.50 -IUSE="+client ctf dedicated gles openal +opengl rogue softrender vulkan xatrix" -REQUIRED_USE=" - || ( client dedicated ) - client? ( || ( opengl gles softrender vulkan ) ) -" - -RDEPEND=" - client? ( - media-libs/libsdl2[opengl?,video,vulkan?] - net-misc/curl - gles? ( - media-libs/libglvnd - media-libs/libsdl2[gles2] - ) - openal? ( media-libs/openal ) - !openal? ( media-libs/libsdl2[sound] ) - opengl? ( media-libs/libglvnd ) - ) -" -DEPEND="${RDEPEND} - client? ( vulkan? ( dev-util/vulkan-headers ) ) -" - -PATCHES=( "${FILESDIR}"/${PN}-8.01-execinfo.patch ) - -DOCS=( CHANGELOG README.md doc ) - -src_compile() { - tc-export CC - - local targets=( game ) - local emakeargs=( - VERBOSE=1 - WITH_EXECINFO=$(usex elibc_musl no yes) - WITH_SYSTEMWIDE=yes - WITH_SYSTEMDIR="${EPREFIX}"/usr/share/quake2 - WITH_OPENAL=$(usex openal) - ) - - if use client; then - targets+=( client ) - use gles && targets+=( ref_gles3 ) - use opengl && targets+=( ref_gl1 ref_gl3 ) - use softrender && targets+=( ref_soft ) - fi - use dedicated && targets+=( server ) - - emake "${emakeargs[@]}" config - emake "${emakeargs[@]}" "${targets[@]}" - - if use client && use vulkan; then - emake -C "${WORKDIR}"/ref_vk-${REF_VK_V} VERBOSE=1 - fi - - local addon - for addon in $(usev ctf) $(usev rogue) $(usev xatrix); do - emake -C "${WORKDIR}"/quake2-${addon}-* VERBOSE=1 - done -} - -src_install() { - insinto /usr/lib/yamagi-quake2 - # Yamagi Quake II expects all binaries to be in the same directory - # See doc/070_packaging.md for more info - exeinto /usr/lib/yamagi-quake2 - doins -r release/. - - if use client; then - doexe release/quake2 - dosym ../lib/yamagi-quake2/quake2 /usr/bin/yquake2 - - newicon stuff/icon/Quake2.svg "yamagi-quake2.svg" - make_desktop_entry "yquake2" "Yamagi Quake II" - - if use vulkan; then - doins "${WORKDIR}"/ref_vk-${REF_VK_V}/release/ref_vk.so - fi - fi - - if use dedicated; then - doexe release/q2ded - dosym ../lib/yamagi-quake2/q2ded /usr/bin/yq2ded - fi - - insinto /usr/lib/yamagi-quake2/baseq2 - doins stuff/yq2.cfg - - local addon - for addon in $(usev ctf) $(usev rogue) $(usev xatrix); do - insinto /usr/lib/yamagi-quake2/${addon} - doins "${WORKDIR}"/quake2-${addon}-*/release/game.so - - if use client; then - local addon_name - case ${addon} in - ctf) addon_name="CTF" ;; - rogue) addon_name="Ground Zero" ;; - xatrix) addon_name="The Reckoning" ;; - esac - - make_wrapper "yquake2-${addon}" "yquake2 +set game ${addon}" - make_desktop_entry "yquake2-${addon}" "Yamagi Quake II: ${addon_name}" - fi - done - - keepdir /usr/share/quake2 - - einstalldocs - if use client; then - docinto examples - dodoc stuff/cdripper.sh - fi -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]]; then - elog - elog "In order to play, you should do one of the following things:" - elog " - install games-fps/quake2-data or games-fps/quake2-demodata;" - elog " - manually copy game data files into ~/.yq2/ or" - elog " ${EROOT}/usr/share/quake2/." - elog "Read ${EROOT}/usr/share/doc/${PF}/README.md* for more information." - elog - fi -} diff --git a/games-fps/yamagi-quake2/yamagi-quake2-8.60.ebuild b/games-fps/yamagi-quake2/yamagi-quake2-8.60.ebuild deleted file mode 100644 index 5ea5b8504c62..000000000000 --- a/games-fps/yamagi-quake2/yamagi-quake2-8.60.ebuild +++ /dev/null @@ -1,152 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit desktop toolchain-funcs wrapper - -CTF_V="1.12" -ROGUE_V="2.15" -XATRIX_V="2.16" -REF_VK_V="1.0.11" - -DESCRIPTION="Quake 2 engine focused on single player" -HOMEPAGE="https://www.yamagi.org/quake2/" -SRC_URI="https://deponie.yamagi.org/quake2/quake2-${PV}.tar.xz - ctf? ( https://deponie.yamagi.org/quake2/quake2-ctf-${CTF_V}.tar.xz ) - rogue? ( https://deponie.yamagi.org/quake2/quake2-rogue-${ROGUE_V}.tar.xz ) - xatrix? ( https://deponie.yamagi.org/quake2/quake2-xatrix-${XATRIX_V}.tar.xz ) - vulkan? ( https://github.com/yquake2/ref_vk/archive/refs/tags/v${REF_VK_V}.tar.gz -> - quake2-ref_vk-${REF_VK_V}.tar.gz ) -" -S="${WORKDIR}/quake2-${PV}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" -# TODO: there is also GLES1 renderer since 8.50 -IUSE="+client ctf dedicated gles openal +opengl rogue softrender vulkan xatrix" -REQUIRED_USE=" - || ( client dedicated ) - client? ( || ( opengl gles softrender vulkan ) ) -" - -RDEPEND=" - client? ( - media-libs/libsdl2[opengl?,video,vulkan?] - net-misc/curl - gles? ( - media-libs/libglvnd - media-libs/libsdl2[gles2] - ) - openal? ( media-libs/openal ) - !openal? ( media-libs/libsdl2[sound] ) - opengl? ( media-libs/libglvnd[X] ) - ) -" -DEPEND="${RDEPEND} - client? ( vulkan? ( dev-util/vulkan-headers ) ) -" - -PATCHES=( "${FILESDIR}"/${PN}-8.01-execinfo.patch ) - -DOCS=( CHANGELOG README.md doc ) - -src_compile() { - tc-export CC - - local targets=( game ) - local emakeargs=( - VERBOSE=1 - WITH_EXECINFO=$(usex elibc_musl no yes) - WITH_SYSTEMWIDE=yes - WITH_SYSTEMDIR="${EPREFIX}"/usr/share/quake2 - WITH_OPENAL=$(usex openal) - ) - - if use client; then - targets+=( client ) - use gles && targets+=( ref_gles3 ) - use opengl && targets+=( ref_gl1 ref_gl3 ) - use softrender && targets+=( ref_soft ) - fi - use dedicated && targets+=( server ) - - emake "${emakeargs[@]}" config - emake "${emakeargs[@]}" "${targets[@]}" - - if use client && use vulkan; then - emake -C "${WORKDIR}"/ref_vk-${REF_VK_V} VERBOSE=1 - fi - - local addon - for addon in $(usev ctf) $(usev rogue) $(usev xatrix); do - emake -C "${WORKDIR}"/quake2-${addon}-* VERBOSE=1 - done -} - -src_install() { - insinto /usr/lib/yamagi-quake2 - # Yamagi Quake II expects all binaries to be in the same directory - # See doc/070_packaging.md for more info - exeinto /usr/lib/yamagi-quake2 - doins -r release/. - - if use client; then - doexe release/quake2 - dosym ../lib/yamagi-quake2/quake2 /usr/bin/yquake2 - - newicon stuff/icon/Quake2.svg "yamagi-quake2.svg" - make_desktop_entry "yquake2" "Yamagi Quake II" - - if use vulkan; then - doins "${WORKDIR}"/ref_vk-${REF_VK_V}/release/ref_vk.so - fi - fi - - if use dedicated; then - doexe release/q2ded - dosym ../lib/yamagi-quake2/q2ded /usr/bin/yq2ded - fi - - insinto /usr/lib/yamagi-quake2/baseq2 - doins stuff/yq2.cfg - - local addon - for addon in $(usev ctf) $(usev rogue) $(usev xatrix); do - insinto /usr/lib/yamagi-quake2/${addon} - doins "${WORKDIR}"/quake2-${addon}-*/release/game.so - - if use client; then - local addon_name - case ${addon} in - ctf) addon_name="CTF" ;; - rogue) addon_name="Ground Zero" ;; - xatrix) addon_name="The Reckoning" ;; - esac - - make_wrapper "yquake2-${addon}" "yquake2 +set game ${addon}" - make_desktop_entry "yquake2-${addon}" "Yamagi Quake II: ${addon_name}" - fi - done - - keepdir /usr/share/quake2 - - einstalldocs - if use client; then - docinto examples - dodoc stuff/cdripper.sh - fi -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]]; then - elog - elog "In order to play, you should do one of the following things:" - elog " - install games-fps/quake2-data or games-fps/quake2-demodata;" - elog " - manually copy game data files into ~/.yq2/ or" - elog " ${EROOT}/usr/share/quake2/." - elog "Read ${EROOT}/usr/share/doc/${PF}/README.md* for more information." - elog - fi -} |
