gnu: Add caveman.
[jackhill/guix/guix.git] / gnu / packages / kde.scm
CommitLineData
d34c594a 1;;; GNU Guix --- Functional package management for GNU
f97ad3f8 2;;; Copyright © 2016, 2017, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
15cd7067 3;;; Copyright © 2016 David Craven <david@craven.ch>
d3065c87 4;;; Copyright © 2016, 2017 Thomas Danckaert <post@thomasdanckaert.be>
a50f5258 5;;; Copyright © 2017, 2018 Mark Meyer <mark@ofosos.org>
fc87c7ce 6;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
a50f5258 7;;; Copyright © 2018 Gábor Boskovits <boskovits@gmail.com>
2668e06e 8;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
15cd7067 9;;; Copyright © 2018, 2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
9b65dea8 10;;; Copyright © 2019, 2020 Ludovic Courtès <ludo@gnu.org>
9141cec4 11;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
a2954e2a 12;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
d34c594a
EF
13;;;
14;;; This file is part of GNU Guix.
15;;;
16;;; GNU Guix is free software; you can redistribute it and/or modify it
17;;; under the terms of the GNU General Public License as published by
18;;; the Free Software Foundation; either version 3 of the License, or (at
19;;; your option) any later version.
20;;;
21;;; GNU Guix is distributed in the hope that it will be useful, but
22;;; WITHOUT ANY WARRANTY; without even the implied warranty of
23;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24;;; GNU General Public License for more details.
25;;;
26;;; You should have received a copy of the GNU General Public License
27;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
28
29(define-module (gnu packages kde)
30 #:use-module (guix build-system cmake)
e185e900 31 #:use-module (guix build-system qt)
e87b83b6 32 #:use-module (guix deprecation)
d34c594a 33 #:use-module (guix download)
a50f5258 34 #:use-module (guix git-download)
d34c594a
EF
35 #:use-module ((guix licenses) #:prefix license:)
36 #:use-module (guix packages)
37 #:use-module (guix utils)
38988dbe 38 #:use-module (gnu packages)
40761f57 39 #:use-module (gnu packages algebra)
c02c8cf4 40 #:use-module (gnu packages apr)
b9c9cdbf 41 #:use-module (gnu packages audio)
c02c8cf4 42 #:use-module (gnu packages boost)
6e23bee6 43 #:use-module (gnu packages code)
a2954e2a 44 #:use-module (gnu packages cpp)
f447dbc7 45 #:use-module (gnu packages compression)
40761f57 46 #:use-module (gnu packages curl)
f447dbc7 47 #:use-module (gnu packages documentation)
40761f57
MM
48 #:use-module (gnu packages gettext)
49 #:use-module (gnu packages ghostscript)
7781afde
TD
50 #:use-module (gnu packages gl)
51 #:use-module (gnu packages gnome)
40761f57
MM
52 #:use-module (gnu packages graphics)
53 #:use-module (gnu packages image)
550791b8 54 #:use-module (gnu packages kde-frameworks)
9141cec4 55 #:use-module (gnu packages kde-pim)
bec2a2e1 56 #:use-module (gnu packages kde-plasma)
15cd7067 57 #:use-module (gnu packages linux)
7781afde 58 #:use-module (gnu packages llvm)
40761f57
MM
59 #:use-module (gnu packages maths)
60 #:use-module (gnu packages pdf)
61 #:use-module (gnu packages perl)
62 #:use-module (gnu packages photo)
d34c594a 63 #:use-module (gnu packages pkg-config)
b9c9cdbf 64 #:use-module (gnu packages pulseaudio)
ce8964b6 65 #:use-module (gnu packages python)
d34c594a 66 #:use-module (gnu packages tls)
c02c8cf4 67 #:use-module (gnu packages qt)
40761f57 68 #:use-module (gnu packages version-control)
a50f5258 69 #:use-module (gnu packages video)
ce8964b6 70 #:use-module (gnu packages xdisorg)
b2fdd0cf 71 #:use-module (gnu packages xml)
40761f57 72 #:use-module (gnu packages xorg))
d34c594a 73
15622105
HG
74(define-public baloo-widgets
75 (package
76 (name "baloo-widgets")
6701d232 77 (version "20.04.1")
15622105
HG
78 (source
79 (origin
80 (method url-fetch)
6701d232 81 (uri (string-append "mirror://kde/stable/release-service/" version
15622105
HG
82 "/src/baloo-widgets-" version ".tar.xz"))
83 (sha256
6701d232 84 (base32 "1x4v79vhvc5ixkbsf3jyjz5ig1lf78rfw3r7g3llpb4j1kcp3wh0"))))
15622105
HG
85 (build-system qt-build-system)
86 (native-inputs
87 `(("extra-cmake-modules" ,extra-cmake-modules)))
88 (inputs
89 `(("baloo" ,baloo)
90 ("kconfig" ,kconfig)
91 ("ki18n" ,ki18n)
92 ("kio" ,kio)
93 ("qtbase" ,qtbase)))
94 (arguments
95 `(#:phases
96 (modify-phases %standard-phases
97 (add-before 'check 'check-setup
98 (lambda _
99 (setenv "QT_QPA_PLATFORM" "offscreen")
100 #t)))))
101 (home-page "https://community.kde.org/Baloo")
102 (synopsis "Wigets for use with Baloo")
103 (description "Baloo is a framework for searching and managing metadata.
104This package contains GUI widgets for baloo.")
105 (license license:lgpl2.0+)))
106
b2fdd0cf
HG
107(define-public grantleetheme
108 (package
109 (name "grantleetheme")
6701d232 110 (version "20.04.1")
b2fdd0cf
HG
111 (source
112 (origin
113 (method url-fetch)
6701d232 114 (uri (string-append "mirror://kde/stable/release-service/" version
b2fdd0cf
HG
115 "/src/grantleetheme-" version ".tar.xz"))
116 (sha256
6701d232 117 (base32 "0gabc5cb0sf00s7m5v2jnq55qsrdbrq6nqd15y1i15p788zifsjx"))
b2fdd0cf
HG
118 (patches (search-patches "grantlee-merge-theme-dirs.patch"))))
119 (build-system qt-build-system)
120 (native-inputs
121 `(("extra-cmake-modules" ,extra-cmake-modules)
122 ("libxml2" ,libxml2))) ;; xmllint required for tests
123 (inputs
124 `(("grantlee" ,grantlee)
6701d232 125 ("kguiaddons" ,kguiaddons)
b2fdd0cf
HG
126 ("ki18n" ,ki18n)
127 ("kiconthemes" ,kiconthemes)
128 ("knewstuff" ,knewstuff)
129 ("qtbase" ,qtbase)))
b2fdd0cf
HG
130 (home-page "https://cgit.kde.org/grantleetheme.git")
131 (synopsis "Library providing Grantlee theme support")
132 (description "This library provides Grantlee theme support.")
133 (license ;; LGPL for libraries, FDL for documentation
6701d232 134 (list license:lgpl2.1+ license:fdl1.2+))))
b2fdd0cf 135
a50f5258 136(define-public kdenlive
a2954e2a 137 (let ((version "20.04.1"))
a50f5258
MM
138 (package
139 (name "kdenlive")
140 (version version)
141 (source
142 (origin
143 (method git-fetch)
144 (uri (git-reference
a2954e2a 145 (url "https://anongit.kde.org/kdenlive.git")
a50f5258
MM
146 (commit (string-append "v" version))))
147 (file-name (string-append name "-" version "-checkout"))
148 (sha256
149 (base32
a2954e2a 150 "0n0x34xmcn0k87rqnz0mk462b3al4gq56kn4m00rr428hafscdz7"))))
a50f5258
MM
151 (build-system cmake-build-system)
152 (native-inputs
153 `(("extra-cmake-modules" ,extra-cmake-modules)
154 ("qttools" ,qttools)))
a50f5258
MM
155 (inputs
156 `(("shared-mime-info" ,shared-mime-info)
157 ("frei0r-plugins" ,frei0r-plugins)
a2954e2a
MR
158 ("rttr" ,rttr)
159 ("mlt" ,mlt)
a50f5258
MM
160 ("qtbase" ,qtbase)
161 ("qtscript" ,qtscript)
162 ("qtsvg" ,qtsvg)
a2954e2a 163 ("qtmultimedia" ,qtmultimedia)
a50f5258
MM
164 ("kparts" ,kparts)
165 ("knotifications" ,knotifications)
166 ("karchive" ,karchive)
167 ("kdbusaddons" ,kdbusaddons)
168 ("kcrash" ,kcrash)
169 ("kguiaddons" ,kguiaddons)
170 ("knewstuff" ,knewstuff)
171 ("knotifyconfig" ,knotifyconfig)
172 ("kfilemetadata" ,kfilemetadata)
173 ("kdoctools" ,kdoctools)
b42b5afd
MW
174 ("kdeclarative" ,kdeclarative)
175 ("qtdeclarative" ,qtdeclarative)
176 ("qtquickcontrols" ,qtquickcontrols)
a2954e2a 177 ("qtquickcontrols2" ,qtquickcontrols2)
b42b5afd 178 ("kiconthemes" ,kiconthemes)
a50f5258 179 ("qtgraphicaleffects" ,qtgraphicaleffects)
b42b5afd 180 ("kplotting" ,kplotting)))
a50f5258 181 (arguments
a2954e2a
MR
182 `(#:tests? #f ;TODO needs X
183 #:phases
a50f5258
MM
184 (modify-phases %standard-phases
185 (add-after 'install 'wrap-executable
186 (lambda* (#:key inputs outputs #:allow-other-keys)
187 (let* ((out (assoc-ref outputs "out"))
188 (qtquickcontrols (assoc-ref inputs "qtquickcontrols"))
a2954e2a 189 (qtquickcontrols2 (assoc-ref inputs "qtquickcontrols2"))
a50f5258
MM
190 (qtbase (assoc-ref inputs "qtbase"))
191 (qtdeclarative (assoc-ref inputs "qtdeclarative"))
192 (frei0r (assoc-ref inputs "frei0r-plugins"))
193 (qml "/lib/qt5/qml"))
194 (wrap-program (string-append out "/bin/kdenlive")
195 `("QT_PLUGIN_PATH" ":" prefix
196 ,(map (lambda (label)
197 (string-append (assoc-ref inputs label)
198 "/lib/qt5/plugins/"))
b42b5afd 199 '("qtbase" "qtsvg")))
a50f5258
MM
200 `("FREI0R_PATH" ":" =
201 (,(string-append frei0r "/lib/frei0r-1/")))
202 `("QT_QPA_PLATFORM_PLUGIN_PATH" ":" =
203 (,(string-append qtbase "/lib/qt5/plugins/platforms")))
204 `("QML2_IMPORT_PATH" ":" prefix
205 (,(string-append qtquickcontrols qml)
a2954e2a
MR
206 ,(string-append qtquickcontrols2 qml)
207 ,(string-append qtdeclarative qml)))
208 `("MLT_PREFIX" ":" =
209 (,(assoc-ref inputs "mlt")))))
a50f5258
MM
210 #t)))))
211 (home-page "https://kdenlive.org")
212 (synopsis "Non-linear video editor")
213 (description "Kdenlive is an acronym for KDE Non-Linear Video Editor.
214
215Non-linear video editing is much more powerful than beginner's (linear)
216editors, hence it requires a bit more organization before starting. However,
217it is not reserved to specialists and can be used for small personal
218projects.")
219 (license license:gpl2+))))
220
7781afde
TD
221(define-public kdevelop
222 (package
223 (name "kdevelop")
32a4c032 224 (version "5.5.2")
7781afde
TD
225 (source
226 (origin
227 (method url-fetch)
228 (uri (string-append "mirror://kde/stable/kdevelop"
229 "/" version "/src/kdevelop-"
230 version ".tar.xz"))
231 (sha256
32a4c032 232 (base32 "1nkl3z1n1l7ly2zvmbx2sdhx5q72wcvpwhzsz3qgw1474qd9i3i2"))))
6e23bee6 233 (build-system qt-build-system)
7781afde
TD
234 (native-inputs
235 `(("extra-cmake-modules" ,extra-cmake-modules)
236 ("pkg-config" ,pkg-config)
6e23bee6 237 ("shared-mime-info" ,shared-mime-info)
7781afde
TD
238 ("qttools" ,qttools)))
239 (inputs
6e23bee6
HG
240 `(("boost" ,boost)
241 ("clang" ,clang)
242 ("grantlee" ,grantlee)
7781afde
TD
243 ("karchive" ,karchive)
244 ("kcmutils" ,kcmutils)
6e23bee6 245 ("kcrash" ,kcrash)
7781afde
TD
246 ("kdeclarative" ,kdeclarative)
247 ("kdoctools" ,kdoctools)
248 ("kguiaddons" ,kguiaddons)
249 ("ki18n" ,ki18n)
7781afde 250 ("kiconthemes" ,kiconthemes)
6e23bee6 251 ("kio" ,kio) ;; not checked as requirement
7781afde
TD
252 ("kitemmodels" ,kitemmodels)
253 ("kitemviews" ,kitemviews)
254 ("kjobwidgets" ,kjobwidgets)
7781afde 255 ("knotifications" ,knotifications)
6e23bee6 256 ("knotifyconfig" ,knotifyconfig)
7781afde 257 ("kparts" ,kparts)
6e23bee6 258 ("kservice" ,kservice)
7781afde
TD
259 ("ktexteditor" ,ktexteditor)
260 ("kwindowsystem" ,kwindowsystem)
6e23bee6
HG
261 ("kxmlgui" ,kxmlgui)
262 ("libkomparediff2" ,libkomparediff2)
263 ("oxygen-icons" ,oxygen-icons)
264 ("qtbase" ,qtbase)
265 ("qtdeclarative" ,qtdeclarative)
266 ("qtquickcontrols" ,qtquickcontrols) ;; not checked as requirement
267 ("qtquickcontrols2" ,qtquickcontrols2) ;; not checked as requirement
268 ("qtwebkit" ,qtwebkit)
269 ("threadweaver" ,threadweaver)
270
271 ;; recommendes
272 ("astyle" ,astyle)
273 ("kdevelop-pg-qt" ,kdevelop-pg-qt)
274 ("libksysguard" ,libksysguard)
275
276 ;; optional
277 ("apr" ,apr) ; required for subversion support
278 ("apr-util" ,apr-util) ; required for subversion support
279 ("attica" ,attica)
280 ("kconfigwidgets" ,kconfigwidgets)
281 ("knewstuff" ,knewstuff)
282 ("krunner" ,krunner)
283 ;; TODO: OktetaGui, OktetaKastenControllers
7781afde 284 ("plasma" ,plasma-framework)
6e23bee6
HG
285 ;; TODO: purpose
286 ("sonnet" ,sonnet)
287 ("subversion" ,subversion)))
288
289 ;; run-time packages - TODO
290 ;; ClazyStandalone
291 ;; Cppcheck
292 ;; heaptrack
293 ;; heaptrack_gui
294 ;; meson
7781afde 295 (arguments
6e23bee6
HG
296 `(#:tests? #f ;; there are some issues with the test suite
297 #:phases
0422d3e1 298 (modify-phases %standard-phases
6e23bee6
HG
299 (add-before 'configure 'add-include-path
300 (lambda* (#:key inputs #:allow-other-keys)
301 (substitute* "cmake/modules/FindClang.cmake"
302 (("^\\s*PATHS \"\\$\\{CLANG_LIBRARY_DIRS\\}\"" line)
303 (string-append line " " (assoc-ref inputs "clang") "/lib")))
304 #t)))))
7781afde
TD
305 (home-page "https://kdevelop.org")
306 (synopsis "IDE for C, C++, Python, Javascript and PHP")
307 (description "The KDevelop IDE provides semantic syntax highlighting, as
308well as code navigation and completion for C, C++ (using Clang/LLVM), QML,
309JavaScript, Python and PHP. It also integrates with a debugger, different
310build systems (CMake, QMake, custom Makefiles) and version control
311software (Git, Subversion, Mercurial, CVS and Bazaar).")
312 (license license:lgpl2.1+)))
313
8bb115e0
TD
314(define-public kdevelop-pg-qt
315 (package
316 (name "kdevelop-pg-qt")
f97ad3f8 317 (version "2.2.1")
8bb115e0
TD
318 (source
319 (origin
f97ad3f8
EF
320 (method git-fetch)
321 (uri (git-reference
322 (url "https://github.com/KDE/kdevelop-pg-qt")
323 (commit (string-append "v" version))))
324 (file-name (git-file-name name version))
8bb115e0 325 (sha256
f97ad3f8 326 (base32 "1kfab4p717acbdkcdi41d98vwch7v431gb2qi6s38hmclsf8bf8g"))))
8bb115e0
TD
327 (native-inputs
328 `(("extra-cmake-modules" ,extra-cmake-modules)))
329 (inputs
330 `(("qtbase" ,qtbase)))
331 (build-system cmake-build-system)
332 (home-page "https://kde.org")
333 (synopsis "Parser generator library for KDevplatform")
334 (description "KDevelop-PG-Qt is the parser generator used in KDevplatform
335for some KDevelop language plugins (Ruby, PHP, CSS...).")
336 (license license:lgpl2.0+)))
337
e87b83b6 338;; kdevplatform was merged into kdevelop as of 5.2.x
9b65dea8 339(define-deprecated kdevplatform kdevelop)
c02c8cf4 340
9d95d8bd
HG
341(define-public kdiagram
342 (package
343 (name "kdiagram")
8415182a 344 (version "2.7.0")
9d95d8bd
HG
345 (source
346 (origin
347 (method url-fetch)
348 (uri (string-append "mirror://kde/stable/kdiagram/" version
349 "/kdiagram-" version ".tar.xz"))
350 (sha256
8415182a 351 (base32 "1pgvf2q8b59hw0jg5ajmj5nrn4q8cgnifpvdd0fynk2ml6zym8k3"))
9d95d8bd
HG
352 (patches (search-patches
353 "kdiagram-Fix-missing-link-libraries.patch"))))
354 (build-system qt-build-system)
355 (native-inputs
356 `(("extra-cmake-modules" ,extra-cmake-modules)
357 ("qttools" ,qttools)))
358 (inputs
359 `(("qtbase" ,qtbase)
360 ("qtsvg" ,qtsvg)))
361 (home-page "https://cgit.kde.org/kdiagram.git/")
362 (synopsis "Libraries for creating business diagrams")
363 (description "This package provides libraries for integrating business
364diagrams in Qt-based applications.
365
366@code{KCharts} provides an implementation of the ODF Chart specification. It
367supports stock charts, box charts, and whisker charts. @code{KGantt} provides
368a module for implementing ODF Gantt charts, which are bar charts that
369illustrate project schedules.")
370 (license license:gpl2+)))
371
40761f57
MM
372(define-public krita
373 (package
374 (name "krita")
61e1a8e4 375 (version "4.3.0")
40761f57
MM
376 (source (origin
377 (method url-fetch)
378 (uri (string-append
6d8bffd1 379 "mirror://kde/stable/krita/" version
2668e06e 380 "/krita-" version ".tar.gz"))
40761f57
MM
381 (sha256
382 (base32
61e1a8e4 383 "1njbxv7b56if838gv7ydzm1sprgmaabnp0jlj0bxryxzfdy8hwfh"))))
40761f57
MM
384 (build-system cmake-build-system)
385 (arguments
386 `(#:tests? #f
387 #:configure-flags
2668e06e 388 (list "-DBUILD_TESTING=OFF"
1475d5c6 389 (string-append "-DCMAKE_CXX_FLAGS=-I"
7d703a2f 390 (assoc-ref %build-inputs "openexr")
990e93fc
LF
391 "/include/OpenEXR"))
392 #:phases
393 (modify-phases %standard-phases
1ee750ba
LF
394 ;; Ensure that icons are found at runtime.
395 ;; This works around <https://bugs.gnu.org/22138>.
990e93fc
LF
396 (add-after 'install 'wrap-executable
397 (lambda* (#:key inputs outputs #:allow-other-keys)
398 (let ((out (assoc-ref outputs "out"))
399 (qt '("qtbase" "qtsvg")))
400 (wrap-program (string-append out "/bin/krita")
401 `("QT_PLUGIN_PATH" ":" prefix
402 ,(map (lambda (label)
403 (string-append (assoc-ref inputs label)
404 "/lib/qt5/plugins/"))
405 qt)))
406 #t))))))
40761f57
MM
407 (native-inputs
408 `(("curl" ,curl)
409 ("eigen" ,eigen)
410 ("extra-cmake-modules" ,extra-cmake-modules)
411 ("gettext-minimal" ,gettext-minimal)
412 ("kitemmodels" ,kitemmodels)
2668e06e 413 ("pkg-config" ,pkg-config)
1475d5c6
MM
414 ("qwt" ,qwt)
415 ("vc" ,vc)))
40761f57 416 (inputs
2668e06e
NG
417 `(("boost" ,boost)
418 ("exiv2" ,exiv2)
419 ("fftw" ,fftw)
420 ("gsl" ,gsl)
421 ("ilmbase" ,ilmbase)
40761f57
MM
422 ("karchive" ,karchive)
423 ("kcompletion" ,kcompletion)
424 ("kconfig" ,kconfig)
425 ("kcoreaddons" ,kcoreaddons)
426 ("kcrash" ,kcrash)
427 ("kguiaddons" ,kguiaddons)
428 ("ki18n" ,ki18n)
429 ("kiconthemes" ,kiconthemes)
430 ("kio" ,kio)
431 ("kitemviews" ,kitemviews)
432 ("kwidgetsaddons" ,kwidgetsaddons)
433 ("kwindowsystem" ,kwindowsystem)
434 ("kxmlgui" ,kxmlgui)
40761f57 435 ("lcms" ,lcms)
1475d5c6 436 ("libjpeg-turbo" ,libjpeg-turbo)
2668e06e
NG
437 ("libpng" ,libpng)
438 ("libraw" ,libraw-0.18)
439 ("libtiff" ,libtiff)
40761f57
MM
440 ("libx11" ,libx11)
441 ("libxcb" ,libxcb)
442 ("libxi" ,libxi)
2668e06e 443 ("openexr" ,openexr)
1475d5c6 444 ("perl" ,perl)
2668e06e 445 ("poppler-qt5" ,poppler-qt5)
0448bfe2 446 ("qtbase" ,qtbase-for-krita)
2668e06e
NG
447 ("qtdeclarative" ,qtdeclarative)
448 ("qtmultimedia" ,qtmultimedia)
449 ("qtsvg" ,qtsvg)
450 ("qtx11extras" ,qtx11extras)
451 ("quazip" ,quazip)
452 ("zlib" ,zlib)))
40761f57
MM
453 (home-page "https://krita.org")
454 (synopsis "Digital painting application")
455 (description
456 "Krita is a professional painting tool designed for concept artists,
457illustrators, matte and texture artists, and the VFX industry. Notable
458features include brush stabilizers, brush engines and wrap-around mode.")
459 (license license:gpl2+)))
460
5a16e1c0
TD
461(define-public libkomparediff2
462 (package
463 (name "libkomparediff2")
6701d232 464 (version "20.04.1")
5a16e1c0
TD
465 (source
466 (origin
467 (method url-fetch)
6701d232 468 (uri (string-append "mirror://kde/stable/release-service/" version
40b5ec2f 469 "/src/libkomparediff2-" version ".tar.xz"))
5a16e1c0 470 (sha256
6701d232 471 (base32 "0m8m7sgpf2f4nxpaaymyvihlk0pcyblyd99mcbibrnyr5kzkzzdc"))))
5a16e1c0
TD
472 (native-inputs
473 `(("extra-cmake-modules" ,extra-cmake-modules)
474 ("pkg-config" ,pkg-config)))
475 (inputs
476 `(("kcodecs" ,kcodecs)
477 ("kconfig" ,kconfig)
478 ("kcoreaddons" ,kcoreaddons)
479 ("ki18n" ,ki18n)
480 ("kio" ,kio)
481 ("kxmlgui" ,kxmlgui)
482 ("qtbase" ,qtbase)))
483 (build-system cmake-build-system)
484 (home-page "https://kde.org")
485 (synopsis "Library to compare files and strings, used in Kompare and KDevelop")
486 (description "Libkomparediff2 is a library to work with diffs and patches,
487used in KDE development tools Kompare and KDevelop.")
488
489 ;; GPL, some files are also licensed under LGPL or BSD, see COPYING in the
490 ;; source archive
491 (license (list license:gpl2+ license:lgpl2.0+ license:bsd-3))))
492
d34c594a
EF
493(define-public qca
494 (package
495 (name "qca")
565d2eb0 496 (version "2.3.0")
d34c594a
EF
497 (source
498 (origin
499 (method url-fetch)
bb8d1b2a 500 (uri (string-append "mirror://kde/stable/qca/" version
7f5f61ae 501 "/qca-" version ".tar.xz"))
d34c594a
EF
502 (sha256
503 (base32
565d2eb0 504 "1mrj748yz1grgzmfbmffgjkpcqiaj1l3m4pbddwcj7dnl50yys0x"))))
d34c594a
EF
505 (build-system cmake-build-system)
506 (native-inputs
507 `(("pkg-config" ,pkg-config)))
508 (inputs
509 `(("openssl" ,openssl)
05b9c00e 510 ("qtbase" ,qtbase)))
49e6b0d9 511 (home-page "https://userbase.kde.org/QCA")
d34c594a
EF
512 (synopsis "Libraries for the Qt Cryptographic Architecture")
513 (description "The Qt Cryptographic Architecture (QCA) provides a
514straightforward and cross-platform API for a range of cryptographic features,
515including SSL/TLS, X.509 certificates, SASL, OpenPGP, S/MIME CMS, and smart
516cards.")
517 (license license:lgpl2.1)))
550791b8 518
15cd7067
HG
519(define-public kpmcore
520 (package
521 (name "kpmcore")
5db3f6c1 522 (version "4.1.0")
15cd7067
HG
523 (source (origin
524 (method url-fetch)
525 (uri (string-append
526 "mirror://kde/stable/kpmcore"
527 "/" version "/src/"
528 name "-" version ".tar.xz"))
529 (sha256
530 (base32
5db3f6c1 531 "0jsig7algmab9h0fb09my0axjqzw83zgscamhzl8931lribs6idm"))))
15cd7067
HG
532 (build-system cmake-build-system)
533 (native-inputs
534 `(("extra-cmake-modules" ,extra-cmake-modules)
535 ("pkg-config" ,pkg-config)))
536 (inputs
9c881490
537 `(("kauth" ,kauth)
538 ("kcoreaddons" ,kcoreaddons)
15cd7067 539 ("ki18n" ,ki18n)
9c881490 540 ("kwidgetsaddons" ,kwidgetsaddons)
15cd7067 541 ("qtbase" ,qtbase)
38988dbe 542 ("qca" ,qca)
bb93042c 543 ("util-linux" ,util-linux "lib")))
15cd7067
HG
544 (home-page "https://community.kde.org/Frameworks")
545 (synopsis "Library for managing partitions")
546 (description "Library for managing partitions.")
547 (license license:gpl3+)))
548
550791b8
EF
549(define-public snorenotify
550 (package
551 (name "snorenotify")
552 (version "0.7.0")
553 (source
554 (origin
555 (method url-fetch)
343bffbd 556 (uri (string-append "mirror://kde/stable/snorenotify/"
550791b8
EF
557 version "/src/snorenotify-" version ".tar.xz"))
558 (sha256
559 (base32
560 "0jz6ivk90h7iwgyxar7xzzj8yvzn6s1my6cqs9bdnwqswfk1nhbd"))))
561 (build-system cmake-build-system)
562 (arguments
563 `(#:tests? #f)) ; both tests fail, require display
564 (inputs
3c526173
EF
565 `(("qtbase" ,qtbase)))
566 (native-inputs
550791b8 567 `(("extra-cmake-modules" ,extra-cmake-modules)
5f2074ca 568 ("qttools" ,qttools)))
550791b8
EF
569 (home-page "https://techbase.kde.org/Projects/Snorenotify")
570 (synopsis "Qt notification framework")
571 (description "Snorenotify is a multi platform Qt notification framework.
572Using a plugin system it is possible to create notifications with many
573different notification systems.")
574 (license license:lgpl3)))
ce8964b6
EF
575
576(define-public kdeconnect
577 (package
578 (name "kdeconnect")
05b23730 579 (version "20.04.2")
ce8964b6
EF
580 (source
581 (origin
582 (method url-fetch)
0526185e
EF
583 (uri (string-append "mirror://kde/stable/release-service/"
584 version "/src/kdeconnect-kde-"
ce8964b6
EF
585 version ".tar.xz"))
586 (sha256
587 (base32
05b23730 588 "0yq3afbbcc9gmlcachvh3xz3gdj57092fpagp36l5knw8gr0d9ip"))))
e185e900 589 (build-system qt-build-system)
ce8964b6 590 (arguments
720855b5 591 `(#:configure-flags '("-DBUILD_TESTING=ON"
0526185e 592 "-DKDE_INSTALL_LIBEXECDIR=libexec")
9141cec4
MB
593 #:phases (modify-phases %standard-phases
594 (add-after 'set-paths 'extend-CPLUS_INCLUDE_PATH
595 (lambda* (#:key inputs #:allow-other-keys)
596 ;; FIXME: <kcmutils_version.h> is not found during one
597 ;; of the compilation steps without this hack.
598 (setenv "CPLUS_INCLUDE_PATH"
599 (string-append (assoc-ref inputs "kcmutils")
600 "/include/KF5:"
601 (or (getenv "CPLUS_INCLUDE_PATH")
602 "")))
603 #t)))
cd165d10 604 #:tests? #f)) ; tests fail hard in our build environment
ce8964b6
EF
605 (native-inputs
606 `(("extra-cmake-modules" ,extra-cmake-modules)
607 ("kdoctools" ,kdoctools)
608 ("libxtst" ,libxtst)
609 ("pkg-config" ,pkg-config)
610 ("python" ,python-wrapper)))
611 (inputs
612 `(("kcmutils" ,kcmutils)
613 ("kconfigwidgets" ,kconfigwidgets)
614 ("kdbusaddons" ,kdbusaddons)
615 ("ki18n" ,ki18n)
616 ("kiconthemes" ,kiconthemes)
617 ("kio" ,kio)
9141cec4 618 ("kirigami" ,kirigami)
ce8964b6 619 ("knotifications" ,knotifications)
9141cec4
MB
620 ("kpeople" ,kpeople)
621 ("kpeoplevcard" ,kpeoplevcard)
ce8964b6
EF
622 ("kwayland" ,kwayland)
623 ("libfakekey" ,libfakekey)
9141cec4 624 ("pulseaudio-qt" ,pulseaudio-qt)
ce8964b6
EF
625 ("qca" ,qca)
626 ("qtbase" ,qtbase)
627 ("qtdeclarative" ,qtdeclarative)
9141cec4 628 ("qtmultimedia" ,qtmultimedia)
ce8964b6
EF
629 ("qtx11extras" ,qtx11extras)))
630 (home-page "https://community.kde.org/KDEConnect")
631 (synopsis "Enable your devices to communicate with each other")
632 (description "KDE Connect is a project that enables all your devices to
633communicate with each other. Here's a few things KDE Connect can do:
634@enumerate
635@item Receive your phone notifications on your desktop computer and reply to messages
636@item Control music playing on your desktop from your phone
637@item Use your phone as a remote control for your desktop
638@item Run predefined commands on your PC from connected devices
639@item Check your phones battery level from the desktop
640@item Ring your phone to help finding it
641@item Share files and links between devices
642@item Browse your phone from the desktop
643@item Control the desktop's volume from the phone
644@end enumerate")
0d7dfbce 645 (properties `((upstream-name . "kdeconnect-kde")))
ce8964b6 646 (license (list license:gpl2 license:gpl3)))) ; dual licensed
dece3433
EF
647
648(define-public kqtquickcharts
649 (package
650 (name "kqtquickcharts")
6701d232 651 (version "20.04.1")
dece3433
EF
652 (source
653 (origin
654 (method url-fetch)
6701d232 655 (uri (string-append "mirror://kde/stable/release-service/"
dece3433
EF
656 version "/src/kqtquickcharts-" version ".tar.xz"))
657 (sha256
658 (base32
6701d232 659 "1wxp35mf9zlpgzi4msdl86b2krdq2ipqw371gyx23r7j84vdyxi3"))))
dece3433
EF
660 (build-system cmake-build-system)
661 (native-inputs
662 `(("extra-cmake-modules" ,extra-cmake-modules)))
663 (inputs
664 `(("qtbase" ,qtbase)
665 ("qtdeclarative" ,qtdeclarative)))
666 (home-page "https://phabricator.kde.org/source/kqtquickcharts/")
667 (synopsis "Interactive charts for Qt Quick")
668 (description
669 "Kqtquickcharts is a QtQuick plugin to render beautiful and interactive
670charts.")
671 (license license:lgpl2.1+)))
8cf20d73
LC
672
673(define-public kcachegrind
674 (package
675 (name "kcachegrind")
6701d232 676 (version "20.04.1")
8cf20d73
LC
677 (source (origin
678 (method url-fetch)
6701d232 679 (uri (string-append "mirror://kde/stable/release-service/" version
8cf20d73
LC
680 "/src/kcachegrind-" version ".tar.xz"))
681 (sha256
682 (base32
6701d232 683 "0fx17s6fj1pxl1mgfrqhchk8sihkbji1x8y3nhb1r0971wzd1nsc"))))
8cf20d73
LC
684 (build-system cmake-build-system)
685 (native-inputs
686 `(("extra-cmake-modules" ,extra-cmake-modules)
687 ("perl" ,perl)
688 ("python" ,python)
689 ("qttools" ,qttools)
690 ("kdoctools" ,kdoctools)))
691 (inputs
692 `(("qtbase" ,qtbase)
693 ("karchive" ,karchive)
694 ("ki18n" ,ki18n)
695 ("kio" ,kio)
696 ("kdbusaddons" ,kdbusaddons)))
697 ;; Note: The 'hotshot2calltree' and 'pprof2calltree' scripts depend on
698 ;; Python and PHP, respectively. These are optional and we ignore them
699 ;; for now.
700 (home-page "https://kcachegrind.github.io/html/Home.html")
701 (synopsis "Visualize profiles produces by Valgrind's Cachegrind tool")
702 (description
703 "The data files generated by the Callgrind of Valgrind, an application
704profiler, can be loaded into KCachegrind for browsing the performance results.
705There is also a command-line tool to get ASCII reports from data files without
706the need to use KCachegrind.
707
708The format of Callgrind output is documented. With conversion scripts,
709KCachegrind is able to visualize output of other profilers like OProfile, a
710system-wide profiler for Linux using statistical sampling with hardware
711performance counters. There also exist converters for profiling output of
712Python, PHP, and Perl.")
713 (license license:gpl2)))
b9c9cdbf
HG
714
715(define-public libkdegames
716 (package
717 (name "libkdegames")
6701d232 718 (version "20.04.1")
b9c9cdbf
HG
719 (source
720 (origin
721 (method url-fetch)
6701d232 722 (uri (string-append "mirror://kde/stable/release-service/" version
b9c9cdbf
HG
723 "/src/libkdegames-" version ".tar.xz"))
724 (sha256
6701d232 725 (base32 "1xsrrvhwjwi5aajcaxydmzc69i4yx6shs8ly8vr85njc188ycg13"))))
cd165d10 726 (build-system qt-build-system)
b9c9cdbf
HG
727 (native-inputs
728 `(("extra-cmake-modules" ,extra-cmake-modules)))
729 (inputs
730 `(("karchive" ,karchive)
731 ("kbookmarks" ,kbookmarks)
732 ("kcodecs" ,kcodecs)
733 ("kcompletion" ,kcompletion)
734 ("kconfigwidgets" ,kconfigwidgets)
735 ("kcrash" ,kcrash)
736 ("kdbusaddons" ,kdbusaddons)
737 ("kdeclarative" ,kdeclarative)
738 ("kdnssd" ,kdnssd)
739 ("kglobalaccel" ,kglobalaccel)
740 ("kguiaddons" ,kguiaddons)
741 ("ki18n" ,ki18n)
742 ("kiconthemes" ,kiconthemes)
743 ;("kio" ,kio)
744 ("kitemviews" ,kitemviews)
745 ("kjobwidgets" ,kjobwidgets)
746 ("knewstuff" ,knewstuff)
747 ("kservice" ,kservice)
748 ("ktextwidgets" ,ktextwidgets)
749 ("kwidgetsaddons" ,kwidgetsaddons)
750 ("kxmlgui" ,kxmlgui)
751 ("libsndfile" ,libsndfile)
752 ("openal" ,openal)
753 ("qtbase" ,qtbase)
754 ("qtdeclarative" ,qtdeclarative)
755 ("qtsvg" ,qtsvg)))
b9c9cdbf
HG
756 (home-page "https://games.kde.org/")
757 (synopsis "Runtime library for kdegames")
758 (description "Runtime library for kdegames")
759 (license (list license:gpl2+ license:fdl1.2+))))
9b98d288
HG
760
761(define-public zeroconf-ioslave
762 (package
763 (name "zeroconf-ioslave")
6701d232 764 (version "20.04.1")
9b98d288
HG
765 (source
766 (origin
767 (method url-fetch)
6701d232 768 (uri (string-append "mirror://kde/stable/release-service/" version
9b98d288
HG
769 "/src/zeroconf-ioslave-" version ".tar.xz"))
770 (sha256
6701d232 771 (base32 "1qck5jyc4psslpibhki8sz8aj0hsnx8z791vzyn10lmdzn71vx8c"))))
9b98d288
HG
772 (build-system qt-build-system)
773 (native-inputs
774 `(("extra-cmake-modules" ,extra-cmake-modules)))
775 (inputs
776 `(("kdbusaddons" ,kdbusaddons)
777 ("kdnssd" ,kdnssd)
778 ("ki18n" ,ki18n)
779 ("kio" ,kio)
780 ("qtbase" ,qtbase)))
781 (home-page "https://kde.org/applications/internet/org.kde.zeroconf_ioslave")
782 (synopsis "DNS-SD Service Discovery Monitor")
783 (description "Adds an entry to Dolphin's Network page to show local
784services such as printers which advertise themselves with DNSSD (called Avahi
785or Bonjour by other projects).")
786 (license ;; GPL for programs, LGPL for libraries, FDL for documentation
787 (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))