mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Ports: Add flare-engine
Action RPG engine
This commit is contained in:
parent
a6dd0e6339
commit
54ea999373
Notes:
sideshowbarker
2024-07-16 21:34:08 +09:00
Author: https://github.com/hansjoachim 🔰 Commit: https://github.com/SerenityOS/serenity/commit/54ea999373 Pull-request: https://github.com/SerenityOS/serenity/pull/20553 Reviewed-by: https://github.com/circl-lastname Reviewed-by: https://github.com/gmta Reviewed-by: https://github.com/timschumi ✅
2 changed files with 33 additions and 0 deletions
|
@ -75,6 +75,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
|
|||
| [`findutils`](findutils/) | GNU findutils | 4.9.0 | https://www.gnu.org/software/findutils/ |
|
||||
| [`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/ |
|
||||
| [`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/ |
|
||||
|
|
32
Ports/flare-engine/package.sh
Executable file
32
Ports/flare-engine/package.sh
Executable file
|
@ -0,0 +1,32 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port='flare-engine'
|
||||
useconfigure='true'
|
||||
version='1.14'
|
||||
depends=(
|
||||
'SDL2'
|
||||
'SDL2_image'
|
||||
'SDL2_mixer'
|
||||
'SDL2_ttf'
|
||||
)
|
||||
files=(
|
||||
"https://github.com/flareteam/flare-engine/archive/refs/tags/v${version}.tar.gz 2c1bafeaa5ac26c10449bfcb7151b06e8a22547aa7364d2a39bbcb135aa50a09"
|
||||
)
|
||||
|
||||
configopts=(
|
||||
"-DCMAKE_INSTALL_PREFIX=${SERENITY_INSTALL_ROOT}/usr/local"
|
||||
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
|
||||
"-DSDL2_INCLUDE_DIR=${SERENITY_INSTALL_ROOT}/usr/local/include/SDL2"
|
||||
)
|
||||
|
||||
configure() {
|
||||
run cmake "${configopts[@]}"
|
||||
}
|
||||
|
||||
install() {
|
||||
run make "${installopts[@]}" install
|
||||
}
|
||||
|
||||
launcher_name='Flare'
|
||||
launcher_category='Games'
|
||||
launcher_command='/usr/local/games/flare'
|
||||
icon_file='distribution/flare_logo_icon.png'
|
Loading…
Reference in a new issue