guix_mirror_bot pushed a commit to branch gnome-team
in repository guix.
commit e567c1b7ee80909bc9faf0b42be416bee37db61d
Author: Liliana Marie Prikler <[email protected]>
AuthorDate: Thu Mar 5 18:44:38 2026 +0100
gnu: java-brotli: Fix build.
* gnu/packages/compression.scm (java-brotli)[#:phases]: Add
‘drop-android-wrapper’.
---
gnu/packages/compression.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index e1f1d6a87f..3af60e9658 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -2434,7 +2434,12 @@ The specification of the Brotli Compressed Data Format
is defined in RFC 7932.")
#:source-dir "java"
;; Tests are mixed in with java sources, the ant build system
;; doesn't allow that
- #:tests? #f))
+ #:tests? #f
+ #:phases (modify-phases %standard-phases
+ (add-after 'unpack 'drop-android-wrapper
+ (lambda _
+ (delete-file-recursively
+ "java/org/brotli/wrapper/android"))))))
(native-inputs (list java-junit))))
(define-public ucl