From f7dbd7518022615cf302931eb062eea56145d71d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 11 Sep 2023 16:38:38 +0100 Subject: gentoo auto-resync : 11:09:2023 - 16:38:38 --- .../FTL-gog/FTL-gog-1.6.12.2.35269.ebuild | 64 ++++++++++++++++++++++ games-roguelike/FTL-gog/FTL-gog-1.6.9.25330.ebuild | 63 --------------------- games-roguelike/FTL-gog/Manifest | 4 +- 3 files changed, 66 insertions(+), 65 deletions(-) create mode 100644 games-roguelike/FTL-gog/FTL-gog-1.6.12.2.35269.ebuild delete mode 100644 games-roguelike/FTL-gog/FTL-gog-1.6.9.25330.ebuild (limited to 'games-roguelike/FTL-gog') diff --git a/games-roguelike/FTL-gog/FTL-gog-1.6.12.2.35269.ebuild b/games-roguelike/FTL-gog/FTL-gog-1.6.12.2.35269.ebuild new file mode 100644 index 000000000000..470bc4009a31 --- /dev/null +++ b/games-roguelike/FTL-gog/FTL-gog-1.6.12.2.35269.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop unpacker + +DESCRIPTION="Top-down roguelike space ship simulator" +HOMEPAGE="https://www.gog.com/game/faster_than_light" +SRC_URI="ftl_advanced_edition_${PV//./_}.sh" +RESTRICT="bindist fetch mirror strip test" + +LICENSE="GOG-EULA" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +BDEPEND="app-arch/unzip" +RDEPEND="media-libs/freetype + media-libs/libsdl[X,sound,opengl,video] + media-libs/libpng + sys-libs/zlib + virtual/opengl" + +S="${WORKDIR}/data/noarch" + +pkg_nofetch() { + einfo "Please buy and download ${SRC_URI} from" + einfo "https://www.gog.com/game/faster_than_light" + einfo "and place it in your DISTDIR directory." +} + +src_unpack() { + unpack_zip "${DISTDIR}/${A}" +} + +src_prepare() { + default + rm -r support/{xdg*,*.{sh,txt}} || die + if ! use x86; then + rm game/data/FTL.x86 || die + fi + if ! use amd64; then + rm game/data/FTL.amd64 || die + fi + + sed -i start.sh -e '/chmod/d' || die +} + +src_install() { + insinto /opt/FTL + doins -r . + fperms +x /opt/FTL/{start.sh,game/FTL,game/data/FTL} + + if use x86; then + fperms +x /opt/FTL/game/data/FTL.x86 + fi + if use amd64; then + fperms +x /opt/FTL/game/data/FTL.amd64 + fi + + make_desktop_entry "/opt/FTL/start.sh" "FTL: Advanced Edition" FTL + newicon support/icon.png FTL.png +} diff --git a/games-roguelike/FTL-gog/FTL-gog-1.6.9.25330.ebuild b/games-roguelike/FTL-gog/FTL-gog-1.6.9.25330.ebuild deleted file mode 100644 index d06484d8ce7f..000000000000 --- a/games-roguelike/FTL-gog/FTL-gog-1.6.9.25330.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop unpacker - -DESCRIPTION="Top-down roguelike space ship simulator" -HOMEPAGE="https://www.gog.com/game/faster_than_light" -SRC_URI="ftl_advanced_edition_${PV//./_}.sh" -RESTRICT="bindist fetch mirror strip test" - -LICENSE="GOG-EULA" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="" - -BDEPEND="app-arch/unzip" -RDEPEND="media-libs/freetype - media-libs/libsdl[X,sound,opengl,video] - media-libs/libpng - sys-libs/zlib - virtual/opengl" - -S="${WORKDIR}/data/noarch" - -pkg_nofetch() { - elog "Please buy and download ${SRC_URI} from" - elog "https://www.gog.com/game/faster_than_light" -} - -src_unpack() { - unpack_zip "${DISTDIR}/${A}" -} - -src_prepare() { - default - rm -r support/{xdg*,*.{sh,txt}} || die - if ! use x86; then - rm game/data/FTL.x86 || die - fi - if ! use amd64; then - rm game/data/FTL.amd64 || die - fi - - sed -i start.sh -e '/chmod/d' || die -} - -src_install() { - insinto /opt/gog/FTL - doins -r . - fperms +x /opt/gog/FTL/{start.sh,game/FTL,game/data/FTL} - - if use x86; then - fperms +x /opt/gog/FTL/game/data/FTL.x86 - fi - if use amd64; then - fperms +x /opt/gog/FTL/game/data/FTL.amd64 - fi - - make_desktop_entry "/opt/gog/FTL/start.sh" "FTL: Advanced Edition" FTL - newicon support/icon.png FTL.png -} diff --git a/games-roguelike/FTL-gog/Manifest b/games-roguelike/FTL-gog/Manifest index 5488dffec4ba..7f0b50ddce19 100644 --- a/games-roguelike/FTL-gog/Manifest +++ b/games-roguelike/FTL-gog/Manifest @@ -1,3 +1,3 @@ -DIST ftl_advanced_edition_1_6_9_25330.sh 200833898 BLAKE2B 9eb048e302158f1cc040492a9fb5bd84038dd9202b8cfdd08ec50a3e55326da18048f4eab0c8b79ecf47229d54b59fca46cebaa107d253eadc0cc5659da4792b SHA512 7b1d87b5def455989290366ef80652361dee9d0fd2838806d2386d8a1df44e0ab125c5538aa07b20382be4aa3054b14b4a489b39b6aa252f3cc00ead8504186c -EBUILD FTL-gog-1.6.9.25330.ebuild 1311 BLAKE2B bc6548ad41549b80aba319c4689e49eaad0fee7676d91e7997af17ceca0b9f3b03b7dc5b561bda95dec6768408dcd1caa1fede7ca58953dee6ea5f7dcd54066a SHA512 d7a2c102c047f7f015ae9fc9f7ba2500967ad423de1ba365382d73e0996ebd101b9b232726e62dafcf78b2cbc2900f4feb5d5b4fffb06e04e33804ea6c3b9190 +DIST ftl_advanced_edition_1_6_12_2_35269.sh 246732960 BLAKE2B a26cafabc43b7e80d31d105fb909d867319c4bd900f7558277f17399bb4998b27c3b9f1d18f670ae1092ae872840b0181c3bea81790edd097240d1ee78abc924 SHA512 d3e061605069e874ed3e55440e5aae24ab6690977ce477728a46f7e7f487595a09ab4a56ec22c784e454286b0bfe2a3a791d78645fd7dc0feab9649cf282afd2 +EBUILD FTL-gog-1.6.12.2.35269.ebuild 1342 BLAKE2B a3eb2049702f18570ee99472b19968359892dd59d49ed043b9fbcfc59df0ff1cf30d594d313a7a6e51946ffb2aad21a4155e6906afc8460815a065156a8f1ffb SHA512 a9349731ffce57f4e7ee8e7fa567d7d94a280b44aaa7a18730767c59139bb2a87ea072c7d902e1806abb0481cfa170d5780a4f6774fe0ed390ae0056b0266f7b MISC metadata.xml 518 BLAKE2B 36e8a488f53bc0a63124c7a4e57710dcc699fad2eb0305ce942030ae84e5a5d963981197b6c9cb41f948a76e1eda533d8a00d59ee48356d3646f8e9de6831810 SHA512 9534c5549de50dd3c03aa44f4d42b8609abe95eded60d06fb4dbca3b8a3fc8ee39c3983d9e7dcb013b5d107f19cf7663b53d32f34eaf91e970025a8e5018c2e2 -- cgit v1.2.3