gnu: brltty: Build with java only on some architectures.

* gnu/packages/accessibility.scm (brltty)[native-inputs]: Only build
with icedtea on x86_64-linux, i686-linux and aarch64-linux.

Change-Id: I95e2cfa17c1f484677ad8f26e3a865eba83362dd
This commit is contained in:
Efraim Flashner 2024-05-23 13:47:20 +03:00
parent 055d70f5d8
commit 3694221290
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -152,17 +152,22 @@ (define-public brltty
(assoc-ref python:%standard-phases
'add-install-to-pythonpath)))))
(native-inputs
(list clisp
python-cython
doxygen
gettext-minimal
`(,icedtea "jdk")
;; ("linuxdoc" ,linuxdoc-tools)
ocaml
ocaml-findlib
pkg-config
python-wrapper
tcl))
(append
(list clisp
python-cython
doxygen
gettext-minimal)
;; icedtea doesn't build reliably on all architectures.
(if (or (target-x86?)
(target-aarch64?))
(list `(,icedtea "jdk"))
'())
(list ;; ("linuxdoc" ,linuxdoc-tools)
ocaml
ocaml-findlib
pkg-config
python-wrapper
tcl)))
(inputs
(list alsa-lib
at-spi2-core