guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/347: gnu: Add kidletime-6.


From: guix-commits
Subject: 10/347: gnu: Add kidletime-6.
Date: Fri, 28 Jun 2024 09:57:11 -0400 (EDT)

z572 pushed a commit to branch kde-team
in repository guix.

commit 8a8242b2388cb398600331b41e280fe8e7dd8a32
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Wed Mar 6 00:15:11 2024 +0800

    gnu: Add kidletime-6.
    
    * gnu/packages/kde-frameworks.scm (kidletime-6): New variable.
    (kidletime): Inherit above.
    
    Change-Id: I904d5519d3e72852f4e0a5071afddfd6e343b273
---
 gnu/packages/kde-frameworks.scm | 43 ++++++++++++++++++++++++++++++++---------
 1 file changed, 34 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 8b4043dabf..3fe01d4c19 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -1068,8 +1068,41 @@ translation scripting.")
     (inputs
      (list qtbase-5 qtdeclarative-5 qtscript iso-codes))))
 
+(define-public kidletime-6
+  (package
+    (name "kidletime")
+    (version "6.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://kde/stable/frameworks/"
+                           (version-major+minor version) "/"
+                           name "-" version ".tar.xz"))
+       (sha256
+        (base32 "0fmgbx3n7fjcnbym82h6jbq2rsml9426ga9sxh5m5sfjkw95rn68"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     (list extra-cmake-modules pkg-config
+           ;; for wayland-scanner
+           wayland))
+    (inputs
+     (list qtbase
+           qtwayland
+           wayland
+           plasma-wayland-protocols
+           wayland-protocols
+           libxkbcommon))
+    (home-page "https://community.kde.org/Frameworks";)
+    (synopsis "Reporting of idle time of user and system")
+    (description "KIdleTime is a singleton reporting information on idle time.
+It is useful not only for finding out about the current idle time of the PC,
+but also for getting notified upon idle time events, such as custom timeouts,
+or user activity.")
+    (license (list license:gpl2+ license:lgpl2.1+))))
+
 (define-public kidletime
   (package
+    (inherit kidletime-6)
     (name "kidletime")
     (version "5.114.0")
     (source (origin
@@ -1081,19 +1114,11 @@ translation scripting.")
               (sha256
                (base32
                 "06sc9w54g4n7s5gjkqz08rgcz6v3pr0bdgx3gbjgzass6l4m8w7p"))))
-    (build-system cmake-build-system)
     (native-inputs
      (list extra-cmake-modules pkg-config))
     (inputs
      (list libxscrnsaver ; X-Screensaver based poller, fallback mode
-           qtbase-5 qtx11extras))
-    (home-page "https://community.kde.org/Frameworks";)
-    (synopsis "Reporting of idle time of user and system")
-    (description "KIdleTime is a singleton reporting information on idle time.
-It is useful not only for finding out about the current idle time of the PC,
-but also for getting notified upon idle time events, such as custom timeouts,
-or user activity.")
-    (license (list license:gpl2+ license:lgpl2.1+))))
+           qtbase-5 qtx11extras))))
 
 (define-public kirigami
   ;; Kirigami is listed as tier 1 framework, but optionally includes



reply via email to

[Prev in Thread] Current Thread [Next in Thread]