From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dsczO-0006IY-2B for guix-patches@gnu.org; Thu, 14 Sep 2017 18:52:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dsczK-0006X8-Vx for guix-patches@gnu.org; Thu, 14 Sep 2017 18:52:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:32959) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dsczK-0006Wm-S5 for guix-patches@gnu.org; Thu, 14 Sep 2017 18:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dsczK-0002Hp-Hk for guix-patches@gnu.org; Thu, 14 Sep 2017 18:52:02 -0400 Subject: [bug#28453] [PATCH 3/5] gnu: Add openttd-opensfx. Resent-Message-ID: From: Kei Kebreau References: <20170914005132.26608-1-arunisaac@systemreboot.net> <9c881855.AEAAP-tS9VYAAAAAAAAAAAPrHR4AAAACwQwAAAAAAAW9WABZudLQ@mailjet.com> Date: Thu, 14 Sep 2017 18:50:26 -0400 In-Reply-To: <9c881855.AEAAP-tS9VYAAAAAAAAAAAPrHR4AAAACwQwAAAAAAAW9WABZudLQ@mailjet.com> (Arun Isaac's message of "Thu, 14 Sep 2017 06:21:30 +0530") Message-ID: <87k210c2tp.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-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))) >=20=20 > +(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=3D" %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=3D@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 file= s from > +the original Transport Tycoon Deluxe.") > + (license license:cc-sampling-plus-1.0))) > + > (define-public openttd > (package > (inherit openttd-engine) Other than that, LGTM. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAlm7B7IACgkQ5qXuPBlG eg3tvg/+MKAqvmf55TBPY9B/XlUwUDEDTtg7VW2RlCwd1aqwL58XklZtnMc2mIf/ pcBe4bncM2dQNB2OY5ozYjwk6r2ggxRNrwCAiXcnpepyGbP24ugNscG7WJkxKDe3 FbHMZGghfT3pccEo0NB/5JwzV4q3fK1NCWIMPD/jj7RlxF2OnfyPz2J+3fuL9Doa ed2ZVIrvphzlmfFofVnOEgbCGvusXows78jEHzajUIdJ3+mCQeUZI85Og4PYg+BI cfxfBi+Yid6O4ilPaXMWOcZZRqTotvlFKYRKQBl84GYdA2+HI9R/zYxco5/wGCYU GLbdfhauj7zX2xEnvg7h20UA7KsPUxiKoyoY/zFYmNimL7zJtHdHsz1AZ3NS3hji +IiSU47SReAiNmHRXRghE0fEHv3IBcAD3Ewz5uwjjObqUsbSQrJS3mccgWRSDLOI Fteqs0WJt8c9PEIUrqd307bf17vQNjC2kJ3QSjfl8fYJUHDdGo1GF1r/EInr7rYV u0hOndSz3T+5M/BTBWSxItJXRXauL5q/OfS3/93uXQHA9RH0ELpeK0TGLfqbs3u+ hJuuVeStZGf6ud83oo3czlfVx/z5qC66nNIziqMaBtUHKSg1o0HHz71Bfhu3E/EP gt+TpPco8WqNztnqIYlAOO/D1ivV6mgCVEx8IHVTNddtaZpyoNo= =cPPi -----END PGP SIGNATURE----- --=-=-=--