Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
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
parente0ae5790f81ab3f6eb99128dd0b0827639871020 (diff)
community/blender: build withtout Nvidia Optix
-rw-r--r--community/blender/PKGBUILD11
1 files changed, 10 insertions, 1 deletions
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/
+ '
+)"