From ba87d4713da9cc26cc7279c56d287f385bf696bc Mon Sep 17 00:00:00 2001 From: Sughosha Date: Wed, 22 Jun 2022 14:30:17 +0200 Subject: [PATCH 1/4] gnu: Update sorcer * gnu/packages/music.scm: Update sorcer to its latest commit which fixes its building. --- gnu/packages/music.scm | 59 ++++++++++++++++-------------------------- 1 file changed, 22 insertions(+), 37 deletions(-) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 60cb176320..449d4ab250 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -5055,44 +5055,29 @@ (define-public patchmatrix (license license:artistic2.0))) (define-public sorcer - (package - (name "sorcer") - (version "1.1.3") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/openAVproductions/" - "openAV-Sorcer/archive/release-" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "07iyqj28wm0xc4arrq893bm12xjpz65db7ynrlmf6w8krg8wjmd0")))) - (build-system cmake-build-system) - (arguments - `(#:tests? #f ; no tests included - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'remove-architecture-specific-flags - (lambda _ - (substitute* "CMakeLists.txt" - (("-msse2 -mfpmath=sse") "")) - #t)) - (add-after 'unpack 'build-faust-sources - (lambda* (#:key inputs #:allow-other-keys) - (with-directory-excursion "faust" - (delete-file "main.cpp") - (invoke "faust" "-i" - "-a" "lv2synth.cpp" - "-o" "main.cpp" "main.dsp"))))))) - (inputs - (list boost lv2 ntk)) - (native-inputs - (list faust pkg-config)) - (home-page "http://openavproductions.com/sorcer/") - (synopsis "Wavetable LV2 plugin synth") - (description "Sorcer is a wavetable LV2 plugin synthesizer, targeted at + (let ((revision "6") (commit "cc7f6f58af3188a8620b90fdad6e8ca5d026f543")) + (package + (name "sorcer") + (version (git-version "1.1.3" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url + "https://github.com/openAVproductions/openAV-Sorcer") + (commit commit))) + (sha256 + (base32 + "0ryaglp2pzln2bm0pwc5p9lb2nk0x4wmrs4c4cp6d2m2hhk82yk7")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f)) ;no tests included + (inputs (list boost lv2 ntk)) + (native-inputs (list faust pkg-config)) + (home-page "http://openavproductions.com/sorcer/") + (synopsis "Wavetable LV2 plugin synth") + (description "Sorcer is a wavetable LV2 plugin synthesizer, targeted at the electronic or dubstep genre.") - (license license:gpl3+))) + (license license:gpl3+)))) (define-public sonivox-eas (package -- 2.36.1