From a724d52b9dfac549176b06efd66194ce40a778ad Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 18 Jun 2020 13:54:10 +0200 Subject: community/blender: build withtout Nvidia Optix --- community/blender/PKGBUILD | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'community/blender/PKGBUILD') diff --git a/community/blender/PKGBUILD b/community/blender/PKGBUILD index 35b2c970..868be908 100644 --- a/community/blender/PKGBUILD +++ b/community/blender/PKGBUILD @@ -4,7 +4,7 @@ makedepends=( depends=( ${depends[@]/openimagedenoise/} ) -pkgdesc+=", without nonfree CUDA support" +pkgdesc+=", without CUDA support" eval "$( declare -f build \ | sed ' @@ -21,3 +21,12 @@ if [ "${CARCH}" = 'i686' ]; then ' )" fi + +# no Nvidia Optix +pkgdesc+=", without Optix support" +eval "$( + declare -f build \ + | sed ' + /^\s*cmake / s/;$/ -DWITH_CYCLES_DEVICE_OPTIX=OFF/ + ' +)" -- cgit v1.2.3