diff options
author | Brendan Tildesley <mail@brendan.scot> | 2024-01-10 19:27:29 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2024-01-11 23:20:28 +0100 |
commit | 6ce72159cf71327b74b9249aa10c34be069e40ca (patch) | |
tree | f2b80c4fc40305c9ea92c58d9011eae5a6c4e603 /gnu/packages/audio.scm | |
parent | f30f13b8523ab50407c09d6e0807a9631ea7a0c4 (diff) | |
download | guix-6ce72159cf71327b74b9249aa10c34be069e40ca.tar.gz |
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
Diffstat (limited to 'gnu/packages/audio.scm')
-rw-r--r-- | gnu/packages/audio.scm | 36 |
1 files 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 |