gnu: fluidsynth: Update to 1.1.8.

* gnu/packages/audio.scm (fluidsynth): Update to 1.1.8.
[build-system]: Use cmake-build-system.
[arguments]: Disable tests; add phase "fix-libdir"; remove build phase
"remove-broken-symlinks".
[license]: Change to lpgl2.1+.
This commit is contained in:
Ricardo Wurmus 2017-10-15 10:43:38 +02:00
parent 58381958cc
commit dd46c16b12
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 17 additions and 11 deletions

View File

@ -961,21 +961,27 @@ follower.")
(define-public fluidsynth (define-public fluidsynth
(package (package
(name "fluidsynth") (name "fluidsynth")
(version "1.1.6") (version "1.1.8")
(source (origin (source (origin
(method url-fetch) (method git-fetch)
(uri (string-append (uri (git-reference
"mirror://sourceforge/fluidsynth/fluidsynth-" (url "https://github.com/FluidSynth/fluidsynth.git")
version "/fluidsynth-" version ".tar.gz")) (commit (string-append "v" version))))
(file-name (string-append name "-" version "-checkout"))
(sha256 (sha256
(base32 (base32
"070pwb7brdcn1mfvplkd56vjc7lbz4iznzkqvfsakvgbv68k71ah")))) "12q7hv0zvgylsdj1ipssv5zr7ap2y410dxsd63dz22y05fa2hwwd"))))
(build-system gnu-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:phases '(#:tests? #f ; no check phase
#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'remove-broken-symlinks (add-after 'unpack 'fix-libdir
(lambda _ (delete-file-recursively "m4") #t))))) (lambda _
(substitute* "CMakeLists.txt"
(("LIB_SUFFIX \\$\\{_init_lib_suffix\\}")
"LIB_SUFFIX \"\""))
#t)))))
(inputs (inputs
`(("libsndfile" ,libsndfile) `(("libsndfile" ,libsndfile)
("alsa-lib" ,alsa-lib) ("alsa-lib" ,alsa-lib)
@ -993,7 +999,7 @@ follower.")
specifications. FluidSynth reads and handles MIDI events from the MIDI input specifications. FluidSynth reads and handles MIDI events from the MIDI input
device. It is the software analogue of a MIDI synthesizer. FluidSynth can device. It is the software analogue of a MIDI synthesizer. FluidSynth can
also play midifiles using a Soundfont.") also play midifiles using a Soundfont.")
(license license:gpl2+))) (license license:lgpl2.1+)))
(define-public faad2 (define-public faad2
(package (package