Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-arcade/SpaceCadetPinball/
Date: Thu, 30 Dec 2021 14:34:41
Message-Id: 1640771138.0a210e9a8d83d773ab640bcdf3895a0fe1100990.flow@gentoo
1 commit: 0a210e9a8d83d773ab640bcdf3895a0fe1100990
2 Author: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
3 AuthorDate: Wed Dec 29 09:45:15 2021 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 29 09:45:38 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0a210e9a
7
8 games-arcade/SpaceCadetPinball: bump to 2.0.1
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>
12
13 games-arcade/SpaceCadetPinball/Manifest | 1 +
14 .../SpaceCadetPinball-2.0.1.ebuild | 38 ++++++++++++++++++++++
15 2 files changed, 39 insertions(+)
16
17 diff --git a/games-arcade/SpaceCadetPinball/Manifest b/games-arcade/SpaceCadetPinball/Manifest
18 index ae7dcfd5f..95cb3a26e 100644
19 --- a/games-arcade/SpaceCadetPinball/Manifest
20 +++ b/games-arcade/SpaceCadetPinball/Manifest
21 @@ -1 +1,2 @@
22 +DIST SpaceCadetPinball-2.0.1.tar.gz 1882629 BLAKE2B 55b2c4232880b065bad30371ad4c170ee2fbc485d2673d25d3afa82144d17bc6a74f70cee7dcc365992df61e95d65a97b57924e54a140b98790ee6e75b06cefd SHA512 b8a23c650a6251838c531a7f1427284199ba859fbdf8715a974404dbef3485503dffa723839f6b41d335e2afc73a85bd0fe0d670ebb7fc1462f089250f1f546f
23 DIST SpaceCadetPinball-2.0.tar.gz 933826 BLAKE2B b4a079ca856ebf315202eaae59a825d4c7022acfff7f38907ffd750f0e146da6d7c4f03286ef5c59ee5e3c725d938e30c2aad2f7269d9f18e8ae8f6807af80e1 SHA512 29b3f886d6ec6507c12a59b0c2877cbb51c54eee0163d0537588bb1e0fa0eb08b530d5684e8753598a823430559d5b3b9490be40ca9a3310043dac71912994c7
24
25 diff --git a/games-arcade/SpaceCadetPinball/SpaceCadetPinball-2.0.1.ebuild b/games-arcade/SpaceCadetPinball/SpaceCadetPinball-2.0.1.ebuild
26 new file mode 100644
27 index 000000000..004213635
28 --- /dev/null
29 +++ b/games-arcade/SpaceCadetPinball/SpaceCadetPinball-2.0.1.ebuild
30 @@ -0,0 +1,38 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +inherit cmake xdg
37 +
38 +DESCRIPTION="Decompilation of 3D Pinball for Windows - Space Cadet"
39 +HOMEPAGE="https://github.com/k4zmu2a/SpaceCadetPinball"
40 +SRC_URI="https://github.com/k4zmu2a/${PN}/archive/refs/tags/Release_${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +LICENSE="MIT"
43 +SLOT="0"
44 +KEYWORDS="~amd64"
45 +
46 +DEPEND="
47 + media-libs/libsdl2
48 + media-libs/sdl2-mixer[midi]
49 +"
50 +RDEPEND="${DEPEND}"
51 +
52 +S="${WORKDIR}/${PN}-Release_${PV}"
53 +
54 +src_prepare(){
55 + # the paths should be relative
56 + sed -i "s|/Platform|Platform|g" CMakeLists.txt || die
57 +
58 + cmake_src_prepare
59 +}
60 +
61 +pkg_postinst(){
62 + ewarn "This game is distributed without the data files."
63 + ewarn "To play, copy the original DAT and SOUND files from a Windows or"
64 + ewarn 'Full Tilt! installation and place them in $XDG_DATA_HOME/'"${PN}/"
65 + ewarn "(usually: ~/.local/share/${PN}/)"
66 +
67 + xdg_pkg_postinst
68 +}