guix-commits
[Top][All Lists]
Advanced

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

70/143: gnu: Add plasma-integration.


From: guix-commits
Subject: 70/143: gnu: Add plasma-integration.
Date: Mon, 21 Nov 2022 16:10:47 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 7c4eaf02fc9dfff9585fed320860071486771f33
Author: Petr Hodina <phodina@protonmail.com>
AuthorDate: Tue Aug 23 20:14:58 2022 +0200

    gnu: Add plasma-integration.
    
    * gnu/packages/kde-plasma.scm (plasma-integration): New variable.
    
    Signed-off-by: Marius Bakke <marius@gnu.org>
---
 gnu/packages/kde-plasma.scm | 50 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index 0bfbae8f5f..310642f7a1 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -722,6 +722,56 @@ KDE Frameworks components.")
 on QtMultimedia and @command{yt-dlp}.")
     (license license:gpl3+)))
 
+(define-public plasma-integration
+  (package
+    (name "plasma-integration")
+    (version "5.25.5")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://kde/stable/plasma/"
+                                  version "/" name "-"
+                                  version ".tar.xz"))
+              (sha256
+               (base32
+                "1pab56cg2zi8fcaar53lhhh98iw7l07f5lkymkqhsh8a5crfc3yr"))))
+    (build-system qt-build-system)
+    (arguments
+     (list #:tests? #f                  ;TODO: Failing tests
+           #:phases #~(modify-phases %standard-phases
+                        (replace 'check
+                          (lambda* (#:key tests? #:allow-other-keys)
+                            (when tests?
+                              (setenv "HOME" (getcwd))
+                              (setenv "XDG_RUNTIME_DIR" (getcwd))
+                              (setenv "XDG_CACHE_HOME" (getcwd))
+                              (setenv "QT_QPA_PLATFORM" "offscreen")
+                              (invoke "ctest" "-E"
+                                      
"(frameworkintegration-kdeplatformtheme_unittest|frameworkintegration-kfontsettingsdata_unittest|frameworkintegration-kfiledialog_unittest|qmltests|frameworkintegration-kfiledialogqml_unittest")))))))
+    (native-inputs (list extra-cmake-modules pkg-config))
+    (inputs (list breeze
+                  kconfig
+                  kio
+                  ki18n
+                  kwidgetsaddons
+                  kconfigwidgets
+                  kiconthemes
+                  knotifications
+                  libxcb
+                  libxcursor
+                  plasma-wayland-protocols
+                  qtdeclarative-5
+                  qtquickcontrols2-5
+                  qtwayland-5
+                  qtx11extras
+                  wayland))
+    (home-page "https://invent.kde.org/plasma/plasma-integration";)
+    (synopsis
+     "Qt Platform Theme integration plugins for the Plasma workspaces")
+    (description
+     "This package provides a set of plugins responsible for better
+integration of Qt applications when running on a KDE Plasma workspace.")
+    (license license:lgpl2.0)))
+
 (define-public plasma-nm
   (package
     (name "plasma-nm")



reply via email to

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