211.1. flare-engine-1.15
Engine of the Flare isometric action RPG, run by the game data of flare-game or any other mod
1.15-1 · GPL-3.0-or-later · 0.7 SBU · 16.4 MiB, 133 files · 42_graphics, 104 of 189 · ports/core/games-rpg/flare-engine
Homepage: https://flarerpg.org
Depends on: cmake, ninja, sdl2-compat, sdl2-image, sdl2-mixer, sdl2-ttf.
Required by (1): flare-game.
Sources: flare-engine-1.15.tar.gz (8.1 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/42_graphics/phase.env && kpkg install flare-engine'
build.sh:
mkdir build && cd build
cmake .. -G Ninja \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBINDIR=bin \
-DDATADIR=share/flare \
-DMANDIR=share/man
ninja
DESTDIR=$PKG ninja install
cd ..
rm -f "$PKG/usr/share/applications/flare.desktop"
rm -rf "$PKG/usr/share/icons/hicolor/scalable"
install -Dm644 distribution/flare_logo_icon.png \
"$PKG/usr/share/icons/hicolor/256x256/apps/flare.png"
cat > "$PKG/usr/share/applications/flare.desktop" <<'DESKTOP'
[Desktop Entry]
Type=Application
Name=Flare
GenericName=Action Role-Playing Game
Comment=Single-player isometric action RPG
Exec=flare
Icon=flare
Terminal=false
StartupWMClass=flare
Categories=Game;RolePlaying;
Keywords=rpg;action;isometric;fantasy;flare;
DESKTOP
chmod 644 "$PKG/usr/share/applications/flare.desktop"
Programs: flare.
Directories: /usr/share/flare/mods/default, /usr/share/flare/mods/gcw0_defaults, /usr/share/licenses/flare-engine.