From 36942212908164381231f96a76fcbbf86ac2856a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 23 May 2024 13:47:20 +0300 Subject: 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 --- gnu/packages/accessibility.scm | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/gnu/packages/accessibility.scm b/gnu/packages/accessibility.scm index cf5a568a77..962b340c9b 100644 --- a/gnu/packages/accessibility.scm +++ b/gnu/packages/accessibility.scm @@ -152,17 +152,22 @@ terminals.") (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 -- cgit v1.2.3