From e5df9a525de473060f4ff177f28650b18e59eb52 Mon Sep 17 00:00:00 2001 From: haarp Date: Mon, 21 Nov 2022 13:32:21 +0100 Subject: Upgrade Space Cadet to 9999 Signed-off-by: haarp --- games-arcade/SpaceCadetPinball/Manifest | 3 +- .../SpaceCadetPinball-2.0.1.ebuild | 38 ---------------------- .../SpaceCadetPinball-9999.ebuild | 29 +++++++++++++++++ 3 files changed, 30 insertions(+), 40 deletions(-) delete mode 100644 games-arcade/SpaceCadetPinball/SpaceCadetPinball-2.0.1.ebuild create mode 100644 games-arcade/SpaceCadetPinball/SpaceCadetPinball-9999.ebuild diff --git a/games-arcade/SpaceCadetPinball/Manifest b/games-arcade/SpaceCadetPinball/Manifest index 276feb0..37a391e 100644 --- a/games-arcade/SpaceCadetPinball/Manifest +++ b/games-arcade/SpaceCadetPinball/Manifest @@ -1,2 +1 @@ -DIST SpaceCadetPinball-2.0.1.tar.gz 1882629 BLAKE2B 55b2c4232880b065bad30371ad4c170ee2fbc485d2673d25d3afa82144d17bc6a74f70cee7dcc365992df61e95d65a97b57924e54a140b98790ee6e75b06cefd SHA512 b8a23c650a6251838c531a7f1427284199ba859fbdf8715a974404dbef3485503dffa723839f6b41d335e2afc73a85bd0fe0d670ebb7fc1462f089250f1f546f -EBUILD SpaceCadetPinball-2.0.1.ebuild 924 BLAKE2B fa452395bcb86eb78ee5ef853e0e3f855af5885cf1e219a8f8776e4edfb3d75f588396af3a1c570c30e5f9ed8be2e2398e810e4851fe4d9d0942cadcd72f2567 SHA512 acc7acd55a3d380cd02bef2c91d574bd4424d21305138150191567a18860407e1a6efbf3832175a15f9e2e9e0364be7e780e8cf59b053d97346329d82b50fae5 +EBUILD SpaceCadetPinball-9999.ebuild 726 BLAKE2B 4b59484d45bad476934db819af1ca775fde32ee93fdea1228e66f2d24eafd535d7f1cb0b657480a5f638f0ef3fde424548f344181cae38a3602633ec96a054e5 SHA512 d00bd84674fc9c6779c8cc9296bbc6a352222b397ff6a5cdd13fe9831f253e7f3dfc4f17d900b3d8e097ccc1ffcc24a20a2a1abe44e707ccbece7f04aa74b44b diff --git a/games-arcade/SpaceCadetPinball/SpaceCadetPinball-2.0.1.ebuild b/games-arcade/SpaceCadetPinball/SpaceCadetPinball-2.0.1.ebuild deleted file mode 100644 index d341b1c..0000000 --- a/games-arcade/SpaceCadetPinball/SpaceCadetPinball-2.0.1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake xdg - -DESCRIPTION="Decompilation of 3D Pinball for Windows - Space Cadet" -HOMEPAGE="https://github.com/k4zmu2a/SpaceCadetPinball" -SRC_URI="https://github.com/k4zmu2a/${PN}/archive/refs/tags/Release_${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND=" - media-libs/libsdl2 - media-libs/sdl2-mixer[midi] -" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${PN}-Release_${PV}" - -src_prepare(){ - # the paths should be relative - sed -i "s|/Platform|Platform|g" CMakeLists.txt || die - - cmake_src_prepare -} - -pkg_postinst(){ - ewarn "This game is distributed without the data files." - ewarn "To play, copy the original DAT and SOUND files from a Windows or" - ewarn 'Full Tilt! installation and place them in $XDG_DATA_HOME/'"${PN}/" - ewarn "(usually: ~/.local/share/${PN}/)" - - xdg_pkg_postinst -} diff --git a/games-arcade/SpaceCadetPinball/SpaceCadetPinball-9999.ebuild b/games-arcade/SpaceCadetPinball/SpaceCadetPinball-9999.ebuild new file mode 100644 index 0000000..a05aecd --- /dev/null +++ b/games-arcade/SpaceCadetPinball/SpaceCadetPinball-9999.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake git-r3 xdg + +DESCRIPTION="Reverse engineering of '3D Pinball for Windows - Space Cadet', a game bundled with Windows" +HOMEPAGE="https://github.com/k4zmu2a/SpaceCadetPinball" +EGIT_REPO_URI="https://github.com/k4zmu2a/${PN}.git" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + media-libs/libsdl2 + media-libs/sdl2-mixer[midi] +" +RDEPEND="${DEPEND}" + +pkg_postinst(){ + ewarn "This game is distributed without the data files." + ewarn "To play, copy the original DAT and SOUND files from a Windows or" + ewarn 'Full Tilt! installation and place them in $XDG_DATA_HOME/'"${PN}/" + ewarn "(usually: ~/.local/share/${PN}/)" + + xdg_pkg_postinst +} -- cgit v1.2.3-65-gdbad