Recipe tweaks (#12104)

This commit is contained in:
Peppersawce
2025-04-08 09:31:02 +02:00
committed by GitHub
parent 9108a590b1
commit 8d5b999d5a
2 changed files with 10 additions and 10 deletions

View File

@@ -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

View File

@@ -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}