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 4/5] gnu: Add openttd-openmsx.
Date: Thu, 14 Sep 2017 18:52:29 -0400	[thread overview]
Message-ID: <87h8w4c2qa.fsf@posteo.net> (raw)
In-Reply-To: <e5289e7e.AEQAQDPj4ZoAAAAAAAAAAAPrHR4AAAACwQwAAAAAAAW9WABZudLS@mailjet.com> (Arun Isaac's message of "Thu, 14 Sep 2017 06:21:31 +0530")

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

Arun Isaac <arunisaac@systemreboot.net> writes:

> * gnu/packages/games.scm (openttd-openmsx): New variable.
> ---
>  gnu/packages/games.scm | 38 ++++++++++++++++++++++++++++++++++++++
>  1 file changed, 38 insertions(+)
>
> diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
> index 1debd6915..67e987bff 100644
> --- a/gnu/packages/games.scm
> +++ b/gnu/packages/games.scm
> @@ -2555,6 +2555,44 @@ 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 openttd-openmsx
> +  (package
> +    (name "openttd-openmsx")
> +    (version "0.3.1")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append
> +             "https://binaries.openttd.org/extra/openmsx/"
> +             version "/openmsx-" version "-source.tar.gz"))
> +       (sha256
> +        (base32
> +         "0nskq97a6fsv1v6d62zf3yb8whzhqnlh3lap3va3nzvj7csjgf7c"))))
> +    (build-system gnu-build-system)
> +    (native-inputs
> +     `(("python" ,python-2)))
> +    (arguments
> +     `(#:make-flags
> +       (list (string-append "INSTALL_DIR=" %output
> +                            "/share/games/openttd/baseset"))
> +       #:phases
> +       (modify-phases %standard-phases
> +         (delete 'configure)
> +         (add-after 'install 'post-install
> +           ;; Rename openmsx-version to openmsx
> +           (lambda* (#:key outputs #:allow-other-keys)
> +             (let ((install-directory (string-append (assoc-ref outputs "out")
> +                                                     "/share/games/openttd/baseset")))
> +               (rename-file (string-append install-directory "/openmsx-" ,version)
> +                            (string-append install-directory "/openmsx"))
> +               #t))))))
> +    (home-page "http://dev.openttdcoop.org/projects/openmsx")
> +    (synopsis "Music set for OpenTTD")
> +    (description "OpenMSX is a music set for OpenTTD which makes it possible
> +to play OpenTTD without requiring the proprietary music from the original
> +Transport Tycoon Deluxe.")
> +    (license license:cc-sampling-plus-1.0)))
> +
>  (define-public openttd
>    (package
>      (inherit openttd-engine)

This *looks* fine, but I can't hear music when I run the resulting
openttd binary. If it isn't something weird on my end, I suspect it has
to do with the timidity++ dependency in the openttd package.

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

  reply	other threads:[~2017-09-14 22:54 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
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 [this message]
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=87h8w4c2qa.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).