commit:     534e902b8e9934b972aba4522bbde81c467ccfa1
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  6 16:34:38 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Aug 17 07:36:37 2025 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=534e902b

kde-plasma/kinfocenter: Always show optfeature info

Even at the risk of elog readers' wrath.

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

 .../kinfocenter/kinfocenter-6.4.49.9999.ebuild     | 33 ++++++++++------------
 kde-plasma/kinfocenter/kinfocenter-9999.ebuild     | 33 ++++++++++------------
 2 files changed, 30 insertions(+), 36 deletions(-)

diff --git a/kde-plasma/kinfocenter/kinfocenter-6.4.49.9999.ebuild 
b/kde-plasma/kinfocenter/kinfocenter-6.4.49.9999.ebuild
index 07d03bfd29..4f870fbde1 100644
--- a/kde-plasma/kinfocenter/kinfocenter-6.4.49.9999.ebuild
+++ b/kde-plasma/kinfocenter/kinfocenter-6.4.49.9999.ebuild
@@ -67,25 +67,22 @@ 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_header "Query firmware/hardware info:"
-       fi
+       optfeature_header "Query network filesystem info:"
+       optfeature "NFS information module" net-fs/nfs-utils
+       optfeature "Samba status information module" net-fs/samba
+
+       optfeature_header "Query firmware/hardware info:"
        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 "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:"
        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 "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
+
        xdg_pkg_postinst
 }

diff --git a/kde-plasma/kinfocenter/kinfocenter-9999.ebuild 
b/kde-plasma/kinfocenter/kinfocenter-9999.ebuild
index 2669016c82..f2a92cbb2d 100644
--- a/kde-plasma/kinfocenter/kinfocenter-9999.ebuild
+++ b/kde-plasma/kinfocenter/kinfocenter-9999.ebuild
@@ -67,25 +67,22 @@ 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_header "Query firmware/hardware info:"
-       fi
+       optfeature_header "Query network filesystem info:"
+       optfeature "NFS information module" net-fs/nfs-utils
+       optfeature "Samba status information module" net-fs/samba
+
+       optfeature_header "Query firmware/hardware info:"
        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 "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:"
        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 "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
+
        xdg_pkg_postinst
 }

Reply via email to