Merge pull request #208281 from mikepurvis/openvdb-9.1.0-split-output

This commit is contained in:
Artturi 2023-01-03 23:44:56 +02:00 committed by GitHub
commit 0710f0b70f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,19 +3,29 @@
stdenv.mkDerivation rec
{
pname = "openvdb";
version = "9.1.0";
version = "10.0.1";
outputs = [ "out" "dev" ];
src = fetchFromGitHub {
owner = "dreamworksanimation";
owner = "AcademySoftwareFoundation";
repo = "openvdb";
rev = "v${version}";
sha256 = "sha256-OP1xCR1YW60125mhhrW5+8/4uk+EBGIeoWGEU9OiIGY=";
sha256 = "sha256-kaf5gpGYVWinmnRwR/IafE1SJcwmP2psfe/UZdtH1Og=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ openexr boost tbb jemalloc c-blosc ilmbase ];
cmakeFlags = [ "-DOPENVDB_CORE_STATIC=OFF" ];
postFixup = ''
substituteInPlace $dev/lib/cmake/OpenVDB/FindOpenVDB.cmake \
--replace \''${OPENVDB_LIBRARYDIR} $out/lib \
--replace \''${OPENVDB_INCLUDEDIR} $dev/include
'';
meta = with lib; {
description = "An open framework for voxel";
homepage = "https://www.openvdb.org";