From 9663b63b4b4b5bb2f770bb2578c602dfd65d0687 Mon Sep 17 00:00:00 2001 From: Kostadin Shishmanov Date: Tue, 4 Mar 2025 13:22:19 +0200 Subject: [PATCH] media-libs/mesa: Drop USE=osmesa OSMesa support was dropped entirely with upstream commit 027ccd96 ("Remove osmesa"). Closes: https://github.com/gentoo/gentoo/pull/40884 Signed-off-by: Kostadin Shishmanov Signed-off-by: Matt Turner --- media-libs/mesa/mesa-9999.ebuild | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index bb150ee9738f2..510bd688e9c77 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -62,7 +62,7 @@ done IUSE="${IUSE_VIDEO_CARDS} cpu_flags_x86_sse2 d3d9 debug +llvm - lm-sensors opencl +opengl osmesa +proprietary-codecs + lm-sensors opencl +opengl +proprietary-codecs test unwind vaapi valgrind vdpau vulkan wayland +X xa +zstd" RESTRICT="!test? ( test )" @@ -193,7 +193,6 @@ BDEPEND=" QA_WX_LOAD=" x86? ( usr/lib/libgallium-*.so - usr/lib/libOSMesa.so.8.0.0 usr/lib/libGLX_mesa.so.0.0.0 )" @@ -263,10 +262,6 @@ pkg_pretend() { if ! use llvm; then use opencl && ewarn "Ignoring USE=opencl since USE does not contain llvm" fi - - if use osmesa && ! use llvm; then - ewarn "OSMesa will be slow without enabling USE=llvm" - fi } python_check_deps() { @@ -457,7 +452,6 @@ multilib_src_configure() { $(meson_feature opengl egl) $(meson_feature llvm) $(meson_feature lm-sensors lmsensors) - $(meson_use osmesa) $(meson_feature unwind libunwind) $(meson_feature zstd) $(meson_use cpu_flags_x86_sse2 sse2)