diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2017-10-15 10:43:38 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2017-10-15 10:45:20 +0200 |
commit | dd46c16b121b8cb56c415c5b26e94d7bed219271 (patch) | |
tree | d8afe9dc59a2bd2e05a0b2d3df3fbcf9bbce8090 /gnu/packages/audio.scm | |
parent | 58381958ccb1b3a43c2c4773a4de43b1ae108ccf (diff) | |
download | patches-dd46c16b121b8cb56c415c5b26e94d7bed219271.tar patches-dd46c16b121b8cb56c415c5b26e94d7bed219271.tar.gz |
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+.
Diffstat (limited to 'gnu/packages/audio.scm')
-rw-r--r-- | gnu/packages/audio.scm | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 0900630df1..e0aa1705e2 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -961,21 +961,27 @@ follower.") (define-public fluidsynth (package (name "fluidsynth") - (version "1.1.6") + (version "1.1.8") (source (origin - (method url-fetch) - (uri (string-append - "mirror://sourceforge/fluidsynth/fluidsynth-" - version "/fluidsynth-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/FluidSynth/fluidsynth.git") + (commit (string-append "v" version)))) + (file-name (string-append name "-" version "-checkout")) (sha256 (base32 - "070pwb7brdcn1mfvplkd56vjc7lbz4iznzkqvfsakvgbv68k71ah")))) - (build-system gnu-build-system) + "12q7hv0zvgylsdj1ipssv5zr7ap2y410dxsd63dz22y05fa2hwwd")))) + (build-system cmake-build-system) (arguments - `(#:phases + '(#:tests? #f ; no check phase + #:phases (modify-phases %standard-phases - (add-after 'unpack 'remove-broken-symlinks - (lambda _ (delete-file-recursively "m4") #t))))) + (add-after 'unpack 'fix-libdir + (lambda _ + (substitute* "CMakeLists.txt" + (("LIB_SUFFIX \\$\\{_init_lib_suffix\\}") + "LIB_SUFFIX \"\"")) + #t))))) (inputs `(("libsndfile" ,libsndfile) ("alsa-lib" ,alsa-lib) @@ -993,7 +999,7 @@ follower.") specifications. FluidSynth reads and handles MIDI events from the MIDI input device. It is the software analogue of a MIDI synthesizer. FluidSynth can also play midifiles using a Soundfont.") - (license license:gpl2+))) + (license license:lgpl2.1+))) (define-public faad2 (package |