From 5059a3391edea1e164576d9873f6e7cbee3a411d Mon Sep 17 00:00:00 2001 From: SpidFightFR Date: Thu, 15 Feb 2024 13:38:22 +0100 Subject: [PATCH] mesa: update to version 24.0.1. --- srcpkgs/libdrm/template | 4 ++-- srcpkgs/mesa/patches/fix-meson-build.patch | 28 ---------------------- srcpkgs/mesa/template | 6 ++--- 3 files changed, 5 insertions(+), 33 deletions(-) delete mode 100644 srcpkgs/mesa/patches/fix-meson-build.patch diff --git a/srcpkgs/libdrm/template b/srcpkgs/libdrm/template index 5c7578cef7450..ffbd8bcab7195 100644 --- a/srcpkgs/libdrm/template +++ b/srcpkgs/libdrm/template @@ -1,6 +1,6 @@ # Template file for 'libdrm' pkgname=libdrm -version=2.4.115 +version=2.4.119 revision=1 build_style=meson configure_args="-Dudev=true -Dvalgrind=disabled -Dinstall-test-programs=true" @@ -11,7 +11,7 @@ maintainer="Orphaned " license="MIT" homepage="https://dri.freedesktop.org/" distfiles="https://gitlab.freedesktop.org/mesa/drm/-/archive/libdrm-${version}/drm-libdrm-${version}.tar.gz" -checksum=fd8b7c6e4e40d13c32ab67ace2cb6c71e08c9ca53124ff33ccadd74f604117e3 +checksum=6e798976e175f1f6e83706681644d0ce0527855b95a471479875ae3c1ef9870a case "$XBPS_TARGET_MACHINE" in aarch64*) configure_args+=" -Dvc4=enabled";; 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 8613d434f71b2..949a4ed3ffc17 100644 --- a/srcpkgs/mesa/template +++ b/srcpkgs/mesa/template @@ -1,7 +1,7 @@ # Template file for 'mesa' pkgname=mesa -version=23.3.5 -revision=3 +version=24.0.1 +revision=1 build_style=meson _llvmver=17 #Disable LTO flag should be present, see https://gitlab.freedesktop.org/mesa/mesa/-/issues/6911 @@ -24,7 +24,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=69ccb1278641ff5bad71ca0f866188aeb1a92aadc4dbb9d35f50aebec5b8b50f +checksum=f387192b08c471c545590dd12230a2a343244804b5fe866fec6aea02eab57613 build_options="wayland" build_options_default="wayland"