Arx-Libertatis: disable unity build

This commit is contained in:
Gerasim Troeglazov
2021-09-07 16:58:10 +10:00
parent c20b02e531
commit b75bf39ecd

View File

@@ -8,7 +8,7 @@ porting the game to new systems as well as eliminating bugs and limitations."
HOMEPAGE="https://arx-libertatis.org/"
COPYRIGHT="2012-2021 Arx-Libertatis team"
LICENSE="GNU GPL v3"
REVISION="2"
REVISION="3"
SOURCE_URI="https://github.com/arx/ArxLibertatis/releases/download/$portVersion/arx-libertatis-$portVersion.tar.xz"
CHECKSUM_SHA256="bacf7768c4e21c9166c7ea57083d4f20db0deb8f0ee7d96b5f2829e73a75ad0c"
SOURCE_DIR="arx-libertatis-$portVersion"
@@ -63,6 +63,9 @@ BUILD_PREREQUIRES="
BUILD()
{
#disable c++11 thread_local
sed -e '/check_cxx11("thread_local"/ s/^#*/#/' -i CMakeLists.txt
mkdir -p build
cd build
cmake .. \
@@ -83,8 +86,9 @@ BUILD()
-DBUILD_CRASHHANDLER=OFF \
-DBUILD_CRASHREPORTER=OFF \
-DBUILD_PROFILER=OFF \
-DBUILD_TESTS=OFF
make
-DBUILD_TESTS=OFF \
-DUNITY_BUILD=OFF
make $jobArgs
cd $sourceDir2
mkdir -p build