Vangers: bumped to 2.0~git (#13853)

This commit is contained in:
kenmays
2026-04-01 22:57:06 -07:00
committed by GitHub
parent f2f8aca651
commit fd74bd028f

View File

@@ -4,12 +4,12 @@ the special reworked edition of the game with improved performance on modern \
operating systems. Game still runs in 800x600 resolution though, as it was intended to do. \
KranX Productions pledged Vangers to go open source under the GPLv3 on March 12, 2016."
HOMEPAGE="https://kranx.com"
COPYRIGHT="1998-2021 KranX Productions, K-D Lab"
COPYRIGHT="1998-2024 KranX Productions, K-D Lab"
LICENSE="GNU GPL v3"
REVISION="1"
srcGitRev="470654b738761a63546ef0fa625f85f79daa72fa"
srcGitRev="72145feed605856c6711bbbcb4f9db99db3434fd"
SOURCE_URI="https://github.com/KranX/Vangers/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="95dc228a78d0ecc9496f8cf5959e56ea479287dbf8aeef43aeec200920062ed0"
CHECKSUM_SHA256="dc02ea3aca45411ae0bfb5019f8b780219918afc2aedf3dddc75a06c5e028674"
SOURCE_DIR="Vangers-$srcGitRev"
srcGitRev2="6d4cbbe1b6f1e202b9945d20073952b254e8d530"
SOURCE_URI_2="https://github.com/stalkerg/clunk/archive/$srcGitRev2.tar.gz"
@@ -21,8 +21,8 @@ CHECKSUM_SHA256_3="5435c273ad8f54f75fec3db1aaeafb4a5d1a821cc15ae256dedc054bc195f
SOURCE_DIR_3="BeGameLauncher-$srcGitRev3"
ADDITIONAL_FILES="vangers.rdef"
ARCHITECTURES="all !x86_gcc2 ?x86"
SECONDARY_ARCHITECTURES="x86"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="?x86"
PROVIDES="
vangers$secondaryArchSuffix = $portVersion
@@ -44,7 +44,9 @@ REQUIRES="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
ffmpeg${secondaryArchSuffix}_devel
devel:libavcodec$secondaryArchSuffix >= 60
devel:libavformat$secondaryArchSuffix
devel:libavutil$secondaryArchSuffix >= 58
devel:libGL$secondaryArchSuffix
devel:libogg$secondaryArchSuffix
devel:libSDL2_2.0$secondaryArchSuffix
@@ -62,6 +64,7 @@ BUILD()
{
cd $sourceDir2
cmake . \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DSDL2_INCLUDE_DIR=/system/$relativeIncludeDir \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS="`sdl2-config --cflags` -D__unix__"
@@ -74,6 +77,7 @@ BUILD()
mkdir -p build
cd build
cmake .. \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DSDL2_INCLUDE_DIR=/system/$relativeIncludeDir \
-DCLUNK_INCLUDE_DIR="$sourceDir2" \
-DCLUNK_LIBRARY="$sourceDir2/libclunk.so" \
@@ -86,6 +90,7 @@ BUILD()
mkdir -p build
cd build
cmake .. \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_BUILD_TYPE=Release \
-DLAUNCHER=vangers
make $jobArgs