From 3ed8c84f17bf04c813ffac42e844096151c96ab8 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 16 Jun 2018 17:15:26 +0200 Subject: extra/mesa: another minimal patch against SWR/AVX, should work now --- extra/mesa/PKGBUILD | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 extra/mesa/PKGBUILD (limited to 'extra/mesa/PKGBUILD') 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 + ' +)" -- cgit v1.2.3-54-g00ecf