From a7ec6dcd8f9fea544c630cd3a4df1f6ddc8ed46e Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Mon, 3 Oct 2022 13:57:25 -0400 Subject: [PATCH] games-fps/yamagi-quake2: adjust opengl/gles deps Mesa is the vendor which could be something else (aka nvidia), and not much sense in checking directly. On the other hand, I needed to enable gles2 on libsdl2 (flag handles gles3 too) or it'd complain when I tried to use it, or at least with libsdl2[-opengl]. virtual/opengl is also mostly deprecated, so switch to libglvnd (this is not wired to use libOpenGL over libGL so still need [X]). Also add gles as a REQUIRED_USE option, I could USE="client gles -*" with libsdl2[-opengl,gles2] and run this with +set vid_renderer gles3. Signed-off-by: Ionen Wolkens --- games-fps/yamagi-quake2/yamagi-quake2-8.10.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/games-fps/yamagi-quake2/yamagi-quake2-8.10.ebuild b/games-fps/yamagi-quake2/yamagi-quake2-8.10.ebuild index 3ae5a8fc5ca06..4a4a792e4187d 100644 --- a/games-fps/yamagi-quake2/yamagi-quake2-8.10.ebuild +++ b/games-fps/yamagi-quake2/yamagi-quake2-8.10.ebuild @@ -27,17 +27,20 @@ KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" IUSE="+client ctf dedicated gles openal +opengl rogue softrender vulkan xatrix" REQUIRED_USE=" || ( client dedicated ) - client? ( || ( opengl softrender vulkan ) ) + client? ( || ( opengl gles softrender vulkan ) ) " RDEPEND=" client? ( media-libs/libsdl2[opengl?,video,vulkan?] net-misc/curl + gles? ( + media-libs/libglvnd + media-libs/libsdl2[gles2] + ) openal? ( media-libs/openal ) !openal? ( media-libs/libsdl2[sound] ) - opengl? ( virtual/opengl ) - gles? ( media-libs/mesa[gles2] ) + opengl? ( media-libs/libglvnd[X] ) ) " DEPEND="${RDEPEND}