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@gentoo.org>
This commit is contained in:
parent
63f249dda9
commit
a7ec6dcd8f
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue