mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-libs/mesa: bump meson and bindgen deps for Rust-related USE
Due to a bug in Meson < 1.7.0, it is possible for bindgen to generate code that is not compatible with the compiler in use. This has the potential to cause build failures when e.g. edition 2024 bindings are generated for a compiler that only supports edition 2021 code. A patch has been submitted upstream to enforce this dependency in the Meson build scripts, however we can just enforce dependencies on appropriate bindgen and Meson versions if the USE flags that generate bindings are selected. Bug: https://bugs.gentoo.org/946913 Bug: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12680 Signed-off-by: Matt Jolly <kangie@gentoo.org> Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
@@ -160,8 +160,9 @@ DEPEND="${RDEPEND}
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
opencl? (
|
||||
>=dev-build/meson-1.7.0
|
||||
>=dev-util/bindgen-0.71.0
|
||||
${RUST_DEPEND}
|
||||
>=dev-util/bindgen-0.58.0
|
||||
)
|
||||
>=dev-build/meson-1.4.1
|
||||
app-alternatives/yacc
|
||||
@@ -180,7 +181,8 @@ BDEPEND="
|
||||
vulkan? (
|
||||
dev-util/glslang
|
||||
video_cards_nvk? (
|
||||
>=dev-util/bindgen-0.68.1
|
||||
>=dev-build/meson-1.7.0
|
||||
>=dev-util/bindgen-0.71.0
|
||||
>=dev-util/cbindgen-0.26.0
|
||||
${RUST_DEPEND}
|
||||
)
|
||||
|
||||
@@ -160,8 +160,9 @@ DEPEND="${RDEPEND}
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
opencl? (
|
||||
>=dev-build/meson-1.7.0
|
||||
>=dev-util/bindgen-0.71.0
|
||||
${RUST_DEPEND}
|
||||
>=dev-util/bindgen-0.58.0
|
||||
)
|
||||
>=dev-build/meson-1.4.1
|
||||
app-alternatives/yacc
|
||||
@@ -180,7 +181,8 @@ BDEPEND="
|
||||
vulkan? (
|
||||
dev-util/glslang
|
||||
video_cards_nvk? (
|
||||
>=dev-util/bindgen-0.68.1
|
||||
>=dev-build/meson-1.7.0
|
||||
>=dev-util/bindgen-0.71.0
|
||||
>=dev-util/cbindgen-0.26.0
|
||||
${RUST_DEPEND}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user