summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2025-08-06 18:34:38 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2025-08-17 09:36:37 +0200
commit534e902b8e9934b972aba4522bbde81c467ccfa1 (patch)
treeaed6ab0e188df34b6843800ea52e4b6d2c3232be
parent843c7502bc9203c3fa433d067149e46ee713500f (diff)
downloadkde-534e902b8e9934b972aba4522bbde81c467ccfa1.tar.gz
kde-534e902b8e9934b972aba4522bbde81c467ccfa1.tar.bz2
kde-534e902b8e9934b972aba4522bbde81c467ccfa1.zip
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@gentoo.org>
-rw-r--r--kde-plasma/kinfocenter/kinfocenter-6.4.49.9999.ebuild33
-rw-r--r--kde-plasma/kinfocenter/kinfocenter-9999.ebuild33
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 07d03bfd293..4f870fbde12 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 2669016c822..f2a92cbb2d0 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
}