summaryrefslogtreecommitdiff
path: root/extra/mesa/PKGBUILD
blob: 9d34bae6091373627680d9b6a09e601b337b87cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# disable openswf as it requires AVX, makes no sense with old CPUs
# disable every new software rasterizer and take the old ones
# see also FS32#39
eval "$(
  declare -f build | \
    sed '
      /arch-meson/s/\(gallium-drivers=.*\),swr/\1/
      /arch-meson/s/-D swr-arches=avx,avx2//
    '
  declare -f package_mesa | \
    sed '
      s@_install fakeinstall/usr/lib/d3d@#\0@g
      s@_install fakeinstall/usr/lib/libswrAVX.*@#\0@g
    '
)"