mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
mesa: update to version 23.2.1.
This commit is contained in:
parent
8afa8410e2
commit
a154b47f3b
2 changed files with 30 additions and 5 deletions
28
srcpkgs/mesa/patches/fix-meson-build.patch
Normal file
28
srcpkgs/mesa/patches/fix-meson-build.patch
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
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,
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'mesa'
|
# Template file for 'mesa'
|
||||||
pkgname=mesa
|
pkgname=mesa
|
||||||
version=23.1.3
|
version=23.2.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=meson
|
build_style=meson
|
||||||
#Disable LTO flag should be present, see https://gitlab.freedesktop.org/mesa/mesa/-/issues/6911
|
#Disable LTO flag should be present, see https://gitlab.freedesktop.org/mesa/mesa/-/issues/6911
|
||||||
|
@ -23,7 +23,7 @@ license="MIT, LGPL-2.1-or-later"
|
||||||
homepage="https://www.mesa3d.org/"
|
homepage="https://www.mesa3d.org/"
|
||||||
changelog="https://docs.mesa3d.org/relnotes.html"
|
changelog="https://docs.mesa3d.org/relnotes.html"
|
||||||
distfiles="https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz"
|
distfiles="https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz"
|
||||||
checksum=2f6d7381bc10fbd2d6263ad1022785b8b511046c1a904162f8f7da18eea8aed9
|
checksum=64de0616fc2d801f929ab1ac2a4f16b3e2783c4309a724c8a259b20df8bbc1cc
|
||||||
|
|
||||||
build_options="wayland"
|
build_options="wayland"
|
||||||
build_options_default="wayland"
|
build_options_default="wayland"
|
||||||
|
@ -187,9 +187,6 @@ post_configure() {
|
||||||
find -iname "*.ninja" -exec sed -i "{}" \
|
find -iname "*.ninja" -exec sed -i "{}" \
|
||||||
-e "/rustc/s; --sysroot ${XBPS_CROSS_BASE}/usr;;g" \
|
-e "/rustc/s; --sysroot ${XBPS_CROSS_BASE}/usr;;g" \
|
||||||
-e "s; /usr/lib/; ${XBPS_CROSS_BASE}/usr/lib/;g" \
|
-e "s; /usr/lib/; ${XBPS_CROSS_BASE}/usr/lib/;g" \
|
||||||
-e "s;-L/usr/lib;-L${XBPS_CROSS_BASE}/usr/lib;g" \
|
|
||||||
-e "s;-I/usr/include;-I${XBPS_CROSS_BASE}/usr/include;g" \
|
|
||||||
-e "s;-isystem;-I${XBPS_CROSS_BASE};g" \
|
|
||||||
\;
|
\;
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue