From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxF0X-000619-F1 for guix-patches@gnu.org; Sun, 09 Apr 2017 11:44:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cxF0U-0003da-Bj for guix-patches@gnu.org; Sun, 09 Apr 2017 11:44:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:41697) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cxF0U-0003dS-7r for guix-patches@gnu.org; Sun, 09 Apr 2017 11:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cxF0T-0008Ca-Se for guix-patches@gnu.org; Sun, 09 Apr 2017 11:44:01 -0400 Subject: bug#26418: [PATCH] gnu: Add freegish. Resent-Message-ID: From: Marius Bakke In-Reply-To: <20170409113336.26331-1-rekado@elephly.net> References: <20170409113336.26331-1-rekado@elephly.net> Date: Sun, 09 Apr 2017 17:43:19 +0200 Message-ID: <87shlhtwmg.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; 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: Ricardo Wurmus , 26418@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Ricardo Wurmus writes: > * gnu/packages/games.scm (freegish): New variable. > --- > gnu/packages/games.scm | 51 ++++++++++++++++++++++++++++++++++++++++++++= ++++++ > 1 file changed, 51 insertions(+) > > diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm > index a09ea3e11..bc4a243e9 100644 > --- a/gnu/packages/games.scm > +++ b/gnu/packages/games.scm > @@ -3458,3 +3458,54 @@ starting a decryption sequence to reveal the origi= nal plaintext characters.") > game, where you control the armies of one of seven different factions: T= ech, > Magic, Egypt, Indians, Norsemen, Persian or Romans.") > (license license:gpl2+))) > + > +(define-public freegish > + (let ((commit "8795cd7adc95957883f2d3465eb9036a774667a7") > + (revision "1")) > + (package > + (name "freegish") > + (version (string-append "0-" revision "." (string-take commit 9))) > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/freegish/freegish.git") > + (commit commit))) > + (sha256 > + (base32 > + "1p1zf5qqagmcpi1db2bs02cnalpy3qiymp6yzan7k1bhmv859gsx"= )))) > + (build-system cmake-build-system) > + (arguments > + `(#:tests? #f ; no tests included > + #:configure-flags > + (list "-DCMAKE_INSTALL_FHS=3DON") > + #:phases > + (modify-phases %standard-phases > + (add-after 'unpack 'set-DATAPATH > + (lambda* (#:key outputs #:allow-other-keys) > + (substitute* "CMakeLists.txt" > + (("^option\\(INSTALL_FHS" line) > + (string-append "add_definitions(-DDATAPATH=3D\"" > + (assoc-ref outputs "out") "/share/freeg= ish\")\n" > + line))) > + #t))))) > + (inputs > + `(("sdl-union" ,(sdl-union (list sdl sdl-mixer))) > + ("openal" ,openal) > + ("libvorbis" ,libvorbis) > + ("libogg" ,libogg) > + ("mesa" ,mesa) > + ("libpng" ,libpng) > + ("zlib" ,zlib))) > + (home-page "https://github.com/freegish/freegish") > + (synopsis "Side-scrolling physics platformer with a ball of tar") "Side-scrolling physics platformer" would suffice IMO, but this is good too :) > + (description "In FreeGish you control Gish, a ball of tar who lives > +happily with his girlfriend Brea, until one day a mysterious dark creatu= re > +emerges from a sewer hole and pulls her below ground.") > + ;; The audio files in the "music" directory are licensed under CC-= BY-NC, > + ;; but they are not installed. I wonder if we should scrub these from the source. Guix is useful as a free software distribution platform; as such it would be good to know that anything from `guix build -S` is free to use. What do you think? Apart from that LGTM, fun game :) > + ;; Expat license. All other assets (including levels) are covered= under > + ;; CC-BY-SA or public domain. The source code is under GPLv2+. > + (license (list license:gpl2+ > + license:expat > + license:public-domain > + license:cc-by-sa3.0))))) > --=20 > 2.12.2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAljqVpcACgkQoqBt8qM6 VPrzXQgAnttY+J1qplsQxZG0JcrnxoL/qyV4aNSPGFY+tPtp5eO9hBsG+TlyLJq4 mwFkrFye4wkE9nmqipYuv/mxyKe4SBWsO9GlqOemaYKaAhxt+GVF4JrAQETGZId/ yTlNcP8WQ7KXkgUyI91ng8DkLpS4Z0wzXkuKTHjj0sdsrkQOriXYxEJd3qBmJcP3 36O2r6By9Y4XoB69x+Tbl7nthGEiUlF18+/TXzZTJpm7Y9iU07SaJZWuUufzh1nB iAPXLi+JlPY2TSmLl7LJRF/xez0EvBOJ2rGeqbW3Y4SyCBmfSFgcncI34YEoGeRC canq5i9mO0DlWpNT8gJzY8zFKmZ22g== =OmtB -----END PGP SIGNATURE----- --=-=-=--