Merge pull request #208281 from mikepurvis/openvdb-9.1.0-split-output
This commit is contained in:
commit
0710f0b70f
1 changed files with 13 additions and 3 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue