guix-commits
[Top][All Lists]
Advanced

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

75/347: gnu: Add libplasma.


From: guix-commits
Subject: 75/347: gnu: Add libplasma.
Date: Fri, 28 Jun 2024 09:58:04 -0400 (EDT)

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

commit 8d0d30452d8841801208a3c3d8f95994fee66377
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Thu May 2 17:35:20 2024 +0800

    gnu: Add libplasma.
    
    * gnu/packages/kde-frameworks.scm (libplasma): New variable.
    (plasma-framework): Inherit above.
    
    Change-Id: I9d5340e2607f43ac56d569dfbd36aa4418ccfd71
---
 gnu/packages/kde-frameworks.scm | 69 +++++++++++++++++++++++++++++++++++++----
 1 file changed, 63 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index bf2df8028b..9b277bc703 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -5184,8 +5184,70 @@ setUrl, setUserAgent and call.")
     ;; dual licensed
     (license (list license:bsd-2 license:lgpl2.1+))))
 
+(define-public libplasma
+  (package
+    (name "libplasma")
+    (version "6.0.4")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://kde/stable/plasma/"
+                                  version "/" name "-"
+                                  version ".tar.xz"))
+              (sha256
+               (base32
+                "0x7x8qrlm05ccmdhrwf3hmbzw2q1zxnba4a721y7rfbc8m4c3hk1"))))
+    (build-system qt-build-system)
+    (propagated-inputs
+     (list kpackage-6 kwindowsystem-6))
+    (native-inputs
+     (list extra-cmake-modules kdoctools-6 pkg-config
+           gettext-minimal
+           ;; for wayland-scanner
+           wayland))
+    (inputs (list
+             karchive-6
+             kconfigwidgets-6
+             kglobalaccel-6
+             kguiaddons-6
+             kiconthemes-6
+             kirigami-6
+             kio-6
+             ki18n-6
+             kcmutils-6
+             ksvg
+             kglobalaccel-6
+             knotifications-6
+             plasma-wayland-protocols
+             plasma-activities
+             qtdeclarative
+             qtsvg
+             qtwayland
+             wayland
+             libxkbcommon))
+    (arguments
+     (list #:qtbase qtbase
+           #:phases
+           #~(modify-phases %standard-phases
+               (replace 'check
+                 (lambda* (#:key tests? #:allow-other-keys)
+                   (when tests?
+                     (setenv "HOME" (getcwd))
+                     (invoke "ctest" "-E"
+                             (string-append "(plasma-dialogstatetest"
+                                            "|plasma-iconitemtest"
+                                            "|plasma-themetest"
+                                            "|iconitemhidpitest"
+                                            "|dialognativetest)"))))))))
+    (home-page "https://invent.kde.org/plasma/libplasma";)
+    (synopsis "Libraries, components and tools of Plasma workspaces")
+    (description "The plasma framework provides QML components, libplasma and
+script engines.")
+    ;; dual licensed
+    (license (list license:gpl2+ license:lgpl2.1+))))
+
 (define-public plasma-framework
   (package
+    (inherit libplasma)
     (name "plasma-framework")
     (version "5.114.0")
     (source (origin
@@ -5250,12 +5312,7 @@ setUrl, setUserAgent and call.")
                                             "|plasma-themetest"
                                             "|iconitemhidpitest"
                                             "|dialognativetest)"))))))))
-    (home-page "https://community.kde.org/Frameworks";)
-    (synopsis "Libraries, components and tools of Plasma workspaces")
-    (description "The plasma framework provides QML components, libplasma and
-script engines.")
-    ;; dual licensed
-    (license (list license:gpl2+ license:lgpl2.1+))))
+    (home-page "https://community.kde.org/Frameworks";)))
 
 (define-public purpose
   (package



reply via email to

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