mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: kscreenlocker: Use qt-build-system.
* gnu/packages/kde-plasma.scm (kscreeenlocker)[buoild-system]: Change to qt-build-system. [arguments]{phases}<check> Remove unsued code; Actually disable running the tests.
This commit is contained in:
parent
00fad32a2c
commit
0f4c320c2c
1 changed files with 9 additions and 6 deletions
|
@ -70,9 +70,10 @@ (define-public kscreenlocker
|
|||
(sha256
|
||||
(base32
|
||||
"1fd5sqaqx9kj3kr0bgxpllhcm5arf8bc9pkpd9yk9c8xjy0j0fxi"))))
|
||||
(build-system cmake-build-system)
|
||||
(build-system qt-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
`(#:tests? #f ;; TODO: make tests pass
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'check 'check-setup
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
|
@ -83,13 +84,15 @@ (define-public kscreenlocker
|
|||
(delete 'check)
|
||||
;; Tests use the installed library and require a DBus session.
|
||||
(add-after 'install 'check
|
||||
(lambda _
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(if tests?
|
||||
(begin
|
||||
(setenv "CTEST_OUTPUT_ON_FAILURE" "1")
|
||||
(invoke "dbus-launch" "ctest" "."))))))
|
||||
(invoke "dbus-launch" "ctest" ".")))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("extra-cmake-modules" ,extra-cmake-modules)
|
||||
("pkg-config" ,pkg-config)
|
||||
|
||||
;; For tests.
|
||||
("dbus" ,dbus)
|
||||
("xorg-server" ,xorg-server-for-tests)))
|
||||
|
|
Loading…
Reference in a new issue