unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add fluidsynth.
@ 2015-04-25 19:37 Ricardo Wurmus
  2015-04-26  0:04 ` 宋文武
  0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Wurmus @ 2015-04-25 19:37 UTC (permalink / raw)
  To: guix-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-fluidsynth.patch --]
[-- Type: text/x-patch, Size: 2016 bytes --]

From c15d8070b24168558be79c0ac92355b37787e8c3 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado@elephly.net>
Date: Sat, 25 Apr 2015 21:35:48 +0200
Subject: [PATCH] gnu: Add fluidsynth.

* gnu/packages/audio.scm (fluidsynth): New variable.
---
 gnu/packages/audio.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index b4d186a..16c2a72 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -334,6 +334,45 @@ language and software synthesizer.")
 ALSA PCM devices.")
     (license license:gpl2+)))
 
+(define-public fluidsynth
+  (package
+    (name "fluidsynth")
+    (version "1.1.6")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://sourceforge/fluidsynth/fluidsynth-"
+                    version "/fluidsynth-" version ".tar.gz"))
+              (sha256
+               (base32
+                "070pwb7brdcn1mfvplkd56vjc7lbz4iznzkqvfsakvgbv68k71ah"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:phases
+       (alist-cons-after
+        'unpack
+        'remove-broken-symlinks
+        (lambda _ (delete-file-recursively "m4") #t)
+        %standard-phases)))
+    (inputs
+     `(("libsndfile" ,libsndfile)
+       ("alsa-lib" ,alsa-lib)
+       ("jack" ,jack-1)
+       ("ladspa" ,ladspa)
+       ("lash" ,lash)
+       ("readline" ,readline)
+       ("glib" ,glib)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (home-page "http://www.fluidsynth.org/")
+    (synopsis "SoundFont synthesizer")
+    (description
+     "FluidSynth is a real-time software synthesizer based on the SoundFont 2
+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+)))
+
 (define-public faad2
   (package
     (name "faad2")
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] gnu: Add fluidsynth.
  2015-04-25 19:37 [PATCH] gnu: Add fluidsynth Ricardo Wurmus
@ 2015-04-26  0:04 ` 宋文武
  0 siblings, 0 replies; 2+ messages in thread
From: 宋文武 @ 2015-04-26  0:04 UTC (permalink / raw)
  To: Ricardo Wurmus, guix-devel

Ricardo Wurmus <rekado@elephly.net> writes:

> From c15d8070b24168558be79c0ac92355b37787e8c3 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <rekado@elephly.net>
> Date: Sat, 25 Apr 2015 21:35:48 +0200
> Subject: [PATCH] gnu: Add fluidsynth.
>
> * gnu/packages/audio.scm (fluidsynth): New variable.
> ---
>  gnu/packages/audio.scm | 39 +++++++++++++++++++++++++++++++++++++++
>  1 file changed, 39 insertions(+)
>
> diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
> index b4d186a..16c2a72 100644
> --- a/gnu/packages/audio.scm
> +++ b/gnu/packages/audio.scm
> @@ -334,6 +334,45 @@ language and software synthesizer.")
>  ALSA PCM devices.")
>      (license license:gpl2+)))
>  
> +(define-public fluidsynth
> +  (package
> +    (name "fluidsynth")
> +    (version "1.1.6")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> +                    "mirror://sourceforge/fluidsynth/fluidsynth-"
> +                    version "/fluidsynth-" version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "070pwb7brdcn1mfvplkd56vjc7lbz4iznzkqvfsakvgbv68k71ah"))))
> +    (build-system gnu-build-system)
> +    (arguments
> +     `(#:phases
> +       (alist-cons-after
> +        'unpack
> +        'remove-broken-symlinks
> +        (lambda _ (delete-file-recursively "m4") #t)
> +        %standard-phases)))
> +    (inputs
> +     `(("libsndfile" ,libsndfile)
> +       ("alsa-lib" ,alsa-lib)
> +       ("jack" ,jack-1)
> +       ("ladspa" ,ladspa)
> +       ("lash" ,lash)
> +       ("readline" ,readline)
> +       ("glib" ,glib)))
> +    (native-inputs
> +     `(("pkg-config" ,pkg-config)))
> +    (home-page "http://www.fluidsynth.org/")
> +    (synopsis "SoundFont synthesizer")
> +    (description
> +     "FluidSynth is a real-time software synthesizer based on the SoundFont 2
> +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+)))
> +
Look good to me!
>  (define-public faad2
>    (package
>      (name "faad2")
> -- 
> 2.1.0

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-26  0:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-25 19:37 [PATCH] gnu: Add fluidsynth Ricardo Wurmus
2015-04-26  0:04 ` 宋文武

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).