guix-commits
[Top][All Lists]
Advanced

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

26/347: gnu: Add solid-6.


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

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

commit f8f19bd5eae2fa11ee63e6661fbdd9969a2e510c
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Fri Mar 8 19:34:15 2024 +0800

    gnu: Add solid-6.
    
    * gnu/packages/kde-frameworks.scm (solid-6): New variable.
    (solid): Inherit above.
    
    Change-Id: I7f0f4c51f5f4ec550149664e016a55af19f961b4
---
 gnu/packages/kde-frameworks.scm | 40 +++++++++++++++++++++++++++++++---------
 1 file changed, 31 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index c6763a114e..79c0d693b0 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -1970,8 +1970,38 @@ feel.")
     ;; Mostly LGPL 2+, but many files are dual-licensed
     (license (list license:lgpl2.1+ license:gpl3+))))
 
+(define-public solid-6
+  (package
+    (name "solid")
+    (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
+                "0qj2z9na884hph0ap9481rqvn06aw3y8nm37wxz02lggb15rhjh7"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     (list bison dbus extra-cmake-modules flex qttools))
+    ;; TODO: Add runtime-only dependency MediaPlayerInfo
+    (inputs
+     (list `(,util-linux "lib") ;; Optional, for libmount
+           libxkbcommon
+           vulkan-headers
+           qtbase qtdeclarative eudev))
+    (home-page "https://community.kde.org/Frameworks";)
+    (synopsis "Desktop hardware abstraction")
+    (description "Solid is a device integration framework.  It provides a way 
of
+querying and interacting with hardware independently of the underlying 
operating
+system.")
+    (license license:lgpl2.1+)))
+
 (define-public solid
   (package
+    (inherit solid-6)
     (name "solid")
     (version "5.114.0")
     (source (origin
@@ -1983,7 +2013,6 @@ feel.")
               (sha256
                (base32
                 "1slxlj5jhp8g745l328932934633nl81sq3n8fd73h655hymsk4s"))))
-    (build-system cmake-build-system)
     (arguments
      (list #:phases #~(modify-phases %standard-phases
                         (replace 'check
@@ -1994,14 +2023,7 @@ feel.")
     (native-inputs
      (list bison dbus extra-cmake-modules flex qttools-5))
     (inputs
-     (list qtbase-5 qtdeclarative-5 eudev))
-    ;; TODO: Add runtime-only dependency MediaPlayerInfo
-    (home-page "https://community.kde.org/Frameworks";)
-    (synopsis "Desktop hardware abstraction")
-    (description "Solid is a device integration framework.  It provides a way 
of
-querying and interacting with hardware independently of the underlying 
operating
-system.")
-    (license license:lgpl2.1+)))
+     (list qtbase-5 qtdeclarative-5 eudev))))
 
 (define-public sonnet
   (package



reply via email to

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