Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/mesa/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mesa/PKGBUILD')
-rw-r--r--extra/mesa/PKGBUILD17
1 files changed, 15 insertions, 2 deletions
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