dev-qt/qtgui: depend on virtual/opengl only when gles2-only is off

The PR removes the virtual/opengl dependency when the gles2-only flag is enabled
to avoid pulling in unnecessary X11 dependencies on pure wayland environment.

Closes: https://bugs.gentoo.org/731650
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Ross Charles Campbell <rossbridger.cc@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17203
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Ross Charles Campbell
2020-08-22 20:52:22 +02:00
committed by Andreas Sturmlechner
parent 24e777d68c
commit 6fb2fd0cde
+1 -1
View File
@@ -34,7 +34,6 @@ RDEPEND="
>=media-libs/freetype-2.6.1:2
>=media-libs/harfbuzz-1.6.0:=
sys-libs/zlib:=
virtual/opengl
dbus? ( ~dev-qt/qtdbus-${PV} )
egl? ( media-libs/mesa[egl] )
eglfs? (
@@ -43,6 +42,7 @@ RDEPEND="
)
evdev? ( sys-libs/mtdev )
gles2-only? ( media-libs/mesa[gles2] )
!gles2-only? ( virtual/opengl )
jpeg? ( virtual/jpeg:0 )
libinput? (
dev-libs/libinput:=