diff --git a/x11/library/mesa/actions.py b/x11/library/mesa/actions.py
index d566d17251..433cf8736e 100644
--- a/x11/library/mesa/actions.py
+++ b/x11/library/mesa/actions.py
@@ -41,15 +41,16 @@ def setup():
-Dbuild-tests=false \
-Dosmesa=gallium \
-Dswr-arches=avx,avx2 \
+ -Dgallium-opencl=icd \
" % ((libdir, ) * 2)
if get.buildTYPE() == "emul32":
- options += " -Dlmsensors=false"
+ options += " -Dlmsensors=false --native-file crossfile.ini -Dllvm_libdir=/usr/lib32"
shelltools.export("CC", "gcc -m32")
shelltools.export("CXX", "g++ -m32")
shelltools.export("PKG_CONFIG_PATH","/usr/lib32/pkgconfig")
shelltools.export("LLVM_CONFIG","/usr/bin/llvm-config-32")
- else: options += " -Dgallium-opencl=icd -Dgallium-omx=bellagio -Dlmsensors=true"
+ else: options += " -Dgallium-omx=bellagio -Dlmsensors=true"
mesontools.configure(options)
diff --git a/x11/library/mesa/files/crossfile.ini b/x11/library/mesa/files/crossfile.ini
new file mode 100644
index 0000000000..63b8fc8a7e
--- /dev/null
+++ b/x11/library/mesa/files/crossfile.ini
@@ -0,0 +1,2 @@
+[binaries]
+llvm-config = '/usr/bin/llvm-config-32'
diff --git a/x11/library/mesa/pspec.xml b/x11/library/mesa/pspec.xml
index c248810c2a..8229411153 100644
--- a/x11/library/mesa/pspec.xml
+++ b/x11/library/mesa/pspec.xml
@@ -13,7 +13,7 @@
app:console
Mesa graphics libraries and utilities
Mesa is an open-source implementation of the OpenGL specification - a system for rendering interactive 3D graphics.
- https://mesa.freedesktop.org/archive/mesa-19.3.5.tar.xz
+ https://mesa.freedesktop.org/archive/mesa-20.0.2.tar.xz
meson
zlib-devel
@@ -55,6 +55,9 @@
libclc-devel
lm_sensors-devel
+
+ crossfile.ini
+
@@ -164,6 +167,7 @@
libXrandr-32bit
libglvnd-32bit
vulkan-32bit
+ libclc-32bit
zlib-32bit
@@ -188,7 +192,9 @@
libdrm-nouveau-32bit
wayland-32bit
vulkan-32bit
+ opencl-icd-32bit
libglvnd-32bit
+ libclc-32bit
libunwind-32bit
mesa
llvm-32bit
@@ -200,19 +206,12 @@
-
- 2020-03-10
- 19.3.5
- Version bump.
- Mustafa Cinasal
- muscnsl@gmail.com
-
- 2020-01-11
- 19.3.2
+ 2020-03-27
+ 20.0.2
Version bump.
- Mustafa Cinasal
- muscnsl@gmail.com
+ İdris Kalp
+ idriskalp@gmail.com
2020-01-03