From 9e3f339c4df45581756b1d9c77d06a7414bb33ff Mon Sep 17 00:00:00 2001 From: SpidFightFR Date: Thu, 1 Feb 2024 18:53:55 +0100 Subject: [PATCH] mesa: update to version 24.0.0. --- srcpkgs/mesa/patches/fix-meson-build.patch | 28 ---------------------- srcpkgs/mesa/template | 6 ++--- 2 files changed, 3 insertions(+), 31 deletions(-) delete mode 100644 srcpkgs/mesa/patches/fix-meson-build.patch diff --git a/srcpkgs/mesa/patches/fix-meson-build.patch b/srcpkgs/mesa/patches/fix-meson-build.patch deleted file mode 100644 index 01d203366000c..0000000000000 --- a/srcpkgs/mesa/patches/fix-meson-build.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/src/gallium/frontends/rusticl/meson.build b/src/gallium/frontends/rusticl/meson.build -index 4bde074..41df740 100644 ---- a/src/gallium/frontends/rusticl/meson.build -+++ b/src/gallium/frontends/rusticl/meson.build -@@ -342,6 +342,7 @@ rusticl_proc_macros = shared_library( - 'rusticl_proc_macros', - [rusticl_proc_macros_files], - rust_crate_type : 'proc-macro', -+ native: true, - rust_args : [ - rusticl_args, - ], -@@ -353,6 +354,7 @@ librusticl = static_library( - gnu_symbol_visibility : 'hidden', - rust_crate_type : 'staticlib', - rust_args : [ -+ '--extern', 'rusticl_proc_macros=' + meson.current_build_dir() / 'librusticl_proc_macros.so', - rusticl_args, - ], - link_with : [ -@@ -360,7 +362,6 @@ librusticl = static_library( - libmesa_rust_gen, - libmesa_rust_util, - rusticl_opencl_gen, -- rusticl_proc_macros, - ], - dependencies : [ - idep_rusticl_gen, diff --git a/srcpkgs/mesa/template b/srcpkgs/mesa/template index 05a35dce0d1a9..acc63a78ea6f7 100644 --- a/srcpkgs/mesa/template +++ b/srcpkgs/mesa/template @@ -1,6 +1,6 @@ # Template file for 'mesa' pkgname=mesa -version=23.3.2 +version=24.0.0 revision=1 build_style=meson #Disable LTO flag should be present, see https://gitlab.freedesktop.org/mesa/mesa/-/issues/6911 @@ -15,7 +15,7 @@ makedepends="elfutils-devel expat-devel libXdamage-devel libvdpau-devel libxshmfence-devel ncurses-devel zlib-devel $(vopt_if wayland 'wayland-devel wayland-protocols') llvm libsensors-devel libXrandr-devel libglvnd-devel libzstd-devel libxml2-devel lua53-devel - libarchive-devel" + libarchive-devel libdrm" depends="libglvnd" short_desc="Open source implementation of OpenGL and Vulkan" maintainer="Orphaned " @@ -23,7 +23,7 @@ license="MIT, LGPL-2.1-or-later" homepage="https://www.mesa3d.org/" changelog="https://docs.mesa3d.org/relnotes.html" distfiles="https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz" -checksum=3cfcb81fa16f89c56abe3855d2637d396ee4e03849b659000a6b8e5f57e69adc +checksum=dc7e8c077bc5884df95478263b34bdebb7e88e600689cb56fb07be2b8c304c36 build_options="wayland" build_options_default="wayland"