From 615a57bdfb6a236b08573838d4bd3dd62b281658 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 16 Nov 2022 19:20:23 +0100 Subject: [PATCH] gnu: Add dsp. * gnu/packages/audio.scm (dsp): New variable. --- gnu/packages/audio.scm | 44 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 937c9783fb..61e81f8c3d 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -615,6 +615,50 @@ (define-public aubio streams from live audio.") (license license:gpl3+))) +(define-public dsp + (package + (name "dsp") + (version "1.9") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/bmc0/dsp") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0iksmianwig7w78hqip2a8yy6r63sv8cv9pis8qxny6w1xap6njb")))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #false ;no tests + #:make-flags + #~(list (string-append "CC=" #$(cc-for-target))) + #:phases + #~(modify-phases %standard-phases + (replace 'configure + (lambda _ + (invoke "sh" "configure" + (string-append "--prefix=" #$output) + "--disable-pulse")))))) + (inputs + (list alsa-lib + ao + ffmpeg + ladspa + libmad + libsndfile + fftw + fftwf + zita-convolver)) + (native-inputs + (list libtool pkg-config)) + (home-page "https://github.com/bmc0/dsp") + (synopsis "Audio processing program with an interactive mode") + (description + "dsp is an audio processing program with an interactive mode.") + (license license:isc))) + (define-public qm-dsp (package (name "qm-dsp")