opensubdiv, bump version (#8102)

This commit is contained in:
Schrijvers Luc
2023-03-24 18:52:29 +01:00
committed by GitHub
parent 8de09da347
commit 25942e5cf1

View File

@@ -7,10 +7,10 @@ surface matches Pixar's Renderman to numerical precision."
HOMEPAGE="https://graphics.pixar.com/opensubdiv/"
COPYRIGHT="2013-2020 Pixar"
LICENSE="Apache v2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${portVersion//\./_}.tar.gz"
CHECKSUM_SHA256="20d49f80a2b778ad4d01f091ad88d8c2f91cf6c7363940c6213241ce6f1048fb"
SOURCE_FILENAME="opensubdiv-$portVersion.tar.gz"
CHECKSUM_SHA256="8f5044f453b94162755131f77c08069004f25306fd6dc2192b6d49889efb8095"
SOURCE_FILENAME="opensubdiv-v$portVersion.tar.gz"
SOURCE_DIR="OpenSubdiv-${portVersion//\./_}"
ARCHITECTURES="all !x86_gcc2 ?x86"
@@ -40,6 +40,7 @@ REQUIRES="
PROVIDES_tools="
opensubdiv${secondaryArchSuffix}_tools = $portVersion
cmd:bfr_evaluate
cmd:far_perf
cmd:far_regression
cmd:hbr_baseline
@@ -77,7 +78,7 @@ BUILD_PREREQUIRES="
cmd:cmake
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:python2
cmd:python3
"
defineDebugInfoPackage opensubdiv$secondaryArchSuffix \
@@ -86,26 +87,27 @@ defineDebugInfoPackage opensubdiv$secondaryArchSuffix \
BUILD()
{
mkdir -p build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release \
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$prefix \
-DCMAKE_BINDIR_BASE=$prefix/bin \
-DCMAKE_INCDIR_BASE=$includeDir/opensubdiv \
-DCMAKE_LIBDIR_BASE=$libDir \
-DCMAKE_INSTALL_LIBDIR=$libDir \
-DCMAKE_SKIP_RPATH=ON \
-DNO_EXAMPLES=ON \
-DNO_TUTORIALS=ON \
-DNO_GLFW_X11=ON \
-DGLEW_LIBRARY="`finddir B_SYSTEM_DIRECTORY`/$relativeLibDir" \
-DGLEW_INCLUDE_DIR="`finddir B_SYSTEM_DIRECTORY`/$relativeIncludeDir/GL"
make $jobArgs
make -C build $jobArgs
}
INSTALL()
{
cd build
make install
make -C build install
# remove static libraries
rm $libDir/*.a
prepareInstalledDevelLibs \
libosdCPU \
@@ -114,8 +116,10 @@ INSTALL()
packageEntries tools \
$prefix/bin
packageEntries devel \
$developDir
$developDir \
$libDir/cmake
}
TEST()