summaryrefslogtreecommitdiff
path: root/community/blender/PKGBUILD
blob: 35b2c970bd31950dfb78823f033a487a626eec83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
makedepends=(
  ${makedepends[@]/cuda/}
)
depends=(
  ${depends[@]/openimagedenoise/}
)
pkgdesc+=", without nonfree 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+=('arm-no-sse2.patch')
sha512sum_i686+=('13890f9cd11ca20bcb6f12206c990e25c0d08699feab0fca37607d847d2aebd2d2f423023986e120eaaeb0beca9a440a4d42007dcac2054fe6cdaf745de43402')
if [ "${CARCH}" = 'i686' ]; then
  eval "$(
    declare -f prepare \
    | sed '
      $ i patch -Np1 -i "$srcdir"/arm-no-sse2.patch
    '
  )"
fi