From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cykUN-0006rh-4U for guix-patches@gnu.org; Thu, 13 Apr 2017 15:33:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cykUI-00071k-WC for guix-patches@gnu.org; Thu, 13 Apr 2017 15:33:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:47857) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cykUI-00071A-LG for guix-patches@gnu.org; Thu, 13 Apr 2017 15:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cykUI-0005cU-Cz for guix-patches@gnu.org; Thu, 13 Apr 2017 15:33:02 -0400 Subject: bug#26472: [PATCH] gnu: Add fillets-ng. Resent-Message-ID: From: Marius Bakke In-Reply-To: <20170413071128.28854-1-rekado@elephly.net> References: <20170413071128.28854-1-rekado@elephly.net> Date: Thu, 13 Apr 2017 21:32:39 +0200 Message-ID: <874lxs9k88.fsf@fastmail.com> 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 , 26472@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Ricardo Wurmus writes: > * gnu/packages/games.scm (fillets-ng): New variable. Great job submitting these just in time for easter :) > --- > gnu/packages/games.scm | 69 ++++++++++++++++++++++++++++++++++++++++++++= ++++++ > 1 file changed, 69 insertions(+) > > diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm > index a956f0ca4..c71278509 100644 > --- a/gnu/packages/games.scm > +++ b/gnu/packages/games.scm > @@ -3738,3 +3738,72 @@ settings.link.libs:Add(\"wavpack\")\n")) > 16 players in a variety of game modes, including Team Deathmatch and Cap= ture > The Flag. You can even design your own maps!") > (license license:bsd-3))) > + > +(define-public fillets-ng > + (package > + (name "fillets-ng") > + (version "1.0.1") > + (source (origin > + (method url-fetch) > + (uri (string-append "mirror://sourceforge/fillets/" > + "Fish%20Fillets%20-%20Next%20Generatio= n/" > + version "/fillets-ng-" version ".tar.g= z")) I would mention "fillets-ng-data" somewhere around this general area, so it isn't forgotten when someone comes here to update it. Looks good otherwise. > + (sha256 > + (base32 > + "1nljp75aqqb35qq3x7abhs2kp69vjcj0h1vxcpdyn2yn2nalv6ij"))= )) > + (build-system gnu-build-system) > + (arguments > + `(#:configure-flags > + (list (string-append "--with-lua=3D" > + (assoc-ref %build-inputs "lua"))) > + #:make-flags > + (list (string-append "CFLAGS=3D-I" > + (assoc-ref %build-inputs "sdl-union") > + "/include/SDL") > + (string-append "CXXFLAGS=3D-I" > + (assoc-ref %build-inputs "sdl-union") > + "/include/SDL")) > + #:phases > + (modify-phases %standard-phases > + ;; Lua 5.1 does not provide it. > + (add-after 'unpack 'do-not-link-with-lualib > + (lambda _ > + (substitute* "configure" > + (("-llualib") "")) > + #t)) > + (add-after 'install 'install-data > + (lambda* (#:key inputs outputs #:allow-other-keys) > + (let ((data (string-append (assoc-ref outputs "out") > + "/share/games/fillets-ng"))) > + (mkdir-p data) > + (zero? (system* "tar" "-xvf" > + (assoc-ref inputs "fillets-ng-data") > + "--strip-components=3D1" > + "-C" data)))))))) > + (inputs > + `(("sdl-union" ,(sdl-union (list sdl > + sdl-mixer > + sdl-image > + sdl-ttf))) > + ("fribidi" ,fribidi) > + ("libx11" ,libx11) > + ("lua" ,lua-5.1))) > + (native-inputs > + `(("pkg-config" ,pkg-config) > + ("fillets-ng-data" > + ,(origin > + (method url-fetch) > + (uri (string-append "mirror://sourceforge/fillets/" > + "Fish%20Fillets%20-%20Next%20Generation/" > + version "/fillets-ng-data-" version ".tar= .gz")) > + (sha256 > + (base32 > + "169p0yqh2gxvhdilvjc2ld8aap7lv2nhkhkg4i1hlmgc6pxpkjgh")))))) > + (home-page "http://fillets.sourceforge.net/") > + (synopsis "Puzzle game") > + (description "Fish Fillets NG is strictly a puzzle game. The goal in > +every of the seventy levels is always the same: find a safe way out. Th= e fish > +utter witty remarks about their surroundings, the various inhabitants of= their > +underwater realm quarrel among themselves or comment on the efforts of y= our > +fish. The whole game is accompanied by quiet, comforting music.") > + (license license:gpl2+))) > --=20 > 2.12.2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAljv0lcACgkQoqBt8qM6 VPovkgf/f4kl+JMbL7+IurjvN8HGAoHQYAvYiuEx6I6L1SbnDT41QnSHH969ZKBe 2ECJVApkN2b3+GZsHqohMU56bKpDEAdoHT7JzyNk1tlOakDR5e7DnGgJHDvCqjXm KCGFl4tFfLaMzELUlzMTKXuWv/TRxaomUQvkNh7rfkaj8p5KU9QojN0As18yCKDV kCeYctyhORysKUkvAhEl3UqK6ttz2hI+HXwaix4yB29g02572WFhQDSNXDD7PBYs 9YeMsA962fSVkpzndaN3AP8x1fR6z3eP3k5usPm38+NBAjw/0m1RdM44e1o5AJTu 97URnNLbG2kgYInzNg979kBAbSXINw== =LNwc -----END PGP SIGNATURE----- --=-=-=--