unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Kei Kebreau <kkebreau@posteo.net>
To: Arun Isaac <arunisaac@systemreboot.net>
Cc: 28453@debbugs.gnu.org
Subject: [bug#28453] [PATCH 3/5] gnu: Add openttd-opensfx.
Date: Thu, 14 Sep 2017 18:50:26 -0400	[thread overview]
Message-ID: <87k210c2tp.fsf@posteo.net> (raw)
In-Reply-To: <9c881855.AEAAP-tS9VYAAAAAAAAAAAPrHR4AAAACwQwAAAAAAAW9WABZudLQ@mailjet.com> (Arun Isaac's message of "Thu, 14 Sep 2017 06:21:30 +0530")

[-- Attachment #1: Type: text/plain, Size: 2119 bytes --]

Arun Isaac <arunisaac@systemreboot.net> writes:

> * gnu/packages/games.scm (openttd-opensfx): New variable.
> ---
>  gnu/packages/games.scm | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)
>
> diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
> index 7bfd05cc7..1debd6915 100644
> --- a/gnu/packages/games.scm
> +++ b/gnu/packages/games.scm
> @@ -2525,6 +2525,36 @@ OpenGFX provides you with...
>  @end enumerate")
>      (license license:gpl2)))
>  
> +(define openttd-opensfx
> +  (package
> +    (name "openttd-opensfx")
> +    (version "0.2.3")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append
> +             "https://binaries.openttd.org/extra/opensfx/"
> +             version "/opensfx-" version "-source.tar.gz"))
> +       (sha256
> +        (base32
> +         "03jxgp02ks31hmsdh4xh0xcpkb70ds8jakc9pfc1y9vdrdavh4p5"))))
> +    (build-system gnu-build-system)
> +    (native-inputs
> +     `(("catcodec" ,catcodec)
> +       ("python" ,python-2)))
> +    (arguments
> +     `(#:make-flags
> +       (list (string-append "INSTALL_DIR=" %output
> +                            "/share/games/openttd/baseset/opensfx"))
> +       #:phases (modify-phases %standard-phases
> +                  (delete 'configure))))

I wrote a tiny phase that makes this package reproducible:

(replace 'configure
  (lambda _
    ;; Remove the time dependency of the installed tarball by
    ;; setting the modification times if its members to 0.
    (substitute* "scripts/Makefile.def"
      (("-cf") " --mtime=@0 -cf"))
    #t))

> +    (home-page "http://dev.openttdcoop.org/projects/opensfx")
> +    (synopsis "Base sounds for OpenTTD")
> +    (description "OpenSFX is a set of free base sounds for OpenTTD which make
> +it possible to play OpenTTD without requiring the proprietary sound files from
> +the original Transport Tycoon Deluxe.")
> +    (license license:cc-sampling-plus-1.0)))
> +
>  (define-public openttd
>    (package
>      (inherit openttd-engine)

Other than that, LGTM.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

  reply	other threads:[~2017-09-14 22:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20170914005132.26608-1-arunisaac@systemreboot.net>
2017-09-14  0:51 ` [bug#28453] [PATCH 2/5] licenses: Add CC-Sampling+ 1.0 Arun Isaac
2017-09-14 22:46   ` Kei Kebreau
2017-09-14  0:51 ` [bug#28453] [PATCH 3/5] gnu: Add openttd-opensfx Arun Isaac
2017-09-14 22:50   ` Kei Kebreau [this message]
2017-09-16 17:04     ` Arun Isaac
2017-09-14  0:51 ` [bug#28453] [PATCH 4/5] gnu: Add openttd-openmsx Arun Isaac
2017-09-14 22:52   ` Kei Kebreau
2017-09-16 17:06     ` Arun Isaac
2017-09-17 17:06       ` Kei Kebreau
2017-09-18 13:54         ` Arun Isaac
2017-09-14  0:51 ` [bug#28453] [PATCH 5/5] gnu: openttd-opengfx: Change installation directory Arun Isaac
2017-09-14 22:59   ` Kei Kebreau
2017-09-16 17:08     ` Arun Isaac
2017-09-17 21:53       ` Kei Kebreau
2017-09-18 20:32         ` Kei Kebreau
2017-09-19 19:54           ` Arun Isaac
     [not found]             ` <87poaltdpm.fsf@posteo.net>
     [not found]               ` <878th7szrv.fsf@posteo.net>
2017-09-23  3:32                 ` Arun Isaac
     [not found] ` <20170914005132.26608-5-arunisaac@systemreboot.net>
2017-09-14 21:01   ` Arun Isaac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k210c2tp.fsf@posteo.net \
    --to=kkebreau@posteo.net \
    --cc=28453@debbugs.gnu.org \
    --cc=arunisaac@systemreboot.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).