gnu: extra-cmake-modules: Avoid dependency on qtbase when on armhf.
* gnu/packages/kde-frameworks.scm (extra-cmake-modules)[native-inputs]: Remove QTBASE-5 on armhf-linux. [arguments]: Set #:tests? accordingly.
This commit is contained in:
parent
f91ae9425b
commit
541e2f9a01
1 changed files with 8 additions and 2 deletions
|
@ -98,9 +98,15 @@
|
||||||
"10c5xs5shk0dcshpdxg564ay5y8hgmvfvmlhmhjf0dy79kcah3c3"))))
|
"10c5xs5shk0dcshpdxg564ay5y8hgmvfvmlhmhjf0dy79kcah3c3"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("qtbase" ,qtbase-5))) ; For tests (needs qmake)
|
;; Add test dependency, except on armhf where building it is too
|
||||||
|
;; expensive.
|
||||||
|
(if (and (not (%current-target-system))
|
||||||
|
(string=? (%current-system) "armhf-linux"))
|
||||||
|
'()
|
||||||
|
`(("qtbase" ,qtbase-5)))) ;for tests (needs qmake)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:tests? ,(not (null? (package-native-inputs this-package)))
|
||||||
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'fix-lib-path
|
(add-after 'unpack 'fix-lib-path
|
||||||
(lambda _
|
(lambda _
|
||||||
|
|
Reference in a new issue