me
/
guix
Archived
1
0
Fork 0

gnu: qoauth: Minor cosmetic improvements.

* gnu/packages/web.scm (qoauth)[arguments]: Add #:tests?.  Don't delete
'check' phase.  Override 'configure' instead of adding new phase.
master
Marius Bakke 2020-12-08 00:30:08 +01:00
parent 627b70e3ac
commit adf0edadef
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 5 additions and 6 deletions

View File

@ -1063,7 +1063,8 @@ instances, while JSON's objects will be mapped to @code{QVariantMap}.")
`(("qca" ,qca)
("qtbase" ,qtbase)))
(arguments
'(#:phases
'(#:tests? #f ;FIXME: some tests are failing
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-code
(lambda _
@ -1079,11 +1080,9 @@ instances, while JSON's objects will be mapped to @code{QVariantMap}.")
(("\\$\\$\\[QMAKE_MKSPECS\\]")
(string-append (assoc-ref outputs "out") "/lib/qt5/mkspecs")))
#t))
(delete 'configure) ; no configure script
(delete 'check) ; no test target
(add-before 'build 'qmake
(lambda _
(let ((qca (assoc-ref %build-inputs "qca")))
(replace 'configure
(lambda* (#:key inputs #:allow-other-keys)
(let ((qca (assoc-ref inputs "qca")))
(invoke
"qmake"
(string-append "PREFIX=" (assoc-ref %outputs "out"))