mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
openvdb, revbump (bump boost requirement) (#12989)
This commit is contained in:
@@ -5,7 +5,7 @@ time-varying, volumetric data discretized on a three-dimensional grid."
|
||||
HOMEPAGE="https://www.openvdb.org/"
|
||||
COPYRIGHT="2012-2019 DreamWorks Animation LLC"
|
||||
LICENSE="MPL v2.0"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://github.com/AcademySoftwareFoundation/openvdb/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="0c3588c1ca6e647610738654ec2c6aaf41a203fd797f609fbeab1c9f7c3dc116"
|
||||
|
||||
@@ -22,6 +22,8 @@ fi
|
||||
libVersion="$portVersion"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%.*}"
|
||||
|
||||
boostVersion="1.88.0"
|
||||
|
||||
PROVIDES="
|
||||
openvdb$secondaryArchSuffix = $portVersion
|
||||
lib:libopenvdb$secondaryArchSuffix = $libVersionCompat
|
||||
@@ -67,9 +69,9 @@ REQUIRES_devel="
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libblosc$secondaryArchSuffix
|
||||
devel:libboost_iostreams$secondaryArchSuffix >= 1.69.0
|
||||
devel:libboost_system$secondaryArchSuffix >= 1.69.0
|
||||
devel:libboost_thread$secondaryArchSuffix >= 1.69.0
|
||||
devel:libboost_iostreams$secondaryArchSuffix >= $boostVersion
|
||||
devel:libboost_system$secondaryArchSuffix >= $boostVersion
|
||||
devel:libboost_thread$secondaryArchSuffix >= $boostVersion
|
||||
devel:libcppunit$secondaryArchSuffix
|
||||
devel:libHalf_2_4$secondaryArchSuffix
|
||||
devel:libtbb$secondaryArchSuffix
|
||||
@@ -87,14 +89,17 @@ defineDebugInfoPackage openvdb$secondaryArchSuffix \
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
|
||||
cmake -B build -S . -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
$cmakeDirArgs \
|
||||
-DCMAKE_INSTALL_BINDIR=$commandBinDir \
|
||||
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
|
||||
-DTBB_ROOT="$portPackageLinksDir/devel~libtbb$secondaryArchSuffix/$relativeDevelopDir/" \
|
||||
-DTBB_INCLUDEDIR="$portPackageLinksDir/devel~libtbb$secondaryArchSuffix/$relativeIncludeDir/" \
|
||||
-DTBB_LIBRARYDIR="$portPackageLinksDir/devel~libtbb$secondaryArchSuffix/$relativeDevelopLibDir/" \
|
||||
-DOPENVDB_BUILD_PYTHON_MODULE=OFF \
|
||||
-DOPENVDB_CORE_STATIC=OFF
|
||||
-DOPENVDB_CORE_STATIC=OFF \
|
||||
-Wno-dev
|
||||
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user