diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index fbbaf0ff9c..2c0f4cc963 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -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/ | diff --git a/Ports/flare-game/package.sh b/Ports/flare-game/package.sh new file mode 100755 index 0000000000..5aff29d400 --- /dev/null +++ b/Ports/flare-game/package.sh @@ -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 +}