diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-11-08 22:06:25 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-11-08 22:12:42 +0200 |
commit | b0bfddd7f937fcefdaeb1de4ccafd415c1df4122 (patch) | |
tree | 7b1f9b9e7c5e4dc74fa7bb159947e91803cacd04 /gnu | |
parent | e7d61dfe57290442c0af193e9e16a1eeb668f0f8 (diff) |
gnu: wsjtx: Only build html documentation on supported systems.
* gnu/packages/radio.scm (wsjtx)[arguments]: Add configure-flag to skip
html documentation on systems where ruby-asciidoctor isn't supported.
[native-inputs]: Don't build with ruby-asciidoctor on systems where it
isn't supported.
Change-Id: I73436f887933e6b37033c8ba3ff32ba125a797f8
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/radio.scm | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 17589b584c..41810cb382 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2022 Greg Hogan <code@greghogan.com> ;;; Copyright © 2022 Ryan Tolboom <ryan@using.tech> ;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus@gmail.com> +;;; Copyright © 2023 Efraim Flashner <efraim@flashner.co.il> ;;; ;;; This file is part of GNU Guix. ;;; @@ -1662,13 +1663,19 @@ instances over the network, and general QSO and DXpedition logging.") (base32 "1lqd77v9xm58k9g9kfwxva3mmzm1yyk1v27nws5j1a293zfg2hkw")))) (build-system qt-build-system) (arguments - (list #:tests? #f)) ; No test suite + (list #:tests? #f ; No test suite + #:configure-flags + (if (this-package-native-input "ruby-asciidoctor") + #~'() + #~(list "-DWSJT_GENERATE_DOCS=OFF")))) (native-inputs - (list asciidoc - gfortran - pkg-config - qttools-5 - ruby-asciidoctor)) + (append (list asciidoc + gfortran + pkg-config + qttools-5) + (if (supported-package? ruby-asciidoctor) + (list ruby-asciidoctor) + '()))) (inputs (list boost fftw |