gnu: lxqt-openssh-askpass: Update to 0.14.1.
[jackhill/guix/guix.git] / gnu / packages / lxqt.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
3 ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
4 ;;; Copyright © 2016 Mark H Weaver <mhw@netris.org>
5 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
6 ;;; Copyright © 2017 Nils Gillmann <ng0@n0.is>
7 ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
8 ;;; Copyright © 2018, 2019 Meiyo Peng <meiyo@riseup.net>
9 ;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
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 lxqt)
27 #:use-module (guix download)
28 #:use-module (guix git-download)
29 #:use-module ((guix licenses) #:prefix license:)
30 #:use-module (guix packages)
31 #:use-module (guix utils)
32 #:use-module (guix build-system cmake)
33 #:use-module (guix build-system gnu)
34 #:use-module (guix build-system trivial)
35 #:use-module (gnu packages)
36 #:use-module (gnu packages admin)
37 #:use-module (gnu packages compression)
38 #:use-module (gnu packages documentation)
39 #:use-module (gnu packages compton)
40 #:use-module (gnu packages fonts)
41 #:use-module (gnu packages freedesktop)
42 #:use-module (gnu packages glib)
43 #:use-module (gnu packages gnome)
44 #:use-module (gnu packages gtk)
45 #:use-module (gnu packages image)
46 #:use-module (gnu packages kde-frameworks)
47 #:use-module (gnu packages kde-plasma)
48 #:use-module (gnu packages linux)
49 #:use-module (gnu packages perl)
50 #:use-module (gnu packages lxde)
51 #:use-module (gnu packages maths)
52 #:use-module (gnu packages openbox)
53 #:use-module (gnu packages pcre)
54 #:use-module (gnu packages photo)
55 #:use-module (gnu packages pkg-config)
56 #:use-module (gnu packages polkit)
57 #:use-module (gnu packages pulseaudio)
58 #:use-module (gnu packages qt)
59 #:use-module (gnu packages textutils)
60 #:use-module (gnu packages xdisorg)
61 #:use-module (gnu packages xml)
62 #:use-module (gnu packages xorg))
63
64
65 ;; Third party libraries
66
67 (define-public libdbusmenu-qt
68 (package
69 (name "libdbusmenu-qt")
70 (version "0.9.3+16.04.20160218-0ubuntu1")
71 (source
72 (origin
73 (method git-fetch)
74 ;; Download from github rather than launchpad because launchpad trunk
75 ;; tarball hash is not deterministic.
76 (uri (git-reference
77 (url "https://github.com/unity8-team/libdbusmenu-qt.git")
78 (commit version)))
79 (file-name (git-file-name name version))
80 (sha256
81 (base32 "0b7ii1cvmpcyl79gqal9c3va9m55h055s4hx7fpxkhhqs9463ggg"))))
82 (build-system cmake-build-system)
83 (arguments
84 ;; XXX: Tests require a dbus session and some icons.
85 '(#:tests? #f))
86 (native-inputs
87 `(("doxygen" ,doxygen)))
88 (inputs
89 `(("qtbase" ,qtbase)))
90 (home-page "https://launchpad.net/libdbusmenu-qt")
91 (synopsis "Qt implementation of the DBusMenu spec")
92 (description "This library provides a Qt implementation of the DBusMenu
93 protocol. The DBusMenu protocol makes it possible for applications to export
94 and import their menus over DBus.")
95 (license license:lgpl2.1+)))
96
97 (define-public libstatgrab
98 (package
99 (name "libstatgrab")
100 (version "0.91")
101 (source
102 (origin
103 (method url-fetch)
104 (uri (string-append "https://ftp.i-scream.org/pub/i-scream/libstatgrab/"
105 name "-" version ".tar.gz"))
106 (sha256
107 (base32 "1azinx2yzs442ycwq6p15skl3mscmqj7fd5hq7fckhjp92735s83"))))
108 (build-system gnu-build-system)
109 (arguments
110 '(#:configure-flags '("--enable-tests")))
111 (native-inputs
112 ;; For testing.
113 `(("perl" ,perl)))
114 (home-page "https://www.i-scream.org/libstatgrab/")
115 (synopsis "Provides access to statistics about the system")
116 (description "libstatgrab is a library that provides cross platform access
117 to statistics about the system on which it's run.")
118 ;; Libraries are under LGPL2.1+, and programs under GPLv2+.
119 (license license:gpl2+)))
120
121
122 ;; Base
123
124 (define-public lxqt-build-tools
125 (package
126 (name "lxqt-build-tools")
127 (version "0.6.0")
128 (source
129 (origin
130 (method url-fetch)
131 (uri (string-append "https://github.com/lxqt/lxqt-build-tools/releases"
132 "/download/" version
133 "/lxqt-build-tools-" version ".tar.xz"))
134 (sha256
135 (base32 "0n0p0mf12n9f7zm2592779rpqrbcamfdz87nnjb8j058bc8g3214"))))
136 (build-system cmake-build-system)
137 (arguments
138 `(#:tests? #f ; no tests
139 #:configure-flags
140 ;; 'startlxqt' will add LXQT_DATA_DIR to XDG_DATA_DIRS,
141 ;; LXQT_ETC_XDG_DIR to XDG_CONFIG_DIRS, and 'lxqt-about' will report
142 ;; LXQT_ETC_XDG_DIR in its "Technical Info".
143 '("-DLXQT_DATA_DIR=/run/current-system/profile/share"
144 "-DLXQT_ETC_XDG_DIR=/run/current-system/profile/etc/xdg")))
145 (native-inputs
146 `(("pkg-config" ,pkg-config)
147 ("glib" ,glib)))
148 (inputs
149 `(("qtbase" ,qtbase)))
150 (synopsis "LXQt Build tools")
151 (description
152 "Lxqt-build-tools is providing several tools needed to build LXQt
153 itself as well as other components maintained by the LXQt project.")
154 (home-page "https://lxqt.org")
155 (license license:lgpl2.1+)))
156
157 (define-public libqtxdg
158 (package
159 (name "libqtxdg")
160 (version "3.3.1")
161 (source
162 (origin
163 (method url-fetch)
164 (uri (string-append
165 "https://github.com/lxqt/libqtxdg/releases/download/"
166 version "/libqtxdg-" version ".tar.xz"))
167 (sha256
168 (base32 "1mnnq8vbf5xjlrzajzfkay0yzzxri0zz0xi8x8rmxpw38xmglq8h"))))
169 (build-system cmake-build-system)
170 (arguments
171 '(#:configure-flags
172 '("-DBUILD_TESTS=ON"
173 "-DQTXDGX_ICONENGINEPLUGIN_INSTALL_PATH=lib/qt5/plugins/iconengines")
174 #:phases
175 (modify-phases %standard-phases
176 (add-before 'check 'pre-check
177 (lambda _
178 ;; Run the tests offscreen.
179 (setenv "QT_QPA_PLATFORM" "offscreen")
180 #t)))))
181 (propagated-inputs
182 ;; required by Qt5XdgIconLoader.pc
183 `(("qtbase" ,qtbase)
184 ("qtsvg" ,qtsvg)))
185 (native-inputs
186 `(("lxqt-build-tools" ,lxqt-build-tools)))
187 (home-page "https://github.com/lxqt/libqtxdg")
188 (synopsis "Qt implementation of freedesktop.org xdg specifications")
189 (description "Libqtxdg implements the freedesktop.org xdg specifications
190 in Qt.")
191 (license license:lgpl2.1+)))
192
193 (define-public liblxqt
194 (package
195 (name "liblxqt")
196 (version "0.14.1")
197 (source
198 (origin
199 (method url-fetch)
200 (uri (string-append
201 "https://github.com/lxqt/" name "/releases/download/"
202 version "/" name "-" version ".tar.xz"))
203 (sha256
204 (base32 "1gb922npf6nw4w3nkvh4czk8xmdzzqkzq3zgl1h303fjaib359qs"))))
205 (build-system cmake-build-system)
206 (arguments
207 `(#:tests? #f ; no tests
208 #:phases
209 (modify-phases %standard-phases
210 (add-after 'unpack 'patch-source
211 (lambda _
212 (substitute* "CMakeLists.txt"
213 (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
214 "DESTINATION \"share/polkit-1/actions"))
215 #t))
216 (add-after 'unpack 'patch-translations-dir
217 (lambda* (#:key outputs #:allow-other-keys)
218 (substitute* "CMakeLists.txt"
219 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
220 (string-append (assoc-ref outputs "out")
221 "/share/lxqt/translations")))
222 #t)))))
223 (inputs
224 `(("kwindowsystem" ,kwindowsystem)
225 ("libqtxdg" ,libqtxdg)
226 ("libxscrnsaver" ,libxscrnsaver)
227 ("polkit-qt" ,polkit-qt)
228 ("qtsvg" ,qtsvg)
229 ("qtx11extras" ,qtx11extras)))
230 (native-inputs
231 `(("lxqt-build-tools" ,lxqt-build-tools)
232 ("qttools" ,qttools)))
233 (home-page "https://lxqt.org/")
234 (synopsis "Core utility library for all LXQt components")
235 (description "liblxqt provides the basic libraries shared by the
236 components of the LXQt desktop environment.")
237 (license license:lgpl2.1+)))
238
239 (define-public libsysstat
240 (package
241 (name "libsysstat")
242 (version "0.4.2")
243 (source
244 (origin
245 (method url-fetch)
246 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
247 version "/" name "-" version ".tar.xz"))
248 (sha256
249 (base32 "0rz9w49khra9kl91kfnd3wxkldy1fqf6755mvlgbsqxb1yv8597w"))))
250 (build-system cmake-build-system)
251 (arguments '(#:tests? #f)) ; no tests
252 (inputs
253 `(("qtbase" ,qtbase)))
254 (native-inputs
255 `(("lxqt-build-tools" ,lxqt-build-tools)))
256 (home-page "https://lxqt.org/")
257 (synopsis "Library used to query system info and statistics")
258 (description "libsysstat is a library to query system information like CPU
259 and memory usage or network traffic.")
260 (license license:lgpl2.1+)))
261
262
263 ;; Core
264
265 (define-public lxqt-about
266 (package
267 (name "lxqt-about")
268 (version "0.14.1")
269 (source
270 (origin
271 (method url-fetch)
272 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
273 version "/" name "-" version ".tar.xz"))
274 (sha256
275 (base32 "01xp5ddcxc9wvl7jm4179hjrirj07mpzm9z50936d1fqx34wfbis"))))
276 (build-system cmake-build-system)
277 (inputs
278 `(("kwindowsystem" ,kwindowsystem)
279 ("liblxqt" ,liblxqt)
280 ("libqtxdg" ,libqtxdg)
281 ("qtbase" ,qtbase)
282 ("qtsvg" ,qtsvg)
283 ("qtx11extras" ,qtx11extras)))
284 (native-inputs
285 `(("lxqt-build-tools" ,lxqt-build-tools)
286 ("qttools" ,qttools)))
287 (arguments
288 '(#:tests? #f ; no tests
289 #:phases
290 (modify-phases %standard-phases
291 (add-after 'unpack 'patch-translations-dir
292 (lambda* (#:key outputs #:allow-other-keys)
293 (substitute* "CMakeLists.txt"
294 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
295 (string-append (assoc-ref outputs "out")
296 "/share/lxqt/translations")))
297 #t)))))
298 (home-page "https://lxqt.org")
299 (synopsis "Provides information about LXQt and the system")
300 (description "lxqt-about is a dialogue window providing information about
301 LXQt and the system it's running on.")
302 (license license:lgpl2.1+)))
303
304 (define-public lxqt-admin
305 (package
306 (name "lxqt-admin")
307 (version "0.14.1")
308 (source
309 (origin
310 (method url-fetch)
311 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
312 version "/" name "-" version ".tar.xz"))
313 (sha256
314 (base32 "0f0skkxqyhpidpd5phliax869v4n2whvglg8rahzia2zhw4ylzry"))))
315 (build-system cmake-build-system)
316 (inputs
317 `(("kwindowsystem" ,kwindowsystem)
318 ("liblxqt" ,liblxqt)
319 ("libqtxdg" ,libqtxdg)
320 ("polkit-qt" ,polkit-qt)
321 ("qtsvg" ,qtsvg)
322 ("qtx11extras" ,qtx11extras)))
323 (native-inputs
324 `(("lxqt-build-tools" ,lxqt-build-tools)
325 ("qttools" ,qttools)))
326 (arguments
327 '(#:tests? #f ; no tests
328 #:phases
329 (modify-phases %standard-phases
330 (add-after 'unpack 'patch-source
331 (lambda _
332 (substitute* "lxqt-admin-user/CMakeLists.txt"
333 (("DESTINATION \"\\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
334 "DESTINATION \"share/polkit-1/actions"))
335 #t))
336 (add-after 'unpack 'patch-translations-dir
337 (lambda* (#:key outputs #:allow-other-keys)
338 (substitute* '("lxqt-admin-time/CMakeLists.txt"
339 "lxqt-admin-user/CMakeLists.txt")
340 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
341 (string-append (assoc-ref outputs "out")
342 "/share/lxqt/translations")))
343 #t)))))
344 (home-page "https://lxqt.org")
345 (synopsis "LXQt system administration tool")
346 (description "lxqt-admin is providing two GUI tools to adjust settings of
347 the operating system LXQt is running on.")
348 (license license:lgpl2.1+)))
349
350 (define-public lxqt-config
351 (package
352 (name "lxqt-config")
353 (version "0.14.1")
354 (source
355 (origin
356 (method url-fetch)
357 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
358 version "/" name "-" version ".tar.xz"))
359 (sha256
360 (base32 "16k36knv6d72gg8hp7423l3ic43y3l3zbaf3spqn2a354y30myrg"))))
361 (build-system cmake-build-system)
362 (inputs
363 `(("eudev" ,eudev)
364 ("kwindowsystem" ,kwindowsystem)
365 ("libkscreen" ,libkscreen)
366 ("liblxqt" ,liblxqt)
367 ("libqtxdg" ,libqtxdg)
368 ("libxcursor" ,libxcursor)
369 ("libxi" ,libxi)
370 ("qtbase" ,qtbase)
371 ("qtsvg" ,qtsvg)
372 ("qtx11extras" ,qtx11extras)
373 ("solid" ,solid)
374 ("xf86-input-libinput" ,xf86-input-libinput)
375 ("zlib" ,zlib)))
376 (native-inputs
377 `(("pkg-config" ,pkg-config)
378 ("lxqt-build-tools" ,lxqt-build-tools)
379 ("qttools" ,qttools)))
380 (arguments
381 '(#:tests? #f ; no tests
382 #:phases
383 (modify-phases %standard-phases
384 (add-after 'unpack 'patch-source
385 (lambda _
386 (substitute* '("src/CMakeLists.txt")
387 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
388 "DESTINATION \"etc/xdg"))
389 #t))
390 (add-after 'unpack 'patch-translations-dir
391 (lambda* (#:key outputs #:allow-other-keys)
392 (substitute* '("lxqt-config-file-associations/CMakeLists.txt"
393 "lxqt-config-brightness/CMakeLists.txt"
394 "lxqt-config-appearance/CMakeLists.txt"
395 "lxqt-config-locale/CMakeLists.txt"
396 "lxqt-config-monitor/CMakeLists.txt"
397 "lxqt-config-input/CMakeLists.txt"
398 "liblxqt-config-cursor/CMakeLists.txt"
399 "src/CMakeLists.txt")
400 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
401 (string-append (assoc-ref outputs "out")
402 "/share/lxqt/translations")))
403 #t)))))
404 (home-page "https://lxqt.org")
405 (synopsis "Tools to configure LXQt and the underlying operating system")
406 (description "lxqt-config is providing several tools involved in the
407 configuration of both LXQt and the underlying operating system.")
408 (license license:lgpl2.1+)))
409
410 (define-public lxqt-globalkeys
411 (package
412 (name "lxqt-globalkeys")
413 (version "0.14.1")
414 (source
415 (origin
416 (method url-fetch)
417 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
418 version "/" name "-" version ".tar.xz"))
419 (sha256
420 (base32 "0m6svwy20bfy9d21g5l0qzjndph3rd8zqagmqgdjzjhh3lxwrsrk"))))
421 (build-system cmake-build-system)
422 (inputs
423 `(("kwindowsystem" ,kwindowsystem)
424 ("liblxqt" ,liblxqt)
425 ("libqtxdg" ,libqtxdg)
426 ("qtbase" ,qtbase)
427 ("qtsvg" ,qtsvg)
428 ("qtx11extras" ,qtx11extras)))
429 (native-inputs
430 `(("pkg-config" ,pkg-config)
431 ("qttools" ,qttools)
432 ("lxqt-build-tools" ,lxqt-build-tools)))
433 (arguments
434 '(#:tests? #f ; no tests
435 #:phases
436 (modify-phases %standard-phases
437 (add-after 'unpack 'patch-source
438 (lambda _
439 (substitute* '("autostart/CMakeLists.txt"
440 "xdg/CMakeLists.txt")
441 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
442 "DESTINATION \"etc/xdg"))
443 #t))
444 (add-after 'unpack 'patch-translations-dir
445 (lambda* (#:key outputs #:allow-other-keys)
446 (substitute* "config/CMakeLists.txt"
447 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
448 (string-append (assoc-ref outputs "out")
449 "/share/lxqt/translations")))
450 #t)))))
451 (home-page "https://lxqt.org/")
452 (synopsis "Daemon used to register global keyboard shortcuts")
453 (description "lxqt-globalkeys is providing tools to set global keyboard
454 shortcuts in LXQt sessions, that is shortcuts which apply to the LXQt session
455 as a whole and are not limited to distinct applications.")
456 (license license:lgpl2.1+)))
457
458 (define-public lxqt-notificationd
459 (package
460 (name "lxqt-notificationd")
461 (version "0.14.1")
462 (source
463 (origin
464 (method url-fetch)
465 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
466 version "/" name "-" version ".tar.xz"))
467 (sha256
468 (base32 "1kiag3fcx12qmslln6x6lwvm4f1spymwf71389kdya3vwx7hkmcy"))))
469 (build-system cmake-build-system)
470 (inputs
471 `(("kwindowsystem" ,kwindowsystem)
472 ("liblxqt" ,liblxqt)
473 ("libqtxdg" ,libqtxdg)
474 ("qtbase" ,qtbase)
475 ("qtsvg" ,qtsvg)
476 ("qtx11extras" ,qtx11extras)))
477 (native-inputs
478 `(("lxqt-build-tools" ,lxqt-build-tools)
479 ("qttools" ,qttools)))
480 (arguments
481 '(#:tests? #f ; no test target
482 #:phases
483 (modify-phases %standard-phases
484 (add-after 'unpack 'patch-source
485 (lambda _
486 (substitute* '("autostart/CMakeLists.txt")
487 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
488 "DESTINATION \"etc/xdg"))
489 #t))
490 (add-after 'unpack 'patch-translations-dir
491 (lambda* (#:key outputs #:allow-other-keys)
492 (substitute* '("config/CMakeLists.txt"
493 "src/CMakeLists.txt")
494 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
495 (string-append (assoc-ref outputs "out")
496 "/share/lxqt/translations")))
497 #t)))))
498 (home-page "https://lxqt.org/")
499 (synopsis "The LXQt notification daemon")
500 (description "lxqt-notificationd is LXQt's implementation of a daemon
501 according to the Desktop Notifications Specification.")
502 (license license:lgpl2.1+)))
503
504 (define-public lxqt-openssh-askpass
505 (package
506 (name "lxqt-openssh-askpass")
507 (version "0.14.1")
508 (source
509 (origin
510 (method url-fetch)
511 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
512 version "/" name "-" version ".tar.xz"))
513 (sha256
514 (base32 "1fvbgjidpifn420avh8n1gym49vcz6zgayz7xygg1x93s4awy1cs"))))
515 (build-system cmake-build-system)
516 (inputs
517 `(("kwindowsystem" ,kwindowsystem)
518 ("liblxqt" ,liblxqt)
519 ("libqtxdg" ,libqtxdg)
520 ("qtbase" ,qtbase)
521 ("qtsvg" ,qtsvg)
522 ("qtx11extras" ,qtx11extras)))
523 (native-inputs
524 `(("lxqt-build-tools" ,lxqt-build-tools)
525 ("qttools" ,qttools)))
526 (arguments
527 '(#:tests? #f ; no tests
528 #:phases
529 (modify-phases %standard-phases
530 (add-after 'unpack 'patch-translations-dir
531 (lambda* (#:key outputs #:allow-other-keys)
532 (substitute* "CMakeLists.txt"
533 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
534 (string-append (assoc-ref outputs "out")
535 "/share/lxqt/translations")))
536 #t)))))
537 (home-page "https://lxqt.org/")
538 (synopsis "GUI to query passwords on behalf of SSH agents")
539 (description "lxqt-openssh-askpass is a GUI to query credentials on behalf
540 of other programs.")
541 (license license:lgpl2.1+)))
542
543 (define-public lxqt-panel
544 (package
545 (name "lxqt-panel")
546 (version "0.13.0")
547 (source
548 (origin
549 (method url-fetch)
550 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
551 version "/" name "-" version ".tar.xz"))
552 (sha256
553 (base32 "1qraigzq7nc5a2q6f5ybxwx07gxffa3m3bg7fiv6ppwss51xqfd1"))))
554 (build-system cmake-build-system)
555 (inputs
556 `(("alsa-lib" ,alsa-lib)
557 ("kguiaddons" ,kguiaddons)
558 ("kwindowsystem" ,kwindowsystem)
559 ("libdbusmenu-qt" ,libdbusmenu-qt)
560 ("liblxqt" ,liblxqt)
561 ("libqtxdg" ,libqtxdg)
562 ("libstatgrab" ,libstatgrab)
563 ("libsysstat" ,libsysstat)
564 ("libxcomposite" ,libxcomposite)
565 ("libxdamage" ,libxdamage)
566 ("libxkbcommon" ,libxkbcommon)
567 ("libxrender" ,libxrender)
568 ("lm-sensors" ,lm-sensors "lib")
569 ("lxqt-globalkeys" ,lxqt-globalkeys)
570 ("pcre" ,pcre)
571 ("pulseaudio" ,pulseaudio)
572 ("qtbase" ,qtbase)
573 ("qtsvg" ,qtsvg)
574 ("qtx11extras" ,qtx11extras)
575 ("solid" ,solid)
576 ("xcb-util" ,xcb-util)))
577 (native-inputs
578 `(("pkg-config" ,pkg-config)
579 ("lxqt-build-tools" ,lxqt-build-tools)
580 ("qttools" ,qttools)))
581 (arguments
582 '(#:tests? #f ; no tests
583 #:configure-flags
584 ;; TODO: prefetch translations files from 'lxqt-l10n'.
585 '("-DPULL_TRANSLATIONS=NO")
586 #:phases
587 (modify-phases %standard-phases
588 (add-after 'unpack 'patch-source
589 (lambda _
590 (substitute* '("autostart/CMakeLists.txt"
591 "menu/CMakeLists.txt")
592 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
593 "DESTINATION \"etc/xdg"))
594 #t)))))
595 (home-page "https://lxqt.org/")
596 (synopsis "The LXQt desktop panel")
597 (description "lxqt-panel represents the taskbar of LXQt.")
598 (license license:lgpl2.1+)))
599
600 (define-public lxqt-policykit
601 (package
602 (name "lxqt-policykit")
603 (version "0.13.0")
604 (source
605 (origin
606 (method url-fetch)
607 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
608 version "/" name "-" version ".tar.xz"))
609 (sha256
610 (base32 "1d97fys6625nk4q6irp0jhsbk30xi7idnii1f3vrrrdcl2cahagp"))))
611 (build-system cmake-build-system)
612 (inputs
613 `(("kwindowsystem" ,kwindowsystem)
614 ("liblxqt" ,liblxqt)
615 ("libqtxdg" ,libqtxdg)
616 ("pcre" ,pcre)
617 ("polkit-qt" ,polkit-qt)
618 ("qtbase" ,qtbase)
619 ("qtsvg" ,qtsvg)
620 ("qtx11extras" ,qtx11extras)))
621 (native-inputs
622 `(("pkg-config" ,pkg-config)
623 ("polkit" ,polkit)
624 ("lxqt-build-tools" ,lxqt-build-tools)
625 ("qttools" ,qttools)))
626 (arguments
627 '(#:tests? #f ; no test target
628 #:configure-flags
629 '("-DPULL_TRANSLATIONS=NO")
630 #:phases
631 (modify-phases %standard-phases
632 (add-after 'unpack 'patch-source
633 (lambda _
634 (substitute* '("autostart/CMakeLists.txt")
635 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
636 "DESTINATION \"etc/xdg"))
637 #t)))))
638 (home-page "https://lxqt.org/")
639 (synopsis "The LXQt PolicyKit agent")
640 (description "lxqt-policykit is the polkit authentification agent of
641 LXQt.")
642 (license license:lgpl2.1+)))
643
644 (define-public lxqt-powermanagement
645 (package
646 (name "lxqt-powermanagement")
647 (version "0.13.0")
648 (source
649 (origin
650 (method url-fetch)
651 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
652 version "/" name "-" version ".tar.xz"))
653 (sha256
654 (base32 "15nvdypyjwnp7k3d2pkhdbmaqb3ccacmh95rbdbc5mr7yrjy9613"))))
655 (build-system cmake-build-system)
656 (inputs
657 `(("kidletime" ,kidletime)
658 ("kwindowsystem" ,kwindowsystem)
659 ("liblxqt" ,liblxqt)
660 ("libqtxdg" ,libqtxdg)
661 ("qtbase" ,qtbase)
662 ("qtsvg" ,qtsvg)
663 ("qtx11extras" ,qtx11extras)
664 ("solid" ,solid)))
665 (native-inputs
666 `(("lxqt-build-tools" ,lxqt-build-tools)
667 ("qttools" ,qttools)))
668 (arguments
669 '(#:tests? #f ; no tests
670 #:configure-flags
671 ;; TODO: prefetch translations files from 'lxqt-l10n'.
672 '("-DPULL_TRANSLATIONS=NO")
673 #:phases
674 (modify-phases %standard-phases
675 (add-after 'unpack 'patch-source
676 (lambda _
677 (substitute* '("autostart/CMakeLists.txt")
678 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
679 "DESTINATION \"etc/xdg"))
680 #t)))))
681 (home-page "https://lxqt.org/")
682 (synopsis "Power management module for LXQt")
683 (description "lxqt-powermanagement is providing tools to monitor power
684 management events and optionally trigger actions like e. g. shut down a system
685 when laptop batteries are low on power.")
686 (license license:lgpl2.1+)))
687
688 (define-public lxqt-qtplugin
689 (package
690 (name "lxqt-qtplugin")
691 (version "0.13.0")
692 (source
693 (origin
694 (method url-fetch)
695 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
696 version "/" name "-" version ".tar.xz"))
697 (sha256
698 (base32 "0nnwbc99njpsyqb0cy3x0srcgwa7qrnq0qwcyx7fbvwsq1l8cz56"))))
699 (build-system cmake-build-system)
700 (inputs
701 `(("libdbusmenu-qt" ,libdbusmenu-qt)
702 ("libfm-qt" ,libfm-qt)
703 ("libqtxdg" ,libqtxdg)
704 ("qtbase" ,qtbase)
705 ("qtsvg" ,qtsvg)
706 ("qtx11extras" ,qtx11extras)))
707 (native-inputs
708 `(("lxqt-build-tools" ,lxqt-build-tools)
709 ("qttools" ,qttools)))
710 (arguments
711 '(#:tests? #f ; no tests
712 #:phases
713 (modify-phases %standard-phases
714 (add-after 'unpack 'patch-source
715 (lambda _
716 (substitute* '("src/CMakeLists.txt")
717 (("DESTINATION \"\\$\\{QT_PLUGINS_DIR\\}")
718 "DESTINATION \"lib/qt5/plugins"))
719 #t)))))
720 (home-page "https://lxqt.org/")
721 (synopsis "LXQt Qt platform integration plugin")
722 (description "lxqt-qtplugin is providing a library libqtlxqt to integrate
723 Qt with LXQt.")
724 (license license:lgpl2.1+)))
725
726 (define-public lxqt-runner
727 (package
728 (name "lxqt-runner")
729 (version "0.13.0")
730 (source
731 (origin
732 (method url-fetch)
733 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
734 version "/" name "-" version ".tar.xz"))
735 (sha256
736 (base32 "0dsg6fdcqbl7gza0sg1pb49zn5x31q7zx77jp7mkf6wc2lv8lali"))))
737 (build-system cmake-build-system)
738 (inputs
739 `(("kwindowsystem" ,kwindowsystem)
740 ("liblxqt" ,liblxqt)
741 ("libqtxdg" ,libqtxdg)
742 ("lxqt-globalkeys" ,lxqt-globalkeys)
743 ("muparser" ,muparser)
744 ("pcre" ,pcre)
745 ("qtbase" ,qtbase)
746 ("qtsvg" ,qtsvg)
747 ("qtx11extras" ,qtx11extras)))
748 (native-inputs
749 `(("pkg-config" ,pkg-config)
750 ("qttools" ,qttools)
751 ("lxqt-build-tools" ,lxqt-build-tools)))
752 (arguments
753 '(#:tests? #f ; no tests
754 #:configure-flags
755 ;; TODO: prefetch translations files from 'lxqt-l10n'.
756 '("-DPULL_TRANSLATIONS=NO")
757 #:phases
758 (modify-phases %standard-phases
759 (add-after 'unpack 'patch-source
760 (lambda _
761 (substitute* '("autostart/CMakeLists.txt")
762 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
763 "DESTINATION \"etc/xdg"))
764 #t)))))
765 (home-page "https://lxqt.org/")
766 (synopsis "Tool used to launch programs quickly by typing their names")
767 (description "lxqt-runner provides a GUI that comes up on the desktop and
768 allows for launching applications or shutting down the system.")
769 (license license:lgpl2.1+)))
770
771 (define-public lxqt-session
772 (package
773 (name "lxqt-session")
774 (version "0.13.0")
775 (source
776 (origin
777 (method url-fetch)
778 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
779 version "/" name "-" version ".tar.xz"))
780 (sha256
781 (base32 "1aibppppmg46ybbajx2qc395l0yp9rqlp2am01fqjxadsf8vci5z"))))
782 (build-system cmake-build-system)
783 (inputs
784 `(("eudev" ,eudev)
785 ("kwindowsystem" ,kwindowsystem)
786 ("liblxqt" ,liblxqt)
787 ("libqtxdg" ,libqtxdg)
788 ("qtbase" ,qtbase)
789 ("qtsvg" ,qtsvg)
790 ("qtx11extras" ,qtx11extras)
791 ("xdg-user-dirs" ,xdg-user-dirs)))
792 (native-inputs
793 `(("pkg-config" ,pkg-config)
794 ("lxqt-build-tools" ,lxqt-build-tools)
795 ("qttools" ,qttools)))
796 (arguments
797 `(#:tests? #f
798 #:configure-flags
799 `("-DPULL_TRANSLATIONS=NO")
800 #:phases
801 (modify-phases %standard-phases
802 (add-after 'unpack 'patch-source
803 (lambda _
804 (substitute* '("autostart/CMakeLists.txt"
805 "config/CMakeLists.txt")
806 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
807 "DESTINATION \"etc/xdg"))
808 #t)))))
809 (home-page "https://lxqt.org/")
810 (synopsis "Session manager for LXQt")
811 (description "lxqt-session provides the standard session manager
812 for the LXQt desktop environment.")
813 (license license:lgpl2.1+)))
814
815 (define-public lxqt-sudo
816 (package
817 (name "lxqt-sudo")
818 (version "0.13.0")
819 (source
820 (origin
821 (method url-fetch)
822 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
823 version "/" name "-" version ".tar.xz"))
824 (sha256
825 (base32 "1j28wlw4rkzvr85yl78fqkvz7sv7dykm9ghm63xdkskfjbsas1cf"))))
826 (build-system cmake-build-system)
827 (inputs
828 `(("kwindowsystem" ,kwindowsystem)
829 ("liblxqt" ,liblxqt)
830 ("libqtxdg" ,libqtxdg)
831 ("qtbase" ,qtbase)
832 ("qtsvg" ,qtsvg)
833 ("qtx11extras" ,qtx11extras)
834 ("sudo" ,sudo)))
835 (native-inputs
836 `(("pkg-config" ,pkg-config)
837 ("qttools" ,qttools)
838 ("lxqt-build-tools" ,lxqt-build-tools)))
839 (arguments
840 '(#:tests? #f ; no tests
841 #:configure-flags
842 ;; TODO: prefetch translations files from 'lxqt-l10n'.
843 '("-DPULL_TRANSLATIONS=NO")))
844 (home-page "https://lxqt.org/")
845 (synopsis "GUI frontend for sudo/su")
846 (description "lxqt-sudo is a graphical front-end of commands sudo and su
847 respectively. As such it enables regular users to launch applications with
848 permissions of other users including root.")
849 (license license:lgpl2.1+)))
850
851 (define-public lxqt-themes
852 (package
853 (name "lxqt-themes")
854 (version "0.13.0")
855 (source
856 (origin
857 (method url-fetch)
858 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
859 version "/" name "-" version ".tar.xz"))
860 (sha256
861 (base32 "13kkkzjx8bgnwckz79j273azvm4za66i4cp2qhxwdpxh0fwziklf"))))
862 (build-system cmake-build-system)
863 (native-inputs
864 `(("lxqt-build-tools" ,lxqt-build-tools)))
865 (arguments
866 `(#:tests? #f ; no tests
867 #:phases
868 (modify-phases %standard-phases
869 (add-after 'unpack 'patch-source
870 (lambda _
871 (substitute* '("CMakeLists.txt")
872 (("DESTINATION \"\\$\\{LXQT_GRAPHICS_DIR\\}")
873 "DESTINATION \"share/lxqt/graphics"))
874 (substitute* '("themes/CMakeLists.txt")
875 (("DESTINATION \"\\$\\{LXQT_SHARE_DIR\\}")
876 "DESTINATION \"share/lxqt"))
877 #t)))))
878 (home-page "https://lxqt.org/")
879 (synopsis "Themes, graphics and icons for LXQt")
880 (description "This package comprises a number of graphic files and themes
881 for LXQt.")
882 ;; The whole package is released under LGPL 2.1+, while the LXQt logo is
883 ;; licensed under CC-BY-SA 3.0.
884 (license license:lgpl2.1+)))
885
886
887 ;; File Manager
888
889 (define-public libfm-qt
890 (package
891 (name "libfm-qt")
892 (version "0.13.1")
893 (source
894 (origin
895 (method url-fetch)
896 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
897 version "/" name "-" version ".tar.xz"))
898 (sha256
899 (base32 "0p0lbz7dh5c38zq3yp1v1mm99ymg7mqr3h7yzniif2hipmgvxsv9"))))
900 (build-system cmake-build-system)
901 (arguments
902 '(#:tests? #f ; no tests
903 #:configure-flags
904 ;; TODO : prefetch translations files from 'lxqt-l10n'.
905 '("-DPULL_TRANSLATIONS=NO")))
906 (inputs
907 `(("glib" ,glib)
908 ("libexif" ,libexif)
909 ("libfm" ,libfm)
910 ("libxcb" ,libxcb)
911 ("menu-cache" ,menu-cache)
912 ("pcre" ,pcre)
913 ("qtbase" ,qtbase)
914 ("qtx11extras" ,qtx11extras)))
915 (native-inputs
916 `(("pkg-config" ,pkg-config)
917 ("lxqt-build-tools" ,lxqt-build-tools)
918 ("qttools" ,qttools)))
919 (home-page "https://lxqt.org/")
920 (synopsis "Qt binding for libfm")
921 (description "libfm-qt is the Qt port of libfm, a library providing
922 components to build desktop file managers which belongs to LXDE.")
923 (license license:lgpl2.1+)))
924
925 (define-public pcmanfm-qt
926 (package
927 (name "pcmanfm-qt")
928 (version "0.13.0")
929 (source
930 (origin
931 (method url-fetch)
932 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
933 version "/" name "-" version ".tar.xz"))
934 (sha256
935 (base32 "08jprkkk62pk34q9lxa207bh27xi86fj8jxfd5z3w2m5j5nim5mz"))))
936 (build-system cmake-build-system)
937 (inputs
938 `(("libfm-qt" ,libfm-qt)
939 ("qtbase" ,qtbase)
940 ("qtx11extras" ,qtx11extras)))
941 (native-inputs
942 `(("pkg-config" ,pkg-config)
943 ("qttools" ,qttools)
944 ("lxqt-build-tools" ,lxqt-build-tools)))
945 (arguments
946 '(#:tests? #f ; no tests
947 #:configure-flags
948 ;; TODO: prefetch translations files from 'lxqt-l10n'.
949 '("-DPULL_TRANSLATIONS=NO")
950 #:phases
951 (modify-phases %standard-phases
952 (add-after 'unpack 'patch-source
953 (lambda _
954 (substitute* '("autostart/CMakeLists.txt")
955 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
956 "DESTINATION \"etc/xdg"))
957 #t)))))
958 (home-page "https://lxqt.org/")
959 (synopsis "File manager and desktop icon manager")
960 (description "PCManFM-Qt is the Qt port of PCManFM, the file manager of
961 LXDE.")
962 (license license:gpl2+)))
963
964
965 ;; Extra
966
967 (define-public compton-conf
968 (package
969 (name "compton-conf")
970 (version "0.4.0")
971 (source
972 (origin
973 (method url-fetch)
974 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
975 version "/" name "-" version ".tar.xz"))
976 (sha256
977 (base32 "0q3yx2a6wf8yahrwgvhmv9sd7gmrhid528vrqy04dg8m5cx1bjci"))))
978 (build-system cmake-build-system)
979 (inputs
980 `(("libconfig" ,libconfig)
981 ("qtbase" ,qtbase)))
982 (native-inputs
983 `(("lxqt-build-tools" ,lxqt-build-tools)
984 ("pkg-config" ,pkg-config)
985 ("qttools" ,qttools)))
986 (arguments
987 '(#:tests? #f ; no tests
988 #:configure-flags
989 ;; TODO: prefetch translations files from 'lxqt-l10n'.
990 '("-DPULL_TRANSLATIONS=NO")
991 #:phases
992 (modify-phases %standard-phases
993 (add-after 'unpack 'patch-source
994 (lambda _
995 (substitute* '("autostart/CMakeLists.txt")
996 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
997 "DESTINATION \"etc/xdg"))
998 #t)))))
999 (home-page "https://lxqt.org/")
1000 (synopsis "GUI configuration tool for compton X composite manager")
1001 (description "@code{compton-conf} is a configuration tool for X composite
1002 manager Compton.")
1003 (license license:lgpl2.1+)))
1004
1005 (define-public lximage-qt
1006 (package
1007 (name "lximage-qt")
1008 (version "0.7.0")
1009 (source
1010 (origin
1011 (method url-fetch)
1012 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1013 version "/" name "-" version ".tar.xz"))
1014 (sha256
1015 (base32 "1mwjh6lrjayr9snsmabkl5qs4xm6d27mfz8k3jxfm5dk3pjj1b0w"))))
1016 (build-system cmake-build-system)
1017 (inputs
1018 `(("libexif" ,libexif)
1019 ("libfm-qt" ,libfm-qt)
1020 ("qtbase" ,qtbase)
1021 ("qtsvg" ,qtsvg)
1022 ("qtx11extras" ,qtx11extras)))
1023 (native-inputs
1024 `(("pkg-config" ,pkg-config)
1025 ("lxqt-build-tools" ,lxqt-build-tools)
1026 ("qttools" ,qttools)))
1027 (arguments
1028 '(#:tests? #f ; no tests
1029 #:configure-flags
1030 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1031 '("-DPULL_TRANSLATIONS=NO")))
1032 (home-page "https://lxqt.org/")
1033 (synopsis "The image viewer and screenshot tool for lxqt")
1034 (description "LXImage-Qt is the Qt port of LXImage, a simple and fast
1035 image viewer.")
1036 (license license:gpl2+)))
1037
1038 (define-public obconf-qt
1039 (package
1040 (name "obconf-qt")
1041 (version "0.13.0")
1042 (source
1043 (origin
1044 (method url-fetch)
1045 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1046 version "/" name "-" version ".tar.xz"))
1047 (sha256
1048 (base32 "1fbzn1p2mdvn8dcbavmd1imrvkph2jfssrlw8l26qz6qk8qlmhnf"))))
1049 (build-system cmake-build-system)
1050 (inputs
1051 `(("imlib2" ,imlib2)
1052 ("libsm" ,libsm)
1053 ("librsvg" ,librsvg)
1054 ("libxft" ,libxft)
1055 ("libxml2" ,libxml2)
1056 ("openbox" ,openbox)
1057 ("pango" ,pango)
1058 ("pcre" ,pcre)
1059 ("qtbase" ,qtbase)
1060 ("qtx11extras" ,qtx11extras)))
1061 (native-inputs
1062 `(("lxqt-build-tools" ,lxqt-build-tools)
1063 ("pkg-config" ,pkg-config)
1064 ("qttools" ,qttools)))
1065 (arguments
1066 '(#:tests? #f ; no tests
1067 #:configure-flags
1068 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1069 '("-DPULL_TRANSLATIONS=NO")))
1070 (home-page "https://lxqt.org/")
1071 (synopsis "Openbox configuration tool")
1072 (description "ObConf-Qt is a Qt port of ObConf, a configuration editor for
1073 window manager OpenBox.")
1074 (license license:gpl2+)))
1075
1076 (define-public pavucontrol-qt
1077 (package
1078 (name "pavucontrol-qt")
1079 (version "0.4.0")
1080 (source
1081 (origin
1082 (method url-fetch)
1083 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1084 version "/" name "-" version ".tar.xz"))
1085 (sha256
1086 (base32 "0pqvhhgw7d00wqw5v3ghm4l8250zy7bqpvhff6l7y1lw0z2fvcp6"))))
1087 (build-system cmake-build-system)
1088 (inputs
1089 `(("glib" ,glib)
1090 ("pcre" ,pcre)
1091 ("pulseaudio" ,pulseaudio)
1092 ("qtbase" ,qtbase)
1093 ("qtx11extras" ,qtx11extras)))
1094 (native-inputs
1095 `(("pkg-config" ,pkg-config)
1096 ("lxqt-build-tools" ,lxqt-build-tools)
1097 ("qttools" ,qttools)))
1098 (arguments
1099 '(#:tests? #f ; no tests
1100 #:configure-flags
1101 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1102 '("-DPULL_TRANSLATIONS=NO")))
1103 (home-page "https://lxqt.org/")
1104 (synopsis "Pulseaudio mixer in Qt")
1105 (description "@code{pavucontrol-qt} is the Qt port of volume control
1106 @code{pavucontrol} of sound server @code{PulseAudio}.")
1107 (license license:gpl2+)))
1108
1109 (define-public qps
1110 (package
1111 (name "qps")
1112 (version "1.10.18")
1113 (source
1114 (origin
1115 (method url-fetch)
1116 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1117 version "/" name "-" version ".tar.xz"))
1118 (sha256
1119 (base32 "0pzk83p7a9ax0893s9hp2qkmiilzrf8iqry5a0x1g73hdwm5hm44"))))
1120 (build-system cmake-build-system)
1121 (inputs
1122 `(("libxrender" ,libxrender)
1123 ("qtbase" ,qtbase)
1124 ("qtx11extras" ,qtx11extras)))
1125 (native-inputs
1126 `(("qttools" ,qttools)))
1127 (arguments
1128 '(#:tests? #f)) ; no tests
1129 (home-page "https://lxqt.org/")
1130 (synopsis "Qt-based visual process status monitor")
1131 (description "@code{qps} is a monitor that displays the status of the
1132 processes currently in existence, much like code{top} or code{ps}.")
1133 (license license:gpl2+)))
1134
1135 (define-public qtermwidget
1136 (package
1137 (name "qtermwidget")
1138 (version "0.9.0")
1139 (source
1140 (origin
1141 (method url-fetch)
1142 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1143 version "/" name "-" version ".tar.xz"))
1144 (sha256
1145 (base32 "1c1qzbysxjbikp4bpgphphw4dgpl10gz8m06ccs2c48qxhpyd773"))))
1146 (build-system cmake-build-system)
1147 (inputs
1148 `(("qtbase" ,qtbase)))
1149 (native-inputs
1150 `(("lxqt-build-tools" ,lxqt-build-tools)
1151 ("qttools" ,qttools)))
1152 (arguments
1153 '(#:tests? #f ; no tests
1154 #:configure-flags
1155 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1156 '("-DPULL_TRANSLATIONS=NO")))
1157 (home-page "https://lxqt.org/")
1158 (synopsis "The terminal widget for QTerminal")
1159 (description "QTermWidget is a terminal emulator widget for Qt 5.")
1160 (license license:gpl2+)))
1161
1162 (define-public qterminal
1163 (package
1164 (name "qterminal")
1165 (version "0.9.0")
1166 (source
1167 (origin
1168 (method url-fetch)
1169 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1170 version "/" name "-" version ".tar.xz"))
1171 (sha256
1172 (base32 "1vlza75br1ys62lgkdz26md729bfpbnasfzswp7hakmgaq1rhms1"))))
1173 (build-system cmake-build-system)
1174 (inputs
1175 `(("qtbase" ,qtbase)
1176 ("qtx11extras" ,qtx11extras)
1177 ("qtermwidget" ,qtermwidget)))
1178 (native-inputs
1179 `(("lxqt-build-tools" ,lxqt-build-tools)
1180 ("qttools" ,qttools)))
1181 (arguments
1182 '(#:tests? #f ; no tests
1183 #:configure-flags
1184 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1185 '("-DPULL_TRANSLATIONS=NO")))
1186 (home-page "https://lxqt.org/")
1187 (synopsis "Lightweight Qt-based terminal emulator")
1188 (description "QTerminal is a lightweight Qt terminal emulator based on
1189 QTermWidget.")
1190 (license license:gpl2+)))
1191
1192 (define-public screengrab
1193 (package
1194 (name "screengrab")
1195 (version "1.99")
1196 (source
1197 (origin
1198 (method url-fetch)
1199 (uri (string-append "https://github.com/lxqt/screengrab/releases/download/"
1200 version "/screengrab-" version ".tar.xz"))
1201 (sha256
1202 (base32 "17y8rsx9fixvxv2byq8d6c01vry10nv07f8jy85vz7zp4f0rgzz3"))))
1203 (build-system cmake-build-system)
1204 (inputs
1205 `(("kwindowsystem" ,kwindowsystem)
1206 ("libqtxdg" ,libqtxdg)
1207 ("qtbase" ,qtbase)
1208 ("qtsvg" ,qtsvg)
1209 ("qtx11extras" ,qtx11extras)))
1210 (native-inputs
1211 `(("pkg-config" ,pkg-config)
1212 ("qttools" ,qttools)))
1213 (arguments
1214 '(#:tests? #f)) ; no tests
1215 (home-page "https://lxqt.org/")
1216 (synopsis "Crossplatform tool for fast making screenshots")
1217 (description "ScreenGrab is a program for fast creating screenshots, and
1218 easily publishing them on internet image hosting services.")
1219 (license license:gpl2+)))
1220
1221
1222 ;; The LXQt Desktop Environment
1223
1224 (define-public lxqt
1225 (package
1226 (name "lxqt")
1227 (version (package-version lxqt-session))
1228 (source #f)
1229 (build-system trivial-build-system)
1230 (arguments '(#:builder (begin (mkdir %output) #t)))
1231 (propagated-inputs
1232 `(;; XDG
1233 ("desktop-file-utils" ,desktop-file-utils)
1234 ("hicolor-icon-theme" ,hicolor-icon-theme)
1235 ("xdg-user-dirs" ,xdg-user-dirs)
1236 ("xdg-utils" ,xdg-utils)
1237 ;; Base
1238 ;; TODO: qtsvg is needed for lxqt apps to display icons. Maybe it
1239 ;; should be added to their propagated-inputs?
1240 ("qtsvg" ,qtsvg)
1241 ;; Core
1242 ("lxqt-about" ,lxqt-about)
1243 ("lxqt-admin" ,lxqt-admin)
1244 ("lxqt-config" ,lxqt-config)
1245 ("lxqt-notificationd" ,lxqt-notificationd)
1246 ("lxqt-openssh-askpass" ,lxqt-openssh-askpass)
1247 ("lxqt-panel" ,lxqt-panel)
1248 ("lxqt-policykit" ,lxqt-policykit)
1249 ("lxqt-powermanagement" ,lxqt-powermanagement)
1250 ("lxqt-qtplugin" ,lxqt-qtplugin)
1251 ("lxqt-runner" ,lxqt-runner)
1252 ("lxqt-session" ,lxqt-session)
1253 ("lxqt-sudo" ,lxqt-sudo)
1254 ("lxqt-themes" ,lxqt-themes)
1255 ("pcmanfm-qt" ,pcmanfm-qt)
1256 ;; Extra
1257 ("compton" ,compton)
1258 ("compton-conf" ,compton-conf)
1259 ("font-dejavu" ,font-dejavu)
1260 ("lximage-qt" ,lximage-qt)
1261 ("obconf-qt" ,obconf-qt)
1262 ("openbox" ,openbox)
1263 ("oxygen-icons" ,oxygen-icons)
1264 ("pavucontrol-qt" ,pavucontrol-qt)
1265 ("qps" ,qps)
1266 ("qterminal" ,qterminal)))
1267 (synopsis "The Lightweight Qt Desktop Environment")
1268 (description "LXQt is a lightweight Qt desktop environment.")
1269 (home-page "https://lxde.org")
1270 (license license:gpl2+)))