From 0fce0b9267393664f8007f7fac54a7dbe8d68906 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 1 Jul 2022 18:50:28 +0200 Subject: [PATCH] gnu: Add faust-0.9.67. * gnu/packages/audio.scm (faust-0.9.67): New variable. --- gnu/packages/audio.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index f1dbb6c49f..e0e1554100 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -1914,6 +1914,40 @@ also play midifiles using a Soundfont.") "Faust is a programming language for realtime audio signal processing.") (license license:gpl2+))) +;; This version is needed to build older synths that require the lv2synth.cpp +;; architecture file, such as sorcer. +(define-public faust-0.9.67 + (package + (inherit faust) + (name "faust") + (version "0.9.67") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/grame-cncm/faust") + (commit (string-append "v" + (string-map (lambda (c) + (if (char=? c #\.) #\- c)) + version))))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0856x666s6ymzk8v15f9gy402dbr8c9v2s40hyfadhraqljmqrm0")) + (snippet + ;; Remove prebuilt library + '(delete-file "architecture/android/libs/armeabi-v7a/libfaust_dsp.so")))) + (build-system gnu-build-system) + (arguments + (list + #:make-flags + #~(list (string-append "prefix=" #$output)) + #:tests? #f + #:phases + '(modify-phases %standard-phases + ;; no "configure" script + (delete 'configure)))) + (native-inputs (list unzip)))) + (define-public faust-2 (package (inherit faust)