[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/08: gnu: extra-cmake-modules: Avoid dependency on qtbase when on armh
From: |
guix-commits |
Subject: |
01/08: gnu: extra-cmake-modules: Avoid dependency on qtbase when on armhf. |
Date: |
Mon, 30 Aug 2021 08:50:20 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 541e2f9a01e108bffa923a30d9c658c7bd72ae55
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Aug 30 12:15:39 2021 +0200
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.
---
gnu/packages/kde-frameworks.scm | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 7a3b6b2..00d5eb0 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 _
- branch master updated (f91ae94 -> b12d856), guix-commits, 2021/08/30
- 01/08: gnu: extra-cmake-modules: Avoid dependency on qtbase when on armhf.,
guix-commits <=
- 06/08: gnu: scrot: Update to 1.6., guix-commits, 2021/08/30
- 02/08: build: Build (gnu system setuid)., guix-commits, 2021/08/30
- 03/08: bootloader: Report location of the deprecated 'target' field., guix-commits, 2021/08/30
- 08/08: gnu: Add ocaml-odoc-parser., guix-commits, 2021/08/30
- 07/08: build-system: chicken: Add 'egg-uri' procedure., guix-commits, 2021/08/30
- 04/08: services: hurd-vm: Use the new 'targets' field of <bootloader-configuration>., guix-commits, 2021/08/30
- 05/08: build: Build (gnu packages rocm)., guix-commits, 2021/08/30