Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/libavif/PKGBUILD
blob: 23d34206ae9ac9abf221c61fe5337ba949880218 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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