commit:     9663b63b4b4b5bb2f770bb2578c602dfd65d0687
Author:     Kostadin Shishmanov <kostadinshishmanov <AT> protonmail <DOT> com>
AuthorDate: Tue Mar  4 11:22:19 2025 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Apr 24 03:00:36 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9663b63b

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 <kostadinshishmanov <AT> protonmail.com>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 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 bb150ee9738f..510bd688e9c7 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)

Reply via email to