guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#30381] gnu: Add gzdoom.


From: Ludovic Courtès
Subject: [bug#30381] gnu: Add gzdoom.
Date: Fri, 09 Feb 2018 11:16:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello,

address@hidden skribis:

> From f75ca85cd1cc89a3ba60c6c813ae4ab33bc86a40 Mon Sep 17 00:00:00 2001
> From: okapi <address@hidden>
> Date: Wed, 17 Jan 2018 00:08:23 +0100
> Subject: [PATCH 1/2] gnu: Add fluid-3.
>
> * gnu/packages/audio.scm (fluid-3): New variable.

Could you add a copyright line for you?  You can use a nickname, that’s
fine.

> +(define-public fluid-3
> +  (let ((commit "871c8ce2002e8b3c198f532fdb4fbcce7914f951"))
> +    (package
> +      (name "fluid-3")
> +      (version "2.1")
> +      (source
> +       (origin
> +         (method url-fetch)
> +         ;; Only one file is required, but the release bundles the whole
> +         ;; software which is 50MiB as tar and 200MiB unpacked. The website
> +         ;; directly links the soundfont release to the github file download.
> +         (uri (string-append "https://github.com/musescore/MuseScore/raw/";
> +                             commit "/share/sound/FluidR3Mono_GM.sf3"))
> +         (file-name (string-append name "-" commit ".tar.gz"))
> +         (sha256
> +          (base32
> +           "1hjfg5i15bw9279007xs92zsggjgn4s4k9pc00s851l3kvc6dkfg"))))
> +      (build-system trivial-build-system)
> +      (arguments
> +       `(#:modules ((guix build utils))
> +         #:builder
> +         (begin
> +           (use-modules (guix build utils))
> +           (let ((file (assoc-ref %build-inputs "source"))
> +                 (out (string-append %output "/share/soundfonts")))
> +             (mkdir-p out)
> +             (copy-file file (string-append out "/FluidR3Mono_GM.sf3"))))))

You can write: (install-file file out).

> +      (home-page  
> "https://github.com/musescore/MuseScore/tree/master/share/sound";)
> +      (synopsis "Pro-quality GM soundfont")
> +      (description "Fluid-3 is Frank Wen's pro-quality GM soundfont.")

I find the synopsis/description a bit vague but I don’t have a better
suggestion.  :-)

Could you send an updated patch?

Thanks!

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]