diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-06-16 17:15:26 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2018-06-16 17:15:26 +0200 |
commit | 3ed8c84f17bf04c813ffac42e844096151c96ab8 (patch) | |
tree | 8b70c6e05dca513a62abd4fe9fd6bb566cd530c5 /extra/mesa/PKGBUILD | |
parent | d35823d979132853faee689550e3ccec644f5bed (diff) | |
download | packages-3ed8c84f17bf04c813ffac42e844096151c96ab8.tar.xz |
extra/mesa: another minimal patch against SWR/AVX, should work now
Diffstat (limited to 'extra/mesa/PKGBUILD')
-rw-r--r-- | extra/mesa/PKGBUILD | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/extra/mesa/PKGBUILD b/extra/mesa/PKGBUILD new file mode 100644 index 00000000..380cad2f --- /dev/null +++ b/extra/mesa/PKGBUILD @@ -0,0 +1,14 @@ +# 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=.*\),swrast,swr/\1,swrast/ + /arch-meson/s/\(-D swr-arches=\)avx,avx2/\1/ + ' + declare -f package_mesa | \ + sed ' + s@_install fakeinstall/usr/lib/libswrAVX.*@#\0@g + ' +)" |