commit: a7ec6dcd8f9fea544c630cd3a4df1f6ddc8ed46e
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 3 17:57:25 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Oct 3 18:34:25 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7ec6dcd
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 <ionen <AT> gentoo.org>
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 3ae5a8fc5ca0..4a4a792e4187 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}