diff options
author | bartus | 2023-07-17 16:52:36 +0200 |
---|---|---|
committer | bartus | 2023-07-17 17:04:55 +0200 |
commit | 650c50f714a49f7ff1b7d6a8024c54ca00e2c4bd (patch) | |
tree | bcbd85c05f9c90e0f16c90903cdfff8120f0e0b9 | |
parent | 11a555c937550179cb8c8334dfa2b3c0ebf9771f (diff) | |
download | aur-650c50f714a49f7ff1b7d6a8024c54ca00e2c4bd.tar.gz |
Add materialx support
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 8 insertions, 0 deletions
@@ -19,6 +19,7 @@ pkgbase = blender-develop-git makedepends = libxkbcommon makedepends = wayland-protocols makedepends = cython + depends = materialx depends = alembic depends = embree depends = libgl @@ -15,6 +15,13 @@ _fragment=${FRAGMENT:-#branch=main} -DUSD_ROOT=/usr ) depends+=( "usd=21.02" ) } +((DISABLE_MATERIALX)) && { + _CMAKE_FLAGS+=( -DWITH_MATERIALX=OFF ) +} || { + _CMAKE_FLAGS+=( -DWITH_MATERIALX=ON ) + depends+=( materialx ) + export PATH+=":/opt/materialx" +} ((DISABLE_NINJA)) || makedepends+=('ninja') #shellcheck disable=SC2015 ((DISABLE_CUDA)) && optdepends+=('cuda: CUDA support in Cycles') || { makedepends+=('cuda') ; ((DISABLE_OPTIX)) || makedepends+=('optix>=7.4'); } |