me
/
guix
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>
master
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
1 changed files with 40 additions and 37 deletions

View File

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