blob: dad59e6e964939d46e1c8dbb0e136fcd41be97dd (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
|
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/}
)
# float_t is a long double on 32-bit, but it's a primitive in all cases anyway
# (seems to be in a part of the blendkernel on i686 only..)
source_pentium4+=('blender-idprop_create-static-assert-float.patch')
sha512sums_pentium4+=('36b98ec7e53402909a9e531c30b444b1afc22cc597c5bb3393c73862929dcc6275b00a53de6171a81af3c8804d233359d2e797886d0b776e7a9b29b23ce24e3b')
if [ "${CARCH}" = 'pentium4' ]; then
eval "$(
declare -f prepare \
| sed '
$ i patch -Np1 -i "$srcdir"/blender-idprop_create-static-assert-float.patch
'
)"
fi
|