Update gemrb to latest dev (#13263)

This commit is contained in:
Peppersawce
2025-11-28 07:37:52 +01:00
committed by GitHub
parent ab31520f1e
commit 5ab5714156
2 changed files with 9 additions and 12 deletions

View File

@@ -13,9 +13,11 @@ to point GemRB to the data of the game you want to play and to customize your Ge
HOMEPAGE="https://gemrb.org/"
COPYRIGHT="2003-2025 The GemRB Team"
LICENSE="MIT"
REVISION="2"
SOURCE_URI="https://github.com/gemrb/gemrb/archive/refs/tags/v$portVersion.tar.gz"
CHECKSUM_SHA256="2cb39244945d1e5ec885c4040892eea1efb6d7b183ade36f4ab2e852778e401f"
REVISION="1"
srcGitRev="bab0d94c25df1a3e81288e8f5c4a723a07378c4e"
SOURCE_URI="https://github.com/gemrb/gemrb/archive/$srcGitRev.zip"
CHECKSUM_SHA256="0b1d760ee47ebdf8c87137e534f7d24ad4a28dda132365f7c780444b3c1e3109"
SOURCE_DIR="gemrb-$srcGitRev"
SOURCE_FILENAME="v$portVersion.tar.gz"
PATCHES="gemrb-$portVersion.patchset"
ADDITIONAL_FILES="
@@ -75,11 +77,7 @@ BUILD_PREREQUIRES="
BUILD()
{
mkdir -p build
cd build
cmake .. \
-Wno-dev \
cmake -Bbuild -S. -Wno-dev \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$prefix \
-DBIN_DIR=$prefix/bin \
@@ -88,13 +86,12 @@ BUILD()
-DSYSCONF_DIR=$settingsDir/gemrb \
-DDOC_DIR=$docDir
make $jobArgs
make -C build $jobArgs
}
INSTALL()
{
cd build
make install
make -C build install
# Remove leftover CMake file
rm -f $dataDir/gemrb/override/bg1/CMakeLists.txt
@@ -113,7 +110,7 @@ INSTALL()
# Generate the rdef
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
local MINOR="`echo "$portVersion" | cut -d. -f3`"
local MINOR="`echo "$portVersion" | cut -b5`"
sed \
-e "s|@MAJOR@|$MAJOR|" \
-e "s|@MIDDLE@|$MIDDLE|" \