mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: keepassxc: Only build documentation on supported systems.
* gnu/packages/password-utils.scm (keepassxc)[native-inputs]: Only add ruby-asciidoctor on supported platforms. [arguments]: Adjust configure-flags to skip documentation when ruby-asciidoctor isn't supported.
This commit is contained in:
parent
56255c3e81
commit
2bf8146e31
1 changed files with 13 additions and 3 deletions
|
@ -157,8 +157,13 @@ (define-public keepassxc
|
|||
#:imported-modules `(,@%cmake-build-system-modules
|
||||
(guix build qt-utils))
|
||||
#:configure-flags
|
||||
#~(list "-DWITH_XC_ALL=YES"
|
||||
"-DWITH_XC_UPDATECHECK=NO")
|
||||
#~(append
|
||||
(list "-DWITH_XC_ALL=YES"
|
||||
"-DWITH_XC_UPDATECHECK=NO")
|
||||
#$(if (member (%current-system)
|
||||
(package-transitive-supported-systems ruby-asciidoctor))
|
||||
#~'()
|
||||
#~(list "-DWITH_XC_DOCS=NO")))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
|
@ -172,7 +177,12 @@ (define-public keepassxc
|
|||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(wrap-qt-program "keepassxc" #:output #$output #:inputs inputs))))))
|
||||
(native-inputs
|
||||
(list qttools-5 ruby-asciidoctor))
|
||||
(append
|
||||
(list qttools-5)
|
||||
(if (member (%current-system)
|
||||
(package-transitive-supported-systems ruby-asciidoctor))
|
||||
(list ruby-asciidoctor)
|
||||
'())))
|
||||
(inputs
|
||||
(list argon2
|
||||
botan
|
||||
|
|
Loading…
Reference in a new issue