commit:     1d2bfdabd35bfb7f79b06bb830b7b26e4281a29e
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 15 14:42:15 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jan 15 14:48:53 2022 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=1d2bfdab

kde-plasma/kinfocenter: Drop IUSE=pci and IUSE=X, add new optfeatures

Upstream commit
515dc22d8b499b57a8c9a8e9ac32d3712f30b46d
320f74133c666b6603c5cd03c7b6e4c4e99f0706

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 | 8 +++-----
 kde-plasma/kinfocenter/metadata.xml            | 1 -
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/kde-plasma/kinfocenter/kinfocenter-9999.ebuild 
b/kde-plasma/kinfocenter/kinfocenter-9999.ebuild
index 12c7f80351..5d01c537ce 100644
--- a/kde-plasma/kinfocenter/kinfocenter-9999.ebuild
+++ b/kde-plasma/kinfocenter/kinfocenter-9999.ebuild
@@ -16,7 +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 +pci usb X"
+IUSE="gles2-only ieee1394 usb"
 
 DEPEND="
        >=dev-qt/qtdbus-${QTMIN}:5
@@ -36,9 +36,7 @@ DEPEND="
        >=kde-frameworks/solid-${KFMIN}:5
        gles2-only? ( media-libs/mesa[gles2] )
        ieee1394? ( sys-libs/libraw1394 )
-       pci? ( sys-apps/pciutils )
        usb? ( virtual/libusb:1 )
-       X? ( x11-libs/libX11 )
 "
 RDEPEND="${DEPEND}
        >=dev-qt/qtquickcontrols2-${QTMIN}:5
@@ -50,9 +48,7 @@ RDEPEND="${DEPEND}
 src_configure() {
        local mycmakeargs=(
                $(cmake_use_find_package ieee1394 RAW1394)
-               $(cmake_use_find_package pci PCIUTILS)
                $(cmake_use_find_package usb USB1)
-               $(cmake_use_find_package X X11)
        )
 
        ecm_src_configure
@@ -78,5 +74,7 @@ pkg_postinst() {
        fi
        optfeature "Wayland information module" app-misc/wayland-utils
        optfeature "OpenGL information module" x11-apps/mesa-progs
+       optfeature "PCI devices information module" sys-apps/pciutil
+       optfeature "X Server information module" x11-apps/xdpyinfo
        ecm_pkg_postinst
 }

diff --git a/kde-plasma/kinfocenter/metadata.xml 
b/kde-plasma/kinfocenter/metadata.xml
index 427a90d002..a7a67f3066 100644
--- a/kde-plasma/kinfocenter/metadata.xml
+++ b/kde-plasma/kinfocenter/metadata.xml
@@ -9,7 +9,6 @@
                <bugs-to>https://bugs.kde.org/</bugs-to>
        </upstream>
        <use>
-               <flag name="pci">Show advanced PCI information</flag>
                <flag name="usb">Show USB device information</flag>
        </use>
 </pkgmetadata>

Reply via email to