aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/kde-frameworks.scm
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-06 10:55:54 +0800
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-18 10:45:05 +0800
commit84b35984eb893744edb309bae12e2935cd924b48 (patch)
treea2892c5e1b306aa00587baec6700b3898aa44473 /gnu/packages/kde-frameworks.scm
parenta4d0d15915348cb5a8022fb08749b3f992ce21d8 (diff)
downloadguix-84b35984eb893744edb309bae12e2935cd924b48.tar.gz
guix-84b35984eb893744edb309bae12e2935cd924b48.zip
gnu: Add libplasma.
* gnu/packages/kde-frameworks.scm (libplasma): New variable. Change-Id: Id4d1bb1975ebf8256f336e3c6722b2792de191ee
Diffstat (limited to 'gnu/packages/kde-frameworks.scm')
-rw-r--r--gnu/packages/kde-frameworks.scm63
1 files changed, 63 insertions, 0 deletions
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")