From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsIPv-0007lx-5j for guix-patches@gnu.org; Wed, 13 Sep 2017 20:54:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dsIPr-0003ld-3p for guix-patches@gnu.org; Wed, 13 Sep 2017 20:54:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:58732) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dsIPr-0003lR-01 for guix-patches@gnu.org; Wed, 13 Sep 2017 20:54:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dsIPq-0003hA-OR for guix-patches@gnu.org; Wed, 13 Sep 2017 20:54:02 -0400 Subject: [bug#28453] [PATCH 4/5] gnu: Add openttd-openmsx. Resent-Message-ID: Message-Id: From: Arun Isaac Date: Thu, 14 Sep 2017 06:21:31 +0530 In-Reply-To: <20170914005132.26608-1-arunisaac@systemreboot.net> References: <20170914005132.26608-1-arunisaac@systemreboot.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28453@debbugs.gnu.org * 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 pr= oprietary sound files from the original Transport Tycoon Deluxe.") (license license:cc-sampling-plus-1.0))) =20 +(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=3D" %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 "o= ut") + "/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 possib= le +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) --=20 2.14.1 =