supertux: Use Boost 1.70 (#7903)

This commit is contained in:
robxnano
2023-03-06 10:21:22 +00:00
committed by GitHub
parent 4bd35c77d2
commit de03049585

View File

@@ -4,7 +4,7 @@ similar to the original Super Mario games."
HOMEPAGE="https://supertux.org/"
COPYRIGHT="2003-2020 The SuperTux Team"
LICENSE="GNU GPL v3"
REVISION="2"
REVISION="3"
SOURCE_URI="https://github.com/SuperTux/supertux/releases/download/v$portVersion/SuperTux-v$portVersion-Source.tar.gz"
SOURCE_DIR="SuperTux-v$portVersion-Source"
CHECKSUM_SHA256="3a19e042cb10933bcbdc50a296779082a3bb46c8e98fe4afb68c19cc5e810c53"
@@ -20,6 +20,7 @@ PROVIDES="
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libboost_filesystem$secondaryArchSuffix
lib:libboost_system$secondaryArchSuffix
lib:libcurl$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
@@ -42,7 +43,8 @@ REQUIRES="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libboost_system$secondaryArchSuffix
devel:libboost_filesystem$secondaryArchSuffix >= 1.70.0
devel:libboost_system$secondaryArchSuffix >= 1.70.0
devel:libcurl$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
devel:libfribidi$secondaryArchSuffix
@@ -73,6 +75,7 @@ BUILD()
mkdir -p build
cd build
cmake .. $cmakeDirArgs \
-DBUILD_SHARED_LIBS=ON \
-DUSE_SYSTEM_PHYSFS=ON \
-DCMAKE_INSTALL_PREFIX="$appsDir/SuperTux" \
-DINSTALL_SUBDIR_BIN="$appsDir/SuperTux" \