From 0aad4cd3e3fe3db90904ffc51b35e4ff160b53c5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 10 Jun 2024 00:08:04 +0100 Subject: gentoo auto-resync : 10:06:2024 - 00:08:04 --- games-action/Manifest.gz | Bin 14384 -> 14376 bytes games-action/descent1-data/Manifest | 2 +- .../descent1-data/descent1-data-1.4a-r1.ebuild | 110 +++++++++++++++++++ .../descent1-data/descent1-data-1.4a.ebuild | 111 ------------------- games-action/descent2-data/Manifest | 2 +- .../descent2-data/descent2-data-1.2-r1.ebuild | 120 ++++++++++++++++++++ .../descent2-data/descent2-data-1.2.ebuild | 121 --------------------- games-action/descent2-vertigo/Manifest | 2 +- .../descent2-vertigo-1.0-r1.ebuild | 56 ++++++++++ .../descent2-vertigo/descent2-vertigo-1.0.ebuild | 58 ---------- 10 files changed, 289 insertions(+), 293 deletions(-) create mode 100644 games-action/descent1-data/descent1-data-1.4a-r1.ebuild delete mode 100644 games-action/descent1-data/descent1-data-1.4a.ebuild create mode 100644 games-action/descent2-data/descent2-data-1.2-r1.ebuild delete mode 100644 games-action/descent2-data/descent2-data-1.2.ebuild create mode 100644 games-action/descent2-vertigo/descent2-vertigo-1.0-r1.ebuild delete mode 100644 games-action/descent2-vertigo/descent2-vertigo-1.0.ebuild (limited to 'games-action') diff --git a/games-action/Manifest.gz b/games-action/Manifest.gz index 6878c375cac0..b7168c442da6 100644 Binary files a/games-action/Manifest.gz and b/games-action/Manifest.gz differ diff --git a/games-action/descent1-data/Manifest b/games-action/descent1-data/Manifest index 7884f7d018a3..09ea74729e87 100644 --- a/games-action/descent1-data/Manifest +++ b/games-action/descent1-data/Manifest @@ -1,4 +1,4 @@ DIST descent-game-content-10to14a-patch.zip 439853 BLAKE2B 75f90bbbf664237bbbfbe1aed3ff500c24b72b45beee1361b7823c6758c5dd5daf2693de8c4f3bc8deb77e915811237f28464628caf17c58478cfb111524354c SHA512 b71ec888509c77dc8ebc94d5a172a27ab0b16ddfdcb47ac243cefe33b87bbca82df843d9a4bffad8c6f345bfefd89e9e3564353922b00c81ef993e409950eb59 DIST setup_descent_1.4a_(16596).exe 25744576 BLAKE2B aede0627394210a39bdb052608fd6822cb6ceb901a6476829ef98ad21b17ce9311b1878d5eb055ff0fb6d2511699c000b56e28f8e1ef89c2a2b664cbf7c25b7c SHA512 1ac19caa04ee64991c6c4291934e5db684615a0b7616782605c4557611090f6132135b8a1b96474b40135fa39d844cb9f6f14a98995f1bf1a596e66f0de80263 -EBUILD descent1-data-1.4a.ebuild 2699 BLAKE2B 82b89c54521a9530bbc392e10db981c97ad9a84177f30d19de55212bf445e35cb4a85c8d06be8c6639b4baf4c4ae05fb8bbf2d1069cd78d90ea364992993a783 SHA512 49dab2884b47b9a9ca8f7229eac5913d7c6ef1088728debe5bb26077676c673cddcf5d81a0f75b8d44bc11e71296902b40031b87d9e3efb6f0e3bbd2bc345e5d +EBUILD descent1-data-1.4a-r1.ebuild 2698 BLAKE2B 82b1a8d22eb97ca7440ff22993f1ea3e9fc1365e982d150e5cbad525c2949f45c8f1465cf37c174f31c952a912d3865e4d6da0500c0399605f9bea83387db8aa SHA512 da162f23fe2c65c679880c206d7fb151071a742e83f683d08eb2ebf12bd5359a238192592cf84d90616ce658313d42ba452e9b33432f977a216873c9cc207a72 MISC metadata.xml 254 BLAKE2B 4e6c8e1f126f76233a38aba6f5388488656795cb1d7d4767ccb1349772f5e78d59fc5663d4f1933dbe4633c2fbb90cd1d42d4b4d4f5ededc53653e7df13c7187 SHA512 2b82da849e3b0dec378f3fb497014f5d1dbc7aceb8a1f9d1638e83fe69448b1c5151eb4b1187154d828e4a296609ce5125b40977b2581d95b5588e353ca75135 diff --git a/games-action/descent1-data/descent1-data-1.4a-r1.ebuild b/games-action/descent1-data/descent1-data-1.4a-r1.ebuild new file mode 100644 index 000000000000..ea0e2146a883 --- /dev/null +++ b/games-action/descent1-data/descent1-data-1.4a-r1.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CDROM_OPTIONAL="yes" +inherit cdrom estack + +# For GOG install +MY_EXE="setup_descent_1.4a_(16596).exe" + +DESCRIPTION="Data files for Descent 1" +HOMEPAGE="https://www.interplay.com" +SRC_URI="cdinstall? ( https://www.dxx-rebirth.com/download/dxx/misc/descent-game-content-10to14a-patch.zip ) + !cdinstall? ( ${MY_EXE} )" +S="${WORKDIR}" +LICENSE="descent-data" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="doc" +RESTRICT="bindist !cdinstall? ( fetch )" + +RDEPEND="!games-action/descent1-demodata" + +DEPEND="cdinstall? ( app-arch/unzip ) + !cdinstall? ( app-arch/innoextract )" + +pkg_nofetch() { + elog "You must place a copy of, or symlink to, the GOG setup package in your" + elog "distfiles directory." + echo + elog "If you wish to install from CD-ROM instead, please enable the cdinstall flag." +} + +src_unpack() { + if use cdinstall; then + default + cdrom_get_cds descent/descent.hog:descent.hog + + case ${CDROM_SET} in + 0) einfo "Found Descent 1 CD" ;; + 1) einfo "Found Descent 1 installation" ;; + esac + + cd "${CDROM_ABSMATCH%/*}" || die + else + innoextract -e -s -p0 -L -I app -d gog "${DISTDIR}/${MY_EXE}" || die + cd "${WORKDIR}/gog/app" || die + fi + + eshopts_push -s globstar nocaseglob nullglob + + # Strip directories + # Lowercase + # chaos.* into data/missions + # *.dem into data/demos + # Documentation into doc + # Remainder into data + + tar c \ + --mode=u+w \ + --ignore-case \ + --xform='s:.*/::xg' \ + --xform='s:.*:\L\0:x' \ + --xform='s:^chaos\.:data/missions/\0:x' \ + --xform='s:.*\.dem$:data/demos/\0:x' \ + --xform='s:.*\.(faq|pdf|txt)$:doc/\0:x' \ + --xform='s:^[^/]+$:data/\0:x' \ + --exclude="$(use doc || echo '*.pdf')" \ + *.{faq,txt,pdf} **/*.{dem,hog,msn,pig} \ + | tar x -C "${WORKDIR}" + + assert "tar failed" + eshopts_pop +} + +src_prepare() { + if use cdinstall; then + case $(md5sum data/descent.hog || die) in + 8adfff2e5205486cd5574ac3dd0b4381*) + patch -p0 data/descent.hog < descent.hog.diff || die ;; + c792a21a30b869b1ec6d31ad64e9557e*) + einfo "descent.hog already patched" ;; + *) + ewarn "Unknown descent.hog detected, cannot patch" ;; + esac + + case $(md5sum data/descent.pig || die) in + 7916448ae69bcc0dd4f3b057a961285f*) + patch -p0 data/descent.pig < descent.pig.diff || die ;; + fa7e48b7b1495399af838e31ac13b7da*) + einfo "descent.pig already patched" ;; + *) + ewarn "Unknown descent.pig detected, cannot patch" ;; + esac + fi + + default +} + +src_install() { + insinto /usr/share/games/d1x + doins -r data/* + [[ -d doc ]] && dodoc doc/* +} + +pkg_postinst() { + elog "A client is needed to run the game, e.g. games-action/dxx-rebirth." + echo +} diff --git a/games-action/descent1-data/descent1-data-1.4a.ebuild b/games-action/descent1-data/descent1-data-1.4a.ebuild deleted file mode 100644 index 7fdf077a129e..000000000000 --- a/games-action/descent1-data/descent1-data-1.4a.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -CDROM_OPTIONAL="yes" -inherit cdrom estack - -# For GOG install -MY_EXE="setup_descent_1.4a_(16596).exe" - -DESCRIPTION="Data files for Descent 1" -HOMEPAGE="https://www.interplay.com" -SRC_URI="cdinstall? ( https://www.dxx-rebirth.com/download/dxx/misc/descent-game-content-10to14a-patch.zip ) - !cdinstall? ( ${MY_EXE} )" -LICENSE="descent-data" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" -IUSE="doc" -RESTRICT="bindist !cdinstall? ( fetch )" - -RDEPEND="!games-action/descent1-demodata" - -DEPEND="cdinstall? ( app-arch/unzip ) - !cdinstall? ( app-arch/innoextract )" - -S="${WORKDIR}" - -pkg_nofetch() { - elog "You must place a copy of, or symlink to, the GOG setup package in your" - elog "distfiles directory." - echo - elog "If you wish to install from CD-ROM instead, please enable the cdinstall flag." -} - -src_unpack() { - if use cdinstall; then - default - cdrom_get_cds descent/descent.hog:descent.hog - - case ${CDROM_SET} in - 0) einfo "Found Descent 1 CD" ;; - 1) einfo "Found Descent 1 installation" ;; - esac - - cd "${CDROM_ABSMATCH%/*}" || die - else - innoextract -e -s -p0 -L -I app -d gog "${DISTDIR}/${MY_EXE}" || die - cd "${WORKDIR}/gog/app" || die - fi - - eshopts_push -s globstar nocaseglob nullglob - - # Strip directories - # Lowercase - # chaos.* into data/missions - # *.dem into data/demos - # Documentation into doc - # Remainder into data - - tar c \ - --mode=u+w \ - --ignore-case \ - --xform='s:.*/::xg' \ - --xform='s:.*:\L\0:x' \ - --xform='s:^chaos\.:data/missions/\0:x' \ - --xform='s:.*\.dem$:data/demos/\0:x' \ - --xform='s:.*\.(faq|pdf|txt)$:doc/\0:x' \ - --xform='s:^[^/]+$:data/\0:x' \ - --exclude="$(use doc || echo '*.pdf')" \ - *.{faq,txt,pdf} **/*.{dem,hog,msn,pig} \ - | tar x -C "${WORKDIR}" - - assert "tar failed" - eshopts_pop -} - -src_prepare() { - if use cdinstall; then - case $(md5sum data/descent.hog || die) in - 8adfff2e5205486cd5574ac3dd0b4381*) - patch -p0 data/descent.hog < descent.hog.diff || die ;; - c792a21a30b869b1ec6d31ad64e9557e*) - einfo "descent.hog already patched" ;; - *) - ewarn "Unknown descent.hog detected, cannot patch" ;; - esac - - case $(md5sum data/descent.pig || die) in - 7916448ae69bcc0dd4f3b057a961285f*) - patch -p0 data/descent.pig < descent.pig.diff || die ;; - fa7e48b7b1495399af838e31ac13b7da*) - einfo "descent.pig already patched" ;; - *) - ewarn "Unknown descent.pig detected, cannot patch" ;; - esac - fi - - default -} - -src_install() { - insinto /usr/share/games/d1x - doins -r data/* - [[ -d doc ]] && dodoc doc/* -} - -pkg_postinst() { - elog "A client is needed to run the game, e.g. games-action/dxx-rebirth." - echo -} diff --git a/games-action/descent2-data/Manifest b/games-action/descent2-data/Manifest index b2518860fc02..73d2478a9ba1 100644 --- a/games-action/descent2-data/Manifest +++ b/games-action/descent2-data/Manifest @@ -1,4 +1,4 @@ DIST d2xptch12.tgz 158419 BLAKE2B e4bd0d33fa8912b87f8018673c2f9fa9d965f96787b7af76da5473e0c6b06ca78303977cdb6e1f85affefe187b2f1e947eb477313b379bf2464e2a0ba95b74bf SHA512 14d59280e685a9c3d5e23e1d535f37f89768e022b795067793a994c5150685addfcacbd2dc52231804240d01d17d57b1db04335d41bc5930e3c8a845ebbb396b DIST setup_descent_2_1.1_(16596).exe 563071744 BLAKE2B f4c81daf5f3fe752687630bf4d9f10076e6f343161ea9675e3ab5698034fd8066727d939263db7a388d1e7e89834b8cea6e58e65433fd83a1d732b5439a693e5 SHA512 baf4577409c011f668d10a1a43385a916b951457b43b90883cef73af6622bed31a717f3d50d5a85698237fc4160281f3e2f4e07c9a261d63f52024ca05839fbd -EBUILD descent2-data-1.2.ebuild 2895 BLAKE2B 975300b0cfda424eee0f98de16e7051e2dff77610cce911ba93c25ffeedad84476d8791c06898ec6469288ec6c3314717c80c6b5181098f871fe6d6271d6baac SHA512 84021c9ae3ba5961ddecc7eae6b3349eedc51fb2481fee79fd752fde557dfc0acce10ebb2737d362f4a07bef925c9007a7107cea7b3129bbb771ce4a71673598 +EBUILD descent2-data-1.2-r1.ebuild 2894 BLAKE2B b170d60f9859ec21979b54de68c6e297e452bed1af58b731c5cf506d50d2f09ff50f5645805322f6a5a9e41c2f135fadf1fab110558d942eaffc93abf67aa4a8 SHA512 5f90f10159dba20bd7e6ddbefa4589078a27fa8fc1c2bb7fd17cb1e5fd5be3089ac30ae824e00506ee2ff0a5b0e2dbf243d4f2a6bb6a0539655cfc9823bde4cb MISC metadata.xml 250 BLAKE2B 8d44bd4c6e7d6491273e2015e36ddac74af7b94a124fd240ff030e16430f5c85e53ab812f0e3e94bb2e6d138f39b512bbe01ff98b0081cacc21a02d648ec7643 SHA512 80ac07a3cac10ad2e72e9989a130b7d2073934fe92914a9db2af4d0e769d4bf537770f8faba0654bbd64a7e85ee38cf1f9d03b4b9cd322864b1b2bb35087d610 diff --git a/games-action/descent2-data/descent2-data-1.2-r1.ebuild b/games-action/descent2-data/descent2-data-1.2-r1.ebuild new file mode 100644 index 000000000000..5b81d07228cc --- /dev/null +++ b/games-action/descent2-data/descent2-data-1.2-r1.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CDROM_OPTIONAL="yes" +inherit cdrom estack + +# Not possible to apply official 1.2 patch under Linux. A Gentoo user +# created Xdelta patches and the DXX-Rebirth project kindly hosted them. +MY_PATCH="https://www.dxx-rebirth.com/download/dxx/misc/d2xptch12.tgz" + +# For GOG install +MY_EXE="setup_descent_2_1.1_(16596).exe" + +DESCRIPTION="Data files for Descent 2" +HOMEPAGE="https://www.interplay.com" +SRC_URI="cdinstall? ( ${MY_PATCH} ) + !cdinstall? ( ${MY_EXE} )" +S="${WORKDIR}" +LICENSE="descent-data" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="doc videos" +RESTRICT="bindist !cdinstall? ( fetch )" + +#