aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPetr Hodina <phodina@protonmail.com>2022-09-30 21:19:52 +0200
committerMarius Bakke <marius@gnu.org>2022-11-21 22:01:12 +0100
commit12f8ea204a4914d4b98702cda0495d6e3940cdad (patch)
treeed8b0bde6dc49ee6f5ab5091938e7d87231fefc0 /gnu
parent227a3a1d712bf50289270d32a642ef1c9d3aab03 (diff)
downloadguix-12f8ea204a4914d4b98702cda0495d6e3940cdad.tar.gz
guix-12f8ea204a4914d4b98702cda0495d6e3940cdad.zip
gnu: Add kinfocenter.
* gnu/packages/kde-plasma.scm (kinfocenter): New variable. Signed-off-by: Marius Bakke <marius@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/kde-plasma.scm57
1 files changed, 57 insertions, 0 deletions
diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index a1e03f240f..d229b6e7ea 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -52,6 +52,7 @@
#:use-module (gnu packages kde-frameworks)
#:use-module (gnu packages libcanberra)
#:use-module (gnu packages linux)
+ #:use-module (gnu packages libusb)
#:use-module (gnu packages networking)
#:use-module (gnu packages maths)
#:use-module (gnu packages multiprecision)
@@ -63,6 +64,8 @@
#:use-module (gnu packages package-management) ; flatpak
#:use-module (gnu packages video)
#:use-module (gnu packages vpn)
+ #:use-module (gnu packages vulkan)
+ #:use-module (gnu packages textutils)
#:use-module (gnu packages qt)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages xorg)
@@ -388,6 +391,60 @@ manager which re-parents a Client window to a window decoration frame.")
(home-page "https://invent.kde.org/plasma/kgamma5")
(license license:gpl2+)))
+(define-public kinfocenter
+ (package
+ (name "kinfocenter")
+ (version "5.25.5")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://kde/stable/plasma/" version
+ "/" name "-" version ".tar.xz"))
+ (sha256
+ (base32
+ "0zvki76yghkn158s7hb5g9drz7xaqxkmp2747404n2n0gmnmsdif"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-systemsettings-symlink
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "CMakeLists.txt"
+ (("\\$\\{KDE_INSTALL_FULL_BINDIR\\}/systemsettings5")
+ (search-input-file inputs
+ "/bin/systemsettings5"))))))))
+ (native-inputs (list aha extra-cmake-modules kdoctools pkg-config))
+ ;; * vulkaninfo
+ ;; Wayland KCM
+ (inputs (list dmidecode
+ ;; fwupdmgr ;; Packaged on master branch already
+ kconfig
+ kconfigwidgets
+ kcoreaddons
+ kirigami
+ ki18n
+ kcmutils
+ kio
+ kservice
+ libusb
+ kwidgetsaddons
+ kdeclarative
+ kpackage
+ kwayland
+ mesa-utils
+ pciutils
+ plasma-framework
+ qtbase-5
+ solid
+ util-linux
+ vulkan-tools
+ wayland-utils
+ xdpyinfo))
+ (propagated-inputs (list system-settings))
+ (home-page "https://invent.kde.org/plasma/kinfocenter")
+ (synopsis "View information about computer's hardware")
+ (description "This package provides tool to view information about
+computer's hardware.")
+ (license (list license:gpl2 license:gpl3))))
+
(define-public kmenuedit
(package
(name "kmenuedit")