guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

14/15: gnu: rubberband: Update to 3.3.0.


From: guix-commits
Subject: 14/15: gnu: rubberband: Update to 3.3.0.
Date: Wed, 10 Jan 2024 17:31:28 -0500 (EST)

rekado pushed a commit to branch wip-easyeffects-62771
in repository guix.

commit 2fac34da1bc6fc25f37b0624abc52fc81fa23456
Author: Brendan Tildesley <mail@brendan.scot>
AuthorDate: Wed Jan 10 19:27:29 2024 +0100

    gnu: rubberband: Update to 3.3.0.
    
    * gnu/packages/audio.scm (rubberband): Update to 3.3.0.
    [build-system]: Use meson-build-system.
    [arguments]: Enable tests; use libsamplerate over builtin resampler; use 
Guix
    fftw over bundled version.
    [inputs]: Add fftw and lv2.
    [native-search-paths]: Add LV2 and LADSPA search paths.
    
    Co-authored-by: Ricardo Wurmus <rekado@elephly.net>.
    Change-Id: I0cf9e12147eaa8c747190cf305cbc209f86ee44a
---
 gnu/packages/audio.scm | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index e586c62fdd..7649f98ed8 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -3641,33 +3641,33 @@ filters using the so-called @emph{window method}.")
 (define-public rubberband
   (package
     (name "rubberband")
-    (version "1.8.2")
+    (version "3.3.0")
     (source (origin
               (method url-fetch)
               (uri
-               (string-append 
"https://bitbucket.org/breakfastquay/rubberband/get/v";
-                              version
-                              ".tar.bz2"))
-              (file-name (string-append name "-" version ".tar.bz2"))
+               (string-append "https://breakfastquay.com/files/releases/";
+                              "rubberband-" version ".tar.bz2"))
               (sha256
                (base32
-                "0462fmjnfqpv2qi0s6ny42drqarkr0xy9lw8frjmfgzyzl5n9294"))))
-    (build-system gnu-build-system)
+                "0v2pbv4jnzv3rr2qr71skwncy2p263ngmhn37aqqb7zgp3i8kvyr"))))
+    (build-system meson-build-system)
     (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)))))
+     (list
+      #:configure-flags
+      '(list "-Dresampler=libsamplerate"
+             "-Dfft=fftw"                  ;To avoid using bundled version
+             "-Ddefault_library=shared"))) ;Don't build static library
     (inputs
-     (list ladspa libsamplerate vamp))
+     (list fftw ladspa libsamplerate lv2 vamp))
     (native-inputs
      (list pkg-config))
+    (native-search-paths
+     (list (search-path-specification
+            (variable "LV2_PATH")
+            (files '("lib/lv2")))
+           (search-path-specification
+            (variable "LADSPA_PATH")
+            (files '("lib/ladspa")))))
     (home-page "https://breakfastquay.com/rubberband/";)
     (synopsis "Audio time-stretching and pitch-shifting library")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]