summaryrefslogtreecommitdiff
path: root/community/libavif/PKGBUILD
blob: 10c53c42efcbc611924394efc5d0ffe2803273dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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[@]//rav1e/})
  eval "$(
    declare -f build | \
      sed '
        s/-DAVIF_CODEC_RAV1E=ON/-DAVIF_CODEC_RAV1E=OFF/
      '
  )"
fi