commit:     92f560e2949f5c3e1df362878f143885d6d15b4f
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 10 14:03:40 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Aug 11 06:53:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92f560e2

kde-plasma/kinfocenter: Add sys-apps/dmidecode and dev-util/clinfo opts

Closes: https://bugs.gentoo.org/923821
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../kinfocenter/kinfocenter-5.27.11-r1.ebuild       | 21 +++++++++++++++------
 kde-plasma/kinfocenter/kinfocenter-6.1.4.ebuild     | 21 +++++++++++++++------
 2 files changed, 30 insertions(+), 12 deletions(-)

diff --git a/kde-plasma/kinfocenter/kinfocenter-5.27.11-r1.ebuild 
b/kde-plasma/kinfocenter/kinfocenter-5.27.11-r1.ebuild
index eee4b3aa6454..c6f477ccd032 100644
--- a/kde-plasma/kinfocenter/kinfocenter-5.27.11-r1.ebuild
+++ b/kde-plasma/kinfocenter/kinfocenter-5.27.11-r1.ebuild
@@ -76,15 +76,24 @@ src_install() {
 
 pkg_postinst() {
        if [[ -z "${REPLACING_VERSIONS}" ]]; then
+               optfeature_header "Query network filesystem info:"
                optfeature "NFS information module" net-fs/nfs-utils
                optfeature "Samba status information module" net-fs/samba
-               optfeature "Vulkan graphics API information module" 
dev-util/vulkan-tools
+               optfeature_header "Query firmware/hardware info:"
+       fi
+       optfeature "System DMI table readout" sys-apps/dmidecode
+       if [[ -z "${REPLACING_VERSIONS}" ]]; then
+               optfeature "Firmware security module" "app-text/aha 
sys-apps/fwupd"
+               optfeature "PCI devices information module" sys-apps/pciutils
                optfeature "advanced CPU information module" sys-apps/util-linux
+               optfeature_header "Query GPU/graphics support info:"
+       fi
+       optfeature "OpenCL information module" dev-util/clinfo
+       if [[ -z "${REPLACING_VERSIONS}" ]]; then
+               optfeature "OpenGL information module" x11-apps/mesa-progs
+               optfeature "Vulkan graphics API information module" 
dev-util/vulkan-tools
+               optfeature "Wayland information module" app-misc/wayland-utils
+               optfeature "X Server information module" x11-apps/xdpyinfo
        fi
-       optfeature "Wayland information module" app-misc/wayland-utils
-       optfeature "Firmware security module" "app-text/aha sys-apps/fwupd"
-       optfeature "OpenGL information module" x11-apps/mesa-progs
-       optfeature "PCI devices information module" sys-apps/pciutils
-       optfeature "X Server information module" x11-apps/xdpyinfo
        ecm_pkg_postinst
 }

diff --git a/kde-plasma/kinfocenter/kinfocenter-6.1.4.ebuild 
b/kde-plasma/kinfocenter/kinfocenter-6.1.4.ebuild
index 63e2962238cb..3bf0f0d92113 100644
--- a/kde-plasma/kinfocenter/kinfocenter-6.1.4.ebuild
+++ b/kde-plasma/kinfocenter/kinfocenter-6.1.4.ebuild
@@ -73,15 +73,24 @@ src_install() {
 
 pkg_postinst() {
        if [[ -z "${REPLACING_VERSIONS}" ]]; then
+               optfeature_header "Query network filesystem info:"
                optfeature "NFS information module" net-fs/nfs-utils
                optfeature "Samba status information module" net-fs/samba
-               optfeature "Vulkan graphics API information module" 
dev-util/vulkan-tools
+               optfeature_header "Query firmware/hardware info:"
+       fi
+       optfeature "System DMI table readout" sys-apps/dmidecode
+       if [[ -z "${REPLACING_VERSIONS}" ]]; then
+               optfeature "Firmware security module" "app-text/aha 
sys-apps/fwupd"
+               optfeature "PCI devices information module" sys-apps/pciutils
                optfeature "advanced CPU information module" sys-apps/util-linux
+               optfeature_header "Query GPU/graphics support info:"
+       fi
+       optfeature "OpenCL information module" dev-util/clinfo
+       if [[ -z "${REPLACING_VERSIONS}" ]]; then
+               optfeature "OpenGL information module" x11-apps/mesa-progs
+               optfeature "Vulkan graphics API information module" 
dev-util/vulkan-tools
+               optfeature "Wayland information module" app-misc/wayland-utils
+               optfeature "X Server information module" x11-apps/xdpyinfo
        fi
-       optfeature "Wayland information module" app-misc/wayland-utils
-       optfeature "Firmware security module" "app-text/aha sys-apps/fwupd"
-       optfeature "OpenGL information module" x11-apps/mesa-progs
-       optfeature "PCI devices information module" sys-apps/pciutils
-       optfeature "X Server information module" x11-apps/xdpyinfo
        ecm_pkg_postinst
 }

Reply via email to