commit:     fe74bb654693c0a0c23f730fefea943f9cbd6730
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 15 14:35:47 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jan 15 14:35:55 2022 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=fe74bb65

kde-plasma/kinfocenter: Drop IUSE=opengl, add new optfeature

Upstream commit 874d5d2fd646e0658c4ad76768948545bdb5b10c

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-plasma/kinfocenter/kinfocenter-9999.ebuild | 15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)

diff --git a/kde-plasma/kinfocenter/kinfocenter-9999.ebuild 
b/kde-plasma/kinfocenter/kinfocenter-9999.ebuild
index b26782b61c..12c7f80351 100644
--- a/kde-plasma/kinfocenter/kinfocenter-9999.ebuild
+++ b/kde-plasma/kinfocenter/kinfocenter-9999.ebuild
@@ -16,9 +16,7 @@ SRC_URI+=" 
https://www.gentoo.org/assets/img/logo/gentoo-3d-small.png -> glogo-s
 LICENSE="GPL-2" # TODO: CHECK
 SLOT="5"
 KEYWORDS=""
-IUSE="gles2-only ieee1394 +opengl +pci usb +X"
-
-REQUIRED_USE="opengl? ( X )"
+IUSE="gles2-only ieee1394 +pci usb X"
 
 DEPEND="
        >=dev-qt/qtdbus-${QTMIN}:5
@@ -38,10 +36,6 @@ DEPEND="
        >=kde-frameworks/solid-${KFMIN}:5
        gles2-only? ( media-libs/mesa[gles2] )
        ieee1394? ( sys-libs/libraw1394 )
-       opengl? (
-               media-libs/libglvnd[X?]
-               !gles2-only? ( media-libs/glu )
-       )
        pci? ( sys-apps/pciutils )
        usb? ( virtual/libusb:1 )
        X? ( x11-libs/libX11 )
@@ -61,12 +55,6 @@ src_configure() {
                $(cmake_use_find_package X X11)
        )
 
-       if has_version "dev-qt/qtgui[gles2-only]"; then
-               mycmakeargs+=( $(cmake_use_find_package gles2-only OpenGLES) )
-       else
-               mycmakeargs+=( $(cmake_use_find_package opengl OpenGL) )
-       fi
-
        ecm_src_configure
 }
 
@@ -89,5 +77,6 @@ pkg_postinst() {
                optfeature "advanced CPU information module" sys-apps/util-linux
        fi
        optfeature "Wayland information module" app-misc/wayland-utils
+       optfeature "OpenGL information module" x11-apps/mesa-progs
        ecm_pkg_postinst
 }

Reply via email to