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 @@ human.")
|
||||||
#:imported-modules `(,@%cmake-build-system-modules
|
#:imported-modules `(,@%cmake-build-system-modules
|
||||||
(guix build qt-utils))
|
(guix build qt-utils))
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
#~(list "-DWITH_XC_ALL=YES"
|
#~(append
|
||||||
"-DWITH_XC_UPDATECHECK=NO")
|
(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
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
|
@ -172,7 +177,12 @@ human.")
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(wrap-qt-program "keepassxc" #:output #$output #:inputs inputs))))))
|
(wrap-qt-program "keepassxc" #:output #$output #:inputs inputs))))))
|
||||||
(native-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
|
(inputs
|
||||||
(list argon2
|
(list argon2
|
||||||
botan
|
botan
|
||||||
|
|
Reference in a new issue