Merge pull request #256760 from amarshall/blender-pathguiding
blender: enable path guiding support; openpgl: init at 0.5.0
This commit is contained in:
commit
e1db7d4cc9
2 changed files with 43 additions and 0 deletions
|
@ -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
|
||||
|
|
41
pkgs/by-name/op/openpgl/package.nix
Normal file
41
pkgs/by-name/op/openpgl/package.nix
Normal 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;
|
||||
};
|
||||
})
|
Loading…
Reference in a new issue