Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/mesa/PKGBUILD
blob: 5da3bb35b707d933f44a2482c398d3ac69ef0238 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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//
      /arch-meson/s/-D gallium-nine=true/-D gallium-nine=false/
      /arch-meson/s/-D osmesa=gallium/-D osmesa=classic/
      /arch-meson/s/dri-drivers=/dri-drivers=swrast,/
    '
  declare -f package_mesa | \
    sed '
      s@_install fakeinstall/usr/lib/d3d@#\0@g
      s@_install fakeinstall/usr/lib/libswrAVX.*@#\0@g
    '
)"