blob: c485fd732ee37692c14a56f44e7e48eb9272a22e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
;;; Package Repository for GNU Guix
;;; Copyright © 2021-2025 Franz Geffke <m@f-a.nz>
(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)
#:use-module (gnu packages kde-frameworks)
#:use-module (gnu packages kde-plasma))
(define-public kdecoration-5
(package
(name "kdecoration")
(version "5.27.7")
(source (origin
(method url-fetch)
(uri (string-append "mirror://kde/stable/plasma/" version
"/kdecoration-" version ".tar.xz"))
(sha256
(base32
"153j3w00zwj6gx9ndq46vkfwx3ayig80j0jsqbkajk8zsncs89pg"))))
(build-system qt-build-system)
(arguments (list #:qtbase qtbase))
(native-inputs
(list extra-cmake-modules))
(inputs
(list kcoreaddons-5 ki18n-5 qtbase-5))
(home-page "https://invent.kde.org/plasma/kdecoration")
(synopsis "Plugin based library to create window decorations")
(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+)))
(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")))))
|