summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-06-18 13:54:10 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2020-06-18 13:54:10 +0200
commita724d52b9dfac549176b06efd66194ce40a778ad (patch)
treed348d61e5f7ee00e8dc2752f6db2426f22ef26bf /community
parente0ae5790f81ab3f6eb99128dd0b0827639871020 (diff)
downloadpackages-a724d52b9dfac549176b06efd66194ce40a778ad.tar.xz
community/blender: build withtout Nvidia Optix
Diffstat (limited to 'community')
-rw-r--r--community/blender/PKGBUILD11
1 files changed, 10 insertions, 1 deletions
diff --git a/community/blender/PKGBUILD b/community/blender/PKGBUILD
index 35b2c97..868be90 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/
+ '
+)"