Merge pull request #256760 from amarshall/blender-pathguiding

blender: enable path guiding support; openpgl: init at 0.5.0
This commit is contained in:
Dmitry Kalinkin 2023-09-28 20:44:38 -04:00 committed by GitHub
commit e1db7d4cc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 43 additions and 0 deletions

View file

@ -15,6 +15,7 @@
, potrace
, openxr-loader
, embree, gmp, libharu
, openpgl
, mesa
, runCommand
}:
@ -58,6 +59,7 @@ stdenv.mkDerivation (finalAttrs: rec {
potrace
libharu
libepoxy
openpgl
]
++ lib.optionals waylandSupport [
wayland wayland-protocols libffi libdecor libxkbcommon dbus

View file

@ -0,0 +1,41 @@
{ lib
, cmake
, fetchFromGitHub
, ninja
, stdenv
, tbb
}:
stdenv.mkDerivation (finalAttrs: {
pname = "openpgl";
version = "0.5.0";
src = fetchFromGitHub {
owner = "OpenPathGuidingLibrary";
repo = finalAttrs.pname;
rev = "v${finalAttrs.version}";
hash = "sha256-dbHmGGiHQkU0KPpQYpY/o0uCWdb3L5namETdOcOREgs=";
};
nativeBuildInputs = [
cmake
ninja
];
buildInputs = [
tbb
];
cmakeFlags = [
"-DOPENPGL_BUILD_STATIC=OFF"
"-DTBB_ROOT=${tbb.out}"
];
meta = {
description = "Intel Open Path Guiding Library";
homepage = "https://github.com/OpenPathGuidingLibrary/openpgl";
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.amarshall ];
license = lib.licenses.asl20;
};
})