summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-04-16 23:10:33 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2019-04-17 03:21:08 +0200
commit4bee557d4346a366fb27d2352f899f1e1ec723cc (patch)
treebe520e3312b7f6f0bc1fbe321451aa45b76eef7e /gnu
parente28ff04108ae7506a21d451cc23d63937076e2a3 (diff)
downloadguix-4bee557d4346a366fb27d2352f899f1e1ec723cc.tar.gz
gnu: rubberband: Update to 1.8.2.
* gnu/packages/audio.scm (rubberband): Update to 1.8.2.
[arguments]: Add ‘skip-jni-installation’ phase.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/audio.scm16
1 files changed, 13 insertions, 3 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 8160ba5487..10dab82ba1 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -2316,7 +2316,7 @@ aimed at audio/musical applications.")
 (define-public rubberband
   (package
     (name "rubberband")
-    (version "1.8.1")
+    (version "1.8.2")
     (source (origin
               (method url-fetch)
               (uri
@@ -2326,9 +2326,19 @@ aimed at audio/musical applications.")
               (file-name (string-append name "-" version ".tar.bz2"))
               (sha256
                (base32
-                "05amrbrxx0da3w7m237q51799r8xgs4ffqabi2qv06hq8dpcj386"))))
+                "0462fmjnfqpv2qi0s6ny42drqarkr0xy9lw8frjmfgzyzl5n9294"))))
     (build-system gnu-build-system)
-    (arguments `(#:tests? #f)) ; no check target
+    (arguments
+     `(#:tests? #f                      ; no check target
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'skip-jni-installation
+           ;; ‘make install’ unconditionally installs librubberband-jni.so,
+           ;; which is never built by ‘make all’.  Skip it.
+           (lambda _
+             (substitute* "Makefile.in"
+               ((".*cp -f \\$\\(JNI_TARGET\\).*") ""))
+             #t)))))
     (inputs
      `(("ladspa" ,ladspa)
        ("libsamplerate" ,libsamplerate)