From bb59556b3302a941db4630613c604644d5f7a617 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 11 Apr 2025 08:43:59 +0100 Subject: gentoo auto-resync : 11:04:2025 - 08:43:58 --- games-fps/Manifest.gz | Bin 11869 -> 11866 bytes games-fps/duke3d-data/Manifest | 2 +- games-fps/duke3d-data/duke3d-data-1.0-r5.ebuild | 111 ------------------------ games-fps/duke3d-data/duke3d-data-1.0-r6.ebuild | 111 ++++++++++++++++++++++++ 4 files changed, 112 insertions(+), 112 deletions(-) delete mode 100644 games-fps/duke3d-data/duke3d-data-1.0-r5.ebuild create mode 100644 games-fps/duke3d-data/duke3d-data-1.0-r6.ebuild (limited to 'games-fps') diff --git a/games-fps/Manifest.gz b/games-fps/Manifest.gz index c3bdfc5580a4..be1d12e834a5 100644 Binary files a/games-fps/Manifest.gz and b/games-fps/Manifest.gz differ diff --git a/games-fps/duke3d-data/Manifest b/games-fps/duke3d-data/Manifest index 02433bf23cbc..24eec815e00c 100644 --- a/games-fps/duke3d-data/Manifest +++ b/games-fps/duke3d-data/Manifest @@ -1,4 +1,4 @@ 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 -EBUILD duke3d-data-1.0-r5.ebuild 2567 BLAKE2B 39f31bf67c7078a644de0f8957e11130a5e8464561ec10e433e0ea9f71d9034e7d9db5f21360120f0d4a3fd3eac9ba533e685ea656de016a3625e6f36bde34af SHA512 d975ed8931b21f5be71e2011f50755b89a9ab8ad8075f2c37dd6b07de40364b6a3a3f77d48a8740763d194b9d7de70a4fbdf0bb5543a0c97e2c7a792859ee2ff +EBUILD duke3d-data-1.0-r6.ebuild 2567 BLAKE2B 2db6635864b1eddf1c2c6336355d483f7c39037b959eba892a4aee842a306bb9ba9379d437dcf9466da173e2aa0bd9491f844ac65045fce00403a6f93a050158 SHA512 400569514f6ac10fb6f968d1fc2683b27b9af487a151b19c743c2699a9c1dc98f0c25eebab7cf9b387561f235491db085e6ad4a23e63732db7dbec74d44fc306 MISC metadata.xml 525 BLAKE2B 9ae88a3847f373f1fb7d3000b392f200f5816e927ccd2f0afd8eb7d0f0b61d081760b790c8caf5fa4471620f3f5ff73044300ec48ce551e78159a0de76ffc435 SHA512 f300d73c9632b825012856113467fb3cb346e419200e241e72f8cd57da9e15822ebb1bf81497a603e9232f93abb3648059e0b485db2d201c81bc8ee138e93d26 diff --git a/games-fps/duke3d-data/duke3d-data-1.0-r5.ebuild b/games-fps/duke3d-data/duke3d-data-1.0-r5.ebuild deleted file mode 100644 index feb57df50554..000000000000 --- a/games-fps/duke3d-data/duke3d-data-1.0-r5.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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/duke3d-data-1.0-r6.ebuild b/games-fps/duke3d-data/duke3d-data-1.0-r6.ebuild new file mode 100644 index 000000000000..040681d94d62 --- /dev/null +++ b/games-fps/duke3d-data/duke3d-data-1.0-r6.ebuild @@ -0,0 +1,111 @@ +# 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 +} -- cgit v1.2.3