diff --git a/games-engines/gemrb/additional-files/gemrb-postinstall.sh b/games-engines/gemrb/additional-files/gemrb-postinstall.sh index 25d8479c4..96287bbe4 100644 --- a/games-engines/gemrb/additional-files/gemrb-postinstall.sh +++ b/games-engines/gemrb/additional-files/gemrb-postinstall.sh @@ -1,13 +1,5 @@ #!/bin/bash -#SYS_SETTINGS_PATH=$(finddir B_SYSTEM_SETTINGS_DIRECTORY)/gemrb - -#if [ ! -e $SYS_SETTINGS_PATH/GemRB.cfg ]; then - #move standard dir path declaration here -#else - #eventually read dir paths from the cfg -#fi - CACHE_PATH=$(finddir B_USER_CACHE_DIRECTORY)/gemrb SAVE_PATH=$(finddir B_USER_SETTINGS_DIRECTORY)/gemrb diff --git a/games-engines/gemrb/gemrb-0.9.4.recipe b/games-engines/gemrb/gemrb-0.9.4.recipe index 8030d508e..4416b0869 100644 --- a/games-engines/gemrb/gemrb-0.9.4.recipe +++ b/games-engines/gemrb/gemrb-0.9.4.recipe @@ -3,12 +3,17 @@ DESCRIPTION="GemRB (Game Engine Made with preRendered Background) \ is a new implementation of the original Infinity Engine \ (used in Baldur's Gate, Icewind Dale, Planescape: Torment etc.) \ to Linux/Unix, MacOS X, Windows (and Haiku) with some enhancements. +Original games' data is not included. -(Originals games' data is not included)" +Haiku specific paths: +* /boot/system/settings/gemrb is where 'GemRB.cfg' is stored, edit this configuration file \ +to point GemRB to the data of the game you want to play and to customize your GemRB setup. +* ~/config/settings/gemrb is the default folder for saves +* ~/config/cache/gemrb is the default folder for GemRB's log and temporary files" HOMEPAGE="https://gemrb.org/" COPYRIGHT="2003-2025 The GemRB Team" LICENSE="MIT" -REVISION="1" +REVISION="2" SOURCE_URI="https://github.com/gemrb/gemrb/archive/refs/tags/v$portVersion.tar.gz" CHECKSUM_SHA256="2cb39244945d1e5ec885c4040892eea1efb6d7b183ade36f4ab2e852778e401f" SOURCE_FILENAME="v$portVersion.tar.gz" @@ -91,6 +96,9 @@ INSTALL() cd build make install + # Remove leftover CMake file + rm -f $dataDir/gemrb/override/bg1/CMakeLists.txt + # Remove extra cfg files and setup Haiku-specific config rm -f $settingsDir/gemrb/GemRB.cfg.{sample,noinstall.sample}