mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
tox, revbump, drop gtest, fix build for cmake >= 4 (#12838)
This commit is contained in:
@@ -8,7 +8,7 @@ HOMEPAGE="https://tox.chat/"
|
||||
COPYRIGHT="2013-2022 Tox Project"
|
||||
LICENSE="GNU GPL v3
|
||||
MIT"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://github.com/TokTok/c-toxcore/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="1fba883638fd18985fd41acd35fed198c2cdd6e91651eb1c3fe602b610b535fe"
|
||||
SOURCE_DIR="c-toxcore-$portVersion"
|
||||
@@ -40,7 +40,6 @@ PROVIDES="
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libconfig$secondaryArchSuffix
|
||||
lib:libgtest$secondaryArchSuffix
|
||||
lib:libopus$secondaryArchSuffix
|
||||
lib:libsodium$secondaryArchSuffix
|
||||
lib:libvpx$secondaryArchSuffix
|
||||
@@ -60,7 +59,6 @@ REQUIRES_devel="
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libconfig$secondaryArchSuffix
|
||||
devel:libgtest$secondaryArchSuffix
|
||||
devel:libopus$secondaryArchSuffix
|
||||
devel:libsodium$secondaryArchSuffix
|
||||
devel:libvpx$secondaryArchSuffix
|
||||
@@ -77,10 +75,13 @@ BUILD_PREREQUIRES="
|
||||
BUILD()
|
||||
{
|
||||
cp -r $sourceDir2/cmp-$srcGitRev2/* third_party/cmp
|
||||
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
|
||||
|
||||
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \
|
||||
$cmakeDirArgs \
|
||||
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
|
||||
-DCMAKE_INSTALL_BINDIR=$commandBinDir \
|
||||
-DUSE_IPV6=OFF
|
||||
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user