gnu: kscreenlocker: Format with 'guix style'.
* gnu/packages/kde-plasma.scm (kscreenlocker): Adjust package formatting with 'guix style'. [arguments]: Use G-expressions, remove tail #t. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
parent
bbf7c10e5d
commit
02f4e43b9f
1 changed files with 43 additions and 48 deletions
|
@ -835,54 +835,49 @@ an elegant and intuitive experience for your tasks and plasmoids.")
|
||||||
"0pgmy4dw41kim7syk4xb2n4g4iz3jjikhwnh3bjianl9h87rc12x"))))
|
"0pgmy4dw41kim7syk4xb2n4g4iz3jjikhwnh3bjianl9h87rc12x"))))
|
||||||
(build-system qt-build-system)
|
(build-system qt-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ;; TODO: make tests pass
|
(list #:tests? #f ;TODO: make tests pass
|
||||||
#:phases
|
#:phases #~(modify-phases %standard-phases
|
||||||
(modify-phases %standard-phases
|
(add-before 'check 'check-setup
|
||||||
(add-before 'check 'check-setup
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(system "Xvfb :1 -screen 0 640x480x24 &")
|
||||||
(system "Xvfb :1 -screen 0 640x480x24 &")
|
(setenv "DISPLAY" ":1")))
|
||||||
(setenv "DISPLAY" ":1")
|
(delete 'check)
|
||||||
#t))
|
;; Tests use the installed library and require a DBus session.
|
||||||
(delete 'check)
|
(add-after 'install 'check
|
||||||
;; Tests use the installed library and require a DBus session.
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(add-after 'install 'check
|
(if tests?
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(begin
|
||||||
(if tests?
|
(setenv "CTEST_OUTPUT_ON_FAILURE" "1")
|
||||||
(begin
|
(invoke "dbus-launch" "ctest"))))))))
|
||||||
(setenv "CTEST_OUTPUT_ON_FAILURE" "1")
|
(native-inputs (list extra-cmake-modules pkg-config
|
||||||
(invoke "dbus-launch" "ctest")))
|
;; For tests.
|
||||||
#t)))))
|
dbus xorg-server-for-tests))
|
||||||
(native-inputs
|
(inputs (list kcmutils
|
||||||
(list extra-cmake-modules pkg-config
|
kconfig
|
||||||
;; For tests.
|
kcrash
|
||||||
dbus xorg-server-for-tests))
|
kdeclarative
|
||||||
(inputs
|
kglobalaccel
|
||||||
(list kcmutils
|
ki18n
|
||||||
kconfig
|
kio
|
||||||
kcrash
|
kidletime
|
||||||
kdeclarative
|
knotifications
|
||||||
kglobalaccel
|
ktextwidgets
|
||||||
ki18n
|
kwayland
|
||||||
kio
|
kwindowsystem
|
||||||
kidletime
|
kxmlgui
|
||||||
knotifications
|
layer-shell-qt
|
||||||
ktextwidgets
|
libkscreen
|
||||||
kwayland
|
libseccomp ;for sandboxing the look'n'feel package
|
||||||
kwindowsystem
|
libxcursor ;missing in CMakeList.txt
|
||||||
kxmlgui
|
libxi ;XInput, required for grabbing XInput2 devices
|
||||||
layer-shell-qt
|
linux-pam
|
||||||
libkscreen
|
elogind ;optional loginctl support
|
||||||
libseccomp ;for sandboxing the look'n'feel package
|
qtbase-5
|
||||||
libxcursor ;missing in CMakeList.txt
|
qtdeclarative-5
|
||||||
libxi ;XInput, required for grabbing XInput2 devices
|
qtx11extras
|
||||||
linux-pam
|
solid
|
||||||
elogind ;optional loginctl support
|
wayland
|
||||||
qtbase-5
|
xcb-util-keysyms))
|
||||||
qtdeclarative-5
|
|
||||||
qtx11extras
|
|
||||||
solid
|
|
||||||
wayland
|
|
||||||
xcb-util-keysyms))
|
|
||||||
(home-page "https://invent.kde.org/plasma/kscreenlocker")
|
(home-page "https://invent.kde.org/plasma/kscreenlocker")
|
||||||
(synopsis "Screen locking library")
|
(synopsis "Screen locking library")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue