From 5d1a76cbcb3285d1e886287e55a1ee81ab997e63 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 3 Mar 2023 09:03:47 +0100 Subject: extra/mesa: readded libclc and removed rust stuff (for now on i686/pentium4, forever likely on i486) --- extra/mesa/PKGBUILD | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) (limited to 'extra') diff --git a/extra/mesa/PKGBUILD b/extra/mesa/PKGBUILD index fee4b17d..635939e1 100644 --- a/extra/mesa/PKGBUILD +++ b/extra/mesa/PKGBUILD @@ -23,17 +23,6 @@ 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 @@ -70,3 +59,21 @@ if [ "$CARCH" = 'i486' ]; then ' )" fi + +# disable rust stuff on i486 (disable for i686/pentium4 too for now as +# rust is broken there and cannot be rebuilt) +#if [ "$CARCH" = 'i486' ]; then + eval "$( + declare -f build | \ + sed ' + s/-D gallium-rusticl=true/-D gallium-rusticl=false/g + s/-D rust_std=\S\+// + ' + declare -f package_vulkan-virtio | \ + sed ' + /.*virtio_icd.*json.*/d + ' + )" + makedepends=(${makedepends[@]//rust-bindgen/}) + makedepends=(${makedepends[@]//rust/}) +#fi -- cgit v1.2.3-70-g09d2