Archived
1
0
Fork 0

gnu: sorcer: Update to 1.1.3-1.cc7f6f5.

* gnu/packages/music.scm (sorcer): Update to 1.1.3-1.cc7f6f5.
[source]: Fetch with git; remove generated C++ file.
[native-inputs]: Replace faust with faust-0.9.67.

This update fixes the building of the package.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
This commit is contained in:
Sughosha 2022-07-01 17:53:18 +02:00 committed by Ricardo Wurmus
parent 0fce0b9267
commit 3b19dbd703
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -5056,18 +5056,25 @@ OSC connections.")
(license license:artistic2.0))) (license license:artistic2.0)))
(define-public sorcer (define-public sorcer
(let ((revision "1")
;; The last release was in 2016. Since then a couple of commits have
;; been added to fix build problems, so we take this arbitrary recent
;; commit.
(commit "cc7f6f58af3188a8620b90fdad6e8ca5d026f543"))
(package (package
(name "sorcer") (name "sorcer")
(version "1.1.3") (version (git-version "1.1.3" revision commit))
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/openAVproductions/" (uri (git-reference
"openAV-Sorcer/archive/release-" (url "https://github.com/openAVproductions/openAV-Sorcer")
version ".tar.gz")) (commit commit)))
(file-name (string-append name "-" version ".tar.gz")) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"07iyqj28wm0xc4arrq893bm12xjpz65db7ynrlmf6w8krg8wjmd0")))) "0ryaglp2pzln2bm0pwc5p9lb2nk0x4wmrs4c4cp6d2m2hhk82yk7"))
(snippet
'(delete-file "faust/main.cpp"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:tests? #f ;no tests included `(#:tests? #f ;no tests included
@ -5076,24 +5083,20 @@ OSC connections.")
(add-after 'unpack 'remove-architecture-specific-flags (add-after 'unpack 'remove-architecture-specific-flags
(lambda _ (lambda _
(substitute* "CMakeLists.txt" (substitute* "CMakeLists.txt"
(("-msse2 -mfpmath=sse") "")) (("-msse2 -mfpmath=sse") ""))))
#t))
(add-after 'unpack 'build-faust-sources (add-after 'unpack 'build-faust-sources
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(with-directory-excursion "faust" (with-directory-excursion "faust"
(delete-file "main.cpp")
(invoke "faust" "-i" (invoke "faust" "-i"
"-a" "lv2synth.cpp" "-a" "lv2synth.cpp"
"-o" "main.cpp" "main.dsp"))))))) "-o" "main.cpp" "main.dsp")))))))
(inputs (inputs (list boost lv2 ntk))
(list boost lv2 ntk)) (native-inputs (list faust-0.9.67 pkg-config))
(native-inputs
(list faust pkg-config))
(home-page "http://openavproductions.com/sorcer/") (home-page "http://openavproductions.com/sorcer/")
(synopsis "Wavetable LV2 plugin synth") (synopsis "Wavetable LV2 plugin synth")
(description "Sorcer is a wavetable LV2 plugin synthesizer, targeted at (description "Sorcer is a wavetable LV2 plugin synthesizer, targeted at
the electronic or dubstep genre.") the electronic or dubstep genre.")
(license license:gpl3+))) (license license:gpl3+))))
(define-public sonivox-eas (define-public sonivox-eas
(package (package