commit:     7f196bdb5ad3caa2f0a9c19b4e1d53c56141c8c0
Author:     Ross Charles Campbell <rossbridger.cc <AT> gmail <DOT> com>
AuthorDate: Fri Aug 21 22:24:02 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Sep  9 18:40:23 2020 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=7f196bdb

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.

Bug: https://bugs.gentoo.org/731650
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Ross Charles Campbell <rossbridger.cc <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/17203
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-qt/qtgui/qtgui-5.15.9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-qt/qtgui/qtgui-5.15.9999.ebuild 
b/dev-qt/qtgui/qtgui-5.15.9999.ebuild
index 23bc34eb..e6fed665 100644
--- a/dev-qt/qtgui/qtgui-5.15.9999.ebuild
+++ b/dev-qt/qtgui/qtgui-5.15.9999.ebuild
@@ -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:=

Reply via email to