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