games-arcade/SpaceCadetPinball - 2.0.1 (guru)

Search

Install

Install this version:

emerge -a =games-arcade/SpaceCadetPinball-2.0.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =games-arcade/SpaceCadetPinball-2.0.1

Or alternatively:

emerge --autounmask-write -a =games-arcade/SpaceCadetPinball-2.0.1

Package Information

Description:
Decompilation of 3D Pinball for Windows - Space Cadet
Homepage:
https://github.com/k4zmu2a/SpaceCadetPinball
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
2.0.1 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2021 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"

S="${WORKDIR}/${PN}-Release_${PV}"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="
	media-libs/libsdl2
	media-libs/sdl2-mixer[midi]
"
RDEPEND="${DEPEND}"

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
}

Inherited Eclasses

xdg

Dependencies

DEPEND

	media-libs/libsdl2
	media-libs/sdl2-mixer[midi]

RDEPEND

	media-libs/libsdl2
	media-libs/sdl2-mixer[midi]

Manifest for 2.0.1

Type File Size Source URLs
DIST SpaceCadetPinball-2.0.1.tar.gz 1882629 bytes https://github.com/k4zmu2a/SpaceCadetPinball/archive/refs/tags/Release_2.0.1.tar.gz