1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:57:44 +00:00

Ports: Add flare-game

Add a playable campagin to flare-engine
This commit is contained in:
Hans Joachim Desserud 2023-08-13 14:13:12 +02:00 committed by Tim Schumacher
parent 54ea999373
commit 2d31903e07
2 changed files with 24 additions and 0 deletions

View file

@ -76,6 +76,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`fio`](fio/) | fio - Flexible I/O tester | 3.33 | https://fio.readthedocs.io/en/latest/ |
| [`flac`](flac/) | Free Lossless Audio Codec | 1.4.2 | https://xiph.org/flac/ |
| [`flare-engine`](flare-engine/) | Flare (engine) | 1.14 | https://flarerpg.org/ |
| [`flare-game`](flare-game/) | Flare (game) | 1.14 | https://flarerpg.org/ |
| [`flatbuffers`](flatbuffers/) | Flatbuffers | 2.0.0 | https://github.com/google/flatbuffers |
| [`flex`](flex/) | flex | 2.6.4 | https://github.com/westes/flex |
| [`fontconfig`](fontconfig/) | Fontconfig | 2.14.0 | https://www.freedesktop.org/wiki/Software/fontconfig/ |

23
Ports/flare-game/package.sh Executable file
View file

@ -0,0 +1,23 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='flare-game'
useconfigure='true'
version='1.14'
depends=(
'flare-engine'
)
files=(
"https://github.com/flareteam/flare-game/archive/refs/tags/v${version}.tar.gz 65758462070aa88842084f8ee69083d8226e93cfbf83481663276d8307494b8e"
)
configopts=(
"-DCMAKE_INSTALL_PREFIX=${SERENITY_INSTALL_ROOT}/usr/local"
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
)
configure() {
run cmake "${configopts[@]}"
}
install() {
run make "${installopts[@]}" install
}