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: I0cf9e12147eaa8c747190cf305cbc209f86ee44amaster
parent
f30f13b852
commit
6ce72159cf
|
@ -3641,33 +3641,33 @@ filters using the so-called @emph{window method}.")
|
||||||
(define-public rubberband
|
(define-public rubberband
|
||||||
(package
|
(package
|
||||||
(name "rubberband")
|
(name "rubberband")
|
||||||
(version "1.8.2")
|
(version "3.3.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri
|
(uri
|
||||||
(string-append "https://bitbucket.org/breakfastquay/rubberband/get/v"
|
(string-append "https://breakfastquay.com/files/releases/"
|
||||||
version
|
"rubberband-" version ".tar.bz2"))
|
||||||
".tar.bz2"))
|
|
||||||
(file-name (string-append name "-" version ".tar.bz2"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0462fmjnfqpv2qi0s6ny42drqarkr0xy9lw8frjmfgzyzl5n9294"))))
|
"0v2pbv4jnzv3rr2qr71skwncy2p263ngmhn37aqqb7zgp3i8kvyr"))))
|
||||||
(build-system gnu-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no check target
|
(list
|
||||||
#:phases
|
#:configure-flags
|
||||||
(modify-phases %standard-phases
|
'(list "-Dresampler=libsamplerate"
|
||||||
(add-after 'unpack 'skip-jni-installation
|
"-Dfft=fftw" ;To avoid using bundled version
|
||||||
;; ‘make install’ unconditionally installs librubberband-jni.so,
|
"-Ddefault_library=shared"))) ;Don't build static library
|
||||||
;; which is never built by ‘make all’. Skip it.
|
|
||||||
(lambda _
|
|
||||||
(substitute* "Makefile.in"
|
|
||||||
((".*cp -f \\$\\(JNI_TARGET\\).*") ""))
|
|
||||||
#t)))))
|
|
||||||
(inputs
|
(inputs
|
||||||
(list ladspa libsamplerate vamp))
|
(list fftw ladspa libsamplerate lv2 vamp))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list pkg-config))
|
(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/")
|
(home-page "https://breakfastquay.com/rubberband/")
|
||||||
(synopsis "Audio time-stretching and pitch-shifting library")
|
(synopsis "Audio time-stretching and pitch-shifting library")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue