commit:     4832dff0676566d0127dfbc3f8a8b296b1e387ba
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 25 15:14:30 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Apr 25 15:15:46 2021 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=4832dff0

kde-plasma/kinfocenter: Add IUSE=usb

Upstream commits:
d37d11a3cc05ae1821f29e5361c5a3b8a43ac8cb
d339c583a55e5080371c2a55f8bdf53719d1250b

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

 kde-plasma/kinfocenter/kinfocenter-9999.ebuild | 4 +++-
 kde-plasma/kinfocenter/metadata.xml            | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/kde-plasma/kinfocenter/kinfocenter-9999.ebuild 
b/kde-plasma/kinfocenter/kinfocenter-9999.ebuild
index 9feafbe14f..cb6f6d892a 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 +opengl +pci wayland"
+IUSE="gles2-only ieee1394 +opengl +pci usb wayland"
 
 REQUIRED_USE="wayland? ( || ( opengl gles2-only ) )"
 
@@ -46,6 +46,7 @@ DEPEND="
                !gles2-only? ( media-libs/glu )
        )
        pci? ( sys-apps/pciutils )
+       usb? ( virtual/libusb:1 )
        wayland? (
                >=kde-frameworks/kwayland-${KFMIN}:5
                media-libs/mesa[egl]
@@ -62,6 +63,7 @@ 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 wayland EGL)
                $(cmake_use_find_package wayland KF5Wayland)
        )

diff --git a/kde-plasma/kinfocenter/metadata.xml 
b/kde-plasma/kinfocenter/metadata.xml
index 25a8676da2..703fb9395a 100644
--- a/kde-plasma/kinfocenter/metadata.xml
+++ b/kde-plasma/kinfocenter/metadata.xml
@@ -7,5 +7,6 @@
        </maintainer>
        <use>
                <flag name="pci">Show advanced PCI information</flag>
+               <flag name="usb">Show USB device information</flag>
        </use>
 </pkgmetadata>

Reply via email to