From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsd1J-0007Qb-BU for guix-patches@gnu.org; Thu, 14 Sep 2017 18:54:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dsd1G-00083q-9M for guix-patches@gnu.org; Thu, 14 Sep 2017 18:54:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:32964) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dsd1G-00083i-5W for guix-patches@gnu.org; Thu, 14 Sep 2017 18:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dsd1F-0002Km-Tw for guix-patches@gnu.org; Thu, 14 Sep 2017 18:54:01 -0400 Subject: [bug#28453] [PATCH 4/5] gnu: Add openttd-openmsx. Resent-Message-ID: From: Kei Kebreau References: <20170914005132.26608-1-arunisaac@systemreboot.net> Date: Thu, 14 Sep 2017 18:52:29 -0400 In-Reply-To: (Arun Isaac's message of "Thu, 14 Sep 2017 06:21:31 +0530") Message-ID: <87h8w4c2qa.fsf@posteo.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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: Arun Isaac Cc: 28453@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Arun Isaac 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))) >=20=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 = "out") > + "/share/games/opent= td/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 poss= ible > +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. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAlm7CC0ACgkQ5qXuPBlG eg1ryA/8DNEHIt1CtPI2Zduv/6Kmea30ufSyjUAKiGiqNVfdIKj6K7LZOLMH6lGI EwBSPApziYp3K3KK4L61uOr20YGow9ej3ZEbxTWdG5B7DzjD4+gWe02iuAcVYZr+ x/LvwOPta/TPdcnJgFP1tq4ANALm01XUjswDU9OB4WKN6y0Zwy/PS5iBW6fnVWuk WxFcP9l/vJJ3uylI7OvpGP9nxgmNixlHCr8PeSPy+fB+ExdbPXsorFqFGMPhd+hd 0IDC6wC1b11FbFTTxKHc5ey9RnNCyVtME7CyjUl3rJ+X89BRULHVQXqg+lrg739r 3bSiDkxfDpQQfXIizNomxYyaJTxS53n5pQng9Roq1p/GscWrTvg8veWYsbE+SA87 P/dd800Rnmhe9M2gAGYfOSrHWntnq6Q61+6/baoUkPEOgmBV8rRuGbGFoAIuhNn9 qh0HeszyWkxCTgWlgqNotkkTAh7mWrmqBH9JG067+8qbh9V/aD8felvg20AAwZbU Rg0Q3n2PNyBJ84J5gMnhkETbTM63obOXC7ft7JLT1C08UxDVuyql+TRG+HFuMNgI Fgn5IkjDe6qYG2/PWUpKg3Nkdk9hYyd7duHWay6mRJ4xtgS/x2yRxyX9eHI0jcLL jhqNiMPt3XWYqXFlql+7v7t8ouI+X8+DGCjgjS1NHzNVVl05Q0w= =TyEn -----END PGP SIGNATURE----- --=-=-=--