summaryrefslogtreecommitdiff
path: root/extra/ffmpeg/PKGBUILD
blob: f0f6f8e10b1abd6ec16d7b7846d42392c5ad1216 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# no vamf for non-pentium4
if [ "$CARCH" == 'i686' ] || [ "$CARCH" == 'i486' ]; then
  depends=(${depends[@]//vmaf/})
  
  eval "$(
    declare -f prepare | \
      sed '
        /vmaf/d
      '
  )"

  eval "$(
    declare -f build | \
      sed '
        s/--enable-libvmaf/--disable-libvmaf/
      '
  )"

fi

# force picking of a modern libvpx and not libvpx1.3 needed for steam
makedepends+=('libvpx>=1.8.2')