From 81e4cd948a9f02677fca2c3a0a5b1e7fc6706741 Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Fri, 26 Aug 2022 07:04:39 +0200 Subject: [PATCH 67/81] gnu: Add kinfocenter. * gnu/packages/kde-plasma.scm (kinfocenter): New variable. diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm index c9645454df..d4a397cae2 100644 --- a/gnu/packages/kde-plasma.scm +++ b/gnu/packages/kde-plasma.scm @@ -59,6 +59,8 @@ (define-module (gnu packages kde-plasma) #:use-module (gnu packages python) #: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) @@ -343,6 +345,66 @@ (define-public kdecoration manager which re-parents a Client window to a window decoration frame.") (license license:lgpl3+))) +(define-public kinfocenter + (package + (name "kinfocenter") + (version "5.25.4") + (source (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/plasma/" + version + "/" + name + "-" + version + ".tar.xz")) + (sha256 + (base32 + "0ns2xsqghglg4ikq7w556y1kh20gs677km1vs0paw50xhi7jzbd2")))) + (build-system cmake-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'fix-systemsettings-symlink + (lambda* _ + (substitute* "CMakeLists.txt" + (("\\$\\{KDE_INSTALL_FULL_BINDIR\\}/systemsettings5") + (string-append #$system-settings + "/bin/systemsettings5")))))))) + (native-inputs (list aha extra-cmake-modules kdoctools pkg-config)) + ;; * vulkaninfo + ;; * wayland-info, + ;; Wayland KCM + ;; * eglinfo + (inputs (list dmidecode + ;; fwupdmgr + kconfig + kconfigwidgets + kcoreaddons + kirigami + ki18n + kcmutils + kio + kservice + solid + kwidgetsaddons + kdeclarative + kpackage + kwayland + mesa-utils + pciutils + solid + util-linux + vulkan-tools + plasma-framework + qtbase-5 + 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") -- 2.37.2