summaryrefslogtreecommitdiff
path: root/px/packages/kde-plasma.scm
diff options
context:
space:
mode:
authorFranz Geffke <m@f-a.nz>2024-07-25 09:30:55 +0100
committerFranz Geffke <m@f-a.nz>2024-07-25 09:30:55 +0100
commitfec66dbec4487dcd6741b2f3a46ca69143670267 (patch)
treefe4e53428fd8056c4f2837610dfdce8a29cc9f09 /px/packages/kde-plasma.scm
parent5ec1cd092cb182858ef91adde90a362fc41a3f96 (diff)
px: Added kde-frameworkintegration@5
Diffstat (limited to 'px/packages/kde-plasma.scm')
-rw-r--r--px/packages/kde-plasma.scm51
1 files changed, 50 insertions, 1 deletions
diff --git a/px/packages/kde-plasma.scm b/px/packages/kde-plasma.scm
index a53e253..7b39607 100644
--- a/px/packages/kde-plasma.scm
+++ b/px/packages/kde-plasma.scm
@@ -1,10 +1,12 @@
(define-module (px packages kde-plasma)
#:use-module (guix build-system qt)
+ #:use-module (guix build-system cmake)
#:use-module (guix download)
#:use-module ((guix licenses)
#:prefix license:)
#:use-module (guix packages)
+ #:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages qt)
@@ -33,4 +35,51 @@
(description "KDecoration is a library to create window decorations.
These window decorations can be used by for example an X11 based window
manager which re-parents a Client window to a window decoration frame.")
- (license license:lgpl3+))) \ No newline at end of file
+ (license license:lgpl3+)))
+
+(define-public kde-frameworkintegration-5
+ (package
+ (name "kde-frameworkintegration")
+ (version "5.114.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "mirror://kde/stable/frameworks/"
+ (version-major+minor version) "/"
+ "frameworkintegration-" version ".tar.xz"))
+ (sha256
+ (base32
+ "1dqgzhhh8gnvl8jsvh2i6pjn935d61avh63b4z9kpllhvp9a2lnd"))))
+ (build-system cmake-build-system)
+ (native-inputs
+ (list extra-cmake-modules pkg-config))
+ ;; TODO: Optional packages not yet in Guix: packagekitqt5, AppStreamQt
+ (inputs (list kconfig-5
+ kconfigwidgets-5
+ kcoreaddons-5
+ ki18n-5
+ kiconthemes-5
+ kitemviews
+ knewstuff-5
+ knotifications-5
+ kpackage-5
+ kwidgetsaddons-5
+ qtbase-5
+ qtx11extras))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'check-setup
+ (lambda _
+ (setenv "HOME" (getcwd))
+ ;; Make Qt render "offscreen", required for tests
+ (setenv "QT_QPA_PLATFORM" "offscreen"))))))
+ (home-page "https://community.kde.org/Frameworks")
+ (synopsis "KDE Frameworks 5 workspace and cross-framework integration plugins")
+ (description "Framework Integration is a set of plugins responsible for
+better integration of Qt applications when running on a KDE Plasma
+workspace.")
+ ;; This package is distributed under either LGPL2 or LGPL3, but some
+ ;; files are explicitly LGPL2+.
+ (license (list license:lgpl2.0 license:lgpl3 license:lgpl2.0+))
+ (properties `((upstream-name . "frameworkintegration"))))) \ No newline at end of file