guix-commits
[Top][All Lists]
Advanced

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

96/465: gnu: Add libplasma.


From: guix-commits
Subject: 96/465: gnu: Add libplasma.
Date: Tue, 16 Jul 2024 11:02:37 -0400 (EDT)

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

commit 7430c72077feac803b89559d5d3d60a04bcbccc0
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Sat Jul 6 10:55:54 2024 +0800

    gnu: Add libplasma.
    
    * gnu/packages/kde-frameworks.scm (libplasma): New variable.
    
    Change-Id: Id4d1bb1975ebf8256f336e3c6722b2792de191ee
---
 gnu/packages/kde-frameworks.scm | 63 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index f5f32f1ef0..9ead0076e4 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -3396,6 +3396,69 @@ setUrl, setUserAgent and call.")
     ;; dual licensed
     (license (list license:bsd-2 license:lgpl2.1+))))
 
+(define-public libplasma
+  (package
+    (name "libplasma")
+    (version "6.1.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://kde/stable/plasma/"
+                                  version "/" name "-"
+                                  version ".tar.xz"))
+              (sha256
+               (base32
+                "0ji1cd8nc744lqg6m8qnbn923x57ljy5fcaxbq0fzh7qwij42qc0"))))
+    (build-system qt-build-system)
+    (propagated-inputs
+     (list kpackage kwindowsystem))
+    (native-inputs
+     (list extra-cmake-modules kdoctools pkg-config
+           gettext-minimal
+           ;; for wayland-scanner
+           wayland))
+    (inputs (list
+             karchive
+             kconfigwidgets
+             kglobalaccel
+             kguiaddons
+             kiconthemes
+             kirigami
+             kio
+             ki18n
+             kcmutils
+             ksvg
+             kglobalaccel
+             knotifications
+             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-dialogqmltest"
+                                            "|plasma-themetest"
+                                            "|iconitemhidpitest"
+                                            "|bug485688test"
+                                            "|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
     (name "plasma-framework")



reply via email to

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