diff options
Diffstat (limited to 'gnu/packages/kde-frameworks.scm')
-rw-r--r-- | gnu/packages/kde-frameworks.scm | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 7a3b6b26a8..00d5eb049d 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -98,9 +98,15 @@ "10c5xs5shk0dcshpdxg564ay5y8hgmvfvmlhmhjf0dy79kcah3c3")))) (build-system cmake-build-system) (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 - `(#:phases + `(#:tests? ,(not (null? (package-native-inputs this-package))) + #:phases (modify-phases %standard-phases (add-after 'unpack 'fix-lib-path (lambda _ |