From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1358132-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id B3F35158087
	for <garchives@archives.gentoo.org>; Sat, 15 Jan 2022 15:06:20 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 56C6C2BC02D;
	Sat, 15 Jan 2022 15:06:19 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 2A4812BC025
	for <gentoo-commits@lists.gentoo.org>; Sat, 15 Jan 2022 15:06:19 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id EF964342DAF
	for <gentoo-commits@lists.gentoo.org>; Sat, 15 Jan 2022 15:06:17 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 8077A29B
	for <gentoo-commits@lists.gentoo.org>; Sat, 15 Jan 2022 15:06:16 +0000 (UTC)
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" <asturm@gentoo.org>
Message-ID: <1642258133.1d2bfdabd35bfb7f79b06bb830b7b26e4281a29e.asturm@gentoo>
Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/kinfocenter/
X-VCS-Repository: proj/kde
X-VCS-Files: kde-plasma/kinfocenter/kinfocenter-9999.ebuild kde-plasma/kinfocenter/metadata.xml
X-VCS-Directories: kde-plasma/kinfocenter/
X-VCS-Committer: asturm
X-VCS-Committer-Name: Andreas Sturmlechner
X-VCS-Revision: 1d2bfdabd35bfb7f79b06bb830b7b26e4281a29e
X-VCS-Branch: master
Date: Sat, 15 Jan 2022 15:06:16 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: f4099e6f-a5f0-42e8-9540-56d2c56b8864
X-Archives-Hash: 196448be7d8459fbec75a1f86b076763

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>