gnu: Add plasma-phone-components.
[jackhill/guix/guix.git] / gnu / packages / kde-plasma.scm
CommitLineData
bec2a2e1
MB
1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2016 Thomas Danckaert <post@thomasdanckaert.be>
cdf7fea1 3;;; Copyright © 2018 Meiyo Peng <meiyo.peng@gmail.com>
6a97dfff 4;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
d3f1ef38 5;;; Copyright © 2017, 2019, 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
c31f2d01 6;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
c386de05 7;;; Copyright © 2020 Zheng Junjie <873216071@qq.com>
2ac5bdfa 8;;; Copyright © 2022 Brendan Tildesley <mail@brendan.scot>
e528b5ee 9;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
bec2a2e1
MB
10;;;
11;;; This file is part of GNU Guix.
12;;;
13;;; GNU Guix is free software; you can redistribute it and/or modify it
14;;; under the terms of the GNU General Public License as published by
15;;; the Free Software Foundation; either version 3 of the License, or (at
16;;; your option) any later version.
17;;;
18;;; GNU Guix is distributed in the hope that it will be useful, but
19;;; WITHOUT ANY WARRANTY; without even the implied warranty of
20;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21;;; GNU General Public License for more details.
22;;;
23;;; You should have received a copy of the GNU General Public License
24;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
25
26(define-module (gnu packages kde-plasma)
27 #:use-module (guix packages)
28 #:use-module (guix download)
c3358f9b 29 #:use-module (guix git-download)
bec2a2e1 30 #:use-module ((guix licenses) #:prefix license:)
54b0b96c 31 #:use-module (guix gexp)
bec2a2e1 32 #:use-module (guix build-system cmake)
67313900
PH
33 #:use-module (guix build-system copy)
34 #:use-module (guix build-system trivial)
cd165d10 35 #:use-module (guix build-system qt)
20d7c6b1 36 #:use-module (gnu packages)
2ac5bdfa 37 #:use-module (gnu packages admin)
c3c7e8fc 38 #:use-module (gnu packages bash)
c71f599c 39 #:use-module (gnu packages boost)
05499412
PH
40 #:use-module (gnu packages authentication)
41 #:use-module (gnu packages bash)
bec2a2e1 42 #:use-module (gnu packages compression)
c939f558
PH
43 #:use-module (gnu packages display-managers)
44 #:use-module (gnu packages firmware)
45 #:use-module (gnu packages fontutils)
fd56c4be 46 #:use-module (gnu packages freedesktop)
fa5bf49f 47 #:use-module (gnu packages ghostscript)
10dad3a1
PH
48 #:use-module (gnu packages gnupg)
49 #:use-module (gnu packages gl)
bec2a2e1 50 #:use-module (gnu packages glib)
848cd995 51 #:use-module (gnu packages gnome)
20693769 52 #:use-module (gnu packages gtk)
1ad1517d 53 #:use-module (gnu packages ibus)
72b80b9b 54 #:use-module (gnu packages iso-codes)
848cd995 55 #:use-module (gnu packages kde)
bec2a2e1 56 #:use-module (gnu packages kde-frameworks)
1ad1517d 57 #:use-module (gnu packages kde-pim)
67313900
PH
58 ;; Including this module breaks the build
59 ;#:use-module ((gnu packages kde-systemtools) #:select (konsole))
eb1ec3b9 60 #:use-module (gnu packages libcanberra)
fd56c4be 61 #:use-module (gnu packages linux)
12f8ea20 62 #:use-module (gnu packages libusb)
10dad3a1 63 #:use-module (gnu packages networking)
72b80b9b 64 #:use-module (gnu packages maths)
6fb72a8f 65 #:use-module (gnu packages messaging)
72b80b9b 66 #:use-module (gnu packages multiprecision)
fa5bf49f 67 #:use-module (gnu packages pciutils)
bec2a2e1 68 #:use-module (gnu packages pkg-config)
67313900 69 #:use-module (gnu packages polkit)
eb1ec3b9 70 #:use-module (gnu packages pulseaudio)
20693769 71 #:use-module (gnu packages python)
c939f558 72 #:use-module (gnu packages package-management) ; flatpak
4b39a8a5 73 #:use-module (gnu packages video)
848cd995 74 #:use-module (gnu packages vpn)
12f8ea20
PH
75 #:use-module (gnu packages vulkan)
76 #:use-module (gnu packages textutils)
bec2a2e1 77 #:use-module (gnu packages qt)
7fc78b2d 78 #:use-module (gnu packages xdisorg)
20693769
SF
79 #:use-module (gnu packages xorg)
80 #:use-module (gnu packages web))
bec2a2e1 81
62bb0713
PH
82(define-public bluedevil
83 (package
84 (name "bluedevil")
85 (version "5.25.5")
86 (source (origin
87 (method url-fetch)
88 (uri (string-append "mirror://kde/stable/plasma/" version "/"
89 name "-" version ".tar.xz"))
90 (sha256
91 (base32
92 "1dsah7rcx2brcd1d5x7bvhrixx5nvwp1fwq9b8k2zc038xzpx6ys"))))
93 (build-system qt-build-system)
94 (native-inputs (list extra-cmake-modules pkg-config qttools-5))
95 (inputs (list kcoreaddons
96 kwidgetsaddons
97 kdbusaddons
98 knotifications
99 kwindowsystem
100 plasma-framework
101 ki18n
102 kio
103 kdeclarative
104 bluez-qt
105 shared-mime-info
106 qtdeclarative-5))
107 (synopsis "Manage the Bluetooth settings from Plasma")
108 (description
109 "This package provides Bluetooth manager for Plasma Shell.")
110 (home-page "https://invent.kde.org/plasma/bluedevil")
111 (license (list license:lgpl2.1 license:lgpl3))))
112
d3f1ef38
HG
113(define-public breeze
114 (package
115 (name "breeze")
158126fa 116 (version "5.25.5")
d3f1ef38
HG
117 (source (origin
118 (method url-fetch)
119 (uri (string-append "mirror://kde/stable/plasma/" version "/"
120 name "-" version ".tar.xz"))
121 (sha256
122 (base32
158126fa 123 "0m3ggv5znzfcp25afgl7v5w7m27v5hdvv6jw9vrvwbqj8lzq1hlx"))))
d3f1ef38
HG
124 (build-system qt-build-system)
125 ;; TODO: Warning at /gnu/store/…-kpackage-5.34.0/…/KF5PackageMacros.cmake:
126 ;; warnings during generation of metainfo for org.kde.breezedark.desktop:
127 ;; Package type "Plasma/LookAndFeel" not found
128 ;; TODO: Check whether is makes sence splitting into several outputs, like
129 ;; Debian does:
130 ;; - breeze-cursor-theme
131 ;; - "out", "devel"
132 ;; - kde-style-breeze - Widget style
133 ;; - kde-style-breeze-qt4 - propably not useful
134 ;; - kwin-style-breeze
135 ;; - qml-module-qtquick-controls-styles-breeze - QtQuick style
136 (native-inputs
8394619b 137 (list extra-cmake-modules pkg-config))
d3f1ef38 138 (inputs
8394619b
LC
139 (list kcmutils ; optional
140 kconfigwidgets
141 kcoreaddons
142 kde-frameworkintegration ; optional
143 kdecoration
144 kguiaddons
145 ki18n
7f0f53eb 146 kirigami
8394619b
LC
147 kiconthemes ; for optional kde-frameworkintegration
148 kpackage
149 kwayland ; optional
150 kwindowsystem
151 qtbase-5
735d340a 152 qtdeclarative-5 ; optional
8394619b 153 qtx11extras))
d3f1ef38
HG
154 (home-page "https://invent.kde.org/plasma/breeze")
155 (synopsis "Default KDE Plasma theme")
156 (description "Artwork, styles and assets for the Breeze visual style for
157the Plasma Desktop. Breeze is the default theme for the KDE Plasma desktop.")
158 (license license:gpl2+)))
159
20693769
SF
160(define-public breeze-gtk
161 (package
162 (name "breeze-gtk")
158126fa 163 (version "5.25.5")
20693769
SF
164 (source (origin
165 (method url-fetch)
166 (uri (string-append "mirror://kde/stable/plasma/"
167 version "/" name
168 "-" version ".tar.xz"))
169 (sha256
170 (base32
158126fa 171 "0wj8qzy2104ggczxagxm45zwsvvpwd6jjnbv1893mhlr6f2zrbmh"))))
20693769
SF
172 (build-system qt-build-system)
173 (arguments
174 '(#:tests? #f)) ;no 'test' target
175 (native-inputs (list breeze extra-cmake-modules sassc python
176 python-pycairo))
177 (home-page "https://invent.kde.org/plasma/breeze")
178 (synopsis "Default KDE Plasma theme (GTK+ port)")
179 (description "GTK+ port of the Breeze visual style for the Plasma Desktop.
180Breeze is the default theme for the KDE Plasma desktop.")
181 (license (list license:bsd-3 ;cmake/FindSass.cmake
182 license:lgpl2.1+)))) ;<all other files>
183
eba5097c
PH
184(define-public calindori
185 (package
186 (name "calindori")
187 (version "22.09")
188 (source (origin
189 (method url-fetch)
190 (uri (string-append "mirror://kde/stable/plasma-mobile/" version
191 "/calindori-" version ".tar.xz"))
192 (sha256
193 (base32
194 "1pwgdqznp76mhk0ikzjhy3c67qgk91kgv69ygqwzlh5hwiw5sl4n"))))
195 (build-system qt-build-system)
196 (native-inputs (list extra-cmake-modules))
197 (inputs (list kconfig
198 kcoreaddons
199 kdbusaddons
200 ki18n
201 kirigami
202 kcalendarcore
203 knotifications
204 kpeople
205 qtbase-5
206 qtdeclarative-5
207 qtquickcontrols2-5
208 qtsvg-5
209 qtgraphicaleffects))
210 (home-page "https://invent.kde.org/plasma-mobile/calindori")
211 (synopsis "Calendar for Plasma Mobile")
212 (description
213 "This package provides a touch friendly calendar application.")
214 (license license:gpl3+)))
215
c939f558
PH
216(define-public discover
217 (package
218 (name "discover")
219 (version "5.25.5")
220 (source (origin
221 (method url-fetch)
222 (uri (string-append "mirror://kde/stable/plasma/"
223 version
224 "/"
225 name
226 "-"
227 version
228 ".tar.xz"))
229 (sha256
230 (base32
231 "01vdi66c7v60db25p0qi0q73wgqw6dy2kirbk34bvhld41gpxhhv"))))
232 (build-system qt-build-system)
233 (arguments
787fd473
MB
234 (list #:phases
235 #~(modify-phases %standard-phases
236 (add-before 'configure 'set-LDFLAGS
237 (lambda _
238 (setenv "LDFLAGS" (string-append "-Wl,-rpath=" #$output
239 "/lib/plasma-discover"))))
240 (replace 'check
241 (lambda* (#:key tests? #:allow-other-keys)
242 (when tests?
243 (invoke "ctest" "-E" "knsbackendtest")))))))
244 (native-inputs (list extra-cmake-modules pkg-config))
c939f558
PH
245 (inputs (list appstream-qt
246 attica
247 fwupd ; optional
248 flatpak ; optional
249 kcoreaddons
250 kconfig
251 kcrash
252 kdbusaddons
253 ki18n
254 karchive
255 kxmlgui
256 kirigami
257 kuserfeedback
258 knewstuff
259 knotifications
260 kio
261 kdeclarative
262 kcmutils
263 kidletime
264 packagekit-qt5
265 qtdeclarative-5
266 qtgraphicaleffects
267 qtquickcontrols2-5))
268 ;; -- The following features have been disabled:
269 ;; * Ostree, Library to manage ostree repository. Required to build the rpm-ostree backend
270 ;; * RpmOstree, rpm-ostree binary to manage the system. Required to build the rpm-ostree backend
271 ;;
272 ;; -- The following OPTIONAL packages have not been found:
273 ;; * Snapd, Library that exposes Snapd, <https://www.snapcraft.io>
274 ;; Required to build the Snap backend
275 (synopsis "KDE and Plasma resources management GUI")
276 (description
277 "This package provides a way to find and install applications,
278games, and tools.")
279 (home-page "https://invent.kde.org/plasma/discover")
280 (license (list license:gpl2 license:gpl3))))
281
f17f1e1f
PH
282(define-public drkonqi
283 (package
284 (name "drkonqi")
285 (version "5.25.5")
286 (source (origin
287 (method url-fetch)
288 (uri (string-append "mirror://kde/stable/plasma/"
289 version "/" name "-"
290 version ".tar.xz"))
291 (sha256
292 (base32
293 "0vw4bfld2jdiwm4g3008x8s1lq1ydf87ckb0fvyzsp11hq9nnnk7"))))
294 (build-system qt-build-system)
295 (arguments
296 (list #:phases #~(modify-phases %standard-phases
297 (replace 'check
298 (lambda* (#:key tests? #:allow-other-keys)
299 (when tests?
300 (invoke "ctest" "-E" "connectiontest")))))))
301 (native-inputs (list extra-cmake-modules))
302 (inputs (list ki18n
303 kcoreaddons
304 kconfig
305 kservice
306 kdeclarative
307 kjobwidgets
308 kio
309 kcrash
310 kcompletion
311 kwidgetsaddons
312 kwallet
313 knotifications
314 kidletime
315 kwindowsystem
316 ksyntaxhighlighting
317 qtdeclarative-5))
318 (synopsis "Crash handler for KDE software")
319 (description "This package provides an automatic handler for crashed apps.")
320 (home-page "https://invent.kde.org/plasma/drkonqi")
321 (license license:gpl2+)))
322
c71f599c
PH
323(define-public kactivitymanagerd
324 (package
325 (name "kactivitymanagerd")
326 (version "5.25.5")
327 (source (origin
328 (method url-fetch)
329 (uri (string-append "mirror://kde/stable/plasma/"
330 version "/" name "-"
331 version ".tar.xz"))
332 (sha256
333 (base32
334 "0hsllhqi46n25sr27crnad053ghk3hni2w496g6d2qfmi20l3g4n"))))
335 (build-system qt-build-system)
336 (native-inputs (list extra-cmake-modules))
337 (inputs (list boost
338 kconfig
339 kcoreaddons
340 kwindowsystem
341 kglobalaccel
342 kio
343 kxmlgui
344 kdbusaddons
345 ki18n
346 kcrash))
347 (synopsis "System service to manage user's activities")
348 (description "This package provides components for managing the KDE Activity
349concept.")
350 (home-page "https://invent.kde.org/plasma/kactivitymanagerd")
351 (license (list license:gpl2 license:gpl3))))
352
6a97dfff
HG
353(define-public kdecoration
354 (package
355 (name "kdecoration")
158126fa 356 (version "5.25.5")
6a97dfff
HG
357 (source (origin
358 (method url-fetch)
359 (uri (string-append "mirror://kde/stable/plasma/" version
360 "/kdecoration-" version ".tar.xz"))
361 (sha256
362 (base32
158126fa 363 "1x3scszz5nfwqciwc3bv0r04wgqlxs0c9j1090zvn6mjjg2nsyb7"))))
cd165d10 364 (build-system qt-build-system)
6a97dfff 365 (native-inputs
8394619b 366 (list extra-cmake-modules))
6a97dfff 367 (inputs
2ac5bdfa 368 (list kcoreaddons ki18n qtbase-5))
b828057e 369 (home-page "https://invent.kde.org/plasma/kdecoration")
6a97dfff
HG
370 (synopsis "Plugin based library to create window decorations")
371 (description "KDecoration is a library to create window decorations.
372These window decorations can be used by for example an X11 based window
373manager which re-parents a Client window to a window decoration frame.")
374 (license license:lgpl3+)))
375
20d7c6b1
PH
376(define-public kde-cli-tools
377 (package
378 (name "kde-cli-tools")
379 (version "5.25.5")
380 (source (origin
381 (method url-fetch)
382 (uri (string-append "mirror://kde/stable/plasma/"
383 version "/" name "-" version ".tar.xz"))
384 (patches (search-patches "kde-cli-tools-delay-mime-db.patch"))
385 (sha256
386 (base32
387 "0i1lnkyb2bdvbhnr2wsgjy2sjichzxxqkvn30ca85rj21cavk2z3"))))
388 (build-system qt-build-system)
389 (arguments
390 (list #:tests? #f ;TODO: Failing sub-tests 3/7
391 #:phases
392 #~(modify-phases %standard-phases
393 (add-after 'unpack 'set-writable-location
394 (lambda* _
395 (substitute* "keditfiletype/tests/filetypestest.cpp"
396 (("QStandardPaths::writableLocation.QStandardPaths::\
397GenericDataLocation.")
398 (string-append "\"" (getcwd) "/\"")))))
399 (add-before 'check 'setup-env
400 (lambda* _
401 (setenv "HOME" (getcwd)))))))
402 (native-inputs (list extra-cmake-modules pkg-config shared-mime-info))
403 (inputs (list kconfig
404 kdesu
405 kdoctools
406 kiconthemes
407 ki18n
408 kcmutils
409 kio
410 kservice
411 kwindowsystem
412 kactivities
413 kparts
414 plasma-workspace
415 qtx11extras
416 qtsvg-5))
417 (synopsis "CLI tools for interacting with KDE")
418 (description "This package provides command-line tools based on
419KDE Frameworks 5 to better interact with the system.")
420 (home-page "https://invent.kde.org/plasma/kde-cli-tools")
421 (license license:lgpl2.0+)))
422
10dba30f
PH
423(define-public kdeplasma-addons
424 (package
425 (name "kdeplasma-addons")
426 (version "5.25.5")
427 (source (origin
428 (method url-fetch)
429 (uri (string-append "mirror://kde/stable/plasma/" version
430 "/" name "-" version ".tar.xz"))
431 (sha256
432 (base32
433 "1a5cq0jz69hlcr22wxi2p5mzxv5xcp88220irxmq0dhpk85kywlx"))))
434 (build-system qt-build-system)
435 (arguments
436 (list #:phases #~(modify-phases %standard-phases
437 (replace 'check
438 (lambda* (#:key tests? #:allow-other-keys)
439 (when tests?
440 (invoke "ctest" "-E"
441 "(converterrunnertest|spellcheckrunnertest)")))))))
442 (native-inputs (list extra-cmake-modules))
443 (inputs (list karchive
444 kconfig
445 kcoreaddons
446 kdeclarative
447 kholidays
448 ki18n
449 kio
450 kcmutils
451 knotifications
452 krunner
453 kservice
454 kunitconversion
455 knewstuff
456 plasma-framework
457 purpose
458 sonnet
459 qtdeclarative-5))
460 ;qtwebengine-5)) ;; Optional for online dictionary
461 (synopsis "Add-ons to improve your Plasma experience")
462 (description
463 "This package provides multiple addons for the Plasma Desktop.")
464 (home-page "https://invent.kde.org/plasma/kdeplasma-addons")
465 (license license:lgpl2.0)))
466
8ca39d7a
PH
467(define-public kgamma
468 (package
469 (name "kgamma")
470 (version "5.25.5")
471 (source (origin
472 (method url-fetch)
473 (uri (string-append "mirror://kde/stable/plasma/"
474 version "/" name "5-"
475 version ".tar.xz"))
476 (sha256
477 (base32
478 "1c305bs50km7bsn0phz7yj4x2168sxwsw9zxbpcgw4q3r53c0ywz"))))
479 (build-system qt-build-system)
480 (native-inputs (list extra-cmake-modules))
481 (inputs (list kauth
482 kcoreaddons
483 kconfig
484 kconfigwidgets
485 kdoctools
486 ki18n))
487 (synopsis "Adjust monitor gamma settings")
488 (description
489 "This package provides a tool to adjust your monitor gamma settings.")
490 (home-page "https://invent.kde.org/plasma/kgamma5")
491 (license license:gpl2+)))
492
60caef04
PH
493(define-public khotkeys
494 (package
495 (name "khotkeys")
496 (version "5.25.5")
497 (source (origin
498 (method url-fetch)
499 (uri (string-append "mirror://kde/stable/plasma/" version "/"
500 name "-" version ".tar.xz"))
501 (sha256
502 (base32
503 "0c9i4vxiiv90dpzsd2hjwavks87cvwplkj63751z8mazax6r95as"))))
504 (build-system qt-build-system)
505 (native-inputs (list extra-cmake-modules))
506 (inputs (list kdbusaddons
507 kdoctools
508 kglobalaccel
509 ki18n
510 kcmutils
511 kio
512 ktextwidgets
513 kxmlgui
514 kdelibs4support
515 plasma-workspace
516 qtx11extras))
517 (synopsis "Trigger actions with the keyboard")
518 (description
519 "This package provides a way to trigger actions when certain keys
520are pressed.")
521 (home-page "https://invent.kde.org/plasma/khotkeys")
522 (license license:lgpl2.0)))
523
12f8ea20
PH
524(define-public kinfocenter
525 (package
526 (name "kinfocenter")
527 (version "5.25.5")
528 (source (origin
529 (method url-fetch)
530 (uri (string-append "mirror://kde/stable/plasma/" version
531 "/" name "-" version ".tar.xz"))
532 (sha256
533 (base32
534 "0zvki76yghkn158s7hb5g9drz7xaqxkmp2747404n2n0gmnmsdif"))))
535 (build-system cmake-build-system)
536 (arguments
537 (list #:phases #~(modify-phases %standard-phases
538 (add-after 'unpack 'fix-systemsettings-symlink
539 (lambda* (#:key inputs #:allow-other-keys)
540 (substitute* "CMakeLists.txt"
541 (("\\$\\{KDE_INSTALL_FULL_BINDIR\\}/systemsettings5")
542 (search-input-file inputs
543 "/bin/systemsettings5"))))))))
544 (native-inputs (list aha extra-cmake-modules kdoctools pkg-config))
545 ;; * vulkaninfo
546 ;; Wayland KCM
547 (inputs (list dmidecode
548 ;; fwupdmgr ;; Packaged on master branch already
549 kconfig
550 kconfigwidgets
551 kcoreaddons
552 kirigami
553 ki18n
554 kcmutils
555 kio
556 kservice
557 libusb
558 kwidgetsaddons
559 kdeclarative
560 kpackage
561 kwayland
562 mesa-utils
563 pciutils
564 plasma-framework
565 qtbase-5
566 solid
567 util-linux
568 vulkan-tools
569 wayland-utils
570 xdpyinfo))
571 (propagated-inputs (list system-settings))
572 (home-page "https://invent.kde.org/plasma/kinfocenter")
573 (synopsis "View information about computer's hardware")
574 (description "This package provides tool to view information about
575computer's hardware.")
576 (license (list license:gpl2 license:gpl3))))
577
bcbfae94
PH
578(define-public kmenuedit
579 (package
580 (name "kmenuedit")
581 (version "5.25.5")
582 (source (origin
583 (method url-fetch)
584 (uri (string-append "mirror://kde/stable/plasma/"
585 version "/" name "-" version
586 ".tar.xz"))
587 (sha256
588 (base32
589 "0z85w7w207dnsinsz8yg6s408pwfy3l7wjkcsjpyg8aj8s9x6nl7"))))
590 (build-system qt-build-system)
591 (native-inputs (list extra-cmake-modules kdoctools))
592 (inputs (list ki18n
593 kxmlgui
594 kdbusaddons
595 kiconthemes
596 kio
597 kitemviews
598 sonnet
599 kglobalaccel
600 kwindowsystem))
601 (synopsis "Menu Editor for Plasma Workspaces")
602 (description "This package provides menu editor for Plasma Workspaces.")
603 (home-page "https://invent.kde.org/plasma/kmenuedit")
604 (license license:gpl2+)))
605
e528b5ee
PH
606(define-public kscreen
607 (package
608 (name "kscreen")
609 (version "5.25.5")
610 (source (origin
611 (method url-fetch)
612 (uri (string-append "mirror://kde/stable/plasma/"
613 version "/" name "-" version
614 ".tar.xz"))
615 (sha256
616 (base32
617 "0361202n0366jiyv61w06jikh2i4s1fzr6x3chmdykx4fgvbqj7s"))))
618 (build-system cmake-build-system)
619 (arguments
620 ;; TODO: All tests fail
621 (list #:tests? #f))
622 (native-inputs (list extra-cmake-modules qttools-5 pkg-config))
623 (inputs (list kconfig
624 kdbusaddons
625 kdeclarative
626 kglobalaccel
627 ki18n
628 kwindowsystem
629 kiconthemes
630 kcoreaddons
631 kcmutils
632 kxmlgui
633 libkscreen
634 libxi
635 plasma-wayland-protocols
636 qtsensors
637 qtbase-5
638 qtx11extras
639 xcb-util))
640 (propagated-inputs (list plasma-framework))
641 (home-page "https://invent.kde.org/plasma/kscreen")
642 (synopsis "Screen management software")
643 (description "This package provides the screen management software for
644KDE Plasma Workspaces.")
645 (license license:gpl2+)))
646
c386de05
Z
647(define-public ksshaskpass
648 (package
649 (name "ksshaskpass")
158126fa 650 (version "5.25.5")
c386de05
Z
651 (source (origin
652 (method url-fetch)
653 (uri (string-append "mirror://kde/stable/plasma/" version
654 "/ksshaskpass-" version ".tar.xz"))
655 (sha256
656 (base32
158126fa 657 "0z8pp2mh4s98jh8jkf6r8v014gb6svapmp0m1npzw7zcmr6jvpn6"))))
c386de05
Z
658 (build-system qt-build-system)
659 (native-inputs
8394619b 660 (list extra-cmake-modules kdoctools))
c386de05 661 (inputs
8394619b 662 (list kcoreaddons ki18n kwallet kwidgetsaddons qtbase-5))
c386de05
Z
663 (home-page "https://invent.kde.org/plasma/ksshaskpass")
664 (synopsis "Front-end for ssh-add using kwallet")
665 (description "Ksshaskpass is a front-end for @code{ssh-add} which stores the
666password of the ssh key in KWallet. Ksshaskpass is not meant to be executed
667directly, you need to tell @code{ssh-add} about it. @code{ssh-add} will then
668call it if it is not associated to a terminal.")
669 (license license:gpl2+)))
670
9366402e
PH
671(define-public ksystemstats
672 (package
673 (name "ksystemstats")
674 (version "5.25.5")
675 (source (origin
676 (method url-fetch)
677 (uri (string-append "mirror://kde/stable/plasma/"
678 version "/" name "-"
679 version ".tar.xz"))
680 (sha256
681 (base32
682 "07xm6gn2k3vsl1pkrd2n9w8w8b7jq26h3cpslqha4ipw0by2mlqa"))))
683 (build-system qt-build-system)
684 (arguments
685 (list #:phases #~(modify-phases %standard-phases
686 (replace 'check
687 (lambda* (#:key tests? #:allow-other-keys)
688 (when tests?
689 (invoke "ctest" "-E" "ksystemstatstest")))))))
690 (native-inputs (list extra-cmake-modules pkg-config))
691 (inputs (list glib
692 kcoreaddons
693 kdbusaddons
694 solid
695 networkmanager-qt
696 kiconthemes
697 kio
698 ki18n
699 libksysguard
700 libnl
701 eudev
702 `(,lm-sensors "lib")
703 network-manager))
704 (synopsis "Plugin based system monitoring daemon")
705 (description
706 "This package provides a daemon that collects statistics about
707the running system.")
708 (home-page "https://invent.kde.org/plasma/ksystemstats")
709 (license (list license:gpl2 license:gpl3))))
710
3cdecf5f
PH
711(define-public latte-dock
712 (package
713 (name "latte-dock")
714 (version "0.10.8")
715 (source (origin
716 (method url-fetch)
717 (uri (string-append "mirror://kde/stable/latte-dock/"
718 "latte-dock-" version ".tar.xz"))
719 (sha256
720 (base32
721 "0ali9i0y0y1c5mdaps5ybhk4nqvzzs5jq27wj8rg8xxqjyfvbah0"))))
722 (build-system cmake-build-system)
723 (native-inputs (list extra-cmake-modules))
724 (inputs (list qtbase-5
725 qtdeclarative-5
726 knotifications
727 kwindowsystem
728 kio
729 plasma-framework
730 kwayland
731 kactivities
732 kcrash
733 kiconthemes
734 knewstuff
735 karchive
736 kguiaddons
737 kdbusaddons
738 kglobalaccel
739 kirigami
740 ki18n
741 kdeclarative
742 kcoreaddons
743 xcb-util
744 qtx11extras
745 libsm))
746 (synopsis "Latte is a dock based on plasma frameworks")
747 (description
748 "Latte is a dock based on plasma frameworks that provides
749an elegant and intuitive experience for your tasks and plasmoids.")
750 (home-page "https://github.com/KDE/latte-dock")
751 (license license:gpl2+)))
752
7fc78b2d
BT
753(define-public layer-shell-qt
754 (package
755 (name "layer-shell-qt")
158126fa 756 (version "5.25.5")
7fc78b2d
BT
757 (source (origin
758 (method url-fetch)
759 (uri (string-append "mirror://kde/stable/plasma/" version
760 "/layer-shell-qt-" version ".tar.xz"))
761 (sha256
762 (base32
158126fa 763 "1mvhklq7n9hhjing704jr3ybq58ixwr9fdg3phnqhmdnqc2q3w0l"))))
7fc78b2d
BT
764 (build-system qt-build-system)
765 (native-inputs
766 (list extra-cmake-modules pkg-config))
767 (inputs
768 (list libxkbcommon
769 qtbase-5
770 qtdeclarative-5
034f68ba 771 qtwayland-5
7fc78b2d
BT
772 wayland
773 wayland-protocols))
774 (home-page "https://invent.kde.org/plasma/layer-shell-qt")
775 (synopsis "Qt component for the Wayland ql-layer-shell protocol")
776 (description "Qt component for the Wayland ql-layer-shell protocol.")
777 (license license:gpl2+)))
778
fd56c4be
HG
779(define-public kscreenlocker
780 (package
781 (name "kscreenlocker")
158126fa 782 (version "5.25.5")
fd56c4be
HG
783 (source (origin
784 (method url-fetch)
785 (uri (string-append "mirror://kde/stable/plasma/" version
786 "/kscreenlocker-" version ".tar.xz"))
787 (sha256
788 (base32
158126fa 789 "0mivx0l266310iy52qi94b6wi8w2a8nl7cjn5750x66dz81jl3yj"))))
0f4c320c 790 (build-system qt-build-system)
fd56c4be 791 (arguments
0f4c320c
HG
792 `(#:tests? #f ;; TODO: make tests pass
793 #:phases
fd56c4be
HG
794 (modify-phases %standard-phases
795 (add-before 'check 'check-setup
796 (lambda* (#:key inputs outputs #:allow-other-keys)
07e98fb9 797 (system "Xvfb :1 -screen 0 640x480x24 &")
fd56c4be
HG
798 (setenv "DISPLAY" ":1")
799 #t))
800 (delete 'check)
801 ;; Tests use the installed library and require a DBus session.
802 (add-after 'install 'check
0f4c320c
HG
803 (lambda* (#:key tests? #:allow-other-keys)
804 (if tests?
805 (begin
806 (setenv "CTEST_OUTPUT_ON_FAILURE" "1")
2ac5bdfa 807 (invoke "dbus-launch" "ctest")))
0f4c320c 808 #t)))))
fd56c4be 809 (native-inputs
8394619b
LC
810 (list extra-cmake-modules pkg-config
811 ;; For tests.
812 dbus xorg-server-for-tests))
fd56c4be 813 (inputs
2ac5bdfa 814 (list kcmutils
7f0f53eb 815 kconfig
2ac5bdfa
BT
816 kcrash
817 kdeclarative
818 kglobalaccel
819 ki18n
820 kidletime
821 knotifications
822 ktextwidgets
823 kwayland
824 kwindowsystem
825 kxmlgui
826 layer-shell-qt
827 libseccomp ;for sandboxing the look'n'feel package
828 libxcursor ;missing in CMakeList.txt
829 libxi ;XInput, required for grabbing XInput2 devices
830 linux-pam
831 elogind ;optional loginctl support
832 qtbase-5
833 qtdeclarative-5
834 qtx11extras
835 solid
836 wayland
837 xcb-util-keysyms))
b828057e 838 (home-page "https://invent.kde.org/plasma/kscreenlocker")
fd56c4be
HG
839 (synopsis "Screen locking library")
840 (description
841 "@code{kscreenlocker} is a library for creating secure lock screens.")
842 (license license:gpl2+)))
843
448df3cd
PH
844(define-public ksysguard
845 (package
846 (name "ksysguard")
847 (version "5.22.0")
848 (source
849 (origin
850 (method url-fetch)
851 (uri (string-append "mirror://kde/stable/ksysguard/" version
852 "/ksysguard-" version ".tar.xz"))
853 (sha256
854 (base32 "0bb2aj46v7ig0wn3ir68igryl2gblz2n75cddn8fwamvbx76570g"))))
855 (build-system qt-build-system)
856 ;; TODO: No tests found
857 (native-inputs
858 (list extra-cmake-modules kdoctools))
859 (inputs
860 (list kconfig
861 kcoreaddons
862 kdbusaddons
863 ki18n
864 kiconthemes
865 kinit
866 kio
867 kitemviews
868 knewstuff
869 knotifications
870 kwindowsystem
871 libksysguard
872 `(,lm-sensors "lib")
873 qtbase-5))
874 (home-page "https://www.kde.org/applications/system/ksysguard/")
875 (synopsis "Plasma process and performance monitor")
876 (description "KSysGuard is a program to monitor various elements of your
877system, or any other remote system with the KSysGuard daemon (ksysgardd)
878installed.")
879 (license license:gpl2+)))
880
bec2a2e1
MB
881(define-public libkscreen
882 (package
883 (name "libkscreen")
158126fa 884 (version "5.25.5")
bec2a2e1
MB
885 (source
886 (origin
887 (method url-fetch)
888 (uri (string-append "mirror://kde/stable/plasma/" version "/"
889 name "-" version ".tar.xz"))
890 (sha256
158126fa 891 (base32 "17f2pbbkpmw3a32nsqlwd0x5xb71l6dzrh7ldwcqv46nvb54yhfa"))))
cd165d10 892 (build-system qt-build-system)
2ecb9af5
PH
893 (arguments
894 '(#:phases
895 (modify-phases %standard-phases
896 (replace 'check
897 (lambda* (#:key tests? #:allow-other-keys)
898 (when tests?
899 (setenv "HOME" (getcwd))
900 (setenv "QT_QPA_PLATFORM" "offscreen")
901 (setenv "WAYLAND_DISPLAY" "libkscreen-test-wayland-backend-0")
902 (invoke "ctest" "-E"
903 "(kscreen-testscreenconfig|kscreen-testqscreenbackend|kscreen-testkwaylandbackend|kscreen-testkwaylandconfig|kscreen-testkwaylanddpms)")))))))
bec2a2e1 904 (native-inputs
8394619b 905 (list extra-cmake-modules
1e2d29ec 906 pkg-config
8394619b
LC
907 ;; For testing.
908 dbus))
bec2a2e1 909 (inputs
2ac5bdfa 910 (list kwayland libxrandr plasma-wayland-protocols
322917ae 911 qtbase-5 qtwayland-5 wayland qtx11extras))
bec2a2e1
MB
912 (home-page "https://community.kde.org/Solid/Projects/ScreenManagement")
913 (synopsis "KDE's screen management software")
914 (description "KScreen is the new screen management software for KDE Plasma
915Workspaces which tries to be as magic and automatic as possible for users with
916basic needs and easy to configure for those who want special setups.")
917 (license license:gpl2+)))
918
919(define-public libksysguard
920 (package
921 (name "libksysguard")
158126fa 922 (version "5.25.5")
bec2a2e1
MB
923 (source
924 (origin
925 (method url-fetch)
2ac5bdfa 926 (uri (string-append "mirror://kde/stable/plasma/" version
bec2a2e1
MB
927 "/libksysguard-" version ".tar.xz"))
928 (sha256
158126fa 929 (base32 "1gqsjsdkp25abqqp4f6cv6ih199q9ad7q1a4lkhjgsh4h8jq1856"))))
bec2a2e1 930 (native-inputs
c3c7e8fc 931 (list bash-minimal extra-cmake-modules pkg-config qttools-5))
bec2a2e1 932 (inputs
2ac5bdfa
BT
933 (list kauth
934 kcompletion
935 kconfig
936 kconfigwidgets
937 kcoreaddons
938 kdeclarative
939 kglobalaccel
940 ki18n
941 kiconthemes
942 kio
943 knewstuff
944 kservice
945 kwidgetsaddons
946 kwindowsystem
947 libnl
948 libcap
949 libpcap
950 `(,lm-sensors "lib")
951 plasma-framework
952 qtbase-5
953 qtdeclarative-5
954 qtscript
955 qtwebchannel-5
956 qtwebengine-5
957 qtwebkit
958 qtx11extras
959 zlib))
cd165d10 960 (build-system qt-build-system)
bec2a2e1 961 (arguments
c3c7e8fc
PH
962 (list #:phases #~(modify-phases %standard-phases
963 (add-after 'unpack 'fix-test
964 (lambda* _
965 (substitute* "autotests/processtest.cpp"
966 (("/bin/sh")
967 (which "bash"))))))))
284fb66a 968 (home-page "https://userbase.kde.org/KSysGuard")
bec2a2e1
MB
969 (synopsis "Network enabled task and system monitoring")
970 (description "KSysGuard can obtain information on system load and
971manage running processes. It obtains this information by interacting
972with a ksysguardd daemon, which may also run on a remote system.")
973 (license license:gpl3+)))
a38889b1 974
10dad3a1
PH
975(define-public kwallet-pam
976 (package
977 (name "kwallet-pam")
978 (version "5.25.5")
979 (source (origin
980 (method url-fetch)
981 (uri (string-append "mirror://kde/stable/plasma/"
982 version "/" name "-" version
983 ".tar.xz"))
984 (sha256
985 (base32
986 "14w803lc3s2c0f4mqzzdhpfy5qnlz7wv00pbrc3v4k3zv381ci8n"))))
987 (build-system qt-build-system)
988 (arguments
989 (list #:tests? #f)) ;no tests
990 (native-inputs (list extra-cmake-modules pkg-config))
991 (inputs (list linux-pam kwallet libgcrypt socat))
992 (synopsis "PAM Integration with KWallet")
993 (description "Provide PAM Integration with KWallet to unlock KWallet when
994you login.")
995 (home-page "https://invent.kde.org/plasma/kwallet-pam")
996 (license (list license:lgpl2.1+))))
997
a38889b1
BT
998(define-public kwayland-server
999 (package
1000 (name "kwayland-server")
1001 (version "5.24.4")
1002 (source (origin
1003 (method url-fetch)
1004 (uri (string-append
1005 "mirror://kde/stable/plasma/" version
1006 "/" name "-" version ".tar.xz"))
1007 (sha256
1008 (base32
1009 "1279nqhy1qyz84dkn23rvzak8bg71hbrp09jlhv9mkjdb3bhnyfi"))))
1010 (build-system qt-build-system)
1011 (native-inputs
1012 (list extra-cmake-modules pkg-config))
1013 (inputs
1014 (list plasma-wayland-protocols
1015 qtbase-5
322917ae 1016 qtwayland-5
a38889b1
BT
1017 kwayland
1018 wayland
1019 wayland-protocols-next))
1020 (arguments
1021 '(#:phases
1022 (modify-phases %standard-phases
1023 (add-after 'unpack 'patch-install-path
1024 (lambda _
1025 ;; Fixes errors including nonexistant /include/KF5
1026 (substitute* "src/server/CMakeLists.txt"
1027 (("KF5_INSTALL") "KDE_INSTALL"))))
1028 (replace 'check
1029 (lambda* (#:key tests? #:allow-other-keys)
1030 (when tests?
1031 (setenv "HOME" (getcwd))
1032 (setenv "XDG_RUNTIME_DIR" (getcwd))
1033 (setenv "QT_QPA_PLATFORM" "offscreen")
1034 (invoke "ctest" "-E"
1035 ;; This test fails inconsistently.
1036 "kwayland-testDragAndDrop")))))))
1037 (home-page "https://api.kde.org/kwayland-server/html/index.html")
1038 (synopsis "KDE wayland server component")
1039 (description
1040 "KWayland is a Qt-style API to interact with the wayland-client and
1041wayland-server API.")
1042 ;; Most files are LGPL2.1 or LGPL3.0 only, at the users option.
1043 (license (list license:lgpl2.1 license:lgpl3
1044 ;; src/server/drm_fourcc.h carries the MIT license.
1045 license:expat))))
fb94d0a1
PH
1046
1047(define-public kwayland-integration
1048 (package
1049 (name "kwayland-integration")
1050 (version "5.25.5")
1051 (source (origin
1052 (method url-fetch)
1053 (uri (string-append "mirror://kde/stable/plasma/"
1054 version "/" name "-"
1055 version ".tar.xz"))
1056 (sha256
1057 (base32
1058 "10xl7yrj519b9s5vq0hqqfz3vvg1fdwggw96snzm44iwycqbgss8"))))
1059 (build-system qt-build-system)
1060 (arguments
1061 (list #:phases #~(modify-phases %standard-phases
1062 (delete 'check)
1063 (add-after 'install 'check-after-install
1064 (lambda* (#:key tests? #:allow-other-keys)
1065 (when tests?
1066 (setenv "HOME" (getcwd))
1067 (setenv "XDG_RUNTIME_DIR" (getcwd))
1068 (setenv "QT_QPA_PLATFORM" "offscreen")
1069 ;; https://bugs.gentoo.org/668872
1070 (invoke "ctest" "-E" "(idleTest-kwayland-test)"))))
1071 (add-before 'check-after-install 'check-setup
1072 (lambda* (#:key outputs #:allow-other-keys)
1073 (setenv "QT_PLUGIN_PATH"
1074 (string-append #$output
1075 "/lib/qt5/plugins:"
1076 (getenv "QT_PLUGIN_PATH"))))))))
1077 (native-inputs (list extra-cmake-modules wayland-protocols pkg-config))
1078 (inputs (list kguiaddons
1079 kidletime
1080 kwindowsystem
1081 kwayland
1082 libxkbcommon
1083 wayland
1084 qtbase-5
dff52352 1085 qtwayland-5))
fb94d0a1
PH
1086 (synopsis "KWayland runtime integration plugins")
1087 (description "This package provides Wayland integration plugins for various
1088KDE Frameworks components.")
1089 (home-page "https://invent.kde.org/plasma/kwayland-integration")
1090 (license (list license:lgpl2.1 license:lgpl3))))
10fdd426 1091
fa5bf49f
BT
1092(define-public kwin
1093 (package
1094 (name "kwin")
1095 (version "5.25.5")
1096 (source (origin
1097 (method url-fetch)
1098 (uri (string-append "mirror://kde/stable/plasma/" version "/"
1099 name "-" version ".tar.xz"))
1100 (sha256
1101 (base32
1102 "1dh7ydwxbb9r53p353d53gq7w9vmp7idvsr4s5ldxmah35436v2s"))))
1103 (build-system qt-build-system)
1104 (arguments
1105 (list
1106 #:phases
1107 #~(modify-phases %standard-phases
1108 (add-after 'unpack 'patch
1109 (lambda* (#:key inputs #:allow-other-keys)
1110 (substitute* '("src/plugins/kdecorations/aurorae/src/aurorae.cpp")
1111 (("(^\\s*QDirIterator it.path, QDirIterator::Subdirectories)(\\);)"
1112 _ a b)
1113 (string-append a
1114 " | QDirIterator::FollowSymlinks" b)))
1115 (substitute*
1116 '("autotests/integration/dont_crash_glxgears.cpp"
1117 "autotests/integration/debug_console_test.cpp"
1118 "autotests/integration/x11_window_test.cpp")
1119 (("setProgram\\(QStringLiteral\\(\"glxgears\"\\)")
1120 (string-append
1121 "setProgram(QByteArrayLiteral(\"" (which "glxgears") "\")")))
1122 (substitute*
1123 '("src/wayland/tests/renderingservertest.cpp"
1124 "src/wayland/tests/waylandservertest.cpp")
1125 (("QByteArrayLiteral\\(\"Xwayland\"\\)")
1126 (string-append
1127 "QByteArrayLiteral(\"" (which "Xwayland") "\")")))
1128 (substitute* '("src/xwayland/xwaylandlauncher.cpp")
1129 (("(m_xwaylandProcess->setProgram.QStringLiteral..)(Xwayland)(...;)"
1130 _ a Xwayland b)
1131 (string-append a
1132 (which "Xwayland") b)))
1133 (substitute* '("cmake/modules/Findhwdata.cmake")
1134 (("/usr/share")
1135 (string-append #$hwdata:pnp "/share")))))
1136 (add-after 'install 'add-symlinks
1137 (lambda* (#:key outputs #:allow-other-keys)
1138 (let ((kst5 (string-append #$output
1139 "/share/kservicetypes5/")))
1140 (symlink (string-append kst5 "kwineffect.desktop")
1141 (string-append kst5 "kwin-effect.desktop"))
1142 (symlink (string-append kst5 "kwinscript.desktop")
1143 (string-append kst5 "kwin-script.desktop")))))
1144 (replace 'check
1145 (lambda* (#:key tests? #:allow-other-keys)
1146 (when tests?
1147 (setenv "XDG_RUNTIME_DIR" (getcwd))
1148 (setenv "HOME" (getcwd))
1149 (setenv "XDG_DATA_DIRS"
1150 (string-append #$output "/share:"
1151 (getenv "XDG_DATA_DIRS")))
1152 (setenv "QT_PLUGIN_PATH"
1153 (string-append #$output
1154 "/lib/qt5/plugins:"
1155 (getenv "QT_PLUGIN_PATH")))
1156 (setenv "DISPLAY" ":1")
1157 (system "Xvfb :1 &")
1158 (sleep 5)
1159 (invoke "ctest" "-E"
1160 "(kwayland-testXdgDecoration|kwin-testLockScreen|kwin-testPointerInput|kwin-testXdgShellWindow|kwin-testXdgShellWindow-waylandonly|kwin-testSceneOpenGLES|kwin-testSceneOpenGLES-waylandonly|kwin-testInputMethod|kwin-testInputMethod-waylandonly|kwin-testNightColor|kwin-testNightColor-waylandonly|kwin-testPlasmaWindow|kwin-testSceneQPainter|kwin-testLibinputDevice)")))))))
1161 (native-inputs (list extra-cmake-modules
1162 dbus
1163 kdoctools
1164 mesa-utils
1165 pkg-config
1166 qttools-5
1167 wayland-protocols-next
1168 xorg-server-for-tests))
1169 (inputs (list breeze
1170 eudev
1171 fontconfig
1172 freetype
1173 `(,hwdata "pnp")
1174 kactivities
1175 kcmutils
1176 kcompletion
1177 kconfig
1178 kconfigwidgets
1179 kcoreaddons
1180 kcrash
1181 kdbusaddons
1182 kdeclarative
1183 kdecoration
1184 kglobalaccel
1185 ki18n
1186 kiconthemes
1187 kidletime
1188 kio
1189 kirigami
1190 knewstuff
1191 knotifications
1192 kpackage
1193 krunner
1194 kscreenlocker
1195 ktextwidgets
1196 kwayland
1197 kwayland-server
1198 kwindowsystem
1199 kxmlgui
1200 libqaccessibilityclient
1201 lcms
1202 libcap
1203 libepoxy
1204 libglvnd ; For OpenGLES
1205 libinput
1206 libxkbcommon
1207 pipewire-0.3
1208 plasma-framework
1209 plasma-wayland-protocols
1210 qtbase-5
1211 qtdeclarative-5
1212 qtmultimedia-5
1213 qtwayland-5
1214 qtx11extras
1215 wayland
1216 xcb-util ;fails at build time without this
1217 xcb-util-cursor
1218 xcb-util-keysyms
1219 xcb-util-wm
1220 xcmsdb
1221 xinput ;XXX: Says disabled in configure phase
1222 xorg-server-xwayland
1223 zlib))
1224 ;; Runtime-only dependency needed for mapping monitor hardware vendor IDs to full names
1225 ;; * QtQuick.Controls-QMLModule, QML module 'QtQuick.Controls' is a runtime dependency.
1226 ;; * org.kde.plasma.core-QMLModule, QML module 'org.kde.plasma.core' is a runtime dependency.
1227 ;; * org.kde.plasma.components-QMLModule, QML module 'org.kde.plasma.components' is a runtime dependency.
1228 (home-page "https://userbase.kde.org/KWin")
1229 (synopsis "KDE Plasma Window Manager")
1230 (description
1231 "KWin is an easy to use, but flexible, composited Window Manager for
1232Xorg windowing systems (Wayland, X11) on Linux. Its primary usage is in
1233conjunction with the KDE Plasma Desktop.")
1234 (license license:gpl2+)))
1235
10fdd426
PH
1236(define-public kwrited
1237 (package
1238 (name "kwrited")
1239 (version "5.25.5")
1240 (source (origin
1241 (method url-fetch)
1242 (uri (string-append "mirror://kde/stable/plasma/"
1243 version "/" name "-"
1244 version ".tar.xz"))
1245 (sha256
1246 (base32
1247 "03gw3czdgyf35n6x79x416rk6f7w1ayzmy5pb65v9733nx1j34mh"))))
1248 (build-system qt-build-system)
1249 (native-inputs (list extra-cmake-modules))
1250 (inputs (list kcoreaddons ki18n kpty knotifications))
1251 (home-page "https://invent.kde.org/plasma/kwrited")
1252 (synopsis "System notification daemon")
1253 (description
1254 "This package provides a daemon that listens to system notifications.")
1255 (license license:gpl2+)))
4b39a8a5 1256
c1062971
PH
1257(define-public milou
1258 (package
1259 (name "milou")
1260 (version "5.25.5")
1261 (source (origin
1262 (method url-fetch)
1263 (uri (string-append "mirror://kde/stable/plasma/"
1264 version "/" name "-"
1265 version ".tar.xz"))
1266 (sha256
1267 (base32
1268 "0ijdbiq169sy47g0x22pj9x6abldpfxcnski4w1jh9hi9qz1rc25"))))
1269 (build-system qt-build-system)
1270 (native-inputs (list extra-cmake-modules))
1271 (inputs (list kcoreaddons
1272 ki18n
1273 kdeclarative
1274 kitemmodels
1275 kservice
1276 plasma-framework
1277 kwindowsystem
1278 krunner
1279 qtdeclarative-5))
1280 (synopsis "Dedicated search application built on top of Baloo")
1281 (description "This package provides a dedicated search application built
1282on top of Baloo.")
1283 (home-page "https://invent.kde.org/plasma/milou")
1284 (license (list license:gpl2+))))
1285
4bc8c1ec
PH
1286(define-public oxygen-sounds
1287 (package
1288 (name "oxygen-sounds")
1289 (version "5.25.5")
1290 (source (origin
1291 (method url-fetch)
1292 (uri (string-append "mirror://kde/stable/plasma/"
1293 version "/" name "-"
1294 version ".tar.xz"))
1295 (sha256
1296 (base32
1297 "04rn3ccqszznknvblz2i8r406m32hk4d3yzma4vzq93jfk57hdf1"))))
1298 (build-system cmake-build-system)
1299 (native-inputs (list extra-cmake-modules))
1300 (home-page "https://community.kde.org/Frameworks")
1301 (synopsis "Sounds for the KDE desktop")
1302 (description "This package provides Oxygen sounds for the KDE desktop.")
1303 (license license:lgpl3+)))
1304
67313900
PH
1305(define-public plasma
1306 (package
1307 (name "plasma")
1308 (version "5.25.5")
1309 (source #f)
1310 (build-system trivial-build-system)
1311 (arguments
1312 (list #:builder #~(begin
1313 (mkdir #$output))))
1314 (propagated-inputs (list bluedevil
1315 breeze
1316 breeze-gtk
1317 discover
1318 drkonqi
1319 kactivitymanagerd
1320 kde-cli-tools
1321 ;; kde-gtk-config
1322 kdecoration
1323 kdeplasma-addons
1324 kgamma
1325 khotkeys
1326 kinfocenter
1327 kmenuedit
1328 kscreen
1329 kscreenlocker
1330 ksshaskpass
1331 ksystemstats
1332 kwallet-pam
1333 kwayland-integration
1334 kwin
1335 kwrited
1336 kinit
1337 layer-shell-qt
1338 libkscreen
1339 libksysguard
1340 milou
1341 ;; oxygen
1342 oxygen-sounds
1343 plasma-browser-integration
1344 plasma-desktop
1345 plasma-disks
1346 plasma-firewall
1347 plasma-integration
1348 plasma-nm
1349 plasma-pa
1350 plasma-systemmonitor
1351 ;; plasma-thunderbolt ;; waiting for bolt
1352 plasma-vault
1353 plasma-workspace
1354 plasma-workspace-wallpapers
1355 polkit-kde-agent
1356 powerdevil
1357 sddm
1358 system-settings
1359 xdg-desktop-portal-kde))
1360 (synopsis "The KDE Plasma desktop environment")
1361 (home-page "https://kde.org/plasma-desktop/")
1362 (description
1363 "KDE Plasma is an advanced graphical desktop system.")
1364 (license license:gpl2+)))
1365
4b39a8a5
PH
1366(define-public plasmatube
1367 (package
1368 (name "plasmatube")
1369 (version "22.09")
1370 (source (origin
1371 (method url-fetch)
1372 (uri (string-append "mirror://kde/stable/plasma-mobile/"
1373 version "/" name "-" version ".tar.xz"))
1374 (sha256
1375 (base32
1376 "00w9p5fcpv4s406lmcdcbrxf19sgkvf9yy8pfjmf1asvvvi8bpnk"))))
1377 (build-system cmake-build-system)
1378 (native-inputs (list extra-cmake-modules))
1379 (inputs
1380 (list kconfig
1381 kirigami
1382 ki18n
1383 qtbase-5
1384 qtdeclarative-5
1385 qtmultimedia-5
1386 qtquickcontrols2-5
1387 qtsvg-5
1388 youtube-dl))
1389 (home-page "https://apps.kde.org/plasmatube/")
1390 (synopsis "Kirigami YouTube video player")
1391 (description "This package provides YouTube video player based
1392on QtMultimedia and @command{yt-dlp}.")
1393 (license license:gpl3+)))
2ee129f4 1394
c3358f9b
PH
1395(define-public plasma-active-window-control
1396(let ((commit "0b1c091b5662fb21917064d7809b3be8b4a8be47")
1397 (revision "1"))
1398 (package
1399 (name "plasma-active-window-control")
1400 (version (git-version "1.7.3" revision commit))
1401 (source (origin
1402 (method git-fetch)
1403 (uri (git-reference
1404 (url "https://invent.kde.org/plasma/plasma-active-window-control")
1405 (commit commit)))
1406 (file-name (git-file-name name version))
1407 (sha256
1408 (base32
1409 "1lns1n7p6b64z7l3bn27hni100pp3k2whzzzg0adr4hiynycdix6"))))
1410 (build-system qt-build-system)
1411 (native-inputs (list extra-cmake-modules))
1412 (inputs
1413 (list kwindowsystem
1414 libsm
1415 plasma-framework
1416 qtdeclarative-5
1417 qtx11extras))
1418 (home-page "https://invent.kde.org/plasma/plasma-active-window-control")
1419 (synopsis "Plasma applet for controlling the currently active window")
1420 (description "This package provides window control applet for the current
1421active window on Plasma Desktop.")
1422 (license (list license:gpl2 license:gpl3)))))
1423
02f30551
PH
1424(define-public plasma-browser-integration
1425 (package
1426 (name "plasma-browser-integration")
1427 (version "5.25.5")
1428 (source (origin
1429 (method url-fetch)
1430 (uri (string-append "mirror://kde/stable/plasma/" version
1431 "/" name "-" version ".tar.xz"))
1432 (sha256
1433 (base32
1434 "18pbn5ic5l3m8i1y99yprpwd4x4746aq3abqn1f2cq5h2683h2ia"))))
1435 (build-system qt-build-system)
1436 (native-inputs (list extra-cmake-modules pkg-config))
1437 ;; TODO: Figure out how to integrate this package into web browsers
1438 ;; CHROMIUM_EXTENSIONS_DIR - extension for chromium
1439 ;; MOZILLA_DIR - extension for firefox
1440 (inputs (list kio
1441 ki18n
1442 kcoreaddons
1443 kconfig
1444 kcrash
1445 kdbusaddons
1446 knotifications
1447 kitemmodels
1448 krunner
1449 kactivities
1450 purpose
1451 kfilemetadata
1452 kjobwidgets
1453 qtdeclarative-5))
1454 (propagated-inputs (list plasma-workspace))
1455 (home-page "https://invent.kde.org/plasma/plasma-browser-integration")
1456 (synopsis "Integrate browsers into the Plasma Desktop")
1457 (description
1458 "This package aims to provide better integration of web browsers with
1459the KDE Plasma 5 desktop.")
1460 (license license:gpl3+)))
1461
1ad1517d
BT
1462(define-public plasma-desktop
1463 (package
1464 (name "plasma-desktop")
1465 (version "5.25.5")
1466 (source (origin
1467 (method url-fetch)
1468 (uri (string-append "mirror://kde/stable/plasma/" version
1469 "/" name "-" version ".tar.xz"))
1470 (sha256
1471 (base32
1472 "05s1pkwr4xmkghp8jrwcyrvjm83n68ngmk2694055xcfgi0pxicg"))))
1473 (build-system qt-build-system)
1474 (native-inputs (list extra-cmake-modules
1475 dbus
1476 kdoctools
1477 intltool
1478 pkg-config
1479 qtsvg-5
1480 qttools-5))
1481 (inputs (list packagekit-qt5
1482 signon-plugin-oauth2
1483 signond
1484 attica
1485 appstream-qt
1486 baloo
1487 breeze
1488 breeze-icons
1489 eudev
1490 fontconfig
1491 glib
1492 ibus
1493 kaccounts-integration
1494 kactivities
1495 kactivities-stats
1496 kauth
1497 karchive
1498 kcmutils
1499 kconfig
1500 kcoreaddons
1501 kcrash
1502 kdbusaddons
1503 kdeclarative
1504 kded
1505 kdesu
1506 kdelibs4support
1507 kglobalaccel
1508 kguiaddons
1509 kholidays
1510 ki18n
1511 kiconthemes
1512 kidletime
1513 kinit
1514 kio
1515 kitemmodels
1516 knewstuff
1517 knotifications
1518 knotifyconfig
1519 kpackage
1520 kpeople
1521 krunner
1522 kscreenlocker
1523 ktexteditor
1524 ktextwidgets
1525 kunitconversion
1526 kuserfeedback
1527 kwallet
1528 kwayland
1529 kwin
1530 layer-shell-qt
1531 libaccounts-qt
1532 libcanberra
1533 libkscreen
1534 libksysguard
1535 libqalculate
1536 gmp
1537 mpfr
1538 libsm
1539 libxi
1540 libxft
1541 libxkbcommon
1542 libxrender
1543 libxtst
1544 networkmanager-qt
1545 phonon
1546 pipewire-0.3
1547 plasma-framework
1548 plasma-wayland-protocols
1549 pulseaudio
1550 prison
1551 qqc2-desktop-style
1552 qtbase-5
1553 qtdeclarative-5
1554 qtquickcontrols2-5
1555 qtwayland
1556 qtx11extras
1557 wayland
1558 wayland-protocols
1559 xcb-util
1560 xcb-util-image
1561 xcb-util-keysyms
1562 xdg-user-dirs
1563
1564 ;; These are needed for Xserver
1565 xf86-input-libinput
1566 xf86-input-evdev
1567 xorg-server
1568 xf86-input-synaptics
1569 xkeyboard-config
1570 libxkbfile
1571 libxcursor
1572 libxkbcommon))
1573 (propagated-inputs (list iso-codes kirigami plasma-workspace))
1574 (arguments
1575 (list #:phases
1576 #~(modify-phases %standard-phases
1577 (add-after 'unpack 'fix-paths
1578 (lambda* (#:key inputs #:allow-other-keys)
1579 (substitute* "kcms/keyboard/iso_codes.h"
1580 (("\"/usr/share/xml/iso-codes\"")
1581 (string-append "\"" (search-input-directory
1582 inputs "/share/xml/iso-codes")
1583 "\"")))))
1584 (add-after 'unpack 'patch-qml-import-path
1585 (lambda _
1586 (substitute*
1587 '("applets/pager/package/contents/ui/main.qml"
1588 "containments/desktop/package/contents/ui/FolderView.qml"
1589 "containments/desktop/package/contents/ui/main.qml"
1590 "containments/panel/contents/ui/main.qml")
1591 (("^import \"(utils|FolderTools|LayoutManager).js\" as "
1592 line mod)
1593 (string-append "import \"../code/" mod
1594 ".js\" as ")))))
1595 (replace 'check
1596 (lambda* (#:key tests? #:allow-other-keys)
1597 (when tests?
1598 (setenv "HOME" (getcwd))
1599 (setenv "XDG_RUNTIME_DIR" (getcwd))
1600 (setenv "XDG_CACHE_HOME" (getcwd))
1601 (setenv "QT_QPA_PLATFORM" "offscreen")
1602 (invoke "ctest" "-E" "foldermodeltest")))))))
1603 (home-page "https://kde.org/plasma-desktop/")
1604 (synopsis "Plasma for the Desktop")
1605 (description
1606 "Plasma Desktop offers a beautiful looking desktop that takes
1607complete advantage of modern computing technology. Through the use of visual
1608effects and scalable graphics, the desktop experience is not only smooth but
1609also pleasant to the eye. The looks of Plasma Desktop not only provide
1610beauty, they are also used to support and improve your computer
1611activities effectively, without being distracting.")
1612 (license license:gpl2+)))
1613
d113630f
PH
1614(define-public plasma-disks
1615 (package
1616 (name "plasma-disks")
1617 (version "5.25.5")
1618 (source (origin
1619 (method url-fetch)
1620 (uri (string-append "mirror://kde/stable/plasma/"
1621 version "/" name "-"
1622 version ".tar.xz"))
1623 (sha256
1624 (base32
1625 "0vci2cf8vx2lclypys9rmvjb8haakv6ksrvqm5j28pazbq2kskvl"))))
1626 (build-system qt-build-system)
1627 (native-inputs (list extra-cmake-modules))
1628 (inputs (list kcoreaddons
1629 kdbusaddons
1630 knotifications
1631 ki18n
1632 solid
1633 kservice
1634 kio
1635 kauth
1636 kdeclarative
1637 smartmontools))
1638 (synopsis "Monitors S.M.A.R.T. capable devices for imminent failure")
1639 (description "This package provides interface to S.M.A.R.T. data of disks.")
1640 (home-page "https://invent.kde.org/plasma/plasma-disks")
1641 (license (list license:gpl2 license:gpl3))))
1642
4646bc2f
PH
1643(define-public plasma-firewall
1644 (package
1645 (name "plasma-firewall")
1646 (version "5.25.5")
1647 (source (origin
1648 (method url-fetch)
1649 (uri (string-append "mirror://kde/stable/plasma/"
1650 version "/" name "-"
1651 version ".tar.xz"))
1652 (sha256
1653 (base32
1654 "0k3pc0dcsjr2hhh4hr8vhsvaddn66s6imm8skrr02icxqvljs6jh"))))
1655 (build-system qt-build-system)
1656 (native-inputs (list extra-cmake-modules))
1657 (inputs (list iproute
1658 kcoreaddons
1659 kcmutils
1660 ki18n
1661 kdeclarative
1662 python
1663 qtdeclarative-5))
1664 (synopsis "Control Panel for system firewall")
1665 (description "This package provides interface to system firewall.")
1666 (home-page "https://invent.kde.org/plasma/plasma-firewall")
1667 (license (list license:gpl2 license:gpl3))))
1668
7c4eaf02
PH
1669(define-public plasma-integration
1670 (package
1671 (name "plasma-integration")
1672 (version "5.25.5")
1673 (source (origin
1674 (method url-fetch)
1675 (uri (string-append "mirror://kde/stable/plasma/"
1676 version "/" name "-"
1677 version ".tar.xz"))
1678 (sha256
1679 (base32
1680 "1pab56cg2zi8fcaar53lhhh98iw7l07f5lkymkqhsh8a5crfc3yr"))))
1681 (build-system qt-build-system)
1682 (arguments
1683 (list #:tests? #f ;TODO: Failing tests
1684 #:phases #~(modify-phases %standard-phases
1685 (replace 'check
1686 (lambda* (#:key tests? #:allow-other-keys)
1687 (when tests?
1688 (setenv "HOME" (getcwd))
1689 (setenv "XDG_RUNTIME_DIR" (getcwd))
1690 (setenv "XDG_CACHE_HOME" (getcwd))
1691 (setenv "QT_QPA_PLATFORM" "offscreen")
1692 (invoke "ctest" "-E"
1693 "(frameworkintegration-kdeplatformtheme_unittest|frameworkintegration-kfontsettingsdata_unittest|frameworkintegration-kfiledialog_unittest|qmltests|frameworkintegration-kfiledialogqml_unittest")))))))
1694 (native-inputs (list extra-cmake-modules pkg-config))
1695 (inputs (list breeze
1696 kconfig
1697 kio
1698 ki18n
1699 kwidgetsaddons
1700 kconfigwidgets
1701 kiconthemes
1702 knotifications
1703 libxcb
1704 libxcursor
1705 plasma-wayland-protocols
1706 qtdeclarative-5
1707 qtquickcontrols2-5
1708 qtwayland-5
1709 qtx11extras
1710 wayland))
1711 (home-page "https://invent.kde.org/plasma/plasma-integration")
1712 (synopsis
1713 "Qt Platform Theme integration plugins for the Plasma workspaces")
1714 (description
1715 "This package provides a set of plugins responsible for better
1716integration of Qt applications when running on a KDE Plasma workspace.")
1717 (license license:lgpl2.0)))
1718
b3c7ee7c
PH
1719(define-public plasma-nano
1720 (package
1721 (name "plasma-nano")
1722 (version "5.24.3")
1723 (source (origin
1724 (method url-fetch)
1725 (uri (string-append "https://download.kde.org/stable/plasma/"
1726 version "/plasma-nano-" version ".tar.xz"))
1727 (sha256
1728 (base32
1729 "13jxhfi3c3dhg7zdyfqnsii661h1am0w9dsv82dalqvwr1mw28l5"))))
1730 (build-system cmake-build-system)
1731 (native-inputs (list extra-cmake-modules pkg-config qttools))
1732 (inputs (list qtbase-5
1733 qtdeclarative-5
1734 plasma-framework
1735 kwindowsystem
1736 kwayland
1737 ki18n))
1738 (home-page "https://plasma-mobile.org/")
1739 (synopsis "Minimal Plasma Shell package")
1740 (description
1741 "This package provides a minimal implementation of Plasma Shell.")
1742 (license license:lgpl2.0+)))
1743
848cd995
PH
1744(define-public plasma-nm
1745 (package
1746 (name "plasma-nm")
1747 (version "5.25.5")
1748 (source (origin
1749 (method url-fetch)
1750 (uri (string-append "mirror://kde/stable/plasma/"
1751 version "/" name "-" version
1752 ".tar.xz"))
1753 (sha256
1754 (base32
1755 "036bx0qjrjanfxy8aiy6ab7rmm2h8l7wlkvlwhzw2hgl1w03xjps"))))
1756 (build-system qt-build-system)
1757 (arguments
1758 (list #:phases #~(modify-phases %standard-phases
1759 (replace 'check
1760 (lambda* (#:key tests? #:allow-other-keys)
1761 (when tests?
1762 (invoke "ctest" "-E" "mobileproviderstest")))))))
1763 (native-inputs (list extra-cmake-modules pkg-config))
1764 (home-page "https://invent.kde.org/plasma/plasma-nm")
1765 (inputs (list kconfigwidgets
1766 kcompletion
1767 kcoreaddons
1768 kdeclarative
1769 kdbusaddons
1770 kio
1771 ki18n
1772 networkmanager-qt
1773 knotifications
1774 kirigami
1775 plasma-framework
1776 modemmanager-qt
1777 network-manager
1778 qca
1779 kservice
1780 solid
1781 prison
1782 kwallet
1783 kwidgetsaddons
1784 kwindowsystem
1785 openconnect
1786 qtdeclarative-5))
1787 (synopsis "Plasma applet for managing network connections")
1788 (description "This package provides Plasma applet for managing network
1789connections.")
1790 (license (list license:lgpl2.1 license:lgpl3))))
1791
eb1ec3b9
PH
1792(define-public plasma-pa
1793 (package
1794 (name "plasma-pa")
1795 (version "5.25.5")
1796 (source (origin
1797 (method url-fetch)
1798 (uri (string-append "mirror://kde/stable/plasma/"
1799 version "/" name "-"
1800 version ".tar.xz"))
1801 (sha256
1802 (base32
1803 "0g06pm1isnzx4hv6380rjpyr22s4j5iw9083s71vnl4npx28npvb"))))
1804 (build-system qt-build-system)
1805 (native-inputs (list extra-cmake-modules kdoctools pkg-config))
1806 (inputs (list glib
1807 kcoreaddons
1808 kdeclarative
1809 kglobalaccel
1810 knotifications
1811 kwindowsystem
1812 kirigami
1813 ki18n
1814 qtdeclarative-5))
1815 (propagated-inputs (list libcanberra pulseaudio plasma-framework))
1816 (home-page "https://invent.kde.org/plasma/plasma-pa")
1817 (synopsis "Plasma applet for audio volume management using PulseAudio")
1818 (description
1819 "This package provides Plasma applet for audio volume management using
1820PulseAudio.")
1821 (license (list license:lgpl2.1 license:lgpl3))))
1822
05499412
PH
1823(define-public plasma-pass
1824 (package
1825 (name "plasma-pass")
1826 (version "1.2.0")
1827 (source (origin
1828 (method url-fetch)
1829 (uri (string-append "mirror://kde/stable/" name "/"
1830 name "-" version ".tar.xz"))
1831 (sha256
1832 (base32
1833 "107pd6cnkd46px83pm3q7vbw10g5pd0qsw77jmr0c774k4xv1w01"))))
1834 (build-system qt-build-system)
1835 (native-inputs (list extra-cmake-modules))
1836 (inputs (list ki18n kitemmodels kwindowsystem oath-toolkit qtdeclarative-5))
1837 (propagated-inputs (list plasma-framework))
1838 (home-page "https://invent.kde.org/plasma/plasma-pass")
1839 (synopsis "Plasma applet for the Pass password manager")
1840 (description
1841 "This package provides a Plasma applet for the Pass password manager.")
1842 (license license:lgpl2.1+)))
1843
6fb72a8f
PH
1844(define-public plasma-phone-components
1845 (package
1846 (name "plasma-phone-components")
1847 (version "5.23.4")
1848 (source (origin
1849 (method url-fetch)
1850 (uri (string-append "mirror://kde/stable/plasma/" version
1851 "/plasma-phone-components-" version
1852 ".tar.xz"))
1853 (sha256
1854 (base32
1855 "0ml5pyi90nlmx5550sf3x9263f8mypj4jmdskzabzhnz44ck8vy9"))))
1856 (build-system cmake-build-system)
1857 (native-inputs (list extra-cmake-modules pkg-config qttools))
1858 (inputs (list qtbase-5
1859 qtdeclarative
1860 kactivities
1861 kauth
1862 kbookmarks
1863 kwin
1864 kcodecs
1865 kcompletion
1866 kconfig
1867 kconfigwidgets
1868 kcoreaddons
1869 kdbusaddons
1870 kdeclarative
1871 ki18n
1872 kio
1873 kitemviews
1874 kjobwidgets
1875 knotifications
1876 kpackage
1877 kpeople
1878 kservice
1879 kwayland
1880 kwidgetsaddons
1881 kwindowsystem
1882 kxmlgui
1883 libphonenumber
1884 modemmanager-qt
1885 plasma-framework
1886 solid))
1887 (home-page "https://plasma-mobile.org/")
1888 (synopsis "Modules providing phone functionality for Plasma")
1889 (description "This package provides user-friendly, privacy-enabling
1890and customizable platform for mobile devices.")
1891 (license (list license:gpl3+ license:lgpl2.1+))))
1892
2ee129f4
PH
1893(define-public plasma-vault
1894 (package
1895 (name "plasma-vault")
1896 (version "5.25.5")
1897 (source (origin
1898 (method url-fetch)
1899 (uri (string-append "mirror://kde/stable/plasma/" version
1900 "/" name "-" version ".tar.xz"))
1901 (sha256
1902 (base32
1903 "15nf4myl6sry0930m8qiixpr1i8bh1g58cy2gf304h029vr2fn5j"))))
1904 (build-system qt-build-system)
1905 (native-inputs (list extra-cmake-modules pkg-config))
1906 (inputs (list kio
1907 ki18n
1908 kconfigwidgets
1909 kconfig
1910 kactivities
1911 kdbusaddons
1912 kiconthemes
1913 networkmanager-qt
1914 libksysguard
1915 plasma-framework
1916 qtdeclarative-5))
1917 (home-page "https://invent.kde.org/plasma/plasma-vault")
1918 (synopsis "Plasma applet and services for creating encrypted vaults")
1919 (description "Provides Plasma applet and services for creating encrypted
1920 vaults.")
1921 (license (list license:gpl2 license:gpl3))))
75e34ecc
PH
1922
1923(define-public plasma-systemmonitor
1924 (package
1925 (name "plasma-systemmonitor")
1926 (version "5.25.5")
1927 (source (origin
1928 (method url-fetch)
1929 (uri (string-append "mirror://kde/stable/plasma/" version "/"
1930 name "-" version ".tar.xz"))
1931 (sha256
1932 (base32
1933 "0rs3avhpmfapzha8dkir9ny60ba2m92bbfv4avsd85vz5kggg29h"))))
1934 (build-system qt-build-system)
1935 (native-inputs (list extra-cmake-modules))
1936 (inputs (list ki18n
1937 kconfig
1938 kdeclarative
1939 kservice
1940 kiconthemes
1941 kglobalaccel
1942 kio
1943 kdbusaddons
1944 kirigami
1945 knewstuff
1946 ksystemstats
1947 kitemmodels
1948 libksysguard
1949 qtdeclarative-5
1950 qtquickcontrols2-5))
1951 (synopsis "System sensors, process information and other system resources
1952monitor")
1953 (description "This package provides an interface for monitoring system
1954sensors, process information and other system resources.")
1955 (home-page "https://invent.kde.org/plasma/plasma-systemmonitor")
1956 (license (list license:gpl2 license:gpl3))))
5a683311 1957
72b80b9b
BT
1958(define-public plasma-workspace
1959 (package
1960 (name "plasma-workspace")
1961 (version "5.25.5")
1962 (source (origin
1963 (method url-fetch)
1964 (uri (string-append "mirror://kde/stable/plasma/" version
1965 "/" name "-" version ".tar.xz"))
1966 (sha256
1967 (base32
1968 "0pxwg3i07sipfchn4qkmlr6kcgqbhj2s10xq69wi32x1fc13jx5x"))))
1969 (build-system qt-build-system)
1970 (native-inputs (list extra-cmake-modules kdoctools pkg-config qtsvg-5
1971 qttools-5))
1972 (inputs (list appmenu-gtk-module
1973 appstream-qt
1974 baloo
1975 breeze
1976 breeze-icons
1977 dbus
1978 fontconfig
1979 iso-codes
1980 kactivities
1981 kactivities-stats
1982 karchive
1983 kcmutils
1984 kcoreaddons
1985 kcrash
1986 kdbusaddons
1987 kdeclarative
1988 kded
1989 kdesu
1990 kglobalaccel
1991 kguiaddons
1992 kholidays
1993 ki18n
1994 kiconthemes
1995 kidletime
1996 kinit
1997 kio
1998 kio-extras
1999 kio-fuse
2000 kitemmodels
2001 kirigami
2002 knewstuff
2003 knotifications
2004 knotifyconfig
2005 kquickcharts
2006 kpackage
2007 kpeople
2008 krunner
2009 kscreenlocker
2010 ktexteditor
2011 ktextwidgets
2012 kunitconversion
2013 kuserfeedback
2014 kwallet
2015 kwayland
2016 kwin
2017 layer-shell-qt
2018 libkscreen
2019 libksysguard
2020 libqalculate
2021 gmp
2022 mpfr
2023 libsm
2024 libxft
2025 libxkbcommon
2026 libxrender
2027 libxtst
2028 networkmanager-qt
2029 phonon
2030 pipewire-0.3
2031 plasma-framework
2032 plasma-workspace-wallpapers
2033 plasma-wayland-protocols
2034 prison
2035 qtbase-5
2036 qtdeclarative-5
2037 qtquickcontrols2-5
2038 qtwayland-5
2039 qtgraphicaleffects
2040 qtx11extras
2041 wayland
2042 wayland-protocols-next
2043 xcb-util
2044 xcb-util-image
2045 xcb-util-keysyms
2046 xrdb
2047 xmessage
2048 xsetroot
2049 zlib))
2050 (arguments
2051 (list #:phases
2052 #~(modify-phases %standard-phases
2053 (add-after 'unpack 'patch-wallpaper
2054 (lambda* (#:key inputs #:allow-other-keys)
2055 (substitute* "sddm-theme/theme.conf.cmake"
2056 (("background=..KDE_INSTALL_FULL_WALLPAPERDIR.")
2057 (string-append "background="
2058 #$(this-package-input "breeze")
2059 "/share/wallpapers")))))
2060 (add-after 'unpack 'patch-workspace-bins
2061 (lambda* (#:key inputs #:allow-other-keys)
2062 (let ((xmessage (search-input-file inputs "/bin/xmessage"))
2063 (xsetroot (search-input-file inputs "/bin/xsetroot"))
2064 (xrdb (search-input-file inputs "/bin/xrdb"))
2065 (kinit #$(this-package-input "kinit")))
2066 (substitute* "startkde/startplasma.cpp"
2067 (("xmessage") xmessage)
2068 (("xsetroot") xsetroot))
2069 (substitute* (list "kcms/fonts/fontinit.cpp"
2070 "kcms/fonts/fonts.cpp"
2071 "kcms/krdb/krdb.cpp")
2072 (("xrdb") xrdb))
2073 (substitute* "startkde/plasma-session/startup.cpp"
2074 (("CMAKE_INSTALL_FULL_LIBEXECDIR_KF5..")
2075 (string-append "\"" kinit
2076 "/lib/libexec/kf5")))
2077 (substitute* (list
2078 "startkde/startplasma-wayland.cpp"
2079 "startkde/startplasma-x11.cpp")
2080 (("kdeinit5_shutdown")
2081 (string-append kinit "/bin/kdeinit5_shutdown"))))))
2082 (delete 'check)
2083 (add-after 'install 'check-after-install
2084 (lambda* (#:key tests? #:allow-other-keys)
2085 (when tests?
2086 (setenv "HOME" (getcwd))
2087 (setenv "XDG_RUNTIME_DIR" (getcwd))
2088 (setenv "XDG_CACHE_HOME" (getcwd))
2089 (setenv "QT_QPA_PLATFORM" "offscreen")
2090 (setenv "QT_PLUGIN_PATH"
2091 (string-append #$output
2092 "/lib/qt5/plugins:"
2093 (getenv "QT_PLUGIN_PATH")))
2094 (invoke "ctest" "-E"
2095 "(appstreamtest|lookandfeel-kcmTest|tst_triangleFilter|systemtraymodeltest|testdesktop| screenpooltest)")))))))
2096 (home-page "https://invent.kde.org/plasma/plasma-workspace")
2097 (synopsis "Plasma workspace components")
2098 (description
2099 "Workspaces provide support for KDE Plasma Widgets, integrated search,
2100hardware management, and a high degree of customizability.")
2101 (license (list license:gpl2 license:gpl3))))
2102
dbe5ede0
PH
2103(define-public plasma-workspace-wallpapers
2104 (package
2105 (name "plasma-workspace-wallpapers")
2106 (version "5.25.5")
2107 (source (origin
2108 (method url-fetch)
2109 (uri (string-append "mirror://kde/stable/plasma/" version
2110 "/" name "-" version ".tar.xz"))
2111 (sha256
2112 (base32
2113 "0pdgg8h6zwyxf1pj241mg3hd94wh38bqxj68af5jfp10xrwkzcyr"))))
2114 (build-system cmake-build-system)
2115 (native-inputs (list extra-cmake-modules))
2116 (home-page "https://community.kde.org/Frameworks")
2117 (synopsis "Oxygen wallpapers for the KDE desktop")
2118 (description
2119 "This package provides wallpapers for the KDE desktop.")
2120 (license license:lgpl3+)))
2121
5a683311
PH
2122(define-public polkit-kde-agent
2123 (package
2124 (name "polkit-kde-agent")
2125 (version "5.25.5")
2126 (source (origin
2127 (method url-fetch)
2128 (uri (string-append "mirror://kde/stable/plasma/" version "/"
2129 name "-1-" version ".tar.xz"))
2130 (sha256
2131 (base32
2132 "1qb9nxlkgcv0c30l2vqgf9xs9d220q5pg7ikpb6zjzvj4wsvlvwd"))))
2133 (build-system qt-build-system)
2134 (native-inputs (list extra-cmake-modules))
2135 (inputs (list ki18n
2136 kwindowsystem
2137 kdbusaddons
2138 kwidgetsaddons
2139 kcoreaddons
2140 kcrash
2141 kiconthemes
2142 polkit-qt))
2143 (synopsis "Polkit authentication UI for Plasma")
2144 (description
2145 "This package contains a daemon providing a Polkit authentication
2146UI for Plasma")
2147 (home-page "https://invent.kde.org/plasma/polkit-kde-agent-1")
2148 (license license:gpl2+)))
b6e75ce7 2149
ee62d19d
PH
2150(define-public powerdevil
2151 (package
2152 (name "powerdevil")
2153 (version "5.25.5")
2154 (source (origin
2155 (method url-fetch)
2156 (uri (string-append "mirror://kde/stable/plasma/" version
2157 "/" name "-" version ".tar.xz"))
2158 (sha256
2159 (base32
2160 "0anisirn7z8aw442npdnk1csb5ghpzj2hx49gpw4l6ijk70b76pr"))))
2161 (build-system qt-build-system)
2162 (native-inputs (list extra-cmake-modules qttools-5 pkg-config))
2163 (inputs (list bluez-qt
2164 glib
2165 kauth
2166 kactivities
2167 kscreen
2168 kidletime
2169 kconfig
2170 kdbusaddons
2171 solid
2172 ki18n
2173 kcrash
2174 knotifyconfig
2175 networkmanager-qt
2176 kio
2177 kwayland
2178 kglobalaccel
2179 kcrash
2180 knotifications
2181 kirigami
2182 libcap
2183 libkscreen
2184 network-manager
2185 plasma-workspace
2186 eudev
2187 qtx11extras))
2188 (synopsis "Manage power consumption")
2189 (description "This package provides the power consumption settings
2190of a Plasma shell.")
2191 (home-page "https://invent.kde.org/plasma/powerdevil")
2192 (license license:gpl2+)))
2193
b6e75ce7
PH
2194(define-public system-settings
2195 (package
2196 (name "system-settings")
2197 (version "5.25.5")
2198 (source (origin
2199 (method url-fetch)
2200 (uri (string-append "mirror://kde/stable/plasma/" version
2201 "/systemsettings-" version ".tar.xz"))
2202 (sha256
2203 (base32
2204 "0n7mf6ygi8fgn1m6pk2fadnqj1h58mxqni3h19xbi373wfypq5fl"))))
2205 (build-system qt-build-system)
2206 (native-inputs (list extra-cmake-modules))
2207 (inputs (list kauth
2208 kcrash
2209 kitemviews
2210 kitemmodels
2211 kcmutils
2212 ki18n
2213 kio
2214 kservice
2215 kiconthemes
2216 kwidgetsaddons
2217 kwindowsystem
2218 kxmlgui
2219 kdbusaddons
2220 kconfig
2221 kpackage
2222 kactivities
2223 kactivities-stats
2224 kguiaddons
2225 kirigami
2226 knotifications
2227 krunner
2228 plasma-workspace
2229 qtdeclarative-5))
2230 (synopsis "Control center to configure Plasma Desktop")
2231 (description "This package provides configuration UI for Plasma Desktop.")
2232 (home-page "https://invent.kde.org/plasma/systemsettings")
2233 (license license:gpl2+)))