gnu: lxqt-globalkeys: 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.13.0")
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 "1l0hdbvghyhqgvy4pih7rvz26bc6yc8a3l1bdj11hnkw62h1i7d6"))))
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 #:configure-flags
483 ;; TODO: prefetch translations files from 'lxqt-l10n'.
484 '("-DPULL_TRANSLATIONS=NO")
485 #:phases
486 (modify-phases %standard-phases
487 (add-after 'unpack 'patch-source
488 (lambda _
489 (substitute* '("autostart/CMakeLists.txt")
490 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
491 "DESTINATION \"etc/xdg"))
492 #t)))))
493 (home-page "https://lxqt.org/")
494 (synopsis "The LXQt notification daemon")
495 (description "lxqt-notificationd is LXQt's implementation of a daemon
496 according to the Desktop Notifications Specification.")
497 (license license:lgpl2.1+)))
498
499 (define-public lxqt-openssh-askpass
500 (package
501 (name "lxqt-openssh-askpass")
502 (version "0.13.0")
503 (source
504 (origin
505 (method url-fetch)
506 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
507 version "/" name "-" version ".tar.xz"))
508 (sha256
509 (base32 "0l2272gya8jgv71bvg2hz37lnhiznv4ng3j0p6j79f99hwb5ygpk"))))
510 (build-system cmake-build-system)
511 (inputs
512 `(("kwindowsystem" ,kwindowsystem)
513 ("liblxqt" ,liblxqt)
514 ("libqtxdg" ,libqtxdg)
515 ("qtbase" ,qtbase)
516 ("qtsvg" ,qtsvg)
517 ("qtx11extras" ,qtx11extras)))
518 (native-inputs
519 `(("lxqt-build-tools" ,lxqt-build-tools)
520 ("qttools" ,qttools)))
521 (arguments
522 '(#:tests? #f ; no tests
523 #:configure-flags
524 ;; TODO: prefetch translations files from 'lxqt-l10n'.
525 '("-DPULL_TRANSLATIONS=NO")))
526 (home-page "https://lxqt.org/")
527 (synopsis "GUI to query passwords on behalf of SSH agents")
528 (description "lxqt-openssh-askpass is a GUI to query credentials on behalf
529 of other programs.")
530 (license license:lgpl2.1+)))
531
532 (define-public lxqt-panel
533 (package
534 (name "lxqt-panel")
535 (version "0.13.0")
536 (source
537 (origin
538 (method url-fetch)
539 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
540 version "/" name "-" version ".tar.xz"))
541 (sha256
542 (base32 "1qraigzq7nc5a2q6f5ybxwx07gxffa3m3bg7fiv6ppwss51xqfd1"))))
543 (build-system cmake-build-system)
544 (inputs
545 `(("alsa-lib" ,alsa-lib)
546 ("kguiaddons" ,kguiaddons)
547 ("kwindowsystem" ,kwindowsystem)
548 ("libdbusmenu-qt" ,libdbusmenu-qt)
549 ("liblxqt" ,liblxqt)
550 ("libqtxdg" ,libqtxdg)
551 ("libstatgrab" ,libstatgrab)
552 ("libsysstat" ,libsysstat)
553 ("libxcomposite" ,libxcomposite)
554 ("libxdamage" ,libxdamage)
555 ("libxkbcommon" ,libxkbcommon)
556 ("libxrender" ,libxrender)
557 ("lm-sensors" ,lm-sensors "lib")
558 ("lxqt-globalkeys" ,lxqt-globalkeys)
559 ("pcre" ,pcre)
560 ("pulseaudio" ,pulseaudio)
561 ("qtbase" ,qtbase)
562 ("qtsvg" ,qtsvg)
563 ("qtx11extras" ,qtx11extras)
564 ("solid" ,solid)
565 ("xcb-util" ,xcb-util)))
566 (native-inputs
567 `(("pkg-config" ,pkg-config)
568 ("lxqt-build-tools" ,lxqt-build-tools)
569 ("qttools" ,qttools)))
570 (arguments
571 '(#:tests? #f ; no tests
572 #:configure-flags
573 ;; TODO: prefetch translations files from 'lxqt-l10n'.
574 '("-DPULL_TRANSLATIONS=NO")
575 #:phases
576 (modify-phases %standard-phases
577 (add-after 'unpack 'patch-source
578 (lambda _
579 (substitute* '("autostart/CMakeLists.txt"
580 "menu/CMakeLists.txt")
581 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
582 "DESTINATION \"etc/xdg"))
583 #t)))))
584 (home-page "https://lxqt.org/")
585 (synopsis "The LXQt desktop panel")
586 (description "lxqt-panel represents the taskbar of LXQt.")
587 (license license:lgpl2.1+)))
588
589 (define-public lxqt-policykit
590 (package
591 (name "lxqt-policykit")
592 (version "0.13.0")
593 (source
594 (origin
595 (method url-fetch)
596 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
597 version "/" name "-" version ".tar.xz"))
598 (sha256
599 (base32 "1d97fys6625nk4q6irp0jhsbk30xi7idnii1f3vrrrdcl2cahagp"))))
600 (build-system cmake-build-system)
601 (inputs
602 `(("kwindowsystem" ,kwindowsystem)
603 ("liblxqt" ,liblxqt)
604 ("libqtxdg" ,libqtxdg)
605 ("pcre" ,pcre)
606 ("polkit-qt" ,polkit-qt)
607 ("qtbase" ,qtbase)
608 ("qtsvg" ,qtsvg)
609 ("qtx11extras" ,qtx11extras)))
610 (native-inputs
611 `(("pkg-config" ,pkg-config)
612 ("polkit" ,polkit)
613 ("lxqt-build-tools" ,lxqt-build-tools)
614 ("qttools" ,qttools)))
615 (arguments
616 '(#:tests? #f ; no test target
617 #:configure-flags
618 '("-DPULL_TRANSLATIONS=NO")
619 #:phases
620 (modify-phases %standard-phases
621 (add-after 'unpack 'patch-source
622 (lambda _
623 (substitute* '("autostart/CMakeLists.txt")
624 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
625 "DESTINATION \"etc/xdg"))
626 #t)))))
627 (home-page "https://lxqt.org/")
628 (synopsis "The LXQt PolicyKit agent")
629 (description "lxqt-policykit is the polkit authentification agent of
630 LXQt.")
631 (license license:lgpl2.1+)))
632
633 (define-public lxqt-powermanagement
634 (package
635 (name "lxqt-powermanagement")
636 (version "0.13.0")
637 (source
638 (origin
639 (method url-fetch)
640 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
641 version "/" name "-" version ".tar.xz"))
642 (sha256
643 (base32 "15nvdypyjwnp7k3d2pkhdbmaqb3ccacmh95rbdbc5mr7yrjy9613"))))
644 (build-system cmake-build-system)
645 (inputs
646 `(("kidletime" ,kidletime)
647 ("kwindowsystem" ,kwindowsystem)
648 ("liblxqt" ,liblxqt)
649 ("libqtxdg" ,libqtxdg)
650 ("qtbase" ,qtbase)
651 ("qtsvg" ,qtsvg)
652 ("qtx11extras" ,qtx11extras)
653 ("solid" ,solid)))
654 (native-inputs
655 `(("lxqt-build-tools" ,lxqt-build-tools)
656 ("qttools" ,qttools)))
657 (arguments
658 '(#:tests? #f ; no tests
659 #:configure-flags
660 ;; TODO: prefetch translations files from 'lxqt-l10n'.
661 '("-DPULL_TRANSLATIONS=NO")
662 #:phases
663 (modify-phases %standard-phases
664 (add-after 'unpack 'patch-source
665 (lambda _
666 (substitute* '("autostart/CMakeLists.txt")
667 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
668 "DESTINATION \"etc/xdg"))
669 #t)))))
670 (home-page "https://lxqt.org/")
671 (synopsis "Power management module for LXQt")
672 (description "lxqt-powermanagement is providing tools to monitor power
673 management events and optionally trigger actions like e. g. shut down a system
674 when laptop batteries are low on power.")
675 (license license:lgpl2.1+)))
676
677 (define-public lxqt-qtplugin
678 (package
679 (name "lxqt-qtplugin")
680 (version "0.13.0")
681 (source
682 (origin
683 (method url-fetch)
684 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
685 version "/" name "-" version ".tar.xz"))
686 (sha256
687 (base32 "0nnwbc99njpsyqb0cy3x0srcgwa7qrnq0qwcyx7fbvwsq1l8cz56"))))
688 (build-system cmake-build-system)
689 (inputs
690 `(("libdbusmenu-qt" ,libdbusmenu-qt)
691 ("libfm-qt" ,libfm-qt)
692 ("libqtxdg" ,libqtxdg)
693 ("qtbase" ,qtbase)
694 ("qtsvg" ,qtsvg)
695 ("qtx11extras" ,qtx11extras)))
696 (native-inputs
697 `(("lxqt-build-tools" ,lxqt-build-tools)
698 ("qttools" ,qttools)))
699 (arguments
700 '(#:tests? #f ; no tests
701 #:phases
702 (modify-phases %standard-phases
703 (add-after 'unpack 'patch-source
704 (lambda _
705 (substitute* '("src/CMakeLists.txt")
706 (("DESTINATION \"\\$\\{QT_PLUGINS_DIR\\}")
707 "DESTINATION \"lib/qt5/plugins"))
708 #t)))))
709 (home-page "https://lxqt.org/")
710 (synopsis "LXQt Qt platform integration plugin")
711 (description "lxqt-qtplugin is providing a library libqtlxqt to integrate
712 Qt with LXQt.")
713 (license license:lgpl2.1+)))
714
715 (define-public lxqt-runner
716 (package
717 (name "lxqt-runner")
718 (version "0.13.0")
719 (source
720 (origin
721 (method url-fetch)
722 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
723 version "/" name "-" version ".tar.xz"))
724 (sha256
725 (base32 "0dsg6fdcqbl7gza0sg1pb49zn5x31q7zx77jp7mkf6wc2lv8lali"))))
726 (build-system cmake-build-system)
727 (inputs
728 `(("kwindowsystem" ,kwindowsystem)
729 ("liblxqt" ,liblxqt)
730 ("libqtxdg" ,libqtxdg)
731 ("lxqt-globalkeys" ,lxqt-globalkeys)
732 ("muparser" ,muparser)
733 ("pcre" ,pcre)
734 ("qtbase" ,qtbase)
735 ("qtsvg" ,qtsvg)
736 ("qtx11extras" ,qtx11extras)))
737 (native-inputs
738 `(("pkg-config" ,pkg-config)
739 ("qttools" ,qttools)
740 ("lxqt-build-tools" ,lxqt-build-tools)))
741 (arguments
742 '(#:tests? #f ; no tests
743 #:configure-flags
744 ;; TODO: prefetch translations files from 'lxqt-l10n'.
745 '("-DPULL_TRANSLATIONS=NO")
746 #:phases
747 (modify-phases %standard-phases
748 (add-after 'unpack 'patch-source
749 (lambda _
750 (substitute* '("autostart/CMakeLists.txt")
751 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
752 "DESTINATION \"etc/xdg"))
753 #t)))))
754 (home-page "https://lxqt.org/")
755 (synopsis "Tool used to launch programs quickly by typing their names")
756 (description "lxqt-runner provides a GUI that comes up on the desktop and
757 allows for launching applications or shutting down the system.")
758 (license license:lgpl2.1+)))
759
760 (define-public lxqt-session
761 (package
762 (name "lxqt-session")
763 (version "0.13.0")
764 (source
765 (origin
766 (method url-fetch)
767 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
768 version "/" name "-" version ".tar.xz"))
769 (sha256
770 (base32 "1aibppppmg46ybbajx2qc395l0yp9rqlp2am01fqjxadsf8vci5z"))))
771 (build-system cmake-build-system)
772 (inputs
773 `(("eudev" ,eudev)
774 ("kwindowsystem" ,kwindowsystem)
775 ("liblxqt" ,liblxqt)
776 ("libqtxdg" ,libqtxdg)
777 ("qtbase" ,qtbase)
778 ("qtsvg" ,qtsvg)
779 ("qtx11extras" ,qtx11extras)
780 ("xdg-user-dirs" ,xdg-user-dirs)))
781 (native-inputs
782 `(("pkg-config" ,pkg-config)
783 ("lxqt-build-tools" ,lxqt-build-tools)
784 ("qttools" ,qttools)))
785 (arguments
786 `(#:tests? #f
787 #:configure-flags
788 `("-DPULL_TRANSLATIONS=NO")
789 #:phases
790 (modify-phases %standard-phases
791 (add-after 'unpack 'patch-source
792 (lambda _
793 (substitute* '("autostart/CMakeLists.txt"
794 "config/CMakeLists.txt")
795 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
796 "DESTINATION \"etc/xdg"))
797 #t)))))
798 (home-page "https://lxqt.org/")
799 (synopsis "Session manager for LXQt")
800 (description "lxqt-session provides the standard session manager
801 for the LXQt desktop environment.")
802 (license license:lgpl2.1+)))
803
804 (define-public lxqt-sudo
805 (package
806 (name "lxqt-sudo")
807 (version "0.13.0")
808 (source
809 (origin
810 (method url-fetch)
811 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
812 version "/" name "-" version ".tar.xz"))
813 (sha256
814 (base32 "1j28wlw4rkzvr85yl78fqkvz7sv7dykm9ghm63xdkskfjbsas1cf"))))
815 (build-system cmake-build-system)
816 (inputs
817 `(("kwindowsystem" ,kwindowsystem)
818 ("liblxqt" ,liblxqt)
819 ("libqtxdg" ,libqtxdg)
820 ("qtbase" ,qtbase)
821 ("qtsvg" ,qtsvg)
822 ("qtx11extras" ,qtx11extras)
823 ("sudo" ,sudo)))
824 (native-inputs
825 `(("pkg-config" ,pkg-config)
826 ("qttools" ,qttools)
827 ("lxqt-build-tools" ,lxqt-build-tools)))
828 (arguments
829 '(#:tests? #f ; no tests
830 #:configure-flags
831 ;; TODO: prefetch translations files from 'lxqt-l10n'.
832 '("-DPULL_TRANSLATIONS=NO")))
833 (home-page "https://lxqt.org/")
834 (synopsis "GUI frontend for sudo/su")
835 (description "lxqt-sudo is a graphical front-end of commands sudo and su
836 respectively. As such it enables regular users to launch applications with
837 permissions of other users including root.")
838 (license license:lgpl2.1+)))
839
840 (define-public lxqt-themes
841 (package
842 (name "lxqt-themes")
843 (version "0.13.0")
844 (source
845 (origin
846 (method url-fetch)
847 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
848 version "/" name "-" version ".tar.xz"))
849 (sha256
850 (base32 "13kkkzjx8bgnwckz79j273azvm4za66i4cp2qhxwdpxh0fwziklf"))))
851 (build-system cmake-build-system)
852 (native-inputs
853 `(("lxqt-build-tools" ,lxqt-build-tools)))
854 (arguments
855 `(#:tests? #f ; no tests
856 #:phases
857 (modify-phases %standard-phases
858 (add-after 'unpack 'patch-source
859 (lambda _
860 (substitute* '("CMakeLists.txt")
861 (("DESTINATION \"\\$\\{LXQT_GRAPHICS_DIR\\}")
862 "DESTINATION \"share/lxqt/graphics"))
863 (substitute* '("themes/CMakeLists.txt")
864 (("DESTINATION \"\\$\\{LXQT_SHARE_DIR\\}")
865 "DESTINATION \"share/lxqt"))
866 #t)))))
867 (home-page "https://lxqt.org/")
868 (synopsis "Themes, graphics and icons for LXQt")
869 (description "This package comprises a number of graphic files and themes
870 for LXQt.")
871 ;; The whole package is released under LGPL 2.1+, while the LXQt logo is
872 ;; licensed under CC-BY-SA 3.0.
873 (license license:lgpl2.1+)))
874
875
876 ;; File Manager
877
878 (define-public libfm-qt
879 (package
880 (name "libfm-qt")
881 (version "0.13.1")
882 (source
883 (origin
884 (method url-fetch)
885 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
886 version "/" name "-" version ".tar.xz"))
887 (sha256
888 (base32 "0p0lbz7dh5c38zq3yp1v1mm99ymg7mqr3h7yzniif2hipmgvxsv9"))))
889 (build-system cmake-build-system)
890 (arguments
891 '(#:tests? #f ; no tests
892 #:configure-flags
893 ;; TODO : prefetch translations files from 'lxqt-l10n'.
894 '("-DPULL_TRANSLATIONS=NO")))
895 (inputs
896 `(("glib" ,glib)
897 ("libexif" ,libexif)
898 ("libfm" ,libfm)
899 ("libxcb" ,libxcb)
900 ("menu-cache" ,menu-cache)
901 ("pcre" ,pcre)
902 ("qtbase" ,qtbase)
903 ("qtx11extras" ,qtx11extras)))
904 (native-inputs
905 `(("pkg-config" ,pkg-config)
906 ("lxqt-build-tools" ,lxqt-build-tools)
907 ("qttools" ,qttools)))
908 (home-page "https://lxqt.org/")
909 (synopsis "Qt binding for libfm")
910 (description "libfm-qt is the Qt port of libfm, a library providing
911 components to build desktop file managers which belongs to LXDE.")
912 (license license:lgpl2.1+)))
913
914 (define-public pcmanfm-qt
915 (package
916 (name "pcmanfm-qt")
917 (version "0.13.0")
918 (source
919 (origin
920 (method url-fetch)
921 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
922 version "/" name "-" version ".tar.xz"))
923 (sha256
924 (base32 "08jprkkk62pk34q9lxa207bh27xi86fj8jxfd5z3w2m5j5nim5mz"))))
925 (build-system cmake-build-system)
926 (inputs
927 `(("libfm-qt" ,libfm-qt)
928 ("qtbase" ,qtbase)
929 ("qtx11extras" ,qtx11extras)))
930 (native-inputs
931 `(("pkg-config" ,pkg-config)
932 ("qttools" ,qttools)
933 ("lxqt-build-tools" ,lxqt-build-tools)))
934 (arguments
935 '(#:tests? #f ; no tests
936 #:configure-flags
937 ;; TODO: prefetch translations files from 'lxqt-l10n'.
938 '("-DPULL_TRANSLATIONS=NO")
939 #:phases
940 (modify-phases %standard-phases
941 (add-after 'unpack 'patch-source
942 (lambda _
943 (substitute* '("autostart/CMakeLists.txt")
944 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
945 "DESTINATION \"etc/xdg"))
946 #t)))))
947 (home-page "https://lxqt.org/")
948 (synopsis "File manager and desktop icon manager")
949 (description "PCManFM-Qt is the Qt port of PCManFM, the file manager of
950 LXDE.")
951 (license license:gpl2+)))
952
953
954 ;; Extra
955
956 (define-public compton-conf
957 (package
958 (name "compton-conf")
959 (version "0.4.0")
960 (source
961 (origin
962 (method url-fetch)
963 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
964 version "/" name "-" version ".tar.xz"))
965 (sha256
966 (base32 "0q3yx2a6wf8yahrwgvhmv9sd7gmrhid528vrqy04dg8m5cx1bjci"))))
967 (build-system cmake-build-system)
968 (inputs
969 `(("libconfig" ,libconfig)
970 ("qtbase" ,qtbase)))
971 (native-inputs
972 `(("lxqt-build-tools" ,lxqt-build-tools)
973 ("pkg-config" ,pkg-config)
974 ("qttools" ,qttools)))
975 (arguments
976 '(#:tests? #f ; no tests
977 #:configure-flags
978 ;; TODO: prefetch translations files from 'lxqt-l10n'.
979 '("-DPULL_TRANSLATIONS=NO")
980 #:phases
981 (modify-phases %standard-phases
982 (add-after 'unpack 'patch-source
983 (lambda _
984 (substitute* '("autostart/CMakeLists.txt")
985 (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
986 "DESTINATION \"etc/xdg"))
987 #t)))))
988 (home-page "https://lxqt.org/")
989 (synopsis "GUI configuration tool for compton X composite manager")
990 (description "@code{compton-conf} is a configuration tool for X composite
991 manager Compton.")
992 (license license:lgpl2.1+)))
993
994 (define-public lximage-qt
995 (package
996 (name "lximage-qt")
997 (version "0.7.0")
998 (source
999 (origin
1000 (method url-fetch)
1001 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1002 version "/" name "-" version ".tar.xz"))
1003 (sha256
1004 (base32 "1mwjh6lrjayr9snsmabkl5qs4xm6d27mfz8k3jxfm5dk3pjj1b0w"))))
1005 (build-system cmake-build-system)
1006 (inputs
1007 `(("libexif" ,libexif)
1008 ("libfm-qt" ,libfm-qt)
1009 ("qtbase" ,qtbase)
1010 ("qtsvg" ,qtsvg)
1011 ("qtx11extras" ,qtx11extras)))
1012 (native-inputs
1013 `(("pkg-config" ,pkg-config)
1014 ("lxqt-build-tools" ,lxqt-build-tools)
1015 ("qttools" ,qttools)))
1016 (arguments
1017 '(#:tests? #f ; no tests
1018 #:configure-flags
1019 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1020 '("-DPULL_TRANSLATIONS=NO")))
1021 (home-page "https://lxqt.org/")
1022 (synopsis "The image viewer and screenshot tool for lxqt")
1023 (description "LXImage-Qt is the Qt port of LXImage, a simple and fast
1024 image viewer.")
1025 (license license:gpl2+)))
1026
1027 (define-public obconf-qt
1028 (package
1029 (name "obconf-qt")
1030 (version "0.13.0")
1031 (source
1032 (origin
1033 (method url-fetch)
1034 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1035 version "/" name "-" version ".tar.xz"))
1036 (sha256
1037 (base32 "1fbzn1p2mdvn8dcbavmd1imrvkph2jfssrlw8l26qz6qk8qlmhnf"))))
1038 (build-system cmake-build-system)
1039 (inputs
1040 `(("imlib2" ,imlib2)
1041 ("libsm" ,libsm)
1042 ("librsvg" ,librsvg)
1043 ("libxft" ,libxft)
1044 ("libxml2" ,libxml2)
1045 ("openbox" ,openbox)
1046 ("pango" ,pango)
1047 ("pcre" ,pcre)
1048 ("qtbase" ,qtbase)
1049 ("qtx11extras" ,qtx11extras)))
1050 (native-inputs
1051 `(("lxqt-build-tools" ,lxqt-build-tools)
1052 ("pkg-config" ,pkg-config)
1053 ("qttools" ,qttools)))
1054 (arguments
1055 '(#:tests? #f ; no tests
1056 #:configure-flags
1057 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1058 '("-DPULL_TRANSLATIONS=NO")))
1059 (home-page "https://lxqt.org/")
1060 (synopsis "Openbox configuration tool")
1061 (description "ObConf-Qt is a Qt port of ObConf, a configuration editor for
1062 window manager OpenBox.")
1063 (license license:gpl2+)))
1064
1065 (define-public pavucontrol-qt
1066 (package
1067 (name "pavucontrol-qt")
1068 (version "0.4.0")
1069 (source
1070 (origin
1071 (method url-fetch)
1072 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1073 version "/" name "-" version ".tar.xz"))
1074 (sha256
1075 (base32 "0pqvhhgw7d00wqw5v3ghm4l8250zy7bqpvhff6l7y1lw0z2fvcp6"))))
1076 (build-system cmake-build-system)
1077 (inputs
1078 `(("glib" ,glib)
1079 ("pcre" ,pcre)
1080 ("pulseaudio" ,pulseaudio)
1081 ("qtbase" ,qtbase)
1082 ("qtx11extras" ,qtx11extras)))
1083 (native-inputs
1084 `(("pkg-config" ,pkg-config)
1085 ("lxqt-build-tools" ,lxqt-build-tools)
1086 ("qttools" ,qttools)))
1087 (arguments
1088 '(#:tests? #f ; no tests
1089 #:configure-flags
1090 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1091 '("-DPULL_TRANSLATIONS=NO")))
1092 (home-page "https://lxqt.org/")
1093 (synopsis "Pulseaudio mixer in Qt")
1094 (description "@code{pavucontrol-qt} is the Qt port of volume control
1095 @code{pavucontrol} of sound server @code{PulseAudio}.")
1096 (license license:gpl2+)))
1097
1098 (define-public qps
1099 (package
1100 (name "qps")
1101 (version "1.10.18")
1102 (source
1103 (origin
1104 (method url-fetch)
1105 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1106 version "/" name "-" version ".tar.xz"))
1107 (sha256
1108 (base32 "0pzk83p7a9ax0893s9hp2qkmiilzrf8iqry5a0x1g73hdwm5hm44"))))
1109 (build-system cmake-build-system)
1110 (inputs
1111 `(("libxrender" ,libxrender)
1112 ("qtbase" ,qtbase)
1113 ("qtx11extras" ,qtx11extras)))
1114 (native-inputs
1115 `(("qttools" ,qttools)))
1116 (arguments
1117 '(#:tests? #f)) ; no tests
1118 (home-page "https://lxqt.org/")
1119 (synopsis "Qt-based visual process status monitor")
1120 (description "@code{qps} is a monitor that displays the status of the
1121 processes currently in existence, much like code{top} or code{ps}.")
1122 (license license:gpl2+)))
1123
1124 (define-public qtermwidget
1125 (package
1126 (name "qtermwidget")
1127 (version "0.9.0")
1128 (source
1129 (origin
1130 (method url-fetch)
1131 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1132 version "/" name "-" version ".tar.xz"))
1133 (sha256
1134 (base32 "1c1qzbysxjbikp4bpgphphw4dgpl10gz8m06ccs2c48qxhpyd773"))))
1135 (build-system cmake-build-system)
1136 (inputs
1137 `(("qtbase" ,qtbase)))
1138 (native-inputs
1139 `(("lxqt-build-tools" ,lxqt-build-tools)
1140 ("qttools" ,qttools)))
1141 (arguments
1142 '(#:tests? #f ; no tests
1143 #:configure-flags
1144 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1145 '("-DPULL_TRANSLATIONS=NO")))
1146 (home-page "https://lxqt.org/")
1147 (synopsis "The terminal widget for QTerminal")
1148 (description "QTermWidget is a terminal emulator widget for Qt 5.")
1149 (license license:gpl2+)))
1150
1151 (define-public qterminal
1152 (package
1153 (name "qterminal")
1154 (version "0.9.0")
1155 (source
1156 (origin
1157 (method url-fetch)
1158 (uri (string-append "https://github.com/lxqt/" name "/releases/download/"
1159 version "/" name "-" version ".tar.xz"))
1160 (sha256
1161 (base32 "1vlza75br1ys62lgkdz26md729bfpbnasfzswp7hakmgaq1rhms1"))))
1162 (build-system cmake-build-system)
1163 (inputs
1164 `(("qtbase" ,qtbase)
1165 ("qtx11extras" ,qtx11extras)
1166 ("qtermwidget" ,qtermwidget)))
1167 (native-inputs
1168 `(("lxqt-build-tools" ,lxqt-build-tools)
1169 ("qttools" ,qttools)))
1170 (arguments
1171 '(#:tests? #f ; no tests
1172 #:configure-flags
1173 ;; TODO: prefetch translations files from 'lxqt-l10n'.
1174 '("-DPULL_TRANSLATIONS=NO")))
1175 (home-page "https://lxqt.org/")
1176 (synopsis "Lightweight Qt-based terminal emulator")
1177 (description "QTerminal is a lightweight Qt terminal emulator based on
1178 QTermWidget.")
1179 (license license:gpl2+)))
1180
1181 (define-public screengrab
1182 (package
1183 (name "screengrab")
1184 (version "1.99")
1185 (source
1186 (origin
1187 (method url-fetch)
1188 (uri (string-append "https://github.com/lxqt/screengrab/releases/download/"
1189 version "/screengrab-" version ".tar.xz"))
1190 (sha256
1191 (base32 "17y8rsx9fixvxv2byq8d6c01vry10nv07f8jy85vz7zp4f0rgzz3"))))
1192 (build-system cmake-build-system)
1193 (inputs
1194 `(("kwindowsystem" ,kwindowsystem)
1195 ("libqtxdg" ,libqtxdg)
1196 ("qtbase" ,qtbase)
1197 ("qtsvg" ,qtsvg)
1198 ("qtx11extras" ,qtx11extras)))
1199 (native-inputs
1200 `(("pkg-config" ,pkg-config)
1201 ("qttools" ,qttools)))
1202 (arguments
1203 '(#:tests? #f)) ; no tests
1204 (home-page "https://lxqt.org/")
1205 (synopsis "Crossplatform tool for fast making screenshots")
1206 (description "ScreenGrab is a program for fast creating screenshots, and
1207 easily publishing them on internet image hosting services.")
1208 (license license:gpl2+)))
1209
1210
1211 ;; The LXQt Desktop Environment
1212
1213 (define-public lxqt
1214 (package
1215 (name "lxqt")
1216 (version (package-version lxqt-session))
1217 (source #f)
1218 (build-system trivial-build-system)
1219 (arguments '(#:builder (begin (mkdir %output) #t)))
1220 (propagated-inputs
1221 `(;; XDG
1222 ("desktop-file-utils" ,desktop-file-utils)
1223 ("hicolor-icon-theme" ,hicolor-icon-theme)
1224 ("xdg-user-dirs" ,xdg-user-dirs)
1225 ("xdg-utils" ,xdg-utils)
1226 ;; Base
1227 ;; TODO: qtsvg is needed for lxqt apps to display icons. Maybe it
1228 ;; should be added to their propagated-inputs?
1229 ("qtsvg" ,qtsvg)
1230 ;; Core
1231 ("lxqt-about" ,lxqt-about)
1232 ("lxqt-admin" ,lxqt-admin)
1233 ("lxqt-config" ,lxqt-config)
1234 ("lxqt-notificationd" ,lxqt-notificationd)
1235 ("lxqt-openssh-askpass" ,lxqt-openssh-askpass)
1236 ("lxqt-panel" ,lxqt-panel)
1237 ("lxqt-policykit" ,lxqt-policykit)
1238 ("lxqt-powermanagement" ,lxqt-powermanagement)
1239 ("lxqt-qtplugin" ,lxqt-qtplugin)
1240 ("lxqt-runner" ,lxqt-runner)
1241 ("lxqt-session" ,lxqt-session)
1242 ("lxqt-sudo" ,lxqt-sudo)
1243 ("lxqt-themes" ,lxqt-themes)
1244 ("pcmanfm-qt" ,pcmanfm-qt)
1245 ;; Extra
1246 ("compton" ,compton)
1247 ("compton-conf" ,compton-conf)
1248 ("font-dejavu" ,font-dejavu)
1249 ("lximage-qt" ,lximage-qt)
1250 ("obconf-qt" ,obconf-qt)
1251 ("openbox" ,openbox)
1252 ("oxygen-icons" ,oxygen-icons)
1253 ("pavucontrol-qt" ,pavucontrol-qt)
1254 ("qps" ,qps)
1255 ("qterminal" ,qterminal)))
1256 (synopsis "The Lightweight Qt Desktop Environment")
1257 (description "LXQt is a lightweight Qt desktop environment.")
1258 (home-page "https://lxde.org")
1259 (license license:gpl2+)))