index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | extra/mesa/PKGBUILD | 29 |
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 |