From 9f73e226a52af44a97d4a1a1e80cc66907207a0b Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 11 Jan 2021 20:55:43 +0100 Subject: extra/mesa: disable almost(?) everything to make it build on i486 --- extra/mesa/PKGBUILD | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'extra') diff --git a/extra/mesa/PKGBUILD b/extra/mesa/PKGBUILD index df6a511e..d00f76ac 100644 --- a/extra/mesa/PKGBUILD +++ b/extra/mesa/PKGBUILD @@ -19,6 +19,12 @@ if [ "$CARCH" = 'i486' ]; then eval "$( declare -f build | \ sed ' + s/\(-D gallium-drivers=\)\S\+ /\1 / + s/-D gallium-omx=bellagio // + s/-D gallium-opencl=\S\+ // + s/-D osmesa=gallium // + s/\(-D gallium-\S\+=\)enabled /\1disabled /g + s/\(-D gallium-nine=\)true /\1false /g s/\(-D vulkan-drivers=\)\S\+ /\1 / s/\(-D dri-drivers=\(\S\+,\)\?\)i915,/\1/ s/\(-D dri-drivers=\(\S\+,\)\?\)i965,/\1/ @@ -26,12 +32,19 @@ if [ "$CARCH" = 'i486' ]; then declare -f package_mesa | \ sed ' \,rm .*/vulkan;,d + \,bellagio,d + \,fakeinstall/usr/lib/d3d,d + \,fakeinstall/usr/lib/libOSMesa\.so\*,d + \,fakeinstall/usr/lib/libxatracker\.so\*,d ' )" pkgname=( $( - printf '%s\n' "${pkgname[@]}" | \ - grep -v '^vulkan-' + printf '%s\n' "${pkgname[@]}" \ + | grep -v '^vulkan-' \ + | grep -vxF opencl-mesa \ + | grep -vxF libva-mesa-driver \ + | grep -vxF mesa-vdpau ) ) fi -- cgit v1.2.3-70-g09d2