mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
Ports: Add SpaceCadetPinball
Co-authored-by: Tim Schumacher <[email protected]>
This commit is contained in:
1 parent
d26e708bcf
commit
8d5e63d6d3
2 files changed
+32
No files matched your search
@@ -307,6 +307,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
|
||||
| [`sfinx`](sfinx/) | Sfinx | 1.1 | https://www.scummvm.org/games/#games-sfinx |
|
||||
| [`sl`](sl/) | Steam Locomotive (SL) | | https://github.com/mtoyoda/sl |
|
||||
| [`soltys`](soltys/) | Soltys | 1.0 | https://www.scummvm.org/games/#games-soltys |
|
||||
| [`SpaceCadetPinball`](SpaceCadetPinball/) | 3D Pinball for Windows - Space Cadet | 2.1.0 | https://github.com/k4zmu2a/SpaceCadetPinball |
|
||||
| [`sparsehash`](sparsehash/) | Google's C++ associative containers | 2.0.4 | https://github.com/sparsehash/sparsehash |
|
||||
| [`speexdsp`](speexdsp/) | Speex audio processing library | 1.2.1 | https://www.speex.org/ |
|
||||
| [`sqlite`](sqlite/) | SQLite | 3430000 | https://www.sqlite.org/ |
|
||||
|
||||
Executable
+31
@@ -0,0 +1,31 @@
|
||||
#!/bin/bash ../.port_include.sh
|
||||
port='SpaceCadetPinball'
|
||||
version='2.1.0'
|
||||
workdir="SpaceCadetPinball-Release_${version}"
|
||||
useconfigure='true'
|
||||
files=(
|
||||
"https://github.com/k4zmu2a/SpaceCadetPinball/archive/refs/tags/Release_${version}.tar.gz#b647dc59abad3d52378b9f67ff4fb70a37e9752afaff1d098b71028cad29b8d6"
|
||||
)
|
||||
configopts=(
|
||||
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
|
||||
)
|
||||
depends=(
|
||||
"SDL2"
|
||||
"SDL2_mixer"
|
||||
)
|
||||
launcher_name='SpaceCadetPinball'
|
||||
launcher_category='&Games'
|
||||
launcher_command='/usr/local/bin/SpaceCadetPinball'
|
||||
|
||||
configure() {
|
||||
run cmake "${configopts[@]}"
|
||||
}
|
||||
|
||||
install() {
|
||||
run make install
|
||||
echo "SpaceCadetPinball is installed!"
|
||||
echo ""
|
||||
echo "Make sure the data files from your original Pinball install are in the following directory:"
|
||||
echo " Inside SerenityOS: /usr/share/SpaceCadetPinball/"
|
||||
echo " Outside SerenityOS: ${SERENITY_SOURCE_DIR}/Base/usr/share/SpaceCadetPinball/"
|
||||
}
|
||||
Reference in new issue
Block a user