mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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.
This commit is contained in:
parent
627b70e3ac
commit
adf0edadef
1 changed files with 5 additions and 6 deletions
|
@ -1063,7 +1063,8 @@ (define-public qoauth
|
||||||
`(("qca" ,qca)
|
`(("qca" ,qca)
|
||||||
("qtbase" ,qtbase)))
|
("qtbase" ,qtbase)))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:tests? #f ;FIXME: some tests are failing
|
||||||
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-code
|
(add-after 'unpack 'patch-code
|
||||||
(lambda _
|
(lambda _
|
||||||
|
@ -1079,11 +1080,9 @@ (define-public qoauth
|
||||||
(("\\$\\$\\[QMAKE_MKSPECS\\]")
|
(("\\$\\$\\[QMAKE_MKSPECS\\]")
|
||||||
(string-append (assoc-ref outputs "out") "/lib/qt5/mkspecs")))
|
(string-append (assoc-ref outputs "out") "/lib/qt5/mkspecs")))
|
||||||
#t))
|
#t))
|
||||||
(delete 'configure) ; no configure script
|
(replace 'configure
|
||||||
(delete 'check) ; no test target
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(add-before 'build 'qmake
|
(let ((qca (assoc-ref inputs "qca")))
|
||||||
(lambda _
|
|
||||||
(let ((qca (assoc-ref %build-inputs "qca")))
|
|
||||||
(invoke
|
(invoke
|
||||||
"qmake"
|
"qmake"
|
||||||
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||||
|
|
Loading…
Reference in a new issue