[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: gnu: Add openttd-openmsx.
From: |
Kei Kebreau |
Subject: |
04/06: gnu: Add openttd-openmsx. |
Date: |
Fri, 22 Sep 2017 08:05:34 -0400 (EDT) |
kkebreau pushed a commit to branch master
in repository guix.
commit 823e12184883e6f4a7a347a4eba46327f99a5b84
Author: Arun Isaac <address@hidden>
Date: Thu Sep 14 04:18:03 2017 +0530
gnu: Add openttd-openmsx.
* gnu/packages/games.scm (openttd-openmsx): New variable.
Signed-off-by: Kei Kebreau <address@hidden>
---
gnu/packages/games.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index ed386fc..891c17a 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -2563,6 +2563,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" ,python2-minimal)))
+ (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:gpl2)))
+
(define-public openttd
(package
(inherit openttd-engine)
- branch master updated (9fc513a -> c0959cc), Kei Kebreau, 2017/09/22
- 03/06: gnu: Add openttd-opensfx., Kei Kebreau, 2017/09/22
- 04/06: gnu: Add openttd-openmsx.,
Kei Kebreau <=
- 01/06: gnu: Add catcodec., Kei Kebreau, 2017/09/22
- 02/06: licenses: Add CC-Sampling+ 1.0., Kei Kebreau, 2017/09/22
- 05/06: gnu: openttd: Include openttd-openmsx and openttd-opensfx., Kei Kebreau, 2017/09/22
- 06/06: gnu: openttd-opengfx: Disable parallel build., Kei Kebreau, 2017/09/22