Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/mesa/PKGBUILD17
1 files changed, 17 insertions, 0 deletions
diff --git a/extra/mesa/PKGBUILD b/extra/mesa/PKGBUILD
index b99acf24..fee4b17d 100644
--- a/extra/mesa/PKGBUILD
+++ b/extra/mesa/PKGBUILD
@@ -23,9 +23,21 @@ if [ "$CARCH" == 'i486' ]; then
)"
fi
+# disable libclc
+makedepends=(${makedepends[@]//libclc/})
+eval "$(
+ declare -f package_opencl-mesa \
+ | sed '
+ /depends=/ {
+ s/'"'"'libclc'"'"'//
+ }
+ '
+)"
+
# See https://bugs.freedesktop.org/show_bug.cgi?id=93089
# do not build/package vulkan on i486
# do not build i915,i965 on i486
+# libclc doesn't build at all on 32-bit
if [ "$CARCH" = 'i486' ]; then
eval "$(
declare -f build | \
@@ -51,5 +63,10 @@ if [ "$CARCH" = 'i486' ]; then
3 i if false; then
$ i fi
'
+ declare -f package_opencl-mesa | \
+ sed '
+ 3 i if false; then
+ $ i fi
+ '
)"
fi