blob: 47de888e4cc7e9ab3cae13ae1ef991e59bc49383 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
makedepends=(
${makedepends[@]/cuda/}
)
depends=(
${depends[@]/openimagedenoise/}
)
pkgdesc+=", without CUDA support"
eval "$(
declare -f build \
| sed '
/^\s*cmake / s/;$/ -DWITH_CYCLES_CUDA_BINARIES=OFF -DWITH_CYCLES_DEVICE_CUDA=OFF -DWITH_RAYOPTIMIZATION=OFF;/
'
)"
source_i686+=('no-sse2.patch')
sha512sums_i686+=('c811828bf178a69315498f1f7a04da26c7be11c05b2f8b505148aac4ee2bb4f29b683144cf6b99fab140ef3bdb6687350396cdea08de7fc5e61a22222e9be6e9')
if [ "${CARCH}" = 'i686' ]; then
eval "$(
declare -f prepare \
| sed '
$ i patch -Np1 -i "$srcdir"/no-sse2.patch
'
)"
fi
# no Nvidia Optix
pkgdesc+=", without Optix support"
eval "$(
declare -f build \
| sed '
/^\s*cmake / s/;$/ -DWITH_CYCLES_DEVICE_OPTIX=OFF/
'
)"
# FS32#182: opensubdiv/openexr/openvdb currently fails to rebuild
depends=(
${depends[@]/opensubdiv/}
)
depends=(
${depends[@]/openexr/}
)
depends=(
${depends[@]/openvdb/}
)
|