Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/kinfocenter/
Date: Sun, 25 Apr 2021 22:26:14
Message-Id: 1619363746.4832dff0676566d0127dfbc3f8a8b296b1e387ba.asturm@gentoo
1 commit: 4832dff0676566d0127dfbc3f8a8b296b1e387ba
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 25 15:14:30 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 25 15:15:46 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=4832dff0
7
8 kde-plasma/kinfocenter: Add IUSE=usb
9
10 Upstream commits:
11 d37d11a3cc05ae1821f29e5361c5a3b8a43ac8cb
12 d339c583a55e5080371c2a55f8bdf53719d1250b
13
14 Package-Manager: Portage-3.0.18, Repoman-3.0.3
15 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
16
17 kde-plasma/kinfocenter/kinfocenter-9999.ebuild | 4 +++-
18 kde-plasma/kinfocenter/metadata.xml | 1 +
19 2 files changed, 4 insertions(+), 1 deletion(-)
20
21 diff --git a/kde-plasma/kinfocenter/kinfocenter-9999.ebuild b/kde-plasma/kinfocenter/kinfocenter-9999.ebuild
22 index 9feafbe14f..cb6f6d892a 100644
23 --- a/kde-plasma/kinfocenter/kinfocenter-9999.ebuild
24 +++ b/kde-plasma/kinfocenter/kinfocenter-9999.ebuild
25 @@ -16,7 +16,7 @@ SRC_URI+=" https://www.gentoo.org/assets/img/logo/gentoo-3d-small.png -> glogo-s
26 LICENSE="GPL-2" # TODO: CHECK
27 SLOT="5"
28 KEYWORDS=""
29 -IUSE="gles2-only ieee1394 +opengl +pci wayland"
30 +IUSE="gles2-only ieee1394 +opengl +pci usb wayland"
31
32 REQUIRED_USE="wayland? ( || ( opengl gles2-only ) )"
33
34 @@ -46,6 +46,7 @@ DEPEND="
35 !gles2-only? ( media-libs/glu )
36 )
37 pci? ( sys-apps/pciutils )
38 + usb? ( virtual/libusb:1 )
39 wayland? (
40 >=kde-frameworks/kwayland-${KFMIN}:5
41 media-libs/mesa[egl]
42 @@ -62,6 +63,7 @@ src_configure() {
43 local mycmakeargs=(
44 $(cmake_use_find_package ieee1394 RAW1394)
45 $(cmake_use_find_package pci PCIUTILS)
46 + $(cmake_use_find_package usb USB1)
47 $(cmake_use_find_package wayland EGL)
48 $(cmake_use_find_package wayland KF5Wayland)
49 )
50
51 diff --git a/kde-plasma/kinfocenter/metadata.xml b/kde-plasma/kinfocenter/metadata.xml
52 index 25a8676da2..703fb9395a 100644
53 --- a/kde-plasma/kinfocenter/metadata.xml
54 +++ b/kde-plasma/kinfocenter/metadata.xml
55 @@ -7,5 +7,6 @@
56 </maintainer>
57 <use>
58 <flag name="pci">Show advanced PCI information</flag>
59 + <flag name="usb">Show USB device information</flag>
60 </use>
61 </pkgmetadata>