Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libavif/PKGBUILD
blob: 47e6ff77f5a21a8d2347de4ac790267c93366602 (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
# svt-av1 is 64-bit only
depends=(${depends[@]//svt-av1/})
eval "$(
  declare -f build | \
    sed '
      s/-DAVIF_CODEC_SVT=ON/-DAVIF_CODEC_SVT=OFF/
    '
)"

# on i486 we ignore rav1e for now (needs rust)
if [ "$CARCH" = 'i486' ]; then
  depends=(${depends[@]//librav1e.so/})
  eval "$(
    declare -f build | \
      sed '
        s/-DAVIF_CODEC_RAV1E=ON/-DAVIF_CODEC_RAV1E=OFF/
      '
  )"
fi

# no Haskell
makedepends=(${makedepends[@]//pandoc-cli/})
eval "$(
  declare -f build | \
    sed '
      s/-DAVIF_BUILD_MAN_PAGES=ON/-DAVIF_BUILD_MAN_PAGES=OFF/
    '
)"