2013-12-28 08:19:43 +01:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
|
;;; Copyright © 2013 John Darrington <jmd@gnu.org>
|
2016-07-11 10:54:57 +02:00
|
|
|
|
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
|
2018-02-22 13:54:05 +01:00
|
|
|
|
;;; Copyright © 2014, 2016 David Thompson <dthompson2@worcester.edu>
|
2020-02-11 07:09:35 +01:00
|
|
|
|
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019, 2020 Eric Bavier <bavier@posteo.net>
|
2014-07-01 14:44:04 +02:00
|
|
|
|
;;; Copyright © 2014 Cyrill Schenkel <cyrill.schenkel@gmail.com>
|
2014-11-10 23:47:00 +01:00
|
|
|
|
;;; Copyright © 2014 Sylvain Beucler <beuc@beuc.net>
|
2019-03-30 15:15:12 +01:00
|
|
|
|
;;; Copyright © 2014, 2015, 2018, 2019 Ludovic Courtès <ludo@gnu.org>
|
2016-05-29 05:09:11 +02:00
|
|
|
|
;;; Copyright © 2014, 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
|
2019-04-21 01:27:00 +02:00
|
|
|
|
;;; Copyright © 2014, 2015, 2019 Mark H Weaver <mhw@netris.org>
|
2016-03-05 18:40:00 +01:00
|
|
|
|
;;; Copyright © 2015, 2016 Andreas Enge <andreas@enge.fr>
|
2015-02-20 01:47:55 +01:00
|
|
|
|
;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
|
2018-07-26 23:37:53 +02:00
|
|
|
|
;;; Copyright © 2015, 2017, 2018 Christopher Lemmer Webber <cwebber@dustycloud.org>
|
2019-03-10 14:01:49 +01:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
|
2017-01-27 19:16:32 +01:00
|
|
|
|
;;; Copyright © 2015, 2016, 2017 Alex Kost <alezost@gmail.com>
|
2015-10-19 15:24:45 +02:00
|
|
|
|
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
|
2017-02-18 05:01:37 +01:00
|
|
|
|
;;; Copyright © 2016, 2017 Rodger Fox <thylakoid@openmailbox.org>
|
mailmap: Update entries for Nikita.
* .mailmap: change email and name for Nikita.
* Makefile.am, doc/guix.texi, etc/completion/fish/guix.fish,
gnu/packages/accessibility.scm, gnu/packages/admin.scm,
gnu/packages/audio.scm, gnu/packages/autotools.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/cinnamon.scm,
gnu/packages/compression.scm, gnu/packages/crypto.scm,
gnu/packages/databases.scm, gnu/packages/django.scm, gnu/packages/dns.scm,
gnu/packages/elixir.scm, gnu/packages/emacs-xyz.scm, gnu/packages/emacs.scm,
gnu/packages/enlightenment.scm, gnu/packages/erlang.scm,
gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/forth.scm,
gnu/packages/fvwm.scm, gnu/packages/games.scm, gnu/packages/gl.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile-xyz.scm,
gnu/packages/haskell-apps.scm, gnu/packages/haskell-check.scm,
gnu/packages/haskell-crypto.scm, gnu/packages/haskell-xyz.scm,
gnu/packages/haskell.scm, gnu/packages/image-viewers.scm,
gnu/packages/image.scm, gnu/packages/irc.scm, gnu/packages/language.scm,
gnu/packages/libcanberra.scm, gnu/packages/linux.scm,
gnu/packages/lisp-xyz.scm, gnu/packages/lisp.scm, gnu/packages/lolcode.scm,
gnu/packages/lxde.scm, gnu/packages/lxqt.scm, gnu/packages/mail.scm,
gnu/packages/markup.scm, gnu/packages/mate.scm, gnu/packages/maths.scm,
gnu/packages/mc.scm, gnu/packages/messaging.scm, gnu/packages/music.scm,
gnu/packages/ncurses.scm, gnu/packages/networking.scm,
gnu/packages/nickle.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/python-compression.scm, gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm, gnu/packages/python-xyz.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/ruby.scm,
gnu/packages/rust.scm, gnu/packages/scheme.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/ssh.scm, gnu/packages/suckless.scm, gnu/packages/tbb.scm,
gnu/packages/telephony.scm, gnu/packages/text-editors.scm,
gnu/packages/textutils.scm, gnu/packages/time.scm, gnu/packages/tls.scm,
gnu/packages/tor.scm, gnu/packages/version-control.scm,
gnu/packages/video.scm, gnu/packages/vim.scm, gnu/packages/web.scm,
gnu/packages/wm.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/services/certbot.scm,
gnu/services/desktop.scm, gnu/services/version-control.scm,
gnu/services/web.scm, guix/import/hackage.scm, guix/licenses.scm: Likewise.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2020-05-11 13:05:45 +02:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018 Nikita <nikita@n0.is>
|
2016-04-13 03:50:36 +02:00
|
|
|
|
;;; Copyright © 2016 Albin Söderqvist <albin@fripost.org>
|
2019-03-19 16:39:50 +01:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018, 2019 Kei Kebreau <kkebreau@posteo.net>
|
2016-05-06 01:25:45 +02:00
|
|
|
|
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
|
2020-04-18 19:57:15 +02:00
|
|
|
|
;;; Copyright © 2016, 2017, 2018, 2019, 2020 Efraim Flashner <efraim@flashner.co.il>
|
2016-02-07 12:57:40 +01:00
|
|
|
|
;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
|
2016-10-16 22:04:35 +02:00
|
|
|
|
;;; Copyright © 2016 Steve Webber <webber.sl@gmail.com>
|
2017-08-20 20:28:20 +02:00
|
|
|
|
;;; Copyright © 2017 Adonay "adfeno" Felipe Nogueira <https://libreplanet.org/wiki/User:Adfeno> <adfeno@hyperbola.info>
|
2020-05-29 21:15:55 +02:00
|
|
|
|
;;; Copyright © 2017, 2018, 2020 Arun Isaac <arunisaac@systemreboot.net>
|
2020-01-02 00:17:38 +01:00
|
|
|
|
;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
2019-03-15 23:04:15 +01:00
|
|
|
|
;;; Copyright © 2017, 2019 nee <nee-git@hidamari.blue>
|
2017-04-14 00:37:40 +02:00
|
|
|
|
;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
|
2020-05-10 22:16:13 +02:00
|
|
|
|
;;; Copyright © 2017, 2019, 2020 Marius Bakke <mbakke@fastmail.com>
|
2018-01-30 08:26:17 +01:00
|
|
|
|
;;; Copyright © 2017, 2018 Rutger Helling <rhelling@mykolab.com>
|
2017-06-24 23:56:56 +02:00
|
|
|
|
;;; Copyright © 2017 Roel Janssen <roel@gnu.org>
|
2020-01-05 02:20:35 +01:00
|
|
|
|
;;; Copyright © 2017, 2018, 2019, 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
2018-01-17 00:21:42 +01:00
|
|
|
|
;;; Copyright © 2018 okapi <okapi@firemail.cc>
|
2018-07-02 17:10:50 +02:00
|
|
|
|
;;; Copyright © 2018 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
|
2018-07-24 14:01:13 +02:00
|
|
|
|
;;; Copyright © 2018 Madalin Ionel-Patrascu <madalinionel.patrascu@mdc-berlin.de>
|
2018-09-08 05:08:15 +02:00
|
|
|
|
;;; Copyright © 2018 Benjamin Slade <slade@jnanam.net>
|
2018-11-11 19:42:25 +01:00
|
|
|
|
;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
|
2020-06-27 13:00:38 +02:00
|
|
|
|
;;; Copyright © 2019, 2020 Pierre Neidhardt <mail@ambrevar.xyz>
|
2020-01-03 11:50:25 +01:00
|
|
|
|
;;; Copyright © 2019, 2020 Oleg Pykhalov <go.wigust@gmail.com>
|
2019-04-21 20:09:47 +02:00
|
|
|
|
;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com>
|
2019-05-13 23:11:11 +02:00
|
|
|
|
;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
|
2019-06-05 22:03:19 +02:00
|
|
|
|
;;; Copyright © 2019 Jesse Gibbons <jgibbons2357+guix@gmail.com>
|
2019-06-08 15:30:33 +02:00
|
|
|
|
;;; Copyright © 2019 Dan Frumin <dfrumin@cs.ru.nl>
|
2020-01-15 10:52:26 +01:00
|
|
|
|
;;; Copyright © 2019, 2020 Guillaume Le Vaillant <glv@posteo.net>
|
2020-01-12 22:23:49 +01:00
|
|
|
|
;;; Copyright © 2019, 2020 Timotej Lazar <timotej.lazar@araneo.si>
|
2019-10-29 18:08:33 +01:00
|
|
|
|
;;; Copyright © 2019 Josh Holland <josh@inv.alid.pw>
|
2017-03-16 11:37:19 +01:00
|
|
|
|
;;; Copyright © 2017, 2019 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
2020-03-13 21:31:40 +01:00
|
|
|
|
;;; Copyright © 2020 Alberto Eleuterio Flores Guerrero <barbanegra+guix@posteo.mx>
|
2020-03-26 15:55:02 +01:00
|
|
|
|
;;; Copyright © 2020 Naga Malleswari <nagamalli@riseup.net>
|
2020-03-31 19:31:30 +02:00
|
|
|
|
;;; Copyright © 2020 Vitaliy Shatrov <D0dyBo0D0dyBo0@protonmail.com>
|
2020-04-01 16:32:07 +02:00
|
|
|
|
;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
|
2020-04-02 01:22:25 +02:00
|
|
|
|
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
2013-12-28 08:19:43 +01:00
|
|
|
|
;;;
|
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
|
;;; your option) any later version.
|
|
|
|
|
;;;
|
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
|
;;;
|
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
(define-module (gnu packages games)
|
2016-04-23 07:58:55 +02:00
|
|
|
|
#:use-module (ice-9 match)
|
2014-11-16 18:56:12 +01:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
|
#:use-module (guix utils)
|
2013-12-28 08:19:43 +01:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
2015-08-31 10:09:40 +02:00
|
|
|
|
#:use-module (guix git-download)
|
2015-10-19 15:24:45 +02:00
|
|
|
|
#:use-module (guix svn-download)
|
2017-04-14 00:37:40 +02:00
|
|
|
|
#:use-module (guix gexp)
|
2014-06-13 06:54:44 +02:00
|
|
|
|
#:use-module (gnu packages)
|
2015-11-19 05:17:02 +01:00
|
|
|
|
#:use-module (gnu packages algebra)
|
2015-10-19 15:24:45 +02:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2015-11-01 19:38:53 +01:00
|
|
|
|
#:use-module (gnu packages backup)
|
2014-09-06 20:03:12 +02:00
|
|
|
|
#:use-module (gnu packages base)
|
2017-04-12 22:27:16 +02:00
|
|
|
|
#:use-module (gnu packages build-tools)
|
2014-10-13 12:33:39 +02:00
|
|
|
|
#:use-module (gnu packages admin)
|
2015-03-05 19:51:02 +01:00
|
|
|
|
#:use-module (gnu packages audio)
|
2016-02-16 02:07:04 +01:00
|
|
|
|
#:use-module (gnu packages avahi)
|
2018-11-11 00:43:34 +01:00
|
|
|
|
#:use-module (gnu packages assembly)
|
2018-08-02 11:19:00 +02:00
|
|
|
|
#:use-module (gnu packages bash)
|
|
|
|
|
#:use-module (gnu packages bison)
|
2014-06-13 06:54:44 +02:00
|
|
|
|
#:use-module (gnu packages boost)
|
2018-08-02 11:19:00 +02:00
|
|
|
|
#:use-module (gnu packages check)
|
|
|
|
|
#:use-module (gnu packages cmake)
|
|
|
|
|
#:use-module (gnu packages compression)
|
|
|
|
|
#:use-module (gnu packages curl)
|
2018-05-27 22:49:50 +02:00
|
|
|
|
#:use-module (gnu packages crypto)
|
2018-08-02 11:19:00 +02:00
|
|
|
|
#:use-module (gnu packages cyrus-sasl)
|
2017-03-20 04:06:50 +01:00
|
|
|
|
#:use-module (gnu packages documentation)
|
2017-06-01 12:54:26 +02:00
|
|
|
|
#:use-module (gnu packages docbook)
|
2019-05-15 22:32:50 +02:00
|
|
|
|
#:use-module (gnu packages emulators)
|
2018-08-02 11:19:00 +02:00
|
|
|
|
#:use-module (gnu packages flex)
|
2016-07-09 07:08:01 +02:00
|
|
|
|
#:use-module (gnu packages fltk)
|
2018-08-02 11:19:00 +02:00
|
|
|
|
#:use-module (gnu packages fonts)
|
|
|
|
|
#:use-module (gnu packages fontutils)
|
2017-11-03 11:46:00 +01:00
|
|
|
|
#:use-module (gnu packages freedesktop)
|
2015-08-31 10:09:40 +02:00
|
|
|
|
#:use-module (gnu packages fribidi)
|
|
|
|
|
#:use-module (gnu packages game-development)
|
2018-07-03 10:57:50 +02:00
|
|
|
|
#:use-module (gnu packages gcc)
|
2013-12-28 08:19:43 +01:00
|
|
|
|
#:use-module (gnu packages gettext)
|
2016-07-09 03:13:58 +02:00
|
|
|
|
#:use-module (gnu packages ghostscript)
|
2017-06-18 19:45:18 +02:00
|
|
|
|
#:use-module (gnu packages gimp)
|
2013-12-28 08:19:43 +01:00
|
|
|
|
#:use-module (gnu packages gl)
|
2013-12-30 19:33:53 +01:00
|
|
|
|
#:use-module (gnu packages glib)
|
2013-12-28 08:19:43 +01:00
|
|
|
|
#:use-module (gnu packages gnome)
|
2018-08-02 11:19:00 +02:00
|
|
|
|
#:use-module (gnu packages gnuzilla)
|
2016-07-09 03:13:58 +02:00
|
|
|
|
#:use-module (gnu packages gperf)
|
2017-12-11 01:24:42 +01:00
|
|
|
|
#:use-module (gnu packages graphics)
|
2018-08-02 11:19:00 +02:00
|
|
|
|
#:use-module (gnu packages gstreamer)
|
2013-12-28 08:19:43 +01:00
|
|
|
|
#:use-module (gnu packages gtk)
|
|
|
|
|
#:use-module (gnu packages guile)
|
2019-04-29 14:56:32 +02:00
|
|
|
|
#:use-module (gnu packages haskell)
|
|
|
|
|
#:use-module (gnu packages haskell-crypto)
|
gnu: Move non-compilers out of haskell.scm.
* gnu/packages/haskell.scm (ghc-abstract-deque, ghc-abstract-par,
ghc-adjunctions, ghc-aeson-compat, ghc-alex, ghc-alsa-core,
ghc-annotated-wl-pprint, ghc-ansi-terminal, ghc-ansi-wl-pprint,
ghc-appar, ghc-async, ghc-atomic-write, ghc-attoparsec,
ghc-attoparsec-bootstrap, ghc-attoparsec-iso8601, ghc-auto-update,
ghc-aws, ghc-base16-bytestring, ghc-base64-bytestring, ghc-base-compat,
ghc-basement, ghc-base-orphans, ghc-base-prelude,
ghc-base-unicode-symbols, ghc-bifunctors, ghc-bindings-dsl,
ghc-blaze-builder, ghc-blaze-markup, ghc-bloomfilter, ghc-boxes,
ghc-byteable, ghc-byteorder, ghc-bytes, ghc-bytestring-builder,
ghc-bytestring-handle, ghc-bytestring-lexing, ghc-bzlib-conduit,
ghc-c2hs, ghc-cairo, ghc-call-stack, ghc-call-stack-boot,
ghc-case-insensitive, ghc-cereal, ghc-cereal-conduit, ghc-cgi,
ghc-charset, ghc-chart, ghc-chart-cairo, ghc-chasingbottoms,
ghc-cheapskate, ghc-chell, ghc-chell-quickcheck, ghc-chunked-data,
ghc-clock, ghc-clock-bootstrap, ghc-cmark, ghc-cmark-gfm, ghc-cmdargs,
ghc-code-page, ghc-colour, ghc-comonad, ghc-concatenative,
ghc-concurrent-output, ghc-conduit, ghc-conduit-algorithms,
ghc-conduit-combinators, ghc-conduit-extra, ghc-configurator,
ghc-connection, ghc-constraints, ghc-contravariant,
ghc-contravariant-extras, ghc-convertible, ghc-data-accessor,
ghc-data-accessor-transformers, ghc-data-default,
ghc-data-default-class, ghc-data-default-instances-base,
ghc-data-default-instances-containers, ghc-data-default-instances-dlist,
ghc-data-default-instances-old-locale, ghc-data-hash, ghc-data-ordlist,
ghc-deepseq-generics, ghc-descriptive, ghc-diff, ghc-disk-free-space,
ghc-distributive, ghc-dlist, ghc-doctemplates, ghc-doctest,
ghc-double-conversion, ghc-easy-file, ghc-easyplot, ghc-echo,
ghc-edisonapi, ghc-edisoncore, ghc-edit-distance, ghc-either,
ghc-email-validate, ghc-enclosed-exceptions, ghc-equivalence, ghc-erf,
ghc-errorcall-eq-instance, ghc-errors, ghc-esqueleto, ghc-exactprint,
ghc-exceptions, ghc-executable-path, ghc-extensible-exceptions,
ghc-extra, ghc-fail, ghc-fast-logger, ghc-feed, ghc-fgl,
ghc-fgl-arbitrary, ghc-file-embed, ghc-filemanip, ghc-findbin,
ghc-fingertree, ghc-fixed, ghc-foldl, ghc-foundation, ghc-free,
ghc-fsnotify, ghc-generic-deriving, ghc-generics-sop,
ghc-geniplate-mirror, ghc-genvalidity, ghc-genvalidity-property,
ghc-gitrev, ghc-glob, ghc-gluraw, ghc-glut, ghc-gnuplot, ghc-graphviz,
ghc-gtk2hs-buildtools, ghc-hackage-security, ghc-haddock,
ghc-haddock-api, ghc-haddock-library, ghc-half, ghc-happy, ghc-hashable,
ghc-hashable-bootstrap, ghc-hashable-time, ghc-hashtables,
ghc-haskell-lexer, ghc-haskell-src, ghc-haskell-src-exts,
ghc-haskell-src-exts-util, ghc-haskell-src-meta, ghc-hasktags, ghc-hex,
ghc-highlighting-kate, ghc-hindent, ghc-hinotify, ghc-hmatrix,
ghc-hmatrix-gsl, ghc-hmatrix-gsl-stats, ghc-hmatrix-special,
ghc-hostname, ghc-hourglass, ghc-hpack, ghc-hs-bibutils, ghc-hslogger,
ghc-hslua, ghc-hslua-module-text, ghc-http-api-data, ghc-ieee754,
ghc-ifelse, ghc-indents, ghc-inline-c, ghc-inline-c-cpp,
ghc-integer-logarithms, ghc-integer-logarithms-bootstrap,
ghc-interpolate, ghc-intervalmap, ghc-invariant, ghc-iproute, ghc-iwlib,
ghc-json, ghc-juicypixels, ghc-kan-extensions, ghc-language-c,
ghc-language-haskell-extract, ghc-lens, ghc-libffi, ghc-libmpd,
ghc-libxml, ghc-lifted-async, ghc-lifted-base, ghc-linear,
ghc-logging-facade, ghc-logict, ghc-lzma, ghc-lzma-conduit,
ghc-markdown-unlit, ghc-math-functions, ghc-megaparsec, ghc-memory,
ghc-memotrie, ghc-microlens, ghc-microlens-ghc, ghc-microlens-mtl,
ghc-microlens-platform, ghc-microlens-th, ghc-missingh, ghc-mmap,
ghc-mmorph, ghc-mockery, ghc-monad-control, ghc-monad-logger,
ghc-monad-loops, ghc-monad-par, ghc-monad-par-extras, ghc-monadplus,
ghc-monadrandom, ghc-monads-tf, ghc-mono-traversable, ghc-murmur-hash,
ghc-mwc-random, ghc-nats, ghc-nats-bootstrap, ghc-network,
ghc-network-info, ghc-network-uri, ghc-newtype-generics, ghc-objectname,
ghc-old-locale, ghc-old-time, ghc-opengl, ghc-openglraw,
ghc-operational, ghc-options, ghc-optparse-applicative, ghc-pandoc,
ghc-pandoc-citeproc, ghc-pandoc-types, ghc-parallel, ghc-parsec-numbers,
ghc-parser-combinators, ghc-parsers, ghc-path, ghc-path-io, ghc-paths,
ghc-patience, ghc-pcre-light, ghc-persistent, ghc-persistent-sqlite,
ghc-persistent-template, ghc-polyparse, ghc-pqueue, ghc-prelude-extras,
ghc-pretty-hex, ghc-pretty-show, ghc-primitive, ghc-profunctors,
ghc-psqueues, ghc-random, ghc-raw-strings-qq, ghc-rebase, ghc-reducers,
ghc-refact, ghc-reflection, ghc-regex, ghc-regex-applicative,
ghc-regex-base, ghc-regex-compat, ghc-regex-compat-tdfa,
ghc-regex-pcre-builtin, ghc-regex-posix, ghc-regex-tdfa,
ghc-regex-tdfa-text, ghc-rerebase, ghc-resolv, ghc-resource-pool,
ghc-resourcet, ghc-rfc5051, ghc-rio, ghc-safe, ghc-safe-exceptions,
ghc-safeio, ghc-safesemaphore, ghc-sandi, ghc-scientific,
ghc-scientific-bootstrap, ghc-sdl, ghc-sdl-image, ghc-sdl-mixer,
ghc-securemem, ghc-semigroupoids, ghc-semigroups,
ghc-semigroups-bootstrap, ghc-setenv, ghc-setlocale, ghc-shakespeare,
ghc-shelly, ghc-silently, ghc-simple-reflect, ghc-simple-sendfile,
ghc-skylighting-core, ghc-skylighting, ghc-smallcheck, ghc-socks,
ghc-split, ghc-statevar, ghc-statistics, ghc-stm-chans, ghc-stm-conduit,
ghc-stmonadtrans, ghc-storable-complex, ghc-streaming-commons,
ghc-strict, ghc-stringbuilder, ghc-string-qq, ghc-stringsearch,
ghc-stylish-haskell, ghc-syb, ghc-system-fileio, ghc-system-filepath,
ghc-tagged, ghc-tar, ghc-temporary, ghc-temporary-rc, ghc-terminal-size,
ghc-texmath, ghc-text-binary, ghc-tf-random, ghc-th-abstraction,
ghc-th-expand-syns, ghc-th-lift, ghc-th-lift-instances, ghc-th-orphans,
ghc-th-reify-many, ghc-time-locale-compat, ghc-tldr,
ghc-transformers-base, ghc-transformers-compat, ghc-tree-diff,
ghc-trifecta, ghc-tuple-th, ghc-typed-process, ghc-unbounded-delays,
ghc-unexceptionalio, ghc-union-find, ghc-uniplate, ghc-unix-compat,
ghc-unix-time, ghc-unliftio, ghc-unliftio-core,
ghc-unordered-containers, ghc-unordered-containers-bootstrap,
ghc-uri-bytestring, ghc-utf8-string, ghc-utility-ht, ghc-uuid,
ghc-uuid-types, ghc-validation, ghc-validity, ghc-vault, ghc-vector,
ghc-vector-algorithms, ghc-vector-binary-instances, ghc-vector-builder,
ghc-vector-th-unbox, ghc-void, ghc-wave, ghc-wcwidth,
ghc-wcwidth-bootstrap, ghc-weigh, ghc-wl-pprint,
ghc-wl-pprint-annotated, ghc-wl-pprint-text, ghc-word8, ghc-x11,
ghc-x11-xft, ghc-xdg-basedir, ghc-xml, ghc-xml-conduit, ghc-xml-types,
ghc-yaml, ghc-zip-archive, ghc-zlib): Move variables from here...
* gnu/packages/haskell-xyz.scm: ...to here.
* gnu/packages/agda.scm,
gnu/packages/bioconductor.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/cran.scm,
gnu/packages/emacs-xyz.scm,
gnu/packages/games.scm,
gnu/packages/graphics.scm,
gnu/packages/haskell-apps.scm,
gnu/packages/haskell-check.scm,
gnu/packages/idris.scm,
gnu/packages/statistics.scm,
gnu/packages/wm.scm: Update module references.
Co-authored-by: Timothy Sample <samplet@ngyro.com>
2019-08-30 03:56:35 +02:00
|
|
|
|
#:use-module (gnu packages haskell-xyz)
|
2018-08-02 11:19:00 +02:00
|
|
|
|
#:use-module (gnu packages icu4c)
|
|
|
|
|
#:use-module (gnu packages image)
|
2017-03-20 04:06:50 +01:00
|
|
|
|
#:use-module (gnu packages imagemagick)
|
2017-03-16 11:37:19 +01:00
|
|
|
|
#:use-module (gnu packages kde)
|
|
|
|
|
#:use-module (gnu packages kde-frameworks)
|
2018-07-17 20:07:58 +02:00
|
|
|
|
#:use-module (gnu packages less)
|
2013-12-30 19:33:53 +01:00
|
|
|
|
#:use-module (gnu packages libcanberra)
|
2017-08-17 10:56:04 +02:00
|
|
|
|
#:use-module (gnu packages libedit)
|
2015-04-27 06:40:40 +02:00
|
|
|
|
#:use-module (gnu packages libunwind)
|
2018-08-02 11:19:00 +02:00
|
|
|
|
#:use-module (gnu packages linux)
|
2019-04-29 15:08:59 +02:00
|
|
|
|
#:use-module (gnu packages llvm)
|
2018-08-02 11:19:00 +02:00
|
|
|
|
#:use-module (gnu packages lua)
|
2019-02-15 07:16:44 +01:00
|
|
|
|
#:use-module (gnu packages man)
|
|
|
|
|
#:use-module (gnu packages maths)
|
2015-08-31 10:09:40 +02:00
|
|
|
|
#:use-module (gnu packages mp3)
|
2017-03-16 04:14:42 +01:00
|
|
|
|
#:use-module (gnu packages music)
|
2018-05-26 18:11:11 +02:00
|
|
|
|
#:use-module (gnu packages multiprecision)
|
2014-07-01 14:44:04 +02:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
2016-07-09 03:13:58 +02:00
|
|
|
|
#:use-module (gnu packages netpbm)
|
2017-04-27 10:42:21 +02:00
|
|
|
|
#:use-module (gnu packages networking)
|
2016-02-07 12:57:40 +01:00
|
|
|
|
#:use-module (gnu packages ocaml)
|
2019-06-05 18:11:20 +02:00
|
|
|
|
#:use-module (gnu packages opencl)
|
2018-08-02 11:19:00 +02:00
|
|
|
|
#:use-module (gnu packages pcre)
|
|
|
|
|
#:use-module (gnu packages perl)
|
|
|
|
|
#:use-module (gnu packages perl-check)
|
2020-06-14 12:50:34 +02:00
|
|
|
|
#:use-module (gnu packages perl-compression)
|
2018-08-02 11:19:00 +02:00
|
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
|
#:use-module (gnu packages pulseaudio)
|
2013-12-30 19:33:53 +01:00
|
|
|
|
#:use-module (gnu packages python)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 14:21:30 +01:00
|
|
|
|
#:use-module (gnu packages python-xyz)
|
2018-08-02 11:19:00 +02:00
|
|
|
|
#:use-module (gnu packages qt)
|
2013-12-30 19:33:53 +01:00
|
|
|
|
#:use-module (gnu packages readline)
|
2020-06-27 13:00:38 +02:00
|
|
|
|
#:use-module (gnu packages ruby)
|
2017-06-29 17:32:27 +02:00
|
|
|
|
#:use-module (gnu packages shells)
|
2014-05-01 02:36:32 +02:00
|
|
|
|
#:use-module (gnu packages sdl)
|
2018-08-02 11:12:35 +02:00
|
|
|
|
#:use-module (gnu packages serialization)
|
gnu: Move sqlite to separate module.
* gnu/packages/databases.scm (sqlite, sqlite-3.26.0, sqlite-with-fts5,
sqlite-with-column-metadata): Move variables from here...
* gnu/packages/sqlite.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/apl.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/code.scm,
gnu/packages/crypto.scm,
gnu/packages/databases.scm,
gnu/packages/dc.scm,
gnu/packages/disk.scm,
gnu/packages/ebook.scm,
gnu/packages/education.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/file-systems.scm,
gnu/packages/freedesktop.scm,
gnu/packages/ftp.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gnome.scm,
gnu/packages/gnunet.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/gps.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/kodi.scm,
gnu/packages/lisp.scm,
gnu/packages/mail.scm,
gnu/packages/messaging.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nfs.scm,
gnu/packages/ocaml.scm,
gnu/packages/package-management.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/php.scm,
gnu/packages/python.scm,
gnu/packages/qt.scm,
gnu/packages/ruby.scm,
gnu/packages/scheme.scm,
gnu/packages/sync.scm,
gnu/packages/syndication.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/web-browsers.scm,
gnu/packages/webkit.scm: Adjust module references.
2019-01-15 21:47:05 +01:00
|
|
|
|
#:use-module (gnu packages sqlite)
|
2019-05-25 02:50:31 +02:00
|
|
|
|
#:use-module (gnu packages squirrel)
|
2017-04-12 11:28:01 +02:00
|
|
|
|
#:use-module (gnu packages swig)
|
2015-04-27 06:40:40 +02:00
|
|
|
|
#:use-module (gnu packages tcl)
|
2019-05-13 23:11:11 +02:00
|
|
|
|
#:use-module (gnu packages terminals)
|
2018-08-02 11:19:00 +02:00
|
|
|
|
#:use-module (gnu packages texinfo)
|
|
|
|
|
#:use-module (gnu packages textutils)
|
2016-08-08 21:54:50 +02:00
|
|
|
|
#:use-module (gnu packages tls)
|
2017-03-20 20:16:37 +01:00
|
|
|
|
#:use-module (gnu packages upnp)
|
2018-08-02 11:19:00 +02:00
|
|
|
|
#:use-module (gnu packages video)
|
2017-12-10 11:15:03 +01:00
|
|
|
|
#:use-module (gnu packages vulkan)
|
2017-10-12 10:22:27 +02:00
|
|
|
|
#:use-module (gnu packages web)
|
2019-03-16 20:19:13 +01:00
|
|
|
|
#:use-module (gnu packages wget)
|
2018-08-02 11:19:00 +02:00
|
|
|
|
#:use-module (gnu packages wxwidgets)
|
|
|
|
|
#:use-module (gnu packages xdisorg)
|
|
|
|
|
#:use-module (gnu packages xorg)
|
|
|
|
|
#:use-module (gnu packages xiph)
|
|
|
|
|
#:use-module (gnu packages xml)
|
|
|
|
|
#:use-module (gnu packages messaging)
|
|
|
|
|
#:use-module (gnu packages networking)
|
2020-03-31 19:31:30 +02:00
|
|
|
|
#:use-module (guix build-system copy)
|
2020-06-14 12:50:34 +02:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2018-12-21 06:16:56 +01:00
|
|
|
|
#:use-module (guix build-system glib-or-gtk)
|
2014-11-11 00:05:20 +01:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2018-01-17 23:42:55 +01:00
|
|
|
|
#:use-module (guix build-system go)
|
2018-12-21 03:28:07 +01:00
|
|
|
|
#:use-module (guix build-system meson)
|
2020-06-14 12:50:34 +02:00
|
|
|
|
#:use-module (guix build-system perl)
|
2016-08-30 22:40:27 +02:00
|
|
|
|
#:use-module (guix build-system python)
|
2017-03-16 11:37:19 +01:00
|
|
|
|
#:use-module (guix build-system qt)
|
2020-06-14 12:50:34 +02:00
|
|
|
|
#:use-module (guix build-system scons)
|
2019-01-26 18:47:28 +01:00
|
|
|
|
#:use-module (guix build-system trivial)
|
|
|
|
|
#:use-module ((srfi srfi-1) #:hide (zip))
|
|
|
|
|
#:use-module (srfi srfi-26))
|
2013-12-28 08:19:43 +01:00
|
|
|
|
|
2020-06-15 19:40:07 +02:00
|
|
|
|
(define-public abe
|
|
|
|
|
(package
|
|
|
|
|
(name "abe")
|
|
|
|
|
(version "1.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/abe/abe/abe-" version
|
|
|
|
|
"/abe-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1xvpnq1y6y48fn3pvn2lk0h1ilmalv7nb7awpid1g4jcq1sfmi6z"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list (string-append "--with-data-dir="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/share/abe"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'bootstrap
|
|
|
|
|
(lambda _ (invoke "sh" "autogen.sh")))
|
|
|
|
|
(add-before 'build 'set-SDL
|
|
|
|
|
;; Set correct environment for SDL.
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "CPATH"
|
|
|
|
|
(string-append
|
|
|
|
|
(assoc-ref inputs "sdl") "/include/SDL:"
|
|
|
|
|
(or (getenv "CPATH") "")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'finalize-install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((share (string-append (assoc-ref outputs "out") "/share")))
|
|
|
|
|
;; Installation script does not copy game data files.
|
|
|
|
|
(let ((data (string-append share "/abe")))
|
|
|
|
|
(for-each (lambda (dir)
|
|
|
|
|
(let ((target (string-append data "/" dir)))
|
|
|
|
|
(mkdir-p target)
|
|
|
|
|
(copy-recursively dir target)))
|
|
|
|
|
'("images" "maps" "sounds")))
|
|
|
|
|
;; Create desktop file.
|
|
|
|
|
(let ((apps (string-append share "/applications")))
|
|
|
|
|
(mkdir-p apps)
|
|
|
|
|
(make-desktop-entry-file
|
|
|
|
|
(string-append apps "/abe.desktop")
|
|
|
|
|
#:name "Abe's Amazing Adventure"
|
|
|
|
|
#:exec ,name
|
|
|
|
|
#:categories '("AdventureGame" "Game")
|
|
|
|
|
#:keywords
|
|
|
|
|
'("side-scrolling" "adventure" "pyramid" "singleplayer")
|
|
|
|
|
#:comment
|
|
|
|
|
'(("de" "Ein sich seitwärts bewegendes Abenteuerspiel")
|
|
|
|
|
(#f "Side-scrolling game")))))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libxi" ,libxi)
|
|
|
|
|
("libxmu" ,libxmu)
|
|
|
|
|
("libxt" ,libxt)
|
|
|
|
|
("sdl" ,(sdl-union (list sdl sdl-mixer)))))
|
|
|
|
|
(home-page "http://abe.sourceforge.net")
|
|
|
|
|
(synopsis "Scrolling, platform-jumping, ancient pyramid exploring game")
|
|
|
|
|
(description
|
|
|
|
|
"Abe's Amazing Adventure is a scrolling,
|
|
|
|
|
platform-jumping, key-collecting, ancient pyramid exploring game, vaguely in
|
|
|
|
|
the style of similar games for the Commodore+4.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2019-03-19 16:39:50 +01:00
|
|
|
|
;; Data package for adanaxisgpl.
|
|
|
|
|
(define adanaxis-mush
|
|
|
|
|
(let ((version "1.1.0"))
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.mushware.com/files/adanaxis-mush-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0mk9ibis5nkdcalcg1lkgnsdxxbw4g5w2i3icjzy667hqirsng03")))))
|
|
|
|
|
|
|
|
|
|
(define-public adanaxisgpl
|
|
|
|
|
(package
|
|
|
|
|
(name "adanaxisgpl")
|
|
|
|
|
(version "1.2.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.mushware.com/files/adanaxisgpl-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0jkn637jaabvlhd6hpvzb57vvjph94l6fbf7qxbjlw9zpr19dw1f"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Necessary for building with gcc >=4.7.
|
|
|
|
|
(substitute* "src/Mushcore/MushcoreSingleton.h"
|
|
|
|
|
(("SingletonPtrSet\\(new SingletonType\\);")
|
|
|
|
|
"MushcoreSingleton::SingletonPtrSet(new SingletonType);"))
|
|
|
|
|
;; Avoid an "invalid conversion from const char* to char*" error.
|
|
|
|
|
(substitute* "src/Platform/X11/PlatformMiscUtils.cpp"
|
|
|
|
|
(("char \\*end, \\*result;")
|
|
|
|
|
(string-append "const char *end;"
|
|
|
|
|
"\n"
|
|
|
|
|
"char *result;")))
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no check target
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'install-data
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((data (assoc-ref inputs "adanaxis-mush"))
|
|
|
|
|
(share (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/share/" ,name "-" ,version)))
|
|
|
|
|
(mkdir-p share)
|
|
|
|
|
(invoke "tar" "xvf" data "-C" share)))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("adanaxis-mush" ,adanaxis-mush))) ; game data
|
|
|
|
|
(inputs
|
|
|
|
|
`(("expat" ,expat)
|
|
|
|
|
("freeglut" ,freeglut)
|
|
|
|
|
("glu" ,glu)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 19:27:01 +01:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2019-03-19 16:39:50 +01:00
|
|
|
|
("libogg" ,libogg)
|
|
|
|
|
("libtiff" ,libtiff)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxext" ,libxext)
|
|
|
|
|
("pcre" ,pcre)
|
|
|
|
|
("sdl" ,sdl)
|
|
|
|
|
("sdl-mixer" ,sdl-mixer)))
|
|
|
|
|
(home-page "https://www.mushware.com")
|
|
|
|
|
(synopsis "Action game in four spatial dimensions")
|
|
|
|
|
(description
|
|
|
|
|
"Adanaxis is a fast-moving first person shooter set in deep space, where
|
|
|
|
|
the fundamentals of space itself are changed. By adding another dimension to
|
|
|
|
|
space this game provides an environment with movement in four directions and
|
|
|
|
|
six planes of rotation. Initially the game explains the 4D control system via
|
|
|
|
|
a graphical sequence, before moving on to 30 levels of gameplay with numerous
|
|
|
|
|
enemy, ally, weapon and mission types. Features include simulated 4D texturing,
|
|
|
|
|
mouse and joystick control, and original music.")
|
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
|
2019-03-27 02:42:53 +01:00
|
|
|
|
(define-public alex4
|
|
|
|
|
(package
|
|
|
|
|
(name "alex4")
|
2019-10-02 14:33:59 +02:00
|
|
|
|
(version "1.2.1")
|
2019-03-27 02:42:53 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-10-02 14:22:22 +02:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/carstene1ns/alex4.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2019-03-27 02:42:53 +01:00
|
|
|
|
(sha256
|
2019-10-02 14:33:59 +02:00
|
|
|
|
(base32 "098wy72mh4lsvq3gm0rhamjssf9l1hp6hhkpzrv7klpb97cwwc3h"))))
|
2019-03-27 02:42:53 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-10-02 14:22:22 +02:00
|
|
|
|
`(#:tests? #f ; no check target
|
2019-03-27 02:42:53 +01:00
|
|
|
|
#:make-flags
|
2019-10-02 14:33:59 +02:00
|
|
|
|
(list "CC=gcc"
|
2019-03-27 02:42:53 +01:00
|
|
|
|
"CFLAGS=-D_FILE_OFFSET_BITS=64"
|
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2019-10-02 14:33:59 +02:00
|
|
|
|
(delete 'configure) ; no configure script
|
2019-03-27 02:42:53 +01:00
|
|
|
|
(add-after 'install 'install-data
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((share (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/share/" ,name)))
|
|
|
|
|
(install-file "alex4.ini" share)
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("allegro" ,allegro-4)
|
|
|
|
|
("dumb" ,dumb-allegro4)))
|
|
|
|
|
(home-page "http://allegator.sourceforge.net/")
|
|
|
|
|
(synopsis "Retro platform game")
|
|
|
|
|
(description
|
|
|
|
|
"Guide Alex the Allegator through the jungle in order to save his
|
|
|
|
|
girlfriend Lola from evil humans who want to make a pair of shoes out of her.
|
|
|
|
|
Plenty of classic platforming in four nice colors guaranteed!
|
|
|
|
|
|
|
|
|
|
The game includes a built-in editor so you can design and share your own maps.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(define-public armagetronad
|
2017-06-24 23:56:56 +02:00
|
|
|
|
(package
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(name "armagetronad")
|
2020-03-11 00:07:56 +01:00
|
|
|
|
(version "0.2.8.3.5")
|
2017-06-24 23:56:56 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-03-29 00:28:49 +01:00
|
|
|
|
(uri (string-append "mirror://sourceforge/armagetronad/stable/"
|
|
|
|
|
version "/armagetronad-" version ".src.tar.gz"))
|
2017-06-24 23:56:56 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-03-11 00:07:56 +01:00
|
|
|
|
"1z266haq22n5b0733h7qsg1rpzhz8lvm82f7wd06r008iiar7jdl"))))
|
2017-06-24 23:56:56 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libxml2" ,libxml2)
|
|
|
|
|
("sdl" ,sdl)
|
|
|
|
|
("sdl-image" ,sdl-image)
|
|
|
|
|
("freeglut" ,freeglut)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libjpeg-turbo" ,libjpeg-turbo)))
|
|
|
|
|
(home-page "http://www.armagetronad.org")
|
|
|
|
|
(synopsis "Tron clone in 3D")
|
2019-03-26 13:23:03 +01:00
|
|
|
|
(description "Armagetron Advanced is a multiplayer game in 3d that
|
|
|
|
|
attempts to emulate and expand on the lightcycle sequence from the movie Tron.
|
|
|
|
|
It's an old school arcade game slung into the 21st century. Highlights
|
|
|
|
|
include a customizable playing arena, HUD, unique graphics, and AI bots. For
|
|
|
|
|
the more advanced player there are new game modes and a wide variety of
|
|
|
|
|
physics settings to tweak as well.")
|
2017-06-24 23:56:56 +02:00
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2018-10-04 00:30:53 +02:00
|
|
|
|
(define-public bastet
|
|
|
|
|
(package
|
|
|
|
|
(name "bastet")
|
|
|
|
|
(version "0.43.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/fph/bastet.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "09kamxapm9jw9przpsgjfg33n9k94bccv65w95dakj0br33a75wn"))
|
|
|
|
|
(patches
|
|
|
|
|
(search-patches "bastet-change-source-of-unordered_set.patch"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list (string-append "CXXFLAGS=-I"
|
|
|
|
|
(assoc-ref %build-inputs "boost") "/include"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(replace 'check
|
|
|
|
|
;; The 'Test' target builds the tests, but doesn't actually run them.
|
|
|
|
|
(lambda* (#:key make-flags #:allow-other-keys)
|
|
|
|
|
(apply invoke "make" "Test" make-flags)
|
|
|
|
|
(setenv "HOME" ".")
|
|
|
|
|
(invoke "./Test")))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(share (string-append out "/share"))
|
|
|
|
|
(hicolor (string-append share "/icons/hicolor")))
|
|
|
|
|
(install-file "bastet"
|
|
|
|
|
(string-append out "/bin"))
|
|
|
|
|
|
|
|
|
|
(install-file "bastet.desktop"
|
|
|
|
|
(string-append share "/applications"))
|
|
|
|
|
(install-file "bastet.svg"
|
|
|
|
|
(string-append hicolor "/scalable/apps"))
|
|
|
|
|
|
|
|
|
|
(install-file "bastet.appdata.xml"
|
|
|
|
|
(string-append share "/appdata"))
|
|
|
|
|
|
|
|
|
|
(install-file "bastet.6"
|
|
|
|
|
(string-append out "/share/man/man6"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("hicolor-icon-theme" ,hicolor-icon-theme)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("ncurses" ,ncurses)))
|
2020-01-18 23:08:09 +01:00
|
|
|
|
(home-page "https://fph.altervista.org/prog/bastet.html")
|
2018-10-04 00:30:53 +02:00
|
|
|
|
(synopsis "Antagonistic Tetris-style falling brick game for text terminals")
|
|
|
|
|
(description
|
|
|
|
|
"Bastet (short for Bastard Tetris) is a simple ncurses-based falling brick
|
|
|
|
|
game. Unlike normal Tetris, Bastet does not choose the next brick at random.
|
|
|
|
|
Instead, it uses a special algorithm to choose the worst brick possible.
|
|
|
|
|
|
|
|
|
|
Playing bastet can be a painful experience, especially if you usually make
|
|
|
|
|
canyons and wait for the long I-shaped block to clear four rows at a time.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2020-04-14 08:34:09 +02:00
|
|
|
|
(define-public blobwars
|
|
|
|
|
(package
|
|
|
|
|
(name "blobwars")
|
|
|
|
|
(version "2.00")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/blobwars/"
|
|
|
|
|
"blobwars-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "16aagvkx6azf75gm5kaa94bh5npydvhqp3fvdqyfsanzdjgjf1n4"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no test
|
|
|
|
|
#:make-flags
|
|
|
|
|
(let ((out (assoc-ref %outputs "out")))
|
|
|
|
|
(list (string-append "PREFIX=" out)
|
|
|
|
|
(string-append "BINDIR=" out "/bin/")
|
|
|
|
|
"USEPAK=1"
|
|
|
|
|
"RELEASE=1"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'werror-begone
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile" (("-Werror") ""))
|
|
|
|
|
#t))
|
|
|
|
|
(delete 'configure)))) ;no configure script
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gettext" ,gettext-minimal)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("hicolor-icon-theme" ,hicolor-icon-theme)
|
|
|
|
|
("sdl" ,(sdl-union (list sdl2
|
|
|
|
|
sdl2-image
|
|
|
|
|
sdl2-mixer
|
|
|
|
|
sdl2-ttf
|
|
|
|
|
sdl2-net)))))
|
|
|
|
|
(home-page "https://sourceforge.net/projects/blobwars/")
|
|
|
|
|
(synopsis "Platform action game featuring a blob with a lot of weapons")
|
|
|
|
|
(description "Blobwars: Metal Blob Solid is a 2D platform game, the first
|
|
|
|
|
in the Blobwars series. You take on the role of a fearless Blob agent. Your
|
|
|
|
|
mission is to infiltrate various enemy bases and rescue as many MIAs as
|
|
|
|
|
possible, while battling many vicious aliens.")
|
|
|
|
|
(license (list license:gpl2 ; For code and graphics
|
|
|
|
|
license:cc0 ; Music and sounds have specific licenses
|
|
|
|
|
license:cc-by3.0 ; see /doc/readme
|
|
|
|
|
license:cc-by-sa3.0
|
|
|
|
|
license:lgpl2.1+
|
|
|
|
|
license:bsd-2))))
|
|
|
|
|
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(define-public cataclysm-dda
|
2020-04-09 00:59:51 +02:00
|
|
|
|
(package
|
|
|
|
|
(name "cataclysm-dda")
|
2020-05-25 18:51:54 +02:00
|
|
|
|
(version "0.E-2")
|
2020-04-09 00:59:51 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/CleverRaven/Cataclysm-DDA.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(sha256
|
2020-05-25 18:51:54 +02:00
|
|
|
|
(base32 "15l6w6lxays7qmsv0ci2ry53asb9an9dh7l7fc13256k085qcg68"))
|
2020-04-09 00:59:51 +02:00
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:make-flags
|
|
|
|
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
|
|
|
|
"USE_HOME_DIR=1" "DYNAMIC_LINKING=1" "RELEASE=1"
|
|
|
|
|
"LOCALIZE=1" "LANGUAGES=all")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after 'build 'build-tiles
|
|
|
|
|
(lambda* (#:key make-flags outputs #:allow-other-keys)
|
|
|
|
|
;; Change prefix directory and enable tile graphics and sound.
|
|
|
|
|
(apply invoke "make" "TILES=1" "SOUND=1"
|
|
|
|
|
(string-append "PREFIX="
|
|
|
|
|
(assoc-ref outputs "tiles"))
|
|
|
|
|
(cdr make-flags))))
|
|
|
|
|
(add-after 'install 'install-tiles
|
|
|
|
|
(lambda* (#:key make-flags outputs #:allow-other-keys)
|
|
|
|
|
(apply invoke "make" "install" "TILES=1" "SOUND=1"
|
|
|
|
|
(string-append "PREFIX="
|
|
|
|
|
(assoc-ref outputs "tiles"))
|
|
|
|
|
(cdr make-flags)))))
|
|
|
|
|
;; TODO: Add libtap++ from https://github.com/cbab/libtappp as a native
|
|
|
|
|
;; input in order to support tests.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(outputs '("out"
|
|
|
|
|
"tiles")) ;for tile graphics and sound support
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gettext" ,gettext-minimal)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("freetype" ,freetype)
|
|
|
|
|
("libogg" ,libogg)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
|
("sdl2" ,sdl2)
|
|
|
|
|
("sdl2-image" ,sdl2-image)
|
|
|
|
|
("sdl2-ttf" ,sdl2-ttf)
|
|
|
|
|
("sdl2-mixer" ,sdl2-mixer)))
|
|
|
|
|
(home-page "https://cataclysmdda.org/")
|
|
|
|
|
(synopsis "Survival horror roguelike video game")
|
|
|
|
|
(description
|
|
|
|
|
"Cataclysm: Dark Days Ahead (or \"DDA\" for short) is a roguelike set
|
2019-03-26 13:33:40 +01:00
|
|
|
|
in a post-apocalyptic world. Struggle to survive in a harsh, persistent,
|
|
|
|
|
procedurally generated world. Scavenge the remnants of a dead civilization
|
|
|
|
|
for food, equipment, or, if you are lucky, a vehicle with a full tank of gas
|
|
|
|
|
to get you out of Dodge. Fight to defeat or escape from a wide variety of
|
|
|
|
|
powerful monstrosities, from zombies to giant insects to killer robots and
|
|
|
|
|
things far stranger and deadlier, and against the others like yourself, that
|
|
|
|
|
want what you have.")
|
2020-04-09 00:59:51 +02:00
|
|
|
|
(license license:cc-by-sa3.0)))
|
2017-05-01 19:16:04 +02:00
|
|
|
|
|
2020-01-06 12:07:56 +01:00
|
|
|
|
(define-public corsix-th
|
|
|
|
|
(package
|
|
|
|
|
(name "corsix-th")
|
2020-06-17 03:10:58 +02:00
|
|
|
|
(version "0.64")
|
2020-01-06 12:07:56 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/CorsixTH/CorsixTH.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-06-17 03:10:58 +02:00
|
|
|
|
(base32 "0chh9cv2kdc39sr0x8hclcyzd8dz2y6grgagqzkvr7j570wa5cqh"))))
|
2020-01-06 12:07:56 +01:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'wrap-binary
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Set Lua module paths and default MIDI soundfont on startup.
|
|
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(fluid (assoc-ref %build-inputs "fluid-3"))
|
|
|
|
|
(lua-version ,(version-major+minor (package-version lua)))
|
|
|
|
|
(lua-cpath
|
|
|
|
|
(map (lambda (lib)
|
|
|
|
|
(string-append
|
|
|
|
|
(assoc-ref %build-inputs (string-append "lua-" lib))
|
|
|
|
|
"/lib/lua/" lua-version "/?.so"))
|
|
|
|
|
'("filesystem" "lpeg"))))
|
|
|
|
|
(wrap-program (string-append out "/bin/corsix-th")
|
|
|
|
|
`("LUA_CPATH" ";" = ,lua-cpath)
|
|
|
|
|
`("SDL_SOUNDFONTS" ":" suffix
|
|
|
|
|
(,(string-append fluid "/share/soundfonts/FluidR3Mono_GM.sf3")))))
|
|
|
|
|
#t)))
|
|
|
|
|
#:tests? #f)) ; TODO need busted package to run tests
|
|
|
|
|
;; Omit Lua-Socket dependency to disable automatic updates.
|
|
|
|
|
(inputs
|
|
|
|
|
`(("ffmpeg" ,ffmpeg)
|
|
|
|
|
("fluid-3" ,fluid-3)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("lua" ,lua)
|
|
|
|
|
("lua-filesystem" ,lua-filesystem)
|
|
|
|
|
("lua-lpeg" ,lua-lpeg)
|
|
|
|
|
("sdl2" ,sdl2)
|
|
|
|
|
("sdl2-mixer" ,sdl2-mixer)))
|
|
|
|
|
(home-page "https://corsixth.com")
|
|
|
|
|
(synopsis "Implementation of the @i{Theme Hospital} game engine")
|
|
|
|
|
(description
|
|
|
|
|
"This package provides a reimplementation of the 1997 Bullfrog business
|
|
|
|
|
simulation game @i{Theme Hospital}. As well as faithfully recreating the
|
|
|
|
|
original engine, CorsixTH adds support for high resolutions, custom levels and
|
|
|
|
|
more. This package does @emph{not} provide the game assets.")
|
|
|
|
|
(license (list
|
|
|
|
|
license:expat ; main license
|
|
|
|
|
license:bsd-3)))) ; CorsixTH/Src/random.c
|
|
|
|
|
|
2017-07-23 20:22:10 +02:00
|
|
|
|
(define-public cowsay
|
|
|
|
|
(package
|
|
|
|
|
(name "cowsay")
|
2017-10-20 01:33:02 +02:00
|
|
|
|
(version "3.04")
|
2017-07-23 20:22:10 +02:00
|
|
|
|
(source (origin
|
2019-11-19 16:12:54 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/tnalpgge/rank-amateur-cowsay.git")
|
|
|
|
|
(commit (string-append name "-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-07-23 20:22:10 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-11-19 16:12:54 +01:00
|
|
|
|
"06455kq37hvq1xb7adyiwrx0djs50arsxvjgixyxks16lm1rlc7n"))))
|
2017-07-23 20:22:10 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2017-10-20 01:38:24 +02:00
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(delete 'build) ; nothing to be built
|
|
|
|
|
(replace 'install
|
2017-07-23 20:22:10 +02:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2019-01-26 14:57:29 +01:00
|
|
|
|
(invoke "sh" "install.sh"
|
|
|
|
|
(assoc-ref outputs "out"))))
|
2017-10-23 10:44:04 +02:00
|
|
|
|
(delete 'check)
|
|
|
|
|
(add-after 'install 'check
|
2017-07-23 20:22:10 +02:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2019-01-26 14:57:29 +01:00
|
|
|
|
(invoke (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/bin/cowsay")
|
|
|
|
|
"We're done!"))))))
|
2017-07-23 20:22:10 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("perl" ,perl)))
|
|
|
|
|
(home-page (string-append "https://web.archive.org/web/20071026043648/"
|
2017-10-20 01:33:02 +02:00
|
|
|
|
"http://www.nog.net:80/~tony/warez/cowsay.shtml"))
|
2017-07-23 20:22:10 +02:00
|
|
|
|
(synopsis "Speaking cow text filter")
|
|
|
|
|
(description "Cowsay is basically a text filter. Send some text into it,
|
|
|
|
|
and you get a cow saying your text. If you think a talking cow isn't enough,
|
2017-10-20 01:33:02 +02:00
|
|
|
|
cows can think too: all you have to do is run @command{cowthink}. If you're
|
|
|
|
|
tired of cows, a variety of other ASCII-art messengers are available.")
|
2017-07-23 20:22:10 +02:00
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2019-12-04 02:46:44 +01:00
|
|
|
|
(define-public lolcat
|
|
|
|
|
(let ((commit "35dca3d0a381496d7195cd78f5b24aa7b62f2154")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(package
|
|
|
|
|
(name "lolcat")
|
|
|
|
|
(version (git-version "1.0" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/jaseg/lolcat.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0jjbkqcc2ikjxd1xgdyv4rb0vsw218181h89f2ywg29ffs3ypd8g"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2020-06-02 19:15:03 +02:00
|
|
|
|
`(#:tests? #f ; no check target
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list ,(string-append "CC=" (cc-for-target)))
|
2019-12-04 02:46:44 +01:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'bootstrap)
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(dest (string-append out "/bin")))
|
|
|
|
|
(mkdir-p dest)
|
|
|
|
|
(install-file "lolcat" dest)
|
|
|
|
|
(install-file "censor" dest)
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page "https://github.com/jaseg/lolcat")
|
|
|
|
|
(synopsis "Rainbow coloring effect for text console display")
|
|
|
|
|
(description "@command{lolcat} concatenates files and streams like
|
|
|
|
|
regular @command{cat}, but it also adds terminal escape codes between
|
|
|
|
|
characters and lines resulting in a rainbow effect.")
|
|
|
|
|
(license license:wtfpl2))))
|
|
|
|
|
|
2020-02-21 09:32:01 +01:00
|
|
|
|
(define-public foobillard++
|
|
|
|
|
;; Even though this latest revision is old already, stable release is
|
|
|
|
|
;; lagging way behind it, and has issues with textures rendering.
|
|
|
|
|
(let ((svn-revision 170))
|
|
|
|
|
(package
|
|
|
|
|
(name "foobillard++")
|
|
|
|
|
(version (string-append "3.43-r" (number->string svn-revision)))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method svn-fetch)
|
|
|
|
|
(uri (svn-reference
|
|
|
|
|
(url "svn://svn.code.sf.net/p/foobillardplus/code/")
|
|
|
|
|
(revision svn-revision)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "00b693ys5zvzjbjzzj3dqfzm5xw64gwjf9m8qv6bkmf0klbhmayk"))
|
|
|
|
|
(patches
|
|
|
|
|
(search-patches "foobillard++-pkg-config.patch"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Unfortunately, the game includes background music with
|
|
|
|
|
;; a non-commercial clause. Delete it.
|
|
|
|
|
(for-each delete-file (find-files "data/music" "\\.ogg$"))
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
;; Install data in a less exotic location.
|
|
|
|
|
(string-append "--prefix=" (assoc-ref %outputs "out") "/share")
|
|
|
|
|
;; Prevent a build error about undefined trigonometric functions.
|
|
|
|
|
"--enable-fastmath=no")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-makefile
|
|
|
|
|
;; Remove hard-coded directories. Also fix installation
|
|
|
|
|
;; rule: it tries to move around non-existent files or
|
|
|
|
|
;; files already moved.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "Makefile.am"
|
|
|
|
|
(("/usr") (assoc-ref outputs "out"))
|
|
|
|
|
(("cp .*?/foobillardplus\\.desktop.*") "")
|
|
|
|
|
(("cp .*?/foobillardplus\\.(png|xbm) \\$\\(datarootdir\\).*")
|
|
|
|
|
""))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'unbundle-font
|
|
|
|
|
;; XXX: The package ships with LinBiolinum_aSB.ttf and
|
|
|
|
|
;; LinBiolinum_aS.ttf, which are not provided by
|
|
|
|
|
;; `font-linuxlibertine' package. Therefore, we cannot replace
|
|
|
|
|
;; them yet.
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((dejavu (string-append (assoc-ref inputs "font-dejavu")
|
|
|
|
|
"/share/fonts/truetype/")))
|
|
|
|
|
(with-directory-excursion "data"
|
|
|
|
|
(for-each (lambda (f)
|
|
|
|
|
(delete-file f)
|
|
|
|
|
(symlink (string-append dejavu f) f))
|
|
|
|
|
'("DejaVuSans-Bold.ttf" "DejaVuSans.ttf"))))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'bootstrap
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "aclocal" "--force")
|
|
|
|
|
(invoke "autoconf" "-f")
|
|
|
|
|
(invoke "autoheader" "-f")
|
|
|
|
|
(invoke "automake" "-a" "-c" "-f")))
|
|
|
|
|
(add-before 'build 'prepare-build
|
|
|
|
|
;; Set correct environment for SDL.
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "CPATH"
|
|
|
|
|
(string-append (assoc-ref inputs "sdl")
|
|
|
|
|
"/include/SDL:"
|
|
|
|
|
(or (getenv "CPATH") "")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'build 'fix-settings-directory
|
|
|
|
|
;; Hide foobillardplus settings directory in $HOME.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/history.c"
|
|
|
|
|
(("/foobillardplus-data") "/.foobillardplus"))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'install 'create-directories
|
|
|
|
|
;; Install process does not create directories before
|
|
|
|
|
;; trying to move file in it.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(mkdir-p (string-append out "/share/icons"))
|
|
|
|
|
(mkdir-p (string-append out "/share/applications")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'symlink-executable
|
|
|
|
|
;; Symlink executable to $out/bin.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(with-directory-excursion bin
|
|
|
|
|
(symlink "../share/foobillardplus/bin/foobillardplus"
|
|
|
|
|
"foobillardplus"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("font-dejavu" ,font-dejavu)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("sdl" ,(sdl-union (list sdl sdl-mixer sdl-net)))))
|
|
|
|
|
(home-page "http://foobillardplus.sourceforge.net/")
|
|
|
|
|
(synopsis "3D billiard game")
|
|
|
|
|
(description "FooBillard++ is an advanced 3D OpenGL billiard game
|
|
|
|
|
based on the original foobillard 3.0a sources from Florian Berger.
|
|
|
|
|
You can play it with one or two players or against the computer.
|
|
|
|
|
|
|
|
|
|
The game features:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Wood paneled table with gold covers and gold diamonds.
|
|
|
|
|
@item Reflections on balls.
|
|
|
|
|
@item Zoom in and out, rotation, different angles and bird's eye view.
|
|
|
|
|
@item Different game modes: 8 or 9-ball, Snooker or Carambole.
|
|
|
|
|
@item Tournaments. Compete against other players.
|
|
|
|
|
@item Animated cue with strength and eccentric hit adjustment.
|
|
|
|
|
@item Jump shots and snipping.
|
|
|
|
|
@item Realistic gameplay and billiard sounds.
|
|
|
|
|
@item Red-Green stereo.
|
|
|
|
|
@item And much more.
|
|
|
|
|
@end itemize")
|
|
|
|
|
(license (list license:gpl2 license:silofl1.1)))))
|
|
|
|
|
|
2017-03-20 04:06:50 +01:00
|
|
|
|
(define-public freedoom
|
|
|
|
|
(package
|
2019-03-29 00:42:08 +01:00
|
|
|
|
(name "freedoom")
|
2019-11-03 06:05:37 +01:00
|
|
|
|
(version "0.12.1")
|
2019-03-29 00:42:08 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/freedoom/freedoom.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2019-11-03 06:05:37 +01:00
|
|
|
|
(base32 "1mq60lfwaaxmch7hsz8403pwafnlsmsd5z2df2j77ppwndwcrypb"))))
|
2019-03-29 00:42:08 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:make-flags
|
|
|
|
|
(list (string-append "prefix=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:tests? #f ; no check target
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'bootstrap)
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
2019-11-03 06:05:37 +01:00
|
|
|
|
(let* ((freedoom (assoc-ref outputs "out"))
|
2019-03-29 00:42:08 +01:00
|
|
|
|
(wad-dir (string-append freedoom "/share/games/doom")))
|
|
|
|
|
;; Make sure that the install scripts know where to find
|
|
|
|
|
;; the appropriate WAD files.
|
|
|
|
|
(substitute* "dist/freedoom"
|
|
|
|
|
(("IWAD=freedm.wad")
|
|
|
|
|
(string-append "IWAD=" wad-dir "/freedm.wad"))
|
|
|
|
|
(("IWAD=freedoom1.wad")
|
|
|
|
|
(string-append "IWAD=" wad-dir "/freedoom1.wad"))
|
|
|
|
|
(("IWAD=freedoom2.wad")
|
|
|
|
|
(string-append "IWAD=" wad-dir "/freedoom2.wad")))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("asciidoc" ,asciidoc)
|
|
|
|
|
("deutex" ,deutex)
|
2019-11-03 06:05:37 +01:00
|
|
|
|
("python" ,python)
|
|
|
|
|
("python-pillow" ,python-pillow)))
|
2019-03-29 00:42:08 +01:00
|
|
|
|
(home-page "https://freedoom.github.io/")
|
|
|
|
|
(synopsis "Free content game based on the Doom engine")
|
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "DOOMWADDIR")
|
|
|
|
|
(files '("share/games/doom")))
|
|
|
|
|
(search-path-specification
|
|
|
|
|
(variable "DOOMWADPATH")
|
|
|
|
|
(files '("share/games/doom")))))
|
|
|
|
|
(description
|
|
|
|
|
"The Freedoom project aims to create a complete free content first person
|
2017-03-20 04:06:50 +01:00
|
|
|
|
shooter game. Freedoom by itself is just the raw material for a game: it must
|
|
|
|
|
be paired with a compatible game engine (such as @code{prboom-plus}) to be
|
|
|
|
|
played. Freedoom complements the Doom engine with free levels, artwork, sound
|
|
|
|
|
effects and music to make a completely free game.")
|
2019-03-29 00:42:08 +01:00
|
|
|
|
(license license:bsd-3)))
|
2017-03-20 04:06:50 +01:00
|
|
|
|
|
2018-09-24 20:32:07 +02:00
|
|
|
|
(define-public freedroidrpg
|
|
|
|
|
(package
|
|
|
|
|
(name "freedroidrpg")
|
|
|
|
|
(version "0.16.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://ftp.osuosl.org/pub/freedroid/"
|
|
|
|
|
"freedroidRPG-" (version-major+minor version) "/"
|
|
|
|
|
"freedroidRPG-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0n4kn38ncmcy3lrxmq8fjry6c1z50z4q1zcqfig0j4jb0dsz2va2"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
(string-append "CFLAGS="
|
|
|
|
|
"-I" (assoc-ref %build-inputs "sdl-gfx") "/include/SDL "
|
|
|
|
|
"-I" (assoc-ref %build-inputs "sdl-image") "/include/SDL "
|
|
|
|
|
"-I" (assoc-ref %build-inputs "sdl-mixer") "/include/SDL")
|
|
|
|
|
"--enable-opengl")
|
|
|
|
|
;; FIXME: the test suite fails with the following error output:
|
|
|
|
|
;; 4586 Segmentation fault env SDL_VIDEODRIVER=dummy \
|
|
|
|
|
;; SDL_AUDIODRIVER=dummy ./src/freedroidRPG -nb text
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glu" ,glu)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 19:27:01 +01:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2018-09-24 20:32:07 +02:00
|
|
|
|
("libogg" ,libogg)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("python" ,python-wrapper)
|
|
|
|
|
("sdl" ,sdl)
|
|
|
|
|
("sdl-gfx" ,sdl-gfx)
|
|
|
|
|
("sdl-image" ,sdl-image)
|
|
|
|
|
("sdl-mixer" ,sdl-mixer)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "http://www.freedroid.org/")
|
|
|
|
|
(synopsis "Isometric role-playing game against killer robots")
|
|
|
|
|
(description
|
|
|
|
|
"Freedroid RPG is an @dfn{RPG} (Role-Playing Game) with isometric graphics.
|
|
|
|
|
The game tells the story of a world destroyed by a conflict between robots and
|
|
|
|
|
their human masters. To restore peace to humankind, the player must complete
|
|
|
|
|
numerous quests while fighting off rebelling robots---either by taking control
|
|
|
|
|
of them, or by simply blasting them to pieces with melee and ranged weapons in
|
|
|
|
|
real-time combat.")
|
|
|
|
|
(license (list license:expat ; lua/
|
|
|
|
|
license:gpl3 ; src/gen_savestruct.py
|
|
|
|
|
license:gpl2+)))) ; the rest
|
|
|
|
|
|
2018-01-20 04:53:50 +01:00
|
|
|
|
(define-public golly
|
|
|
|
|
(package
|
|
|
|
|
(name "golly")
|
2020-01-19 05:40:10 +01:00
|
|
|
|
(version "3.3")
|
2018-01-20 04:53:50 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2018-03-01 18:00:30 +01:00
|
|
|
|
(uri (string-append "mirror://sourceforge/golly/golly/golly-"
|
2018-01-20 04:53:50 +01:00
|
|
|
|
version "/golly-" version
|
|
|
|
|
"-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-01-19 05:40:10 +01:00
|
|
|
|
"1j3ksnar4rdam4xiyspgyrs1pifbvxfxkrn65brkwxpx39mpgzc8"))))
|
2018-01-20 04:53:50 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:make-flags (list "CC=gcc"
|
|
|
|
|
(string-append "GOLLYDIR="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/share/golly"))
|
|
|
|
|
#:tests? #f ; no check target
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; For some reason, setting the PYTHON_SHLIB make flag doesn't
|
|
|
|
|
;; properly set the path to the Python shared library. This
|
|
|
|
|
;; substitution acheives the same end by different means.
|
|
|
|
|
(substitute* "gui-wx/wxprefs.cpp"
|
|
|
|
|
(("pythonlib = wxT\\(STRINGIFY\\(PYTHON_SHLIB\\)\\)")
|
|
|
|
|
(string-append "pythonlib = \""
|
|
|
|
|
(assoc-ref inputs "python")
|
|
|
|
|
"/lib/libpython-2.7.so\"")))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda* (#:key make-flags outputs #:allow-other-keys)
|
|
|
|
|
(with-directory-excursion "gui-wx"
|
|
|
|
|
(apply invoke `("make" ,@make-flags "-f" "makefile-gtk")))))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(doc (string-append out "/share/doc/golly"))
|
|
|
|
|
(pixmaps (string-append out "/share/pixmaps"))
|
|
|
|
|
(share (string-append out "/share/golly")))
|
|
|
|
|
(for-each (lambda (binary)
|
|
|
|
|
(install-file binary bin))
|
|
|
|
|
'("bgolly" "golly"))
|
|
|
|
|
(for-each (lambda (document)
|
|
|
|
|
(install-file
|
|
|
|
|
(string-append "docs/" document ".html")
|
|
|
|
|
doc))
|
|
|
|
|
'("License" "ReadMe" "ToDo"))
|
|
|
|
|
(install-file "gui-wx/icons/appicon.xpm" pixmaps)
|
|
|
|
|
(for-each (lambda (folder)
|
|
|
|
|
(copy-recursively
|
|
|
|
|
folder
|
|
|
|
|
(string-append share "/" folder)))
|
|
|
|
|
'("Help" "Patterns" "Rules" "Scripts")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("lua" ,lua)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glu" ,glu)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("python" ,python-2)
|
|
|
|
|
("wxwidgets" ,wxwidgets-gtk2)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "http://golly.sourceforge.net/")
|
|
|
|
|
(synopsis "Software for exploring cellular automata")
|
|
|
|
|
(description
|
|
|
|
|
"Golly simulates Conway's Game of Life and many other types of cellular
|
|
|
|
|
automata. The following features are available:
|
|
|
|
|
@enumerate
|
|
|
|
|
@item Support for bounded and unbounded universes, with cells of up to 256
|
|
|
|
|
states.
|
|
|
|
|
@item Support for multiple algorithms, including Bill Gosper's Hashlife
|
|
|
|
|
algorithm.
|
|
|
|
|
@item Loading patterns from BMP, PNG, GIF and TIFF image files.
|
|
|
|
|
@item Reading RLE, macrocell, Life 1.05/1.06, dblife and MCell files.
|
|
|
|
|
@item Scriptable via Lua or Python.
|
|
|
|
|
@item Extracting patterns, rules and scripts from zip files.
|
|
|
|
|
@item Downloading patterns, rules and scripts from online archives.
|
|
|
|
|
@item Pasting patterns from the clipboard.
|
|
|
|
|
@item Unlimited undo/redo.
|
|
|
|
|
@item Configurable keyboard shortcuts.
|
|
|
|
|
@item Auto fit option to keep patterns within the view.
|
|
|
|
|
@end enumerate")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2020-01-12 22:23:49 +01:00
|
|
|
|
(define-public julius
|
|
|
|
|
(package
|
|
|
|
|
(name "julius")
|
2020-06-13 18:14:40 +02:00
|
|
|
|
(version "1.4.1")
|
2020-01-12 22:23:49 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/bvschaik/julius.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-06-13 18:14:40 +02:00
|
|
|
|
(base32 "12hhnhdwgz7hd3hlndbnk15pxggm1375qs0764ija4nl1gbpb110"))
|
2020-05-16 22:53:17 +02:00
|
|
|
|
;; Remove unused bundled libraries.
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(with-directory-excursion "ext"
|
|
|
|
|
(for-each delete-file-recursively '("dirent" "png" "SDL2" "zlib")))
|
|
|
|
|
#t))))
|
2020-01-12 22:23:49 +01:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs
|
2020-05-16 22:53:16 +02:00
|
|
|
|
`(("libpng" ,libpng)
|
|
|
|
|
("sdl2" ,sdl2)
|
2020-01-12 22:23:49 +01:00
|
|
|
|
("sdl2-mixer" ,sdl2-mixer)))
|
|
|
|
|
(home-page "https://github.com/bvschaik/julius")
|
|
|
|
|
(synopsis "Re-implementation of Caesar III game engine")
|
|
|
|
|
(description
|
|
|
|
|
"Engine for Caesar III, a city-building real-time strategy game.
|
|
|
|
|
Julius includes some UI enhancements while preserving the logic (including
|
|
|
|
|
bugs) of the original game, so that saved games are compatible. This package
|
|
|
|
|
does not include game data.")
|
|
|
|
|
(license (list license:agpl3
|
|
|
|
|
license:zlib)))) ; ext/tinyfiledialogs
|
|
|
|
|
|
2020-06-14 15:53:57 +02:00
|
|
|
|
(define-public augustus
|
|
|
|
|
(package
|
|
|
|
|
(inherit julius)
|
|
|
|
|
(name "augustus")
|
|
|
|
|
(version (package-version julius))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Keriew/augustus")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0ii0w0iwa9zv5bbqfcps5mxifd796m6fw4gvjf09pkm3yjgqc0ag"))
|
|
|
|
|
;; Remove unused bundled libraries.
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(with-directory-excursion "ext"
|
|
|
|
|
(for-each delete-file-recursively '("dirent" "png" "SDL2" "zlib")))
|
|
|
|
|
#t))))
|
|
|
|
|
(arguments
|
|
|
|
|
;; No tests. See https://github.com/Keriew/augustus/issues/82.
|
|
|
|
|
`(#:tests? #f))
|
|
|
|
|
(home-page "https://github.com/Keriew/augustus")
|
|
|
|
|
(synopsis "Re-implementation of Caesar III game engine with gameplay changes")
|
|
|
|
|
(description
|
|
|
|
|
"Fork of Julius, an engine for the a city-building real-time strategy
|
|
|
|
|
game Caesar III. Gameplay enhancements include:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item roadblocks;
|
|
|
|
|
@item market special orders;
|
|
|
|
|
@item global labour pool;
|
|
|
|
|
@item partial warehouse storage;
|
|
|
|
|
@item increased game limits;
|
|
|
|
|
@item zoom controls.
|
|
|
|
|
@end itemize\n")))
|
|
|
|
|
|
2017-08-03 17:52:03 +02:00
|
|
|
|
(define-public meandmyshadow
|
|
|
|
|
(package
|
|
|
|
|
(name "meandmyshadow")
|
2018-12-20 19:18:29 +01:00
|
|
|
|
(version "0.5a")
|
2017-08-03 17:52:03 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/meandmyshadow/"
|
|
|
|
|
version "/meandmyshadow-" version
|
|
|
|
|
"-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-12-20 19:18:29 +01:00
|
|
|
|
"0i98v6cgmpsxy7mbb0s2y6f6qq6mkwzk2nrv1nz39ncf948aky2h"))))
|
2017-08-03 17:52:03 +02:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2018-10-31 01:27:07 +01:00
|
|
|
|
`(#:tests? #f)) ; there are no tests
|
2017-08-03 17:52:03 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2018-10-31 01:27:07 +01:00
|
|
|
|
`(("curl" ,curl)
|
2017-08-03 17:52:03 +02:00
|
|
|
|
("libarchive" ,libarchive)
|
2018-10-31 01:27:07 +01:00
|
|
|
|
("lua" ,lua)
|
|
|
|
|
("sdl" ,(sdl-union (list sdl2
|
|
|
|
|
sdl2-image
|
|
|
|
|
sdl2-mixer
|
|
|
|
|
sdl2-ttf)))))
|
2018-10-31 01:27:42 +01:00
|
|
|
|
(home-page "https://acmepjz.github.io/meandmyshadow/")
|
2017-08-03 17:52:03 +02:00
|
|
|
|
(synopsis "Puzzle/platform game")
|
|
|
|
|
(description "Me and My Shadow is a puzzle/platform game in which you try
|
|
|
|
|
to reach the exit by solving puzzles. Spikes, moving blocks, fragile blocks
|
|
|
|
|
and much more stand between you and the exit. Record your moves and let your
|
|
|
|
|
shadow mimic them to reach blocks you couldn't reach alone.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2020-02-17 14:11:27 +01:00
|
|
|
|
(define-public opensurge
|
|
|
|
|
(package
|
|
|
|
|
(name "opensurge")
|
|
|
|
|
(version "0.5.1.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/alemart/opensurge.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0ih7hlqjnp9rv0m4lqf7c0s1ai532way5i4pk45jq1gqm8325dbv"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;there are no tests
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(share (string-append out "/share")))
|
|
|
|
|
(list (string-append "-DCMAKE_INSTALL_PREFIX=" out "/bin")
|
|
|
|
|
(string-append "-DGAME_DATADIR=" share "/" ,name)
|
|
|
|
|
(string-append "-DDESKTOP_ENTRY_PATH=" share "/applications")
|
|
|
|
|
(string-append "-DDESKTOP_ICON_PATH=" share "/pixmaps")
|
|
|
|
|
(string-append "-DDESKTOP_METAINFO_PATH=" share "/metainfo")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-xdg-open-path
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; Look for xdg-open in the store.
|
|
|
|
|
(substitute* "src/core/web.c"
|
|
|
|
|
(("/usr(/bin/xdg-open)" _ bin)
|
|
|
|
|
(string-append (assoc-ref inputs "xdg-utils") bin)))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'unbundle-fonts
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; Replace bundled Roboto fonts with links to the store.
|
|
|
|
|
(with-directory-excursion "fonts"
|
|
|
|
|
(let ((roboto-dir (string-append
|
|
|
|
|
(assoc-ref inputs "font-google-roboto")
|
|
|
|
|
"/share/fonts/truetype/")))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (font)
|
|
|
|
|
(delete-file font)
|
|
|
|
|
(symlink (string-append roboto-dir font) font))
|
|
|
|
|
'("Roboto-Black.ttf" "Roboto-Bold.ttf" "Roboto-Medium.ttf")))
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("allegro" ,allegro)
|
|
|
|
|
("font-google-roboto" ,font-google-roboto)
|
|
|
|
|
("surgescript" ,surgescript)
|
|
|
|
|
("xdg-utils" ,xdg-utils)))
|
|
|
|
|
(home-page "https://opensurge2d.org")
|
|
|
|
|
(synopsis "2D retro side-scrolling game")
|
|
|
|
|
(description "@code{Open Surge} is a 2D retro side-scrolling platformer
|
|
|
|
|
inspired by the Sonic games. The player runs at high speeds through each
|
|
|
|
|
level while collecting items and avoiding obstacles. The game includes a
|
|
|
|
|
built-in level editor.")
|
|
|
|
|
(license
|
|
|
|
|
;; Code is under GPL 3+, assets are under various licenses.
|
|
|
|
|
;; See src/misc/credits.c for details.
|
|
|
|
|
(list license:gpl3+
|
|
|
|
|
license:cc0
|
|
|
|
|
license:cc-by3.0
|
|
|
|
|
license:cc-by-sa3.0
|
|
|
|
|
license:expat
|
|
|
|
|
license:public-domain
|
|
|
|
|
license:silofl1.1))))
|
|
|
|
|
|
2017-07-30 14:13:06 +02:00
|
|
|
|
(define-public knights
|
|
|
|
|
(package
|
|
|
|
|
(name "knights")
|
|
|
|
|
(version "025")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.knightsgame.org.uk/files/knights_"
|
|
|
|
|
version "_src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"18vp2ygvn0s0jz8rm585jqf6hjqkam1ximq81k0r9hpmfj7wb88f"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:make-flags
|
|
|
|
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; No configure script.
|
|
|
|
|
(delete 'configure))
|
|
|
|
|
#:tests? #f)) ;; No check target.
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("sdl-union" ,(sdl-union (list sdl sdl-image sdl-mixer)))
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("curl" ,curl)))
|
2018-02-10 23:53:34 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2017-07-30 14:13:06 +02:00
|
|
|
|
(home-page "http://www.knightsgame.org.uk/")
|
|
|
|
|
(synopsis "Multiplayer dungeon game involving knights and quests")
|
|
|
|
|
(description "Knights is a multiplayer game involving several knights who
|
|
|
|
|
must run around a dungeon and complete various quests. Each game revolves
|
|
|
|
|
around a quest – for example, you might have to find some items and carry them
|
|
|
|
|
back to your starting point. This may sound easy, but as there are only
|
|
|
|
|
enough items in the dungeon for one player to win, you may end up having to
|
|
|
|
|
kill your opponents to get their stuff! Other quests involve escaping from
|
|
|
|
|
the dungeon, fighting a duel to the death against the enemy knights, or
|
|
|
|
|
destroying an ancient book using a special wand.")
|
|
|
|
|
;; This package includes modified sources of lua (X11), enet (Expat), and
|
|
|
|
|
;; guichan (BSD-3). The "Coercri" library is released under the Boost
|
|
|
|
|
;; license. The whole package is released under GPLv3+.
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2020-04-01 16:32:07 +02:00
|
|
|
|
(define-public gnome-chess
|
|
|
|
|
(package
|
|
|
|
|
(name "gnome-chess")
|
2020-06-13 17:26:02 +02:00
|
|
|
|
(version "3.36.1")
|
2020-04-01 16:32:07 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2020-06-13 17:25:55 +02:00
|
|
|
|
(uri (string-append "mirror://gnome/sources/gnome-chess/"
|
2020-04-01 16:32:07 +02:00
|
|
|
|
(version-major+minor version) "/"
|
2020-06-13 17:25:55 +02:00
|
|
|
|
"gnome-chess-" version ".tar.xz"))
|
2020-04-01 16:32:07 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-06-13 17:26:02 +02:00
|
|
|
|
"165bk8s3nngyqbikggspj4rff5nxxfkfcmgzjb4grmsrgbqwk5di"))))
|
2020-04-01 16:32:07 +02:00
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:glib-or-gtk? #t
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'skip-gtk-update-icon-cache
|
|
|
|
|
;; Don't create 'icon-theme.cache'.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "meson_post_install.py"
|
|
|
|
|
(("gtk-update-icon-cache") "true"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gtk+" ,gtk+)
|
|
|
|
|
("librsvg" ,librsvg)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gettext" ,gettext-minimal)
|
|
|
|
|
("glib:bin" ,glib "bin") ; for desktop-file-validate and appstream-util
|
|
|
|
|
("itstool" ,itstool)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("vala" ,vala)))
|
|
|
|
|
(home-page "https://wiki.gnome.org/Apps/Chess")
|
|
|
|
|
(synopsis "Chess board for GNOME")
|
|
|
|
|
(description "GNOME Chess provides a 2D board for playing chess games
|
|
|
|
|
against human or computer players. It supports loading and saving games in
|
|
|
|
|
Portable Game Notation. To play against a computer, install a chess engine
|
|
|
|
|
such as chess or stockfish.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2019-03-30 15:15:12 +01:00
|
|
|
|
(define-public gnubg
|
2013-12-30 19:33:53 +01:00
|
|
|
|
(package
|
2019-03-30 15:15:12 +01:00
|
|
|
|
(name "gnubg")
|
2019-02-15 05:18:04 +01:00
|
|
|
|
(version "1.06.002")
|
2013-12-30 19:33:53 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-01-15 10:52:26 +01:00
|
|
|
|
(uri (string-append "mirror://gnu/gnubg/gnubg-release-"
|
|
|
|
|
version "-sources.tar.gz"))
|
2013-12-30 19:33:53 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-02-15 05:18:04 +01:00
|
|
|
|
"11xwhcli1h12k6rnhhyq4jphzrhfik7i8ah3k32pqw803460n6yf"))))
|
2013-12-30 19:33:53 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2020-05-10 22:29:09 +02:00
|
|
|
|
(inputs `(;; XXX: Build with an older Pango for 'pango_font_get_hb_font' and
|
|
|
|
|
;; 'pango_coverage_get_type'. Try removing this for versions > 1.06.002.
|
|
|
|
|
("pango" ,pango-1.42)
|
|
|
|
|
|
|
|
|
|
("glib" ,glib)
|
2013-12-30 19:33:53 +01:00
|
|
|
|
("readline" ,readline)
|
|
|
|
|
("gtk+" ,gtk+-2)
|
|
|
|
|
("mesa" ,mesa)
|
2014-12-26 06:43:05 +01:00
|
|
|
|
("glu" ,glu)
|
2013-12-30 19:33:53 +01:00
|
|
|
|
("gtkglext" ,gtkglext)
|
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
|
("libcanberra" ,libcanberra)))
|
|
|
|
|
(native-inputs `(("python-2" ,python-2)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
2020-01-15 11:21:36 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'install-desktop-file
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(apps (string-append out "/share/applications")))
|
|
|
|
|
(mkdir-p apps)
|
|
|
|
|
(with-output-to-file (string-append apps "/gnubg.desktop")
|
|
|
|
|
(lambda _
|
|
|
|
|
(format #t
|
|
|
|
|
"[Desktop Entry]~@
|
|
|
|
|
Name=GNU Backgammon~@
|
|
|
|
|
Exec=~a/bin/gnubg -w~@
|
|
|
|
|
Icon=gnubg~@
|
|
|
|
|
Categories=Game;~@
|
|
|
|
|
Terminal=false~@
|
|
|
|
|
Type=Application~%"
|
|
|
|
|
out))))
|
|
|
|
|
#t)))))
|
2020-01-15 10:52:26 +01:00
|
|
|
|
(home-page "https://www.gnu.org/software/gnubg/")
|
2013-12-30 19:33:53 +01:00
|
|
|
|
(synopsis "Backgammon game")
|
2019-03-26 13:34:29 +01:00
|
|
|
|
(description "The GNU backgammon application (also known as \"gnubg\") can
|
|
|
|
|
be used for playing, analyzing and teaching the game. It has an advanced
|
|
|
|
|
evaluation engine based on artificial neural networks suitable for both
|
|
|
|
|
beginners and advanced players. In addition to a command-line interface, it
|
|
|
|
|
also features an attractive, 3D representation of the playing board.")
|
2014-11-16 18:56:12 +01:00
|
|
|
|
(license license:gpl3+)))
|
2013-12-30 19:33:53 +01:00
|
|
|
|
|
2013-12-28 08:19:43 +01:00
|
|
|
|
(define-public gnubik
|
|
|
|
|
(package
|
|
|
|
|
(name "gnubik")
|
2017-04-07 15:03:18 +02:00
|
|
|
|
(version "2.4.3")
|
2013-12-28 08:19:43 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/gnubik/gnubik-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-04-07 15:03:18 +02:00
|
|
|
|
"1vlf924mq8hg93bsjj0rzvs0crc6psmlxyc6zn0fr7msnmpx6gib"))))
|
2013-12-28 08:19:43 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2020-05-10 22:16:13 +02:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'skip-gtk-update-icon-cache
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Do not attempt to run 'gtk-update-icon-cache', which is
|
|
|
|
|
;; unnecessary and causes a needless dependency on glib.
|
|
|
|
|
(substitute* "Makefile.in"
|
|
|
|
|
(("gtk-update-icon-cache")
|
|
|
|
|
"true"))
|
|
|
|
|
#t)))))
|
2013-12-28 08:19:43 +01:00
|
|
|
|
(inputs `(("gtk+" ,gtk+-2)
|
|
|
|
|
("mesa" ,mesa)
|
2014-12-26 06:43:47 +01:00
|
|
|
|
("glu" ,glu)
|
2013-12-28 08:19:43 +01:00
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("guile" ,guile-2.0)
|
|
|
|
|
("gtkglext" ,gtkglext)))
|
2016-09-25 09:33:02 +02:00
|
|
|
|
(native-inputs `(("gettext" ,gettext-minimal)
|
2013-12-28 08:19:43 +01:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "https://www.gnu.org/software/gnubik/")
|
2014-01-22 00:22:16 +01:00
|
|
|
|
(synopsis "3d Rubik's cube game")
|
|
|
|
|
(description
|
|
|
|
|
"GNUbik is a puzzle game in which you must manipulate a cube to make
|
2013-12-28 08:19:43 +01:00
|
|
|
|
each of its faces have a uniform color. The game is customizable, allowing
|
|
|
|
|
you to set the size of the cube (the default is 3x3) or to change the colors.
|
2014-09-13 15:31:31 +02:00
|
|
|
|
You may even apply photos to the faces instead of colors. The game is
|
2013-12-28 08:19:43 +01:00
|
|
|
|
scriptable with Guile.")
|
2014-11-16 18:56:12 +01:00
|
|
|
|
(license license:gpl3+)))
|
2014-05-01 02:36:32 +02:00
|
|
|
|
|
2017-02-22 20:13:15 +01:00
|
|
|
|
(define-public gnushogi
|
|
|
|
|
(package
|
|
|
|
|
(name "gnushogi")
|
|
|
|
|
(version "1.4.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/gnushogi/gnushogi-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0a9bsl2nbnb138lq0h14jfc5xvz7hpb2bcsj4mjn6g1hcsl4ik0y"))))
|
|
|
|
|
(arguments `(#:tests? #f)) ;; No check target.
|
|
|
|
|
(build-system gnu-build-system)
|
2017-03-30 00:48:16 +02:00
|
|
|
|
(home-page "https://www.gnu.org/software/gnushogi/")
|
2017-02-22 20:13:15 +01:00
|
|
|
|
(synopsis "The game of Shogi (Japanese chess)")
|
|
|
|
|
(description "GNU Shogi is a program that plays the game Shogi (Japanese
|
|
|
|
|
Chess). It is similar to standard chess but this variant is far more complicated.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2017-08-07 01:58:55 +02:00
|
|
|
|
(define-public ltris
|
|
|
|
|
(package
|
|
|
|
|
(name "ltris")
|
2020-06-13 18:16:56 +02:00
|
|
|
|
(version "1.0.20")
|
2017-08-07 01:58:55 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://prdownloads.sourceforge.net/lgames/"
|
2019-03-29 00:43:05 +01:00
|
|
|
|
"ltris-" version ".tar.gz"))
|
2017-08-07 01:58:55 +02:00
|
|
|
|
(sha256
|
2020-06-13 18:16:56 +02:00
|
|
|
|
(base32 "16zbqsc4amx9g3yjv6054nh4ia09dgfp8k6q4qxpjicl3dw3z0in"))))
|
2017-08-07 01:58:55 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(;; The code in LTris uses traditional GNU semantics for inline functions
|
|
|
|
|
#:configure-flags '("CFLAGS=-fgnu89-inline")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'set-paths 'set-sdl-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "CPATH"
|
|
|
|
|
(string-append (assoc-ref inputs "sdl-union")
|
2019-07-15 19:46:40 +02:00
|
|
|
|
"/include/SDL:"
|
|
|
|
|
(or (getenv "CPATH") "")))
|
2017-08-07 01:58:55 +02:00
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("sdl-union" ,(sdl-union (list sdl sdl-mixer)))))
|
|
|
|
|
(home-page "http://lgames.sourceforge.net/LTris/")
|
|
|
|
|
(synopsis "Tetris clone based on the SDL library")
|
|
|
|
|
(description
|
|
|
|
|
"LTris is a tetris clone: differently shaped blocks are falling down the
|
|
|
|
|
rectangular playing field and can be moved sideways or rotated by 90 degree
|
|
|
|
|
units with the aim of building lines without gaps which then disappear (causing
|
|
|
|
|
any block above the deleted line to fall down). LTris has three game modes: In
|
|
|
|
|
Classic you play until the stack of blocks reaches the top of the playing field
|
|
|
|
|
and no new blocks can enter. In Figures the playing field is reset to a new
|
|
|
|
|
figure each level and later on tiles and lines suddenly appear. In Multiplayer
|
|
|
|
|
up to three players (either human or CPU) compete with each other sending
|
|
|
|
|
removed lines to all opponents. There is also a Demo mode in which you can
|
|
|
|
|
watch your CPU playing while enjoying a cup of tea!")
|
|
|
|
|
(license license:gpl2+)))
|
2018-07-17 20:07:58 +02:00
|
|
|
|
|
|
|
|
|
(define-public nethack
|
|
|
|
|
(package
|
|
|
|
|
(name "nethack")
|
2020-03-10 23:49:21 +01:00
|
|
|
|
(version "3.6.6")
|
2018-07-17 20:07:58 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2019-03-29 00:46:33 +01:00
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://www.nethack.org/download/" version "/nethack-"
|
|
|
|
|
(string-join (string-split version #\.) "") "-src.tgz"))
|
2018-07-17 20:07:58 +02:00
|
|
|
|
(sha256
|
2020-03-10 23:49:21 +01:00
|
|
|
|
(base32 "1liyckjp34j354qnxc1zn9730lh1p2dabrg1hap24z6xnqx0rpng"))))
|
2020-04-02 01:22:25 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bison" ,bison)
|
|
|
|
|
("flex" ,flex)))
|
2018-07-17 20:07:58 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("ncurses" ,ncurses)
|
|
|
|
|
("less" ,less)))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:make-flags
|
|
|
|
|
`(,(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'patch-paths
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "sys/unix/nethack.sh"
|
|
|
|
|
(("^ *cd .*$") ""))
|
|
|
|
|
(substitute* "sys/unix/Makefile.utl"
|
|
|
|
|
(("^YACC *=.*$") "YACC = bison -y\n")
|
|
|
|
|
(("^LEX *=.*$") "LEX = flex\n")
|
|
|
|
|
(("^# CC = gcc") "CC = gcc"))
|
|
|
|
|
(substitute* "sys/unix/hints/linux"
|
|
|
|
|
(("/bin/gzip") (string-append
|
|
|
|
|
(assoc-ref %build-inputs "gzip")
|
|
|
|
|
"/bin/gzip"))
|
|
|
|
|
(("^WINTTYLIB=.*") "WINTTYLIB=-lncurses"))
|
|
|
|
|
(substitute* "include/config.h"
|
2018-07-18 00:12:13 +02:00
|
|
|
|
(("^.*define CHDIR.*$") "")
|
|
|
|
|
(("^/\\* *#*define *REPRODUCIBLE_BUILD *\\*/")
|
|
|
|
|
;; Honor SOURCE_DATE_EPOCH.
|
|
|
|
|
"#define REPRODUCIBLE_BUILD"))
|
|
|
|
|
|
|
|
|
|
;; Note: 'makedefs' rejects and ignores dates that are too old
|
|
|
|
|
;; or too new, so we must choose something reasonable here.
|
|
|
|
|
(setenv "SOURCE_DATE_EPOCH" "1531865062")
|
|
|
|
|
|
2018-07-17 20:07:58 +02:00
|
|
|
|
(substitute* "sys/unix/Makefile.src"
|
|
|
|
|
(("^# CC = gcc") "CC = gcc"))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((bash (string-append
|
|
|
|
|
(assoc-ref %build-inputs "bash")
|
|
|
|
|
"/bin/bash")))
|
|
|
|
|
(with-directory-excursion "sys/unix"
|
|
|
|
|
(substitute* "setup.sh" (("/bin/sh") bash))
|
|
|
|
|
(invoke bash "setup.sh" "hints/linux"))
|
|
|
|
|
#t)))
|
|
|
|
|
(add-after 'install 'fixup-paths
|
|
|
|
|
(lambda _
|
|
|
|
|
(let* ((output (assoc-ref %outputs "out"))
|
|
|
|
|
(nethack-script (string-append output "/bin/nethack")))
|
|
|
|
|
(mkdir-p (string-append output "/games/lib/nethackuserdir"))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (file)
|
|
|
|
|
(rename-file
|
|
|
|
|
(string-append output "/games/lib/nethackdir/" file)
|
|
|
|
|
(string-append output "/games/lib/nethackuserdir/"
|
|
|
|
|
file)))
|
|
|
|
|
'("xlogfile" "logfile" "perm" "record" "save"))
|
|
|
|
|
(mkdir-p (string-append output "/bin"))
|
|
|
|
|
(call-with-output-file nethack-script
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(format port "#!~a/bin/sh
|
|
|
|
|
PATH=~a:$PATH
|
|
|
|
|
if [ ! -d ~~/.config/nethack ]; then
|
|
|
|
|
mkdir -p ~~/.config/nethack
|
|
|
|
|
cp -r ~a/games/lib/nethackuserdir/* ~~/.config/nethack
|
|
|
|
|
chmod -R +w ~~/.config/nethack
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
RUNDIR=$(mktemp -d)
|
|
|
|
|
|
|
|
|
|
cleanup() {
|
|
|
|
|
rm -rf $RUNDIR
|
|
|
|
|
}
|
|
|
|
|
trap cleanup EXIT
|
|
|
|
|
|
|
|
|
|
cd $RUNDIR
|
|
|
|
|
for i in ~~/.config/nethack/*; do
|
|
|
|
|
ln -s $i $(basename $i)
|
|
|
|
|
done
|
|
|
|
|
for i in ~a/games/lib/nethackdir/*; do
|
|
|
|
|
ln -s $i $(basename $i)
|
|
|
|
|
done
|
|
|
|
|
~a/games/nethack"
|
|
|
|
|
(assoc-ref %build-inputs "bash")
|
|
|
|
|
(list->search-path-as-string
|
|
|
|
|
(list
|
|
|
|
|
(string-append
|
|
|
|
|
(assoc-ref %build-inputs "coreutils") "/bin")
|
|
|
|
|
(string-append
|
|
|
|
|
(assoc-ref %build-inputs "less") "/bin"))
|
|
|
|
|
":")
|
|
|
|
|
output
|
|
|
|
|
output
|
|
|
|
|
output)))
|
|
|
|
|
(chmod nethack-script #o555)
|
|
|
|
|
#t)))
|
|
|
|
|
(delete 'check))))
|
|
|
|
|
(home-page "https://nethack.org")
|
|
|
|
|
(synopsis "Classic dungeon crawl game")
|
|
|
|
|
(description "NetHack is a single player dungeon exploration game that runs
|
|
|
|
|
on a wide variety of computer systems, with a variety of graphical and text
|
|
|
|
|
interfaces all using the same game engine. Unlike many other Dungeons &
|
|
|
|
|
Dragons-inspired games, the emphasis in NetHack is on discovering the detail of
|
|
|
|
|
the dungeon and not simply killing everything in sight - in fact, killing
|
|
|
|
|
everything in sight is a good way to die quickly. Each game presents a
|
|
|
|
|
different landscape - the random number generator provides an essentially
|
|
|
|
|
unlimited number of variations of the dungeon and its denizens to be discovered
|
|
|
|
|
by the player in one of a number of characters: you can pick your race, your
|
|
|
|
|
role, and your gender.")
|
|
|
|
|
(license
|
|
|
|
|
(license:fsdg-compatible
|
|
|
|
|
"https://nethack.org/common/license.html"))))
|
2017-08-07 01:58:55 +02:00
|
|
|
|
|
2018-03-21 00:26:15 +01:00
|
|
|
|
(define-public pipewalker
|
|
|
|
|
(package
|
|
|
|
|
(name "pipewalker")
|
|
|
|
|
(version "0.9.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://downloads.sourceforge.net/pipewalker/"
|
2019-03-29 00:47:55 +01:00
|
|
|
|
"pipewalker-" version ".tar.gz"))
|
2018-03-21 00:26:15 +01:00
|
|
|
|
(sha256
|
2019-03-29 00:47:55 +01:00
|
|
|
|
(base32 "1x46wgk0s55562pd96cxagxkn6wpgglq779f9b64ff1k3xzp3myn"))))
|
2018-03-21 00:26:15 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list (string-append "--docdir=" (assoc-ref %outputs "out")
|
|
|
|
|
"/share/doc/" ,name "-" ,version))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'configure 'patch-docdir
|
|
|
|
|
;; Makefile.in ignores configure's ‘--docdir=...’ option. Fix that.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("(pkgdocdatadir = ).*" _ assignment)
|
|
|
|
|
(string-append assignment "$(docdir)\n")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libpng" ,libpng)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("sdl" ,sdl)))
|
|
|
|
|
(home-page "http://pipewalker.sourceforge.net/")
|
|
|
|
|
(synopsis "Logical tile puzzle")
|
|
|
|
|
(description
|
|
|
|
|
"PipeWalker is a simple puzzle game with many diffent themes: connect all
|
|
|
|
|
computers to one network server, bring water from a source to the taps, etc.
|
|
|
|
|
The underlying mechanism is always the same: you must turn each tile in the
|
|
|
|
|
grid in the right direction to combine all components into a single circuit.
|
|
|
|
|
Every puzzle has a complete solution, although there may be more than one.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2017-03-16 04:14:42 +01:00
|
|
|
|
(define-public prboom-plus
|
|
|
|
|
(package
|
|
|
|
|
(name "prboom-plus")
|
|
|
|
|
(version "2.5.1.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-03-29 00:50:36 +01:00
|
|
|
|
(uri (string-append "mirror://sourceforge/prboom-plus/prboom-plus/"
|
|
|
|
|
version "/prboom-plus-" version ".tar.gz"))
|
2017-03-16 04:14:42 +01:00
|
|
|
|
(sha256
|
2019-03-29 00:50:36 +01:00
|
|
|
|
(base32 "151v6nign86m1a2vqz27krsccpc9m4d1jax4y43v2fa82wfj9qp0"))
|
2017-03-16 04:14:42 +01:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
'(begin
|
|
|
|
|
(substitute* "src/version.c"
|
|
|
|
|
(("__DATE__") "")
|
|
|
|
|
(("__TIME__") ""))
|
|
|
|
|
#t))))
|
2017-03-16 04:14:42 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("--disable-cpu-opt")
|
|
|
|
|
#:make-flags `(,(string-append "gamesdir="
|
|
|
|
|
(assoc-ref %outputs "out") "/bin"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'set-paths 'set-sdl'paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "CPATH"
|
|
|
|
|
(string-append (assoc-ref inputs "sdl-union")
|
2019-07-15 19:46:40 +02:00
|
|
|
|
"/include/SDL:"
|
|
|
|
|
(or (getenv "CPATH") "")))
|
2017-03-16 04:14:42 +01:00
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("fluidsynth" ,fluidsynth)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("libmad" ,libmad)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("pcre" ,pcre)
|
|
|
|
|
("portmidi" ,portmidi)
|
|
|
|
|
("sdl-union" ,(sdl-union (list sdl sdl-image sdl-mixer sdl-net)))))
|
|
|
|
|
(home-page "http://prboom-plus.sourceforge.net/")
|
|
|
|
|
(synopsis "Version of the classic 3D shoot'em'up game Doom")
|
|
|
|
|
(description
|
|
|
|
|
"PrBoom+ is a Doom source port developed from the original PrBoom project.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2017-06-01 19:48:44 +02:00
|
|
|
|
(define-public retux
|
|
|
|
|
(package
|
|
|
|
|
(name "retux")
|
2018-10-17 23:04:27 +02:00
|
|
|
|
(version "1.3.6")
|
2017-06-01 19:48:44 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://savannah/retux/"
|
|
|
|
|
(version-major+minor version) "/retux-"
|
|
|
|
|
version "-src.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-10-17 23:04:27 +02:00
|
|
|
|
"01bidh4zisjp3nc436x0g85v60dvwb3ig37i7y01sa71j8fm4fmb"))))
|
2017-06-01 19:48:44 +02:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no check target
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; no setup.py script
|
|
|
|
|
(delete 'build)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(data (string-append out "/share/retux"))
|
|
|
|
|
(doc (string-append out "/share/doc/retux")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
|
|
|
|
|
(substitute* "retux.py"
|
|
|
|
|
;; Use the correct data directory.
|
|
|
|
|
(("os\\.path\\.join\\(os\\.path\\.dirname\\(__file__\\), \"data\"\\),")
|
|
|
|
|
(string-append "\"" data "\","))
|
|
|
|
|
;; Use Python 3 so the patch-shebangs phase works properly.
|
|
|
|
|
((".*python2.*") "#!/usr/bin/python3"))
|
|
|
|
|
|
|
|
|
|
(copy-file "retux.py" (string-append bin "/retux"))
|
|
|
|
|
|
|
|
|
|
(copy-recursively "data" data)
|
|
|
|
|
|
2018-07-30 18:55:22 +02:00
|
|
|
|
(install-file "COPYING" doc)
|
|
|
|
|
#t))))))
|
2017-06-01 19:48:44 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("python-sge-pygame" ,python-sge-pygame)
|
|
|
|
|
("python-six" ,python-six)
|
|
|
|
|
("python-xsge" ,python-xsge)))
|
|
|
|
|
(home-page "http://retux.nongnu.org")
|
|
|
|
|
(synopsis "Action platformer game")
|
|
|
|
|
(description
|
|
|
|
|
"ReTux is an action platformer loosely inspired by the Mario games,
|
|
|
|
|
utilizing the art assets from the @code{SuperTux} project.")
|
|
|
|
|
;; GPL version 3 or later is the license for the code and some art.
|
|
|
|
|
;; The rest of the licenses are for the art exclusively, as listed in
|
|
|
|
|
;; data/LICENSES.
|
|
|
|
|
(license (list license:cc0
|
|
|
|
|
license:cc-by3.0
|
|
|
|
|
license:cc-by-sa3.0
|
|
|
|
|
license:cc-by-sa4.0
|
|
|
|
|
license:gpl2+
|
|
|
|
|
license:gpl3+))))
|
2017-06-05 19:42:45 +02:00
|
|
|
|
|
|
|
|
|
(define-public roguebox-adventures
|
2018-04-30 17:20:15 +02:00
|
|
|
|
(package
|
|
|
|
|
(name "roguebox-adventures")
|
2020-02-24 02:31:32 +01:00
|
|
|
|
(version "3.0.1")
|
2018-04-30 17:20:15 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://download.tuxfamily.org/rba/RogueBoxAdventures_v"
|
|
|
|
|
(string-join (string-split version #\.) "_") "_Source.zip"))
|
|
|
|
|
(file-name (string-append name "-" version ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-02-24 02:31:32 +01:00
|
|
|
|
"05zd03s5w9kcpklfgcggbaa6rwf59nm0q9vcj6gh9v2lh402k067"))))
|
2018-04-30 17:20:15 +02:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no check target
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'unpack
|
|
|
|
|
(lambda* (#:key source #:allow-other-keys)
|
|
|
|
|
(and (invoke "unzip" source)
|
|
|
|
|
;; The actual source is buried a few directories deep.
|
|
|
|
|
(chdir (string-append "RogueBoxAdventures_v"
|
|
|
|
|
(string-join
|
|
|
|
|
(string-split ,version #\.) "_")
|
|
|
|
|
"_Source")))))
|
|
|
|
|
;; no setup.py script
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(data (string-append
|
|
|
|
|
out "/share/games/roguebox-adventures")))
|
|
|
|
|
;; Use the correct data directory.
|
|
|
|
|
(substitute* '("main.py" "LIB/getch.py" "LIB/getch_gcwz.py")
|
|
|
|
|
(("basic_path + os\\.sep + 'DATA'")
|
|
|
|
|
(string-append "'" data "'"))
|
|
|
|
|
(("^basic_path.*$")
|
|
|
|
|
(string-append "basic_path ='" data "'\n")))
|
2020-02-24 02:31:32 +01:00
|
|
|
|
(substitute* "LIB/dialog.py"
|
|
|
|
|
(("d_path = os\\.path\\.dirname\\(.*\\)\\)")
|
|
|
|
|
(string-append "d_path = '" data "'")))
|
2018-04-30 17:20:15 +02:00
|
|
|
|
(substitute* "LIB/gra_files.py"
|
|
|
|
|
(("basic_path = b_path\\.replace\\('/LIB',''\\)")
|
|
|
|
|
(string-append "basic_path ='" data "'\n")))
|
2017-06-05 19:42:45 +02:00
|
|
|
|
|
2018-04-30 17:20:15 +02:00
|
|
|
|
;; The game must save in the user's home directory because
|
|
|
|
|
;; the store is read-only.
|
|
|
|
|
(substitute* "main.py"
|
|
|
|
|
(("home_save = False") "home_save = True")
|
|
|
|
|
(("'icon_small.png'")
|
|
|
|
|
(string-append "'" data "/icon_small.png'"))))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(roguebox-adventures
|
|
|
|
|
(string-append bin "/roguebox-adventures"))
|
|
|
|
|
(data (string-append
|
|
|
|
|
out "/share/games/roguebox-adventures"))
|
|
|
|
|
(lib (string-append data "/LIB"))
|
|
|
|
|
(doc (string-append
|
|
|
|
|
out "/share/doc/roguebox-adventures")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(mkdir-p doc)
|
2017-06-05 19:42:45 +02:00
|
|
|
|
|
2018-04-30 17:20:15 +02:00
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(copy-recursively file
|
|
|
|
|
(string-append data "/" file)))
|
|
|
|
|
'("AUDIO" "FONT" "GRAPHIC" "LIB" "LICENSE"
|
|
|
|
|
"icon_big.png" "icon_small.png"))
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(chmod file #o555)
|
|
|
|
|
(install-file file lib))
|
|
|
|
|
'("main.py" "run.py"))
|
2017-06-05 19:42:45 +02:00
|
|
|
|
|
2018-04-30 17:20:15 +02:00
|
|
|
|
(copy-recursively "DOC" doc)
|
2017-06-05 19:42:45 +02:00
|
|
|
|
|
2018-04-30 17:20:15 +02:00
|
|
|
|
(call-with-output-file
|
|
|
|
|
roguebox-adventures
|
|
|
|
|
(lambda (p)
|
|
|
|
|
(format p "\
|
|
|
|
|
#!~a
|
|
|
|
|
export PYTHONPATH=~a/LIB:~a
|
|
|
|
|
exec -a \"~a\" ~a \"$@\"\n"
|
|
|
|
|
(which "bash") data (getenv "PYTHONPATH")
|
|
|
|
|
(which "python3")
|
|
|
|
|
(string-append lib "/main.py"))))
|
|
|
|
|
(chmod roguebox-adventures #o555))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("unzip" ,unzip)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python-pygame" ,python-pygame)
|
|
|
|
|
("python-tmx" ,python-tmx)))
|
|
|
|
|
(home-page "https://rogueboxadventures.tuxfamily.org")
|
|
|
|
|
(synopsis "A classical roguelike/sandbox game")
|
|
|
|
|
(description
|
|
|
|
|
"RogueBox Adventures is a graphical roguelike with strong influences
|
2017-06-05 19:42:45 +02:00
|
|
|
|
from sandbox games like Minecraft or Terraria. The main idea of RogueBox
|
|
|
|
|
Adventures is to offer the player a kind of roguelike toy-world. This world
|
|
|
|
|
can be explored and changed freely.")
|
2018-04-30 17:20:15 +02:00
|
|
|
|
;; The GPL3+ is for code, the rest are for art.
|
|
|
|
|
(license (list license:cc0
|
|
|
|
|
license:cc-by3.0
|
|
|
|
|
license:gpl3+
|
|
|
|
|
license:silofl1.1))))
|
2017-06-01 19:48:44 +02:00
|
|
|
|
|
2020-06-12 11:22:53 +02:00
|
|
|
|
(define-public seahorse-adventures
|
|
|
|
|
(package
|
|
|
|
|
(name "seahorse-adventures")
|
|
|
|
|
(version "1.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/dulsi/seahorse-adventures.git")
|
|
|
|
|
(commit (string-append "release-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1rnvk06npaqcpjz5z6xcmssz61i32s422lydp49vrnf3j2g4yimd"))
|
|
|
|
|
(modules '((guix build utils)
|
|
|
|
|
(ice-9 ftw)
|
|
|
|
|
(srfi srfi-1)))
|
|
|
|
|
;; Remove non-free (non-commercial) font.
|
|
|
|
|
(snippet
|
|
|
|
|
`(begin
|
|
|
|
|
(for-each delete-file (find-files "data/fonts" "."))
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no test
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'build) ;pure Python
|
|
|
|
|
(replace 'install ;no install script
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(share (string-append out "/share"))
|
|
|
|
|
(applications (string-append share "/applications"))
|
|
|
|
|
(data (string-append share "/seahorse-adventures")))
|
|
|
|
|
;; Install data.
|
|
|
|
|
(for-each (lambda (f)
|
|
|
|
|
(chmod f #o555)
|
|
|
|
|
(install-file f data))
|
|
|
|
|
'("leveledit.py" "run_game.py" "tileedit.py"))
|
|
|
|
|
(for-each (lambda (dir)
|
|
|
|
|
(let ((target (string-append data "/" dir)))
|
|
|
|
|
(mkdir-p target)
|
|
|
|
|
(copy-recursively dir target)))
|
|
|
|
|
'("data" "lib"))
|
|
|
|
|
;; Create executable.
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(let ((executable (string-append bin "/seahorse-adventures")))
|
|
|
|
|
(call-with-output-file executable
|
|
|
|
|
(lambda (p)
|
|
|
|
|
(format p
|
|
|
|
|
"#!~a~@
|
|
|
|
|
export PYTHONPATH=~a:~a~@
|
|
|
|
|
exec -a \"~a\" ~a \"$@\"~%"
|
|
|
|
|
(which "bash") data (getenv "PYTHONPATH")
|
|
|
|
|
(which "python3")
|
|
|
|
|
(string-append data "/run_game.py"))))
|
|
|
|
|
(chmod executable #o555))
|
|
|
|
|
;; Add desktop file.
|
|
|
|
|
(mkdir-p applications)
|
|
|
|
|
(make-desktop-entry-file
|
|
|
|
|
(string-append applications "/seahorse-adventures.desktop")
|
|
|
|
|
#:name "Seahorse Adventures"
|
|
|
|
|
#:comment
|
|
|
|
|
'((#f "Help Barbie the seahorse float on bubbles to the moon"))
|
|
|
|
|
#:exec ,name
|
|
|
|
|
#:icon ,name
|
|
|
|
|
#:categories '("Game" "ActionGame")
|
|
|
|
|
#:keywords '("game" "retro" "platform"))
|
|
|
|
|
;; Add icons.
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (size)
|
|
|
|
|
(let ((dir (string-append share "/icons/hicolor/"
|
|
|
|
|
size "x" size "/apps")))
|
|
|
|
|
(mkdir-p dir)
|
|
|
|
|
(copy-file
|
|
|
|
|
(string-append "icon" size ".png")
|
|
|
|
|
(string-append dir "/searhorse-adventures.png"))))
|
|
|
|
|
'("32" "64" "128")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'unbundle-fonts
|
|
|
|
|
;; Unbundle Bitstream Vera font and replace deleted one.
|
|
|
|
|
(lambda* (#:key outputs inputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(data (string-append out "/share/seahorse-adventures"))
|
|
|
|
|
(vera (string-append (assoc-ref inputs "font-bitstream-vera")
|
|
|
|
|
"/share/fonts/truetype/Vera.ttf")))
|
|
|
|
|
(let ((themes-dir (string-append data "/data/themes/")))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (theme)
|
|
|
|
|
(let ((target (string-append themes-dir theme "/Vera.ttf")))
|
|
|
|
|
(delete-file target)
|
|
|
|
|
(symlink vera target)))
|
|
|
|
|
'("default" "gray")))
|
|
|
|
|
(symlink vera (string-append data "/data/fonts/04B_20__.TTF"))
|
|
|
|
|
(substitute* (string-append data "/lib/main.py")
|
|
|
|
|
(("f_scale = 0.35") "f_scale = 0.47")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("font-bitstream-vera" ,font-bitstream-vera)
|
|
|
|
|
("python-pygame" ,python-pygame)))
|
|
|
|
|
(home-page "http://www.imitationpickles.org/barbie/")
|
|
|
|
|
(synopsis "Help Barbie the seahorse float on bubbles to the moon")
|
|
|
|
|
(description
|
|
|
|
|
"Barbie Seahorse Adventures is a retro style platform arcade game.
|
|
|
|
|
You are Barbie the seahorse who travels through the jungle, up to the
|
|
|
|
|
volcano until you float on bubbles to the moon. On the way to your
|
|
|
|
|
final destination you will encounter various enemies, servants of the
|
|
|
|
|
evil overlord who has stolen the galaxy crystal. Avoid getting hit
|
|
|
|
|
and defeat them with your bubbles!")
|
|
|
|
|
;; GPL2+ is for code, CC0 is for art.
|
|
|
|
|
(license (list license:gpl2+ license:cc0))))
|
|
|
|
|
|
2020-05-17 17:55:20 +02:00
|
|
|
|
(define-public superstarfighter
|
|
|
|
|
(package
|
|
|
|
|
(name "superstarfighter")
|
|
|
|
|
(version "0.6.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/notapixelstudio/superstarfighter.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1fly63yf5ls1xwm15if4lxwy67wi84k4gvjllljpykrl18vw2y0y"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;there are no tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "godot")
|
|
|
|
|
(setenv "HOME" (getcwd))
|
|
|
|
|
(with-output-to-file "export_presets.cfg"
|
|
|
|
|
(lambda ()
|
|
|
|
|
(display
|
|
|
|
|
"[preset.0]
|
|
|
|
|
name=\"Guix\"
|
|
|
|
|
platform=\"Linux/X11\"
|
|
|
|
|
runnable=true
|
|
|
|
|
[preset.0.options]")))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((godot (assoc-ref %build-inputs "godot-headless")))
|
|
|
|
|
(invoke (string-append godot "/bin/godot_server")
|
|
|
|
|
"--export-pack" "Guix"
|
|
|
|
|
"superstarfighter.pck" "project.godot"))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(share (string-append out "/share"))
|
|
|
|
|
(data (string-append share "/superstarfighter"))
|
|
|
|
|
(icons (string-append share "/icons/hicolor/256x256/apps")))
|
|
|
|
|
(install-file "superstarfighter.pck" data)
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(call-with-output-file (string-append bin "/superstarfighter")
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(format port
|
|
|
|
|
"#!/bin/sh~@
|
|
|
|
|
exec ~a/bin/godot --main-pack ~a/superstarfighter.pck~%"
|
|
|
|
|
(assoc-ref inputs "godot")
|
|
|
|
|
data)
|
|
|
|
|
(chmod port #o755)))
|
|
|
|
|
(mkdir-p icons)
|
|
|
|
|
(copy-file "icon.png" (string-append icons "/" ,name ".png"))
|
|
|
|
|
(make-desktop-entry-file
|
|
|
|
|
(string-append share "/applications/" ,name ".desktop")
|
|
|
|
|
#:name "SuperStarfighter"
|
|
|
|
|
#:comment "Fast-paced arcade combat game"
|
|
|
|
|
#:exec ,name
|
|
|
|
|
#:icon ,name
|
|
|
|
|
#:categories '("Game" "ArcadeGame")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("godot-headless" ,godot "headless")))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("godot" ,godot)))
|
|
|
|
|
(home-page "https://notapixel.itch.io/superstarfighter")
|
|
|
|
|
(synopsis "Fast-paced local multiplayer arcade game")
|
|
|
|
|
(description "In SuperStarfighter, up to four local players compete in a
|
|
|
|
|
2D arena with fast-moving ships and missiles. Different game types are
|
|
|
|
|
available, as well as a single-player mode with AI-controlled ships.")
|
|
|
|
|
(license (list license:expat ; game
|
|
|
|
|
license:silofl1.1)))) ; fonts
|
|
|
|
|
|
2017-02-22 20:13:15 +01:00
|
|
|
|
(define-public xshogi
|
|
|
|
|
(package
|
|
|
|
|
(name "xshogi")
|
|
|
|
|
(version "1.4.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/gnushogi/xshogi-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1dns0nhymak44by18sv48m4xb2skiwbi2i3nb9hl6w9iwd2i2brf"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libxaw" ,libxaw)
|
|
|
|
|
("libxt" ,libxt)))
|
2017-03-30 00:48:16 +02:00
|
|
|
|
(home-page "https://www.gnu.org/software/gnushogi/")
|
2017-02-25 13:20:26 +01:00
|
|
|
|
(synopsis "User interface for gnushogi")
|
2017-02-22 20:13:15 +01:00
|
|
|
|
(description "A graphical user interface for the package @code{gnushogi}.")
|
|
|
|
|
;; Contains a copy of GPLv3 but the licence notices simply
|
|
|
|
|
;; state "GNU General Public Licence" without specifying a version.
|
|
|
|
|
(license license:gpl1+)))
|
|
|
|
|
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(define-public abbaye
|
2014-05-01 02:36:32 +02:00
|
|
|
|
(package
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(name "abbaye")
|
2017-01-14 19:42:05 +01:00
|
|
|
|
(version "2.0.1")
|
2014-05-01 02:36:32 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-03-29 00:54:44 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/nevat/abbayedesmorts-gpl.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2014-05-01 02:36:32 +02:00
|
|
|
|
(sha256
|
2019-03-29 00:54:44 +01:00
|
|
|
|
(base32 "1pwqf7r9bqb2p3xrw9i7y8pgr1401fy3mnnqpb1qkhmdl3gqi9hb"))
|
2017-01-14 19:42:05 +01:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Unbundle fonts.
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively "fonts")
|
|
|
|
|
#t))))
|
2014-05-01 02:36:32 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2017-01-14 19:42:05 +01:00
|
|
|
|
'(#:make-flags '("CC=gcc")
|
2015-10-10 09:45:04 +02:00
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'set-paths 'set-sdl-paths
|
2015-10-10 09:47:15 +02:00
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "CPATH"
|
|
|
|
|
(string-append (assoc-ref inputs "sdl-union")
|
2019-07-15 19:46:40 +02:00
|
|
|
|
"/include/SDL:"
|
|
|
|
|
(or (getenv "CPATH") "")))))
|
2015-10-10 09:45:04 +02:00
|
|
|
|
(add-after 'patch-source-shebangs 'patch-makefile
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Replace /usr with package output directory.
|
2017-01-14 19:42:05 +01:00
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("/usr") (assoc-ref outputs "out")))))
|
2015-10-10 09:45:04 +02:00
|
|
|
|
(add-before 'install 'make-install-dirs
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((prefix (assoc-ref outputs "out")))
|
|
|
|
|
;; Create directories that the makefile assumes exist.
|
|
|
|
|
(mkdir-p (string-append prefix "/bin"))
|
|
|
|
|
(mkdir-p (string-append prefix "/share/applications"))
|
|
|
|
|
(mkdir-p (string-append prefix "/share/pixmaps")))))
|
|
|
|
|
;; No configure script.
|
|
|
|
|
(delete 'configure))
|
2014-05-01 02:36:32 +02:00
|
|
|
|
#:tests? #f)) ;; No check target.
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
2017-01-14 19:42:05 +01:00
|
|
|
|
(inputs `(("sdl-union" ,(sdl-union (list sdl2 sdl2-image sdl2-mixer)))))
|
|
|
|
|
(home-page "https://github.com/nevat/abbayedesmorts-gpl")
|
2014-05-01 02:36:32 +02:00
|
|
|
|
(synopsis "GNU/Linux port of the indie game \"l'Abbaye des Morts\"")
|
|
|
|
|
(description "L'Abbaye des Morts is a 2D platform game set in 13th century
|
|
|
|
|
France. The Cathars, who preach about good Christian beliefs, were being
|
|
|
|
|
expelled by the Catholic Church out of the Languedoc region in France. One of
|
|
|
|
|
them, called Jean Raymond, found an old church in which to hide, not knowing
|
|
|
|
|
that beneath its ruins lay buried an ancient evil.")
|
2017-01-14 19:42:05 +01:00
|
|
|
|
(license license:gpl3)))
|
2014-06-13 06:54:44 +02:00
|
|
|
|
|
2017-02-10 23:45:11 +01:00
|
|
|
|
(define-public angband
|
|
|
|
|
(package
|
|
|
|
|
(name "angband")
|
2020-06-13 17:57:38 +02:00
|
|
|
|
(version "4.2.1")
|
2017-02-10 23:45:11 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-06-13 17:57:50 +02:00
|
|
|
|
(uri (string-append "https://rephial.org/downloads/"
|
2018-07-17 09:49:09 +02:00
|
|
|
|
(version-major+minor version)
|
|
|
|
|
"/angband-" version ".tar.gz"))
|
2017-02-10 23:45:11 +01:00
|
|
|
|
(sha256
|
2020-06-13 17:57:38 +02:00
|
|
|
|
(base32 "03qdavkj2ik02mqjxmlm5bn17ba3yxb1rirp8ghnxy3bsk4kbmxc"))
|
2017-02-10 23:45:11 +01:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; So, some of the sounds/graphics/tilesets are under different
|
|
|
|
|
;; licenses... some of them even nonfree! This is a console-only
|
|
|
|
|
;; version of this package so we just remove them.
|
|
|
|
|
;; In the future, if someone tries to make a graphical variant of
|
|
|
|
|
;; this package, they can deal with that mess themselves. :)
|
|
|
|
|
'(begin
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
(for-each (lambda (subdir)
|
|
|
|
|
(let ((lib-subdir (string-append "lib/" subdir)))
|
|
|
|
|
(delete-file-recursively lib-subdir)))
|
|
|
|
|
'("fonts" "icons" "sounds" "tiles"))
|
2017-02-10 23:45:11 +01:00
|
|
|
|
(substitute* "lib/Makefile"
|
2019-08-21 20:49:42 +02:00
|
|
|
|
;; And don't try to invoke makefiles in the directories we removed.
|
2017-02-10 23:45:11 +01:00
|
|
|
|
(("gamedata customize help screens fonts tiles sounds icons user")
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
"gamedata customize help screens user"))
|
|
|
|
|
#t))))
|
2017-02-10 23:45:11 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2018-08-11 17:35:51 +02:00
|
|
|
|
`(#:tests? #f ; no check target
|
2017-02-10 23:45:11 +01:00
|
|
|
|
#:configure-flags (list (string-append "--bindir=" %output "/bin"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-07-17 09:49:09 +02:00
|
|
|
|
(replace 'bootstrap
|
2017-02-10 23:45:11 +01:00
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "acinclude.m4"
|
|
|
|
|
(("ncursesw5-config") "ncursesw6-config"))
|
2018-07-17 09:49:09 +02:00
|
|
|
|
(invoke "sh" "autogen.sh"))))))
|
2017-02-10 23:45:11 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)))
|
|
|
|
|
(inputs `(("ncurses" ,ncurses)))
|
2020-06-13 17:57:50 +02:00
|
|
|
|
(home-page "https://rephial.org/")
|
2017-02-10 23:45:11 +01:00
|
|
|
|
(synopsis "Dungeon exploration roguelike")
|
|
|
|
|
(description "Angband is a Classic dungeon exploration roguelike. Explore
|
|
|
|
|
the depths below Angband, seeking riches, fighting monsters, and preparing to
|
|
|
|
|
fight Morgoth, the Lord of Darkness.")
|
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
|
2014-06-13 06:54:44 +02:00
|
|
|
|
(define-public pingus
|
|
|
|
|
(package
|
|
|
|
|
(name "pingus")
|
|
|
|
|
(version "0.7.6")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-12-23 20:40:58 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2019-10-31 00:40:57 +01:00
|
|
|
|
(url "https://gitlab.com/pingus/pingus.git")
|
2018-12-23 20:40:58 +01:00
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2014-06-13 06:54:44 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-12-23 20:40:58 +01:00
|
|
|
|
"0wp06kcmknsnxz7bjnsndb8x062z7r23fb3yrnbfnj68qhz18y74"))
|
|
|
|
|
(patches (search-patches "pingus-boost-headers.patch"
|
2019-10-31 00:41:31 +01:00
|
|
|
|
"pingus-sdl-libs-config.patch"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(substitute* "src/pingus/screens/demo_session.cpp"
|
|
|
|
|
(("#include <iostream>")
|
|
|
|
|
;; std::function moved to <functional> with C++ 11.
|
|
|
|
|
;; Remove this for versions newer than 0.7.6.
|
|
|
|
|
"#include <iostream>\n#include <functional>"))
|
|
|
|
|
#t))))
|
2014-06-13 06:54:44 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
2017-11-17 10:21:23 +01:00
|
|
|
|
("scons-python2" ,scons-python2)))
|
2014-06-13 06:54:44 +02:00
|
|
|
|
(inputs `(("sdl" ,sdl)
|
|
|
|
|
("sdl-image" ,sdl-image)
|
|
|
|
|
("sdl-mixer" ,sdl-mixer)
|
|
|
|
|
("mesa" ,mesa)
|
2014-12-26 06:51:56 +01:00
|
|
|
|
("glu" ,glu)
|
2014-06-13 06:54:44 +02:00
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("boost" ,boost)))
|
|
|
|
|
(arguments
|
2017-11-17 10:21:23 +01:00
|
|
|
|
'(#:make-flags (list (string-append "PREFIX=" %output))
|
|
|
|
|
#:tests? #f ; no check target
|
2014-06-13 06:54:44 +02:00
|
|
|
|
#:phases
|
2017-03-29 19:41:26 +02:00
|
|
|
|
(modify-phases %standard-phases
|
2017-11-17 10:21:23 +01:00
|
|
|
|
(delete 'configure)))) ; no configure script
|
2018-12-23 20:26:31 +01:00
|
|
|
|
(home-page "https://pingus.seul.org/")
|
2014-06-13 06:54:44 +02:00
|
|
|
|
(synopsis "Lemmings clone")
|
|
|
|
|
(description
|
|
|
|
|
"Pingus is a free Lemmings-like puzzle game in which the player takes
|
|
|
|
|
command of a bunch of small animals and has to guide them through levels.
|
|
|
|
|
Since the animals walk on their own, the player can only influence them by
|
|
|
|
|
giving them commands, like build a bridge, dig a hole, or redirect all animals
|
|
|
|
|
in the other direction. Multiple such commands are necessary to reach the
|
|
|
|
|
level's exit. The game is presented in a 2D side view.")
|
|
|
|
|
;; Some source files are under bsd-3 and gpl2+ licenses.
|
2014-11-16 18:56:12 +01:00
|
|
|
|
(license license:gpl3+)))
|
2014-06-27 10:33:08 +02:00
|
|
|
|
|
|
|
|
|
(define-public talkfilters
|
|
|
|
|
(package
|
|
|
|
|
(name "talkfilters")
|
|
|
|
|
(version "2.3.8")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-03-14 21:22:32 +01:00
|
|
|
|
(uri (string-append "http://www.hyperrealm.com/talkfilters/"
|
|
|
|
|
"talkfilters-" version ".tar.gz"))
|
2014-06-27 10:33:08 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32 "19nc5vq4bnkjvhk8srqddzhcs93jyvpm9r6lzjzwc1mgf08yg0a6"))))
|
|
|
|
|
(build-system gnu-build-system)
|
2017-03-30 00:48:16 +02:00
|
|
|
|
(home-page "https://www.gnu.org/software/talkfilters/")
|
2014-06-27 10:33:08 +02:00
|
|
|
|
(synopsis "Convert English text to humorous dialects")
|
|
|
|
|
(description "The GNU Talk Filters are programs that convert English text
|
|
|
|
|
into stereotyped or otherwise humorous dialects. The filters are provided as
|
|
|
|
|
a C library, so they can easily be integrated into other programs.")
|
2014-11-16 18:56:12 +01:00
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2014-07-01 14:44:04 +02:00
|
|
|
|
(define-public cmatrix
|
|
|
|
|
(package
|
|
|
|
|
(name "cmatrix")
|
2020-01-18 19:07:30 +01:00
|
|
|
|
(version "2.0")
|
2014-07-01 14:44:04 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-01-18 19:07:30 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/abishekvashok/cmatrix.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2014-07-01 14:44:04 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-01-18 19:07:30 +01:00
|
|
|
|
"1h9jz4m4s5l8c3figaq46ja0km1gimrkfxm4dg7mf4s84icmasbm"))))
|
2014-07-01 14:44:04 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2020-01-18 19:07:30 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)))
|
2014-07-01 14:44:04 +02:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
2017-03-29 19:41:26 +02:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; This old ‘configure’ script doesn't support
|
|
|
|
|
;; variables passed as arguments.
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(setenv "CONFIG_SHELL" (which "bash"))
|
2019-01-26 14:58:02 +01:00
|
|
|
|
(invoke "./configure"
|
|
|
|
|
(string-append "--prefix=" out))))))))
|
2014-07-01 14:44:04 +02:00
|
|
|
|
(inputs `(("ncurses" ,ncurses)))
|
2014-12-28 17:57:16 +01:00
|
|
|
|
(home-page "http://www.asty.org/cmatrix")
|
2014-07-01 14:44:04 +02:00
|
|
|
|
(synopsis "Simulate the display from \"The Matrix\"")
|
|
|
|
|
(description "CMatrix simulates the display from \"The Matrix\" and is
|
|
|
|
|
based on the screensaver from the movie's website. It works with terminal
|
|
|
|
|
settings up to 132x300 and can scroll lines all at the same rate or
|
|
|
|
|
asynchronously and at a user-defined speed.")
|
2014-11-16 18:56:12 +01:00
|
|
|
|
(license license:gpl2+)))
|
2014-07-12 19:42:13 +02:00
|
|
|
|
|
|
|
|
|
(define-public chess
|
|
|
|
|
(package
|
|
|
|
|
(name "chess")
|
2020-05-31 18:16:35 +02:00
|
|
|
|
(version "6.2.7")
|
2014-07-12 19:42:13 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/chess/gnuchess-" version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-31 18:16:35 +02:00
|
|
|
|
"0ilq4bfl0lwyzf11q7n2skydjhalfn3bgxhrp5hjxs5bc5d6fdp5"))))
|
2014-07-12 19:42:13 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2017-03-30 00:48:16 +02:00
|
|
|
|
(home-page "https://www.gnu.org/software/chess/")
|
2014-07-12 19:42:13 +02:00
|
|
|
|
(synopsis "Full chess implementation")
|
|
|
|
|
(description "GNU Chess is a chess engine. It allows you to compete
|
|
|
|
|
against the computer in a game of chess, either through the default terminal
|
|
|
|
|
interface or via an external visual interface such as GNU XBoard.")
|
2020-04-18 19:57:15 +02:00
|
|
|
|
(properties '((upstream-name . "gnuchess")
|
|
|
|
|
(ftp-directory . "/chess")))
|
2014-11-16 18:56:12 +01:00
|
|
|
|
(license license:gpl3+)))
|
2014-07-12 19:42:13 +02:00
|
|
|
|
|
2014-11-11 00:05:20 +01:00
|
|
|
|
(define freedink-engine
|
2014-11-10 23:47:00 +01:00
|
|
|
|
(package
|
|
|
|
|
(name "freedink-engine")
|
2019-03-12 01:48:46 +01:00
|
|
|
|
(version "109.6")
|
2014-11-10 23:47:00 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/freedink/freedink-" version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-03-12 01:48:46 +01:00
|
|
|
|
"00hhk1bjdrc1np2qz44sa5n1mb62qzwxbvsnws3vpms6iyn3a2sy"))))
|
2014-11-10 23:47:00 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2019-02-15 07:16:44 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("--disable-embedded-resources")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'disable-graphical-tests
|
|
|
|
|
(lambda _
|
|
|
|
|
;; These tests require a graphical interface.
|
|
|
|
|
(substitute* "src/Makefile.am"
|
|
|
|
|
(("test_gfx_fonts TestIOGfxDisplay") ""))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs `(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("cxxtest" ,cxxtest)
|
|
|
|
|
("gettext" ,gettext-minimal)
|
|
|
|
|
("help2man" ,help2man)
|
2014-11-10 23:47:00 +01:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
2019-02-15 07:16:44 +01:00
|
|
|
|
(inputs `(("sdl-union" ,(sdl-union (list sdl2 sdl2-image sdl2-mixer
|
|
|
|
|
sdl2-ttf sdl2-gfx)))
|
2014-11-10 23:47:00 +01:00
|
|
|
|
("fontconfig" ,fontconfig)
|
2019-02-15 07:16:44 +01:00
|
|
|
|
("glm" ,glm)))
|
2019-01-20 19:02:33 +01:00
|
|
|
|
(properties '((ftp-directory . "/freedink")
|
|
|
|
|
(upstream-name . "freedink")))
|
2017-03-30 00:48:16 +02:00
|
|
|
|
(home-page "https://www.gnu.org/software/freedink/")
|
2014-11-10 23:47:00 +01:00
|
|
|
|
(synopsis "Twisted adventures of young pig farmer Dink Smallwood")
|
|
|
|
|
(description
|
|
|
|
|
"GNU FreeDink is a free and portable re-implementation of the engine
|
|
|
|
|
for the role-playing game Dink Smallwood. It supports not only the original
|
|
|
|
|
game data files but it also supports user-produced game mods or \"D-Mods\".
|
|
|
|
|
To that extent, it also includes a front-end for managing all of your D-Mods.")
|
2014-11-16 18:56:12 +01:00
|
|
|
|
(license license:gpl3+)))
|
2014-11-10 23:47:00 +01:00
|
|
|
|
|
2014-11-11 00:05:20 +01:00
|
|
|
|
(define freedink-data
|
2014-11-10 23:47:00 +01:00
|
|
|
|
(package
|
|
|
|
|
(name "freedink-data")
|
2019-01-20 19:11:12 +01:00
|
|
|
|
(version "1.08.20190120")
|
2014-11-10 23:47:00 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/freedink/freedink-data-"
|
2019-01-20 19:11:12 +01:00
|
|
|
|
version ".tar.gz"))
|
2014-11-10 23:47:00 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-01-20 19:11:12 +01:00
|
|
|
|
"17gvryadlxk172mblbsil7hina1z5wahwaxnr6g3mdq57dvl8pvi"))))
|
2014-11-10 23:47:00 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2017-03-29 19:41:26 +02:00
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(delete 'check)) ; no tests
|
2014-11-10 23:47:00 +01:00
|
|
|
|
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))))
|
2019-01-20 19:03:14 +01:00
|
|
|
|
(properties '((ftp-directory . "/freedink")))
|
2017-03-30 00:48:16 +02:00
|
|
|
|
(home-page "https://www.gnu.org/software/freedink/")
|
2014-11-10 23:47:00 +01:00
|
|
|
|
(synopsis "Game data for GNU Freedink")
|
|
|
|
|
(description
|
|
|
|
|
"This package contains the game data of GNU Freedink.")
|
2014-11-16 18:56:12 +01:00
|
|
|
|
(license license:gpl3+)))
|
2014-11-10 23:47:00 +01:00
|
|
|
|
|
2018-07-02 17:04:28 +02:00
|
|
|
|
(define-public freedink-dfarc
|
|
|
|
|
(package
|
|
|
|
|
(name "freedink-dfarc")
|
|
|
|
|
(version "3.14")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/freedink/dfarc-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1yp8n3w426xnlp10xk06vfi2y3k9xrcfyck7s7qs1v0ys7n284d5"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("intltool" ,intltool)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("bzip2" ,bzip2)
|
|
|
|
|
("wxwidgets" ,wxwidgets)))
|
2019-01-20 19:03:50 +01:00
|
|
|
|
(properties '((ftp-directory . "/freedink")
|
|
|
|
|
(upstream-name . "dfarc")))
|
2018-07-02 17:04:28 +02:00
|
|
|
|
(home-page "https://www.gnu.org/software/freedink/")
|
|
|
|
|
(synopsis "Front-end for managing and playing Dink Modules")
|
|
|
|
|
(description "DFArc makes it easy to play and manage the GNU FreeDink game
|
|
|
|
|
and its numerous D-Mods.")
|
|
|
|
|
(license license:gpl3+)))
|
2014-11-10 23:47:00 +01:00
|
|
|
|
|
2014-11-11 00:05:20 +01:00
|
|
|
|
(define-public freedink
|
|
|
|
|
;; This is a wrapper that tells the engine where to find the data.
|
|
|
|
|
(package (inherit freedink-engine)
|
|
|
|
|
(name "freedink")
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:builder (begin
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
|
|
|
|
|
(let* ((output (assoc-ref %outputs "out"))
|
|
|
|
|
(bin (string-append output "/bin"))
|
|
|
|
|
(executable (string-append bin "/freedink")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(call-with-output-file executable
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(format port "#!~a/bin/sh
|
|
|
|
|
exec ~a/bin/freedink -refdir ~a/share/dink\n"
|
|
|
|
|
(assoc-ref %build-inputs "bash")
|
|
|
|
|
(assoc-ref %build-inputs "engine")
|
|
|
|
|
(assoc-ref %build-inputs "data"))
|
gnu: Use invoke and return #t from all builders.
* gnu/packages/admin.scm, gnu/packages/android.scm, gnu/packages/audio.scm,
gnu/packages/avr.scm, gnu/packages/base.scm, gnu/packages/bioinformatics.scm,
gnu/packages/certs.scm, gnu/packages/check.scm, gnu/packages/code.scm,
gnu/packages/commencement.scm, gnu/packages/dictionaries.scm,
gnu/packages/docbook.scm, gnu/packages/emacs.scm, gnu/packages/embedded.scm,
gnu/packages/fonts.scm, gnu/packages/games.scm, gnu/packages/gnome.scm,
gnu/packages/gnu-doc.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm,
gnu/packages/javascript.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lxde.scm,
gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm,
gnu/packages/pkg-config.scm, gnu/packages/qt.scm, gnu/packages/rust.scm,
gnu/packages/scheme.scm, gnu/packages/sdl.scm, gnu/packages/statistics.scm,
gnu/packages/syncthing.scm, gnu/packages/tex.scm, gnu/packages/web.scm,
gnu/packages/wine.scm, gnu/packages/xfce.scm: In the builders of packages
using 'trivial-build-system', use invoke where appropriate, raise exceptions
on errors, and otherwise return #t.
2018-03-28 02:14:05 +02:00
|
|
|
|
(chmod port #o777)))
|
|
|
|
|
#t))
|
2014-11-11 00:05:20 +01:00
|
|
|
|
#:modules ((guix build utils))))
|
|
|
|
|
(inputs `(("engine" ,freedink-engine)
|
|
|
|
|
("data" ,freedink-data)
|
|
|
|
|
("bash" ,bash)))
|
|
|
|
|
(native-inputs '())))
|
|
|
|
|
|
2014-07-12 19:42:13 +02:00
|
|
|
|
(define-public xboard
|
|
|
|
|
(package
|
|
|
|
|
(name "xboard")
|
2016-10-09 08:18:51 +02:00
|
|
|
|
(version "4.9.1")
|
2014-07-12 19:42:13 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/xboard/xboard-" version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-10-09 08:18:51 +02:00
|
|
|
|
"1mkh36xnnacnz9r00b5f9ld9309k32jv6mcavklbdnca8bl56bib"))))
|
2014-07-12 19:42:13 +02:00
|
|
|
|
(build-system gnu-build-system)
|
2016-06-09 07:59:50 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("gtk+" ,gtk+-2)
|
|
|
|
|
("librsvg" ,librsvg)))
|
2016-10-09 08:18:51 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("texinfo" ,texinfo)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
2017-03-30 00:48:16 +02:00
|
|
|
|
(home-page "https://www.gnu.org/software/xboard/")
|
2014-07-12 19:42:13 +02:00
|
|
|
|
(synopsis "Graphical user interface for chess programs")
|
|
|
|
|
(description "GNU XBoard is a graphical board for all varieties of chess,
|
|
|
|
|
including international chess, xiangqi (Chinese chess), shogi (Japanese chess)
|
|
|
|
|
and Makruk. Several lesser-known variants are also supported. It presents a
|
|
|
|
|
fully interactive graphical interface and it can load and save games in the
|
|
|
|
|
Portable Game Notation.")
|
2014-11-16 18:56:12 +01:00
|
|
|
|
(license license:gpl3+)))
|
2014-10-13 12:33:39 +02:00
|
|
|
|
|
2014-11-12 13:28:51 +01:00
|
|
|
|
(define-public gtypist
|
|
|
|
|
(package
|
|
|
|
|
(name "gtypist")
|
|
|
|
|
(version "2.9.5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/gtypist/gtypist-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0xzrkkmj0b1dw3yr0m9hml2y634cc4h61im6zwcq57s7285z8fn1"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; We do not provide `ncurses.h' within an `ncursesw'
|
|
|
|
|
;; sub-directory, so patch the source accordingly. See
|
|
|
|
|
;; <http://bugs.gnu.org/19018>.
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
'(begin
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(substitute* file
|
|
|
|
|
(("ncursesw/ncurses.h")
|
|
|
|
|
"ncurses.h")))
|
|
|
|
|
(find-files "." "configure$|\\.c$"))
|
|
|
|
|
#t))))
|
2014-11-12 13:28:51 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("ncurses" ,ncurses)
|
|
|
|
|
("perl" ,perl)))
|
2017-03-30 00:48:16 +02:00
|
|
|
|
(home-page "https://www.gnu.org/software/gtypist/")
|
2014-11-12 13:28:51 +01:00
|
|
|
|
(synopsis "Typing tutor")
|
|
|
|
|
(description
|
|
|
|
|
"GNU Typist is a universal typing tutor. It can be used to learn and
|
|
|
|
|
practice touch-typing. Several tutorials are included; in addition to
|
|
|
|
|
tutorials for the standard QWERTY layout, there are also tutorials for the
|
|
|
|
|
alternative layouts Dvorak and Colemak, as well as for the numpad. Tutorials
|
|
|
|
|
are primarily in English, however some in other languages are provided.")
|
2014-11-16 18:56:12 +01:00
|
|
|
|
(license license:gpl3+)))
|
2014-11-13 15:50:57 +01:00
|
|
|
|
|
2014-11-16 18:56:12 +01:00
|
|
|
|
(define-public irrlicht
|
|
|
|
|
(package
|
|
|
|
|
(name "irrlicht")
|
2016-10-17 08:48:06 +02:00
|
|
|
|
(version "1.8.4")
|
2014-11-16 18:56:12 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://sourceforge/irrlicht/Irrlicht%20SDK/"
|
|
|
|
|
(version-major+minor version)
|
|
|
|
|
"/" version "/irrlicht-" version ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-08-02 10:56:01 +02:00
|
|
|
|
"0cz4z4dwrv5ypl19ll67wl6jjpy5k6ly4vr042w4br88qq5jhazl"))
|
|
|
|
|
(patches (search-patches "irrlicht-use-system-libs.patch"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
'("bin" ; bundled compiled Windows binaries"
|
|
|
|
|
"source/Irrlicht/MacOSX"
|
|
|
|
|
"source/Irrlicht/bzip2"
|
|
|
|
|
"source/Irrlicht/jpeglib"
|
|
|
|
|
"source/Irrlicht/libpng"
|
|
|
|
|
"source/Irrlicht/lzma"
|
|
|
|
|
"source/Irrlicht/zlib"))
|
|
|
|
|
(delete-file "source/Irrlicht/glext.h")
|
|
|
|
|
(delete-file "source/Irrlicht/glxext.h")
|
|
|
|
|
(delete-file "source/Irrlicht/wglext.h")
|
|
|
|
|
#t))))
|
2014-11-16 18:56:12 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2017-03-29 19:41:26 +02:00
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2018-08-02 10:56:01 +02:00
|
|
|
|
(add-after 'unpack 'chdir-to-source
|
|
|
|
|
(lambda _
|
|
|
|
|
;; The actual source is buried a few directories deep.
|
|
|
|
|
(chdir "source/Irrlicht/")
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'chdir-to-source 'fix-build-env
|
2017-03-29 19:41:26 +02:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("INSTALL_DIR = /usr/local/lib")
|
2018-08-02 10:56:01 +02:00
|
|
|
|
(string-append "INSTALL_DIR = " out "/lib"))
|
|
|
|
|
;; Add '-fpermissive' to the CXXFLAGS
|
|
|
|
|
(("-Wall") "-Wall -fpermissive")) ; CImageLoaderJPG.cpp
|
2017-03-29 19:41:26 +02:00
|
|
|
|
;; The Makefile assumes these directories exist.
|
|
|
|
|
(mkdir-p (string-append out "/lib"))
|
|
|
|
|
(mkdir-p (string-append out "/include")))))
|
|
|
|
|
(delete 'configure)) ; no configure script
|
|
|
|
|
#:tests? #f ; no check target
|
2014-11-16 18:56:12 +01:00
|
|
|
|
#:make-flags '("CC=gcc" "sharedlib")))
|
|
|
|
|
(inputs
|
2018-08-02 10:56:01 +02:00
|
|
|
|
`(("bzip2" ,bzip2)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 19:27:01 +01:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2018-08-02 10:56:01 +02:00
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxxf86vm" ,libxxf86vm)
|
|
|
|
|
("mesa" ,mesa)))
|
2014-11-16 18:56:12 +01:00
|
|
|
|
(synopsis "3D game engine written in C++")
|
|
|
|
|
(description
|
|
|
|
|
"The Irrlicht Engine is a high performance realtime 3D engine written in
|
|
|
|
|
C++. Features include an OpenGL renderer, extensible materials, scene graph
|
|
|
|
|
management, character animation, particle and other special effects, support
|
|
|
|
|
for common mesh file formats, and collision detection.")
|
|
|
|
|
(home-page "http://irrlicht.sourceforge.net/")
|
|
|
|
|
(license license:zlib)))
|
2014-09-06 20:03:12 +02:00
|
|
|
|
|
2015-08-31 10:09:40 +02:00
|
|
|
|
(define-public mars
|
|
|
|
|
;; The latest release on SourceForge relies on an unreleased version of SFML
|
|
|
|
|
;; with a different API, so we take the latest version from the official
|
|
|
|
|
;; repository on Github.
|
2016-06-02 13:29:52 +02:00
|
|
|
|
(let ((commit "c855d044094a1d92317e38935d81ba938946132e")
|
2015-08-31 10:09:40 +02:00
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "mars")
|
2016-06-02 13:29:52 +02:00
|
|
|
|
(version (string-append "0.7.5." revision "." (string-take commit 7) ))
|
2015-08-31 10:09:40 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/thelaui/M.A.R.S..git")
|
|
|
|
|
(commit commit)))
|
2019-03-29 01:09:59 +01:00
|
|
|
|
(file-name (git-file-name name version))
|
2015-08-31 10:09:40 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1r4c5gap1z2zsv4yjd34qriqkxaq4lb4rykapyzkkdf4g36lc3nh"))
|
2016-04-08 14:18:13 +02:00
|
|
|
|
(patches (search-patches "mars-sfml-2.3.patch"
|
|
|
|
|
"mars-install.patch"))))
|
2015-08-31 10:09:40 +02:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; There are no tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-install-path
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/CMakeLists.txt"
|
|
|
|
|
(("\\$\\{CMAKE_INSTALL_PREFIX\\}/games")
|
|
|
|
|
"${CMAKE_INSTALL_PREFIX}/bin"))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'fix-data-path
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "src/System/settings.cpp"
|
|
|
|
|
(("C_dataPath = \"./data/\";")
|
|
|
|
|
(string-append "C_dataPath = \""
|
|
|
|
|
(assoc-ref outputs "out")
|
|
|
|
|
"/share/games/marsshooter/\";")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("mesa" ,mesa)
|
|
|
|
|
("fribidi" ,fribidi)
|
|
|
|
|
("taglib" ,taglib)
|
|
|
|
|
("sfml" ,sfml)))
|
2020-01-18 23:08:57 +01:00
|
|
|
|
(home-page "http://mars-game.sourceforge.net/")
|
2015-08-31 10:09:40 +02:00
|
|
|
|
(synopsis "2D space shooter")
|
|
|
|
|
(description
|
|
|
|
|
"M.A.R.S. is a 2D space shooter with pretty visual effects and
|
|
|
|
|
attractive physics. Players can battle each other or computer controlled
|
|
|
|
|
enemies in different game modes such as space ball, death match, team death
|
|
|
|
|
match, cannon keep, and grave-itation pit.")
|
|
|
|
|
(license license:gpl3+))))
|
|
|
|
|
|
2014-09-06 20:03:12 +02:00
|
|
|
|
(define minetest-data
|
|
|
|
|
(package
|
|
|
|
|
(name "minetest-data")
|
2020-01-19 15:05:58 +01:00
|
|
|
|
(version "5.1.1")
|
2014-09-06 20:03:12 +02:00
|
|
|
|
(source (origin
|
2018-08-01 21:37:40 +02:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/minetest/minetest_game")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2014-09-06 20:03:12 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-11-03 05:58:52 +01:00
|
|
|
|
"1r9fxz2j24q74a9injvbxbf2xk67fzabv616i676zw2cvgv9hn39"))))
|
2014-09-06 20:03:12 +02:00
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(native-inputs
|
2018-08-01 21:37:40 +02:00
|
|
|
|
`(("source" ,source)))
|
2014-09-06 20:03:12 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder (begin
|
|
|
|
|
(use-modules (guix build utils))
|
2018-08-01 21:37:40 +02:00
|
|
|
|
(let ((install-dir (string-append
|
2014-09-06 20:03:12 +02:00
|
|
|
|
%output
|
2018-08-01 21:37:40 +02:00
|
|
|
|
"/share/minetest/games/minetest_game")))
|
2014-09-06 20:03:12 +02:00
|
|
|
|
(mkdir-p install-dir)
|
2018-08-01 21:37:40 +02:00
|
|
|
|
(copy-recursively
|
|
|
|
|
(assoc-ref %build-inputs "source")
|
|
|
|
|
install-dir)
|
gnu: Use invoke and return #t from all builders.
* gnu/packages/admin.scm, gnu/packages/android.scm, gnu/packages/audio.scm,
gnu/packages/avr.scm, gnu/packages/base.scm, gnu/packages/bioinformatics.scm,
gnu/packages/certs.scm, gnu/packages/check.scm, gnu/packages/code.scm,
gnu/packages/commencement.scm, gnu/packages/dictionaries.scm,
gnu/packages/docbook.scm, gnu/packages/emacs.scm, gnu/packages/embedded.scm,
gnu/packages/fonts.scm, gnu/packages/games.scm, gnu/packages/gnome.scm,
gnu/packages/gnu-doc.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm,
gnu/packages/javascript.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lxde.scm,
gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm,
gnu/packages/pkg-config.scm, gnu/packages/qt.scm, gnu/packages/rust.scm,
gnu/packages/scheme.scm, gnu/packages/sdl.scm, gnu/packages/statistics.scm,
gnu/packages/syncthing.scm, gnu/packages/tex.scm, gnu/packages/web.scm,
gnu/packages/wine.scm, gnu/packages/xfce.scm: In the builders of packages
using 'trivial-build-system', use invoke where appropriate, raise exceptions
on errors, and otherwise return #t.
2018-03-28 02:14:05 +02:00
|
|
|
|
#t))))
|
2014-09-06 20:03:12 +02:00
|
|
|
|
(synopsis "Main game data for the Minetest game engine")
|
|
|
|
|
(description
|
2019-04-21 01:27:00 +02:00
|
|
|
|
"Game data for the Minetest infinite-world block sandbox game.")
|
2020-01-19 17:01:50 +01:00
|
|
|
|
(home-page "https://www.minetest.net/")
|
2014-09-06 20:03:12 +02:00
|
|
|
|
(license license:lgpl2.1+)))
|
2014-09-05 20:46:44 +02:00
|
|
|
|
|
|
|
|
|
(define-public minetest
|
|
|
|
|
(package
|
|
|
|
|
(name "minetest")
|
2020-01-19 15:14:34 +01:00
|
|
|
|
(version "5.1.1")
|
2014-09-05 20:46:44 +02:00
|
|
|
|
(source (origin
|
2018-08-01 21:43:21 +02:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2019-11-21 20:41:33 +01:00
|
|
|
|
(url "https://github.com/minetest/minetest")
|
|
|
|
|
(commit version)))
|
2018-08-01 21:43:21 +02:00
|
|
|
|
(file-name (git-file-name name version))
|
2014-09-05 20:46:44 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-01-19 15:14:34 +01:00
|
|
|
|
"0cjj63333b7j4ydfq0h9yc6d2jvmyjd7n7zbd08yrf0rcibrj2k0"))
|
2018-08-02 11:12:35 +02:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
2019-11-21 20:41:33 +01:00
|
|
|
|
'(begin
|
2019-11-21 15:31:14 +01:00
|
|
|
|
;; Delete bundled libraries.
|
|
|
|
|
(delete-file-recursively "lib")
|
|
|
|
|
#t))))
|
2014-09-05 20:46:44 +02:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2015-03-14 18:22:25 +01:00
|
|
|
|
'(#:configure-flags
|
2019-11-21 20:41:33 +01:00
|
|
|
|
(list "-DRUN_IN_PLACE=0"
|
|
|
|
|
"-DENABLE_FREETYPE=1"
|
|
|
|
|
"-DENABLE_GETTEXT=1"
|
|
|
|
|
"-DENABLE_SYSTEM_JSONCPP=TRUE"
|
|
|
|
|
(string-append "-DIRRLICHT_INCLUDE_DIR="
|
|
|
|
|
(assoc-ref %build-inputs "irrlicht")
|
|
|
|
|
"/include/irrlicht")
|
|
|
|
|
(string-append "-DCURL_INCLUDE_DIR="
|
|
|
|
|
(assoc-ref %build-inputs "curl")
|
|
|
|
|
"/include/curl"))
|
|
|
|
|
#:tests? #f)) ;no check target
|
2014-09-05 20:46:44 +02:00
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "MINETEST_SUBGAME_PATH")
|
packages: Add 'file-type' field to 'search-path-specification'.
Fixes <http://bugs.gnu.org/18033>.
* guix/packages.scm (<search-path-specification>): Rename 'directories'
field to 'files'. Add 'file-type'.
(search-path-specification->sexp): Honor 'file-type'.
* gnu/packages/autotools.scm, gnu/packages/bootstrap.scm,
gnu/packages/cross-base.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/glib.scm,
gnu/packages/guile.scm, gnu/packages/man.scm,
gnu/packages/perl.scm, gnu/packages/pkg-config.scm,
gnu/packages/python.scm, gnu/packages/ruby.scm,
gnu/packages/xfce.scm: Change 'directories' to 'files'.
* tests/packages.scm ("search paths"): Change 'directories' field to
'files'.
* guix/scripts/environment.scm (for-each-search-path): Likewise.
2014-12-27 23:22:08 +01:00
|
|
|
|
(files '("share/minetest/games")))))
|
2014-09-05 20:46:44 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2018-08-02 11:12:35 +02:00
|
|
|
|
`(("curl" ,curl)
|
2019-04-21 01:34:00 +02:00
|
|
|
|
("freetype" ,freetype)
|
2018-08-02 11:12:35 +02:00
|
|
|
|
("gettext" ,gettext-minimal)
|
|
|
|
|
("gmp" ,gmp)
|
|
|
|
|
("irrlicht" ,irrlicht)
|
|
|
|
|
("jsoncpp" ,jsoncpp)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 19:27:01 +01:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2018-08-02 11:12:35 +02:00
|
|
|
|
("libpng" ,libpng)
|
2014-09-05 20:46:44 +02:00
|
|
|
|
("libogg" ,libogg)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
2018-08-02 11:12:35 +02:00
|
|
|
|
("libxxf86vm" ,libxxf86vm)
|
2014-09-05 20:46:44 +02:00
|
|
|
|
("luajit" ,luajit)
|
2018-08-02 11:12:35 +02:00
|
|
|
|
("mesa" ,mesa)
|
2018-08-02 11:53:08 +02:00
|
|
|
|
("ncurses" ,ncurses)
|
2018-08-02 11:12:35 +02:00
|
|
|
|
("openal" ,openal)
|
2014-09-05 20:46:44 +02:00
|
|
|
|
("sqlite" ,sqlite)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("minetest-data" ,minetest-data)))
|
|
|
|
|
(synopsis "Infinite-world block sandbox game")
|
|
|
|
|
(description
|
|
|
|
|
"Minetest is a sandbox construction game. Players can create and destroy
|
|
|
|
|
various types of blocks in a three-dimensional open world. This allows
|
|
|
|
|
forming structures in every possible creation, on multiplayer servers or as a
|
|
|
|
|
single player. Mods and texture packs allow players to personalize the game
|
|
|
|
|
in different ways.")
|
2020-01-19 17:01:50 +01:00
|
|
|
|
(home-page "https://www.minetest.net/")
|
2014-09-05 20:46:44 +02:00
|
|
|
|
(license license:lgpl2.1+)))
|
2014-11-18 16:58:02 +01:00
|
|
|
|
|
|
|
|
|
(define glkterm
|
|
|
|
|
(package
|
|
|
|
|
(name "glkterm")
|
|
|
|
|
(version "1.0.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.ifarchive.org/if-archive/programming/"
|
|
|
|
|
"glk/implementations/glkterm-104.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0zlj9nlnkdlvgbiliczinirqygiq8ikg5hzh5vgcmnpg9pvnwga7"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(propagated-inputs `(("ncurses" ,ncurses))) ; required by Make.glkterm
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; no check target
|
|
|
|
|
#:phases
|
2017-03-29 19:41:26 +02:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(inc (string-append out "/include"))
|
|
|
|
|
(lib (string-append out "/lib")))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (file)
|
|
|
|
|
(install-file file inc))
|
|
|
|
|
'("glk.h" "glkstart.h" "gi_blorb.h" "gi_dispa.h" "Make.glkterm"))
|
|
|
|
|
(install-file "libglkterm.a" lib))
|
|
|
|
|
#t))
|
|
|
|
|
(delete 'configure)))) ; no configure script
|
2014-11-18 16:58:02 +01:00
|
|
|
|
(home-page "http://www.eblong.com/zarf/glk/")
|
|
|
|
|
(synopsis "Curses Implementation of the Glk API")
|
|
|
|
|
(description
|
|
|
|
|
"Glk defines a portable API for applications with text UIs. It was
|
|
|
|
|
primarily designed for interactive fiction, but it should be suitable for many
|
|
|
|
|
interactive text utilities, particularly those based on a command line.
|
|
|
|
|
This is an implementation of the Glk library which runs in a terminal window,
|
2017-03-29 19:01:20 +02:00
|
|
|
|
using the @code{curses.h} library for screen control.")
|
2014-11-18 16:58:02 +01:00
|
|
|
|
(license (license:fsf-free "file://README"))))
|
|
|
|
|
|
|
|
|
|
(define-public glulxe
|
|
|
|
|
(package
|
|
|
|
|
(name "glulxe")
|
2017-03-04 10:05:49 +01:00
|
|
|
|
(version "0.5.4")
|
2014-11-18 16:58:02 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.ifarchive.org/if-archive/programming/"
|
2017-03-04 10:05:49 +01:00
|
|
|
|
"glulx/interpreters/glulxe/glulxe-054.tar.gz"))
|
2014-11-18 16:58:02 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-03-04 10:05:49 +01:00
|
|
|
|
"0vipydg6ra90yf9b3ipgppwxyb2xdhcxwvirgjy0v20wlf56zhhz"))))
|
2014-11-18 16:58:02 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("glk" ,glkterm)))
|
|
|
|
|
(arguments
|
2017-03-29 19:41:26 +02:00
|
|
|
|
'(#:tests? #f ; no check target
|
2014-11-18 16:58:02 +01:00
|
|
|
|
#:make-flags
|
|
|
|
|
(let* ((glk (assoc-ref %build-inputs "glk")))
|
|
|
|
|
(list (string-append "GLKINCLUDEDIR=" glk "/include")
|
|
|
|
|
(string-append "GLKLIBDIR=" glk "/lib")
|
|
|
|
|
(string-append "GLKMAKEFILE=" "Make.glkterm")))
|
|
|
|
|
#:phases
|
2017-03-29 19:41:26 +02:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
|
(install-file "glulxe" bin))
|
|
|
|
|
#t))
|
|
|
|
|
(delete 'configure)))) ; no configure script
|
2020-01-20 01:50:12 +01:00
|
|
|
|
(home-page "https://www.eblong.com/zarf/glulx/")
|
2014-11-18 16:58:02 +01:00
|
|
|
|
(synopsis "Interpreter for Glulx VM")
|
|
|
|
|
(description
|
|
|
|
|
"Glulx is a 32-bit portable virtual machine intended for writing and
|
|
|
|
|
playing interactive fiction. It was designed by Andrew Plotkin to relieve
|
|
|
|
|
some of the restrictions in the venerable Z-machine format. This is the
|
2017-03-29 19:02:34 +02:00
|
|
|
|
reference interpreter, using the Glk API.")
|
2017-03-04 10:05:49 +01:00
|
|
|
|
(license license:expat)))
|
2015-01-16 12:53:00 +01:00
|
|
|
|
|
2019-08-08 22:23:50 +02:00
|
|
|
|
(define-public fifechan
|
|
|
|
|
(package
|
|
|
|
|
(name "fifechan")
|
|
|
|
|
(version "0.1.5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://codeload.github.com/fifengine/"
|
|
|
|
|
"fifechan/tar.gz/" version))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0wxs9vz5x9y8chghd8vp7vfk089lfb0qnzggi17zrqkrngs5zgi9"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("sdl2" ,sdl2)
|
|
|
|
|
("sdl2-image" ,sdl2-image)
|
|
|
|
|
("mesa" ,mesa)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f)) ; No included tests
|
|
|
|
|
(home-page "https://fifengine.github.io/fifechan/")
|
|
|
|
|
(synopsis "Cross platform GUI library specifically for games")
|
|
|
|
|
(description
|
|
|
|
|
"Fifechan is a lightweight cross platform GUI library written in C++
|
|
|
|
|
specifically designed for games. It has a built in set of extendable GUI
|
|
|
|
|
Widgets, and allows users to create more.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2019-08-08 22:23:51 +02:00
|
|
|
|
(define-public fifengine
|
|
|
|
|
(package
|
|
|
|
|
(name "fifengine")
|
|
|
|
|
(version "0.4.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://codeload.github.com/fifengine/"
|
|
|
|
|
"fifengine/tar.gz/" version))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2020-03-13 20:31:27 +01:00
|
|
|
|
(patches (search-patches "fifengine-swig-compat.patch"))
|
2019-08-08 22:23:51 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1y4grw25cq5iqlg05rnbyxw1njl11ypidnlsm3qy4sm3xxdvb0p8"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; TODO The test running fails to run some tests.
|
|
|
|
|
#:modules ((srfi srfi-1)
|
|
|
|
|
(guix build cmake-build-system)
|
|
|
|
|
(guix build utils))
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
(string-append "-DOPENALSOFT_INCLUDE_DIR="
|
|
|
|
|
(assoc-ref %build-inputs "openal")
|
|
|
|
|
"/include/AL")
|
|
|
|
|
(string-append "-DPYTHON_SITE_PACKAGES="
|
|
|
|
|
(assoc-ref %outputs "out")
|
2020-03-13 20:31:27 +01:00
|
|
|
|
"/lib/python"
|
|
|
|
|
,(version-major+minor (package-version python))
|
|
|
|
|
"/site-packages"))
|
2019-08-08 22:23:51 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-run_tests.py
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Patch the test runner to exit with a status of 1 if any test
|
|
|
|
|
;; fails, to allow detecting failures.
|
|
|
|
|
(substitute* "run_tests.py"
|
|
|
|
|
(("ERROR\\. One or more tests failed!'\\)")
|
|
|
|
|
"ERROR. One or more tests failed!')
|
|
|
|
|
\t\texit(1)"))
|
|
|
|
|
#t))
|
|
|
|
|
;; Run tests after installation so that we can make use of the built
|
|
|
|
|
;; python modules.
|
|
|
|
|
(delete 'check)
|
|
|
|
|
(add-after 'install 'check
|
|
|
|
|
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
|
|
|
|
(define python-version
|
|
|
|
|
(let* ((version (last (string-split
|
|
|
|
|
(assoc-ref inputs "python")
|
|
|
|
|
#\-)))
|
|
|
|
|
(components (string-split version #\.))
|
|
|
|
|
(major+minor (take components 2)))
|
|
|
|
|
(string-join major+minor ".")))
|
|
|
|
|
|
|
|
|
|
(when tests?
|
|
|
|
|
;; Set PYTHONPATH so that python finds the installed modules.
|
|
|
|
|
(setenv "PYTHONPATH"
|
|
|
|
|
(string-append (getenv "PYTHONPATH") ":"
|
|
|
|
|
(assoc-ref outputs "out")
|
|
|
|
|
"/lib/python"
|
|
|
|
|
python-version
|
|
|
|
|
"/site-packages"))
|
|
|
|
|
;; The tests require an X server.
|
|
|
|
|
(system "Xvfb :1 &")
|
|
|
|
|
(setenv "DISPLAY" ":1")
|
|
|
|
|
(setenv "XDG_RUNTIME_DIR" "/tmp")
|
|
|
|
|
;; Run tests
|
|
|
|
|
(chdir ,(string-append "../" name "-" version))
|
|
|
|
|
(invoke "python3" "run_tests.py" "-a"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("sdl2" ,sdl2)
|
|
|
|
|
("sdl2-image" ,sdl2-image)
|
|
|
|
|
("sdl2-ttf" ,sdl2-ttf)
|
|
|
|
|
("tinyxml" ,tinyxml)
|
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("libogg" ,libogg)
|
|
|
|
|
("glew" ,glew)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("boost" ,boost)
|
|
|
|
|
("fifechan" ,fifechan)
|
|
|
|
|
("swig" ,swig)
|
|
|
|
|
("python" ,python)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python" ,python)
|
|
|
|
|
("swig" ,swig)
|
|
|
|
|
("xvfb" ,xorg-server)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-future" ,python-future)))
|
|
|
|
|
(home-page "https://www.fifengine.net/")
|
|
|
|
|
(synopsis "FIFE is a multi-platform isometric game engine written in C++")
|
|
|
|
|
(description
|
|
|
|
|
"@acronym{FIFE, Flexible Isometric Free Engine} is a multi-platform
|
|
|
|
|
isometric game engine. Python bindings are included allowing users to create
|
|
|
|
|
games using Python as well as C++.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
|
|
|
|
|
2015-05-21 14:13:41 +02:00
|
|
|
|
(define-public fizmo
|
|
|
|
|
(package
|
|
|
|
|
(name "fizmo")
|
2018-06-20 04:23:41 +02:00
|
|
|
|
(version "0.8.5")
|
2015-05-21 14:13:41 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2018-06-20 04:21:25 +02:00
|
|
|
|
(uri (string-append "https://fizmo.spellbreaker.org/source/"
|
2019-03-29 01:22:49 +01:00
|
|
|
|
"fizmo-" version ".tar.gz"))
|
2015-05-21 14:13:41 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-06-20 04:23:41 +02:00
|
|
|
|
"1amyc4n41jf08kxmdgkk30bzzx54miaxa97w28f417qwn8lrl98w"))))
|
2015-05-21 14:13:41 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags
|
|
|
|
|
(let ((libjpeg (assoc-ref %build-inputs "libjpeg"))
|
|
|
|
|
(ncurses (assoc-ref %build-inputs "ncurses")))
|
2018-06-20 04:23:41 +02:00
|
|
|
|
(list (string-append "--with-jpeg-includedir=" libjpeg "/include")))))
|
2015-05-21 14:13:41 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2017-05-17 23:28:54 +02:00
|
|
|
|
`(("freetype" ,freetype)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 19:27:01 +01:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2015-05-21 14:13:41 +02:00
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libsndfile" ,libsndfile)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("ncurses" ,ncurses)
|
2017-05-17 23:28:54 +02:00
|
|
|
|
("sdl2" ,sdl2)))
|
2018-06-20 04:21:25 +02:00
|
|
|
|
(home-page "https://fizmo.spellbreaker.org/")
|
2015-05-21 14:13:41 +02:00
|
|
|
|
(synopsis "Z-machine interpreter")
|
|
|
|
|
(description
|
|
|
|
|
"Fizmo is a console-based Z-machine interpreter. It is used to play
|
gnu packages: Clean up synopses and descriptions.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm,
gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/databases.scm, gnu/packages/enchant.scm,
gnu/packages/firmware.scm, gnu/packages/fonts.scm,
gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm,
gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm,
gnu/packages/haskell.scm, gnu/packages/language.scm,
gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm,
gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm,
gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm,
gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/pretty-print.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python.scm,
gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm,
gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm,
gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm,
gnu/packages/unrtf.scm, gnu/packages/version-control.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm,
gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm:
Fix typos. Trim long lines. Add missing periods in the end of sentences.
Use double spaces between sentences. Remove trailing whitespaces.
2015-07-17 14:16:07 +02:00
|
|
|
|
interactive fiction, also known as text adventures, which were implemented
|
2015-05-21 14:13:41 +02:00
|
|
|
|
either by Infocom or created using the Inform compiler.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2015-02-20 01:47:55 +01:00
|
|
|
|
(define-public gnugo
|
|
|
|
|
(package
|
|
|
|
|
(name "gnugo")
|
|
|
|
|
(version "3.8")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/gnugo/gnugo-" version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0wkahvqpzq6lzl5r49a4sd4p52frdmphnqsfdv7gdp24bykdfs6s"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("readline" ,readline)))
|
2015-02-24 23:12:16 +01:00
|
|
|
|
(synopsis "Play the game of Go")
|
2015-07-16 11:14:13 +02:00
|
|
|
|
(description
|
|
|
|
|
"GNU Go is a program that plays the game of Go, in which players
|
|
|
|
|
place stones on a grid to form territory or capture other stones. While
|
|
|
|
|
it can be played directly from the terminal, rendered in ASCII characters,
|
|
|
|
|
it is also possible to play GNU Go with 3rd party graphical interfaces or
|
|
|
|
|
even in Emacs. It supports the standard game storage format (SGF, Smart
|
|
|
|
|
Game Format) and inter-process communication format (GMP, Go Modem
|
|
|
|
|
Protocol).")
|
2017-03-30 00:48:16 +02:00
|
|
|
|
(home-page "https://www.gnu.org/software/gnugo/")
|
2015-02-20 01:47:55 +01:00
|
|
|
|
(license license:gpl3+)))
|
2015-04-27 06:40:40 +02:00
|
|
|
|
|
|
|
|
|
(define-public extremetuxracer
|
|
|
|
|
(package
|
|
|
|
|
(name "extremetuxracer")
|
2020-03-09 03:00:18 +01:00
|
|
|
|
(version "0.8.0")
|
2015-04-27 06:40:40 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2016-11-19 18:42:12 +01:00
|
|
|
|
"mirror://sourceforge/extremetuxracer/releases/"
|
2015-04-27 06:40:40 +02:00
|
|
|
|
version "/etr-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-03-09 03:00:18 +01:00
|
|
|
|
"05ysaxvsgps9fxc421kdifsxmc1sn6n79cjaa0k0i3fs9qqrja2b"))))
|
2015-04-27 06:40:40 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
gnu: extremetuxracer: Update to 0.7.3.
* gnu/packages/games.scm (extremetuxracer): Update to 0.7.3.
[inputs]: Remove freetype, mesa, libice, libpng, sdl, sdl-mixer,
sdl-image, libsm, libunwind, libx11, libext, libxi, libxmu, libxt, tcl,
zlib; add sfml.
[arguments]: Remove field.
2016-10-16 20:16:19 +02:00
|
|
|
|
`(("glu" ,glu)
|
|
|
|
|
("sfml" ,sfml)))
|
2018-06-20 04:39:25 +02:00
|
|
|
|
(synopsis "High-speed arctic racing game based on Tux Racer")
|
|
|
|
|
;; Snarfed straight from Debian.
|
2015-04-27 06:40:40 +02:00
|
|
|
|
(description "Extreme Tux Racer, or etracer as it is called for short, is
|
|
|
|
|
a simple OpenGL racing game featuring Tux, the Linux mascot. The goal of the
|
|
|
|
|
game is to slide down a snow- and ice-covered mountain as quickly as possible,
|
|
|
|
|
avoiding the trees and rocks that will slow you down.
|
|
|
|
|
|
|
|
|
|
Collect herrings and other goodies while sliding down the hill, but avoid fish
|
|
|
|
|
bones.
|
|
|
|
|
|
|
|
|
|
This game is based on the GPL version of the famous game TuxRacer.")
|
gnu: Use HTTPS for all sourceforge.net home pages.
* gnu/packages/admin.scm (mingetty, clusterssh)[home-page]: Use HTTPS.
* gnu/packages/audio.scm (libbs2b, soxr)[home-page]: Likewise.
* gnu/packages/bioinformatics.scm (bless)[home-page]: Likewise.
* gnu/packages/display-managers.scm (slim)[home-page]: Likewise.
* gnu/packages/games.scm (extremetuxracer)[home-page]: Likewise.
* gnu/packages/ghostscript.scm (gs-fonts)[home-page]: Likewise.
* gnu/packages/haskell.scm (ghc-regex-base, ghc-regex-posix,
ghc-regex-compat)[home-page]: Likewise.
* gnu/packages/image.scm (imlib2)[home-page]: Likewise.
* gnu/packages/libreoffice.scm (librevenge, libcmis, libodfgen, libmwaw)
[home-page]: Likewise.
* gnu/packages/linux.scm (hdparm, acpid, libavc1394, rng-tools)
[home-page]: Likewise.
* gnu/packages/mail.scm (esmtp)[home-page]: Likewise.
* gnu/packages/mp3.scm (ripperx)[home-page]: Likewise.
* gnu/packages/onc-rpc.scm (libtirpc)[home-page]: Likewise.
* gnu/packages/perl.scm (perl-czplib)[home-page]: Likewise.
* gnu/packages/python.scm (python-pyasn1-modules)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xosd)[home-page]: Likewise.
2017-01-04 01:30:46 +01:00
|
|
|
|
(home-page "https://sourceforge.net/projects/extremetuxracer/")
|
2015-04-27 06:40:40 +02:00
|
|
|
|
(license license:gpl2+)))
|
2015-05-15 08:01:29 +02:00
|
|
|
|
|
2016-10-17 08:43:24 +02:00
|
|
|
|
(define-public supertuxkart
|
|
|
|
|
(package
|
|
|
|
|
(name "supertuxkart")
|
2020-01-18 17:24:47 +01:00
|
|
|
|
(version "1.1")
|
2016-10-17 08:43:24 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/supertuxkart/SuperTuxKart/"
|
|
|
|
|
version "/supertuxkart-" version "-src.tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-01-18 17:24:47 +01:00
|
|
|
|
"1s0ai07g3sswck9mr0142989mrgzzq1njc1qxk5als5b245jpc79"))
|
2016-10-17 08:43:24 +02:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Delete bundled library sources
|
|
|
|
|
'(begin
|
2019-04-21 20:09:48 +02:00
|
|
|
|
;; Supertuxkart uses modified versions of the Irrlicht engine
|
|
|
|
|
;; and the bullet library. The developers gave an explanation
|
|
|
|
|
;; here: http://forum.freegamedev.net/viewtopic.php?f=17&t=3906
|
2020-01-18 17:24:47 +01:00
|
|
|
|
;; FIXME: try to unbundle angelscript and libraqm
|
2016-10-17 08:43:24 +02:00
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
'("lib/zlib"
|
|
|
|
|
"lib/libpng"
|
|
|
|
|
"lib/jpeglib"
|
|
|
|
|
"lib/glew"
|
2019-04-21 20:09:48 +02:00
|
|
|
|
"lib/wiiuse"
|
|
|
|
|
"lib/enet"))
|
2016-10-17 08:43:24 +02:00
|
|
|
|
#t))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no check target
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list "-DUSE_WIIUSE=0"
|
2019-04-21 20:09:48 +02:00
|
|
|
|
;; Do not use the bundled zlib, glew and enet.
|
2016-10-17 08:43:24 +02:00
|
|
|
|
"-DNO_IRR_COMPILE_WITH_ZLIB_=TRUE"
|
2019-04-21 20:09:48 +02:00
|
|
|
|
"-DUSE_SYSTEM_GLEW=TRUE"
|
|
|
|
|
"-DUSE_SYSTEM_ENET=TRUE"
|
2020-01-18 17:24:47 +01:00
|
|
|
|
;; In order to use the system ENet library, IPv6 support (added in
|
|
|
|
|
;; SuperTuxKart version 1.1) must be disabled.
|
|
|
|
|
"-DUSE_IPV6=FALSE"
|
2017-11-22 10:07:59 +01:00
|
|
|
|
;; FIXME: needs libopenglrecorder
|
|
|
|
|
"-DBUILD_RECORDER=0"
|
2016-10-17 08:43:24 +02:00
|
|
|
|
;; Irrlicht returns an integer instead of a boolean
|
2019-04-21 20:09:48 +02:00
|
|
|
|
"-DCMAKE_C_FLAGS=-fpermissive")))
|
2016-10-17 08:43:24 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("glew" ,glew)
|
|
|
|
|
("zlib" ,zlib)
|
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("fribidi" ,fribidi)
|
2020-01-18 17:24:47 +01:00
|
|
|
|
("harfbuzz" ,harfbuzz)
|
2016-10-17 08:43:24 +02:00
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
|
("curl" ,curl)
|
|
|
|
|
;; The following input is needed to build the bundled and modified
|
|
|
|
|
;; version of irrlicht.
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 19:27:01 +01:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2019-04-21 20:09:48 +02:00
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
("enet" ,enet)))
|
2016-10-17 08:43:24 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2020-01-18 17:24:47 +01:00
|
|
|
|
(home-page "https://supertuxkart.net/Main_Page")
|
2016-10-17 08:43:24 +02:00
|
|
|
|
(synopsis "3D kart racing game")
|
|
|
|
|
(description "SuperTuxKart is a 3D kart racing game, with a focus on
|
|
|
|
|
having fun over realism. You can play with up to 4 friends on one PC, racing
|
|
|
|
|
against each other or just trying to beat the computer; single-player mode is
|
|
|
|
|
also available.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2019-08-08 22:23:52 +02:00
|
|
|
|
(define-public unknown-horizons
|
|
|
|
|
(package
|
|
|
|
|
(name "unknown-horizons")
|
|
|
|
|
(version "2019.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://codeload.github.com/unknown-horizons/"
|
|
|
|
|
"unknown-horizons/tar.gz/" version))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1n747p7h0qp48szgp262swg0xh8kxy1bw8ag1qczs4i26hyzs5x4"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'set-HOME
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "HOME" "/tmp")))
|
|
|
|
|
(add-after 'build 'build-extra
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "python3" "./setup.py" "build_i18n")
|
|
|
|
|
(invoke "python3" "horizons/engine/generate_atlases.py" "2048")
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'patch
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* (string-append out "/bin/unknown-horizons")
|
|
|
|
|
(("os\\.chdir\\(get\\_content\\_dir\\_parent_path\\(\\)\\)")
|
|
|
|
|
(string-append "os.chdir(\""
|
|
|
|
|
(assoc-ref outputs "out")
|
|
|
|
|
"/share/unknown-horizons\")"))))
|
|
|
|
|
#t))
|
|
|
|
|
;; TODO: Run GUI tests as well
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "horizons/constants.py"
|
|
|
|
|
(("IS_DEV_VERSION = False")
|
|
|
|
|
"IS_DEV_VERSION = True"))
|
|
|
|
|
(invoke "pytest" "tests")
|
|
|
|
|
(substitute* "horizons/constants.py"
|
|
|
|
|
(("IS_DEV_VERSION = True")
|
|
|
|
|
"IS_DEV_VERSION = False"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("fifengine" ,fifengine)
|
|
|
|
|
("python:tk" ,python "tk")
|
|
|
|
|
("python-pillow" ,python-pillow)
|
|
|
|
|
("python-pyyaml" ,python-pyyaml)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("intltool" ,intltool)
|
|
|
|
|
|
|
|
|
|
;; Required for tests
|
|
|
|
|
("python-greenlet" ,python-greenlet)
|
|
|
|
|
("python-polib" ,python-polib)
|
|
|
|
|
("python-pytest" ,python-pytest)
|
|
|
|
|
("python-pytest-mock" ,python-pytest-mock)))
|
|
|
|
|
(home-page "http://unknown-horizons.org/")
|
|
|
|
|
(synopsis "Isometric realtime strategy, economy and city building simulation")
|
|
|
|
|
(description
|
|
|
|
|
"Unknown Horizons is a 2D realtime strategy simulation with an emphasis
|
|
|
|
|
on economy and city building. Expand your small settlement to a strong and
|
|
|
|
|
wealthy colony, collect taxes and supply your inhabitants with valuable
|
|
|
|
|
goods. Increase your power with a well balanced economy and with strategic
|
|
|
|
|
trade and diplomacy.")
|
|
|
|
|
(license (list
|
|
|
|
|
license:gpl2+ ; Covers code
|
|
|
|
|
license:expat ; tests/dummy.py, ext/polib.py
|
|
|
|
|
license:cc-by-sa3.0 ; Covers some media content
|
|
|
|
|
license:cc-by3.0 ; Covers some media content
|
|
|
|
|
license:bsd-3)))) ; horizons/ext/speaklater.py
|
|
|
|
|
|
2015-05-15 08:01:29 +02:00
|
|
|
|
(define-public gnujump
|
|
|
|
|
(package
|
|
|
|
|
(name "gnujump")
|
|
|
|
|
(version "1.0.8")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/gnujump/gnujump-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"05syy9mzbyqcfnm0hrswlmhwlwx54f0l6zhcaq8c1c0f8dgzxhqk"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before
|
|
|
|
|
'configure 'link-libm
|
2019-09-13 15:49:18 +02:00
|
|
|
|
(lambda _ (setenv "LIBS" "-lm")))
|
|
|
|
|
(add-after 'install 'create-desktop-entry
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(apps (string-append out "/share/applications")))
|
|
|
|
|
(mkdir-p apps)
|
|
|
|
|
(with-output-to-file
|
|
|
|
|
(string-append apps "/gnujump.desktop")
|
|
|
|
|
(lambda _
|
|
|
|
|
(format #t
|
|
|
|
|
"[Desktop Entry]~@
|
|
|
|
|
Name=GNUjump~@
|
|
|
|
|
Comment=Jump up the tower to survive~@
|
|
|
|
|
Exec=~a/bin/gnujump~@
|
|
|
|
|
Terminal=false~@
|
|
|
|
|
Type=Application~@
|
|
|
|
|
Categories=Game;ArcadeGame~%"
|
|
|
|
|
out)))))))))
|
2015-05-15 08:01:29 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("glu" ,glu)
|
gnu: Fix misplaced commas (unquote).
Fix many occurrences of comma (unquote) being placed immediately after the
previous list item, e.g. ("ncurses", ncurses) in the inputs.
* gnu/packages/base.scm (patch, gnu-make),
gnu/packages/bioinformatics.scm (hmmer),
gnu/packages/bittorrent.scm (aria2),
gnu/packages/compression.scm (pbzip2),
gnu/packages/databases.scm (recutils),
gnu/packages/fonts.scm (font-terminus),
gnu/packages/freedesktop.scm (xdg-utils, elogind),
gnu/packages/games.scm (gnujump),
gnu/packages/gnome.scm (libidl, gnumeric, eog, gedit),
gnu/packages/gnunet.scm (gnunet),
gnu/packages/gnuzilla.scm (mozjs, nspr),
gnu/packages/gtk.scm (gtksourceview, gdk-pixbuf),
gnu/packages/lua.scm (lua),
gnu/packages/openstack.scm (python-swiftclient),
gnu/packages/perl.scm (perl-json-any),
gnu/packages/polkit.scm (polkit-qt),
gnu/packages/python.scm (wrap-python3, python-oauthlib)
(python-mccabe-0.2.1, python-contextlib2, python2-rauth),
gnu/packages/qt.scm (qtkeychain),
gnu/packages/ruby.scm (ruby-nokogiri),
gnu/packages/screen.scm (screen),
gnu/packages/ssh.scm (libssh),
gnu/packages/video.scm (ffmpeg, mplayer),
gnu/packages/vim.scm (vim),
gnu/packages/xdisorg.scm (redshift),
gnu/packages/xfce.scm (xfce4-panel, xfce4-settings),
gnu/packages/xnee.scm (xnee),
gnu/packages/xorg.scm (font-adobe100dpi, font-adobe75dpi),
gnu/packages/zsh.scm (zsh): Fix misplaced commas (unquote).
2016-02-27 14:37:28 +01:00
|
|
|
|
("mesa" ,mesa)
|
2015-05-15 08:01:29 +02:00
|
|
|
|
("sdl" ,sdl)
|
|
|
|
|
("sdl-image" ,sdl-image)
|
|
|
|
|
("sdl-mixer" ,sdl-mixer)))
|
|
|
|
|
(home-page "http://gnujump.es.gnu.org/")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Game of jumping to the next floor, trying not to fall")
|
|
|
|
|
(description
|
|
|
|
|
"GNUjump is a simple, yet addictive game in which you must jump from
|
|
|
|
|
platform to platform to avoid falling, while the platforms drop at faster rates
|
|
|
|
|
the higher you go. The game features multiplayer, unlimited FPS, smooth floor
|
|
|
|
|
falling, themeable graphics and sounds, and replays.")
|
|
|
|
|
(license license:gpl3+)))
|
2015-08-13 11:48:43 +02:00
|
|
|
|
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(define-public wesnoth
|
2015-08-13 11:48:43 +02:00
|
|
|
|
(package
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(name "wesnoth")
|
2020-06-18 02:29:41 +02:00
|
|
|
|
(version "1.14.13")
|
2015-08-13 11:48:43 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-07-21 08:35:30 +02:00
|
|
|
|
(uri (string-append "mirror://sourceforge/wesnoth/wesnoth-"
|
2019-02-26 16:46:46 +01:00
|
|
|
|
(version-major+minor version)
|
|
|
|
|
"/wesnoth-" version "/"
|
|
|
|
|
"wesnoth-" version ".tar.bz2"))
|
2015-08-13 11:48:43 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-06-18 02:29:41 +02:00
|
|
|
|
"1pmqj4rah0256qi9w394ksb9apid723i5f5agkg6x1lahb1ac91q"))))
|
2015-08-13 11:48:43 +02:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2020-03-13 20:14:42 +01:00
|
|
|
|
`(#:tests? #f)) ;no check target
|
2015-08-13 11:48:43 +02:00
|
|
|
|
(native-inputs
|
2016-09-25 09:33:02 +02:00
|
|
|
|
`(("gettext" ,gettext-minimal)
|
2015-08-13 11:48:43 +02:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("dbus" ,dbus)
|
|
|
|
|
("fribidi" ,fribidi)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
2018-05-06 22:36:25 +02:00
|
|
|
|
("openssl" ,openssl)
|
2015-08-13 11:48:43 +02:00
|
|
|
|
("pango" ,pango)
|
2018-05-06 22:36:25 +02:00
|
|
|
|
("sdl-union" ,(sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf)))))
|
|
|
|
|
(home-page "https://www.wesnoth.org/")
|
2015-08-13 11:48:43 +02:00
|
|
|
|
(synopsis "Turn-based strategy game")
|
|
|
|
|
(description
|
|
|
|
|
"The Battle for Wesnoth is a fantasy, turn based tactical strategy game,
|
|
|
|
|
with several single player campaigns, and multiplayer games (both networked and
|
|
|
|
|
local).
|
|
|
|
|
|
|
|
|
|
Battle for control on a range of maps, using variety of units which have
|
|
|
|
|
advantages and disadvantages against different types of attacks. Units gain
|
|
|
|
|
experience and advance levels, and are carried over from one scenario to the
|
|
|
|
|
next campaign.")
|
|
|
|
|
(license license:gpl2+)))
|
2015-07-29 03:48:34 +02:00
|
|
|
|
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(define-public wesnoth-server
|
2018-01-21 16:38:41 +01:00
|
|
|
|
(package
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(inherit wesnoth)
|
|
|
|
|
(name "wesnoth-server")
|
2018-01-21 16:38:41 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
2018-05-06 22:36:25 +02:00
|
|
|
|
("icu4c" ,icu4c)
|
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
("sdl2" ,sdl2)))
|
2018-01-21 16:38:41 +01:00
|
|
|
|
(arguments
|
2018-05-06 22:36:25 +02:00
|
|
|
|
`(#:configure-flags '("-DENABLE_GAME=OFF")
|
|
|
|
|
,@(package-arguments wesnoth)))
|
2018-01-21 16:38:41 +01:00
|
|
|
|
(synopsis "Dedicated @emph{Battle for Wesnoth} server")
|
|
|
|
|
(description "This package contains a dedicated server for @emph{The
|
|
|
|
|
Battle for Wesnoth}.")))
|
|
|
|
|
|
2015-07-29 03:48:34 +02:00
|
|
|
|
(define-public gamine
|
|
|
|
|
(package
|
|
|
|
|
(name "gamine")
|
2019-02-15 05:08:24 +01:00
|
|
|
|
(version "1.6")
|
2015-07-29 03:48:34 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/gamine-game/"
|
|
|
|
|
"gamine-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-02-15 05:08:24 +01:00
|
|
|
|
"1sc6f4445ciigd6yw0ri92746k4hk6ps0bvj9fm1gbp3c3fslk5n"))))
|
2015-07-29 03:48:34 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("intltool" ,intltool)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gstreamer" ,gstreamer)
|
2019-02-15 05:08:24 +01:00
|
|
|
|
("gst-plugins-base" ,gst-plugins-base) ; playbin plugin
|
|
|
|
|
("gst-plugins-good" ,gst-plugins-good) ; for wav playback
|
2015-07-29 03:48:34 +02:00
|
|
|
|
("gtk+" ,gtk+)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:make-flags
|
|
|
|
|
(let ((out (assoc-ref %outputs "out")))
|
|
|
|
|
(list (string-append "PREFIX=" out)
|
|
|
|
|
(string-append "SYSCONFDIR=" out "/etc")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after
|
|
|
|
|
'install 'wrap-gamine
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH")))
|
|
|
|
|
(wrap-program (string-append out "/bin/gamine")
|
|
|
|
|
`("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path))))
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "http://gamine-game.sourceforge.net/")
|
|
|
|
|
(synopsis "Mouse and keyboard discovery for children")
|
|
|
|
|
(description
|
|
|
|
|
"Gamine is a game designed for young children who are learning to use the
|
|
|
|
|
mouse and keyboard. The child uses the mouse to draw colored dots and lines
|
|
|
|
|
on the screen and keyboard to display letters.")
|
|
|
|
|
;; Most files under gpl2+ or gpl3+, but eat.wav under gpl3
|
|
|
|
|
(license license:gpl3)))
|
|
|
|
|
|
2015-10-04 19:34:48 +02:00
|
|
|
|
(define-public manaplus
|
|
|
|
|
(package
|
|
|
|
|
(name "manaplus")
|
2019-08-21 21:21:53 +02:00
|
|
|
|
(version "1.9.3.23")
|
2015-10-04 19:34:48 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2019-08-21 21:22:40 +02:00
|
|
|
|
"https://repo.manaplus.org/manaplus/download/"
|
2015-10-04 19:34:48 +02:00
|
|
|
|
version "/manaplus-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-08-21 21:21:53 +02:00
|
|
|
|
"1ky182p4svwdqm6cf7jbns85hidkhkhq4s17cs2p381f0klapfjz"))))
|
2015-10-04 19:34:48 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags
|
|
|
|
|
(list (string-append "CPPFLAGS=-I"
|
|
|
|
|
(assoc-ref %build-inputs "sdl-union")
|
|
|
|
|
"/include/SDL"))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glu" ,glu)
|
|
|
|
|
("curl" ,curl)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("sdl-union" ,(sdl-union))))
|
2019-08-21 21:22:40 +02:00
|
|
|
|
(home-page "https://manaplus.org")
|
2015-10-04 19:34:48 +02:00
|
|
|
|
(synopsis "Client for 'The Mana World' and similar games")
|
|
|
|
|
(description
|
|
|
|
|
"ManaPlus is a 2D MMORPG client for game servers. It is the only
|
|
|
|
|
fully supported client for @uref{http://www.themanaworld.org, The mana
|
|
|
|
|
world}, @uref{http://evolonline.org, Evol Online} and
|
|
|
|
|
@uref{http://landoffire.org, Land of fire}.")
|
|
|
|
|
;; "src/debug/*" and "src/sdl2gfx/*" are under Zlib.
|
|
|
|
|
;; "data/themes/{golden-delicious,jewelry}/*" are under CC-BY-SA.
|
|
|
|
|
;; The rest is under GPL2+.
|
|
|
|
|
(license (list license:gpl2+ license:zlib license:cc-by-sa4.0))))
|
2015-11-01 19:38:53 +01:00
|
|
|
|
|
2016-04-13 03:50:36 +02:00
|
|
|
|
(define openttd-engine
|
|
|
|
|
(package
|
|
|
|
|
(name "openttd-engine")
|
2020-04-11 20:23:43 +02:00
|
|
|
|
(version "1.10.0")
|
2016-04-13 03:50:36 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin (method url-fetch)
|
2020-04-11 20:23:43 +02:00
|
|
|
|
(uri (string-append "https://cdn.openttd.org/openttd-releases/"
|
2016-04-13 03:50:36 +02:00
|
|
|
|
version "/openttd-" version "-source.tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-04-11 20:23:43 +02:00
|
|
|
|
"0lz2y2rjc23k0d97y65cqhy2splw9cmrbvhgz0iqps8xkan1m8hv"))))
|
2016-04-13 03:50:36 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no "check" target
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; The build process fails if the configure script is passed the
|
|
|
|
|
;; option "--enable-fast-install".
|
|
|
|
|
(replace 'configure
|
2017-09-14 00:49:26 +02:00
|
|
|
|
(lambda* (#:key inputs outputs (configure-flags '())
|
|
|
|
|
#:allow-other-keys)
|
2016-04-13 03:50:36 +02:00
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lzo (assoc-ref inputs "lzo")))
|
2019-01-26 21:57:38 +01:00
|
|
|
|
(apply invoke "./configure"
|
|
|
|
|
(string-append "--prefix=" out)
|
|
|
|
|
;; Provide the "lzo" path.
|
|
|
|
|
(string-append "--with-liblzo2="
|
|
|
|
|
lzo "/lib/liblzo2.a")
|
|
|
|
|
;; Put the binary in 'bin' instead of 'games'.
|
|
|
|
|
"--binary-dir=bin"
|
|
|
|
|
configure-flags)))))))
|
2016-04-13 03:50:36 +02:00
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
2018-12-12 11:05:28 +01:00
|
|
|
|
`(("allegro" ,allegro)
|
2016-04-13 03:50:36 +02:00
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("icu4c" ,icu4c)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("lzo" ,lzo)
|
|
|
|
|
("sdl" ,sdl)
|
|
|
|
|
("xz" ,xz)
|
|
|
|
|
("zlib" ,zlib)))
|
2019-03-17 19:08:02 +01:00
|
|
|
|
(synopsis "Transportation economics simulator game")
|
2016-04-13 03:50:36 +02:00
|
|
|
|
(description "OpenTTD is a game in which you transport goods and
|
|
|
|
|
passengers by land, water and air. It is a re-implementation of Transport
|
|
|
|
|
Tycoon Deluxe with many enhancements including multiplayer mode,
|
|
|
|
|
internationalization support, conditional orders and the ability to clone,
|
2017-05-18 03:52:27 +02:00
|
|
|
|
autoreplace and autoupdate vehicles. This package only includes the game
|
|
|
|
|
engine. When you start it you will be prompted to download a graphics set.")
|
2019-10-29 18:08:34 +01:00
|
|
|
|
(home-page "https://www.openttd.org/")
|
2016-04-13 03:50:36 +02:00
|
|
|
|
;; This package is GPLv2, except for a few files located in
|
|
|
|
|
;; "src/3rdparty/" which are under the 3-clause BSD, LGPLv2.1+ and Zlib
|
|
|
|
|
;; licenses. In addition, this software contains an in-game downloader
|
|
|
|
|
;; from which the user may find non-functional data licensed under
|
|
|
|
|
;; different terms.
|
|
|
|
|
(license (list license:bsd-3 license:gpl2 license:lgpl2.1+ license:zlib))))
|
|
|
|
|
|
2017-06-18 19:45:18 +02:00
|
|
|
|
(define openttd-opengfx
|
|
|
|
|
(package
|
|
|
|
|
(name "openttd-opengfx")
|
2020-04-11 20:23:42 +02:00
|
|
|
|
(version "0.6.0")
|
2017-06-18 19:45:18 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-04-11 20:23:42 +02:00
|
|
|
|
(uri (string-append "https://cdn.openttd.org/opengfx-releases/"
|
2017-06-18 19:45:18 +02:00
|
|
|
|
version "/opengfx-" version "-source.tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-04-11 20:23:42 +02:00
|
|
|
|
"0qxc6gl2gxcrn1np88dnjgbaaakkkx96b13rcmy1spryc8c09hyr"))))
|
2017-06-18 19:45:18 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:make-flags (list "CC=gcc"
|
|
|
|
|
(string-append "INSTALL_DIR="
|
|
|
|
|
(assoc-ref %outputs "out")
|
2017-09-14 00:49:26 +02:00
|
|
|
|
"/share/games/openttd/baseset/opengfx"))
|
2017-06-18 19:45:18 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Make sure HOME is writable for GIMP.
|
|
|
|
|
(setenv "HOME" (getcwd))
|
|
|
|
|
|
|
|
|
|
;; Redirect stdout, not stderr, to /dev/null. This prevents
|
|
|
|
|
;; dos2unix from receiving its version information as a flag.
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("\\$\\(UNIX2DOS\\) -q --version 2>/dev/null")
|
|
|
|
|
"$(UNIX2DOS) -q --version 1>/dev/null")))))
|
|
|
|
|
;; The check phase for this package only checks the md5sums of the built
|
|
|
|
|
;; GRF files against the md5sums of the release versions. Because we use
|
|
|
|
|
;; different software versions than upstream does, some of the md5sums
|
|
|
|
|
;; are different. However, the package is still reproducible, it's safe
|
|
|
|
|
;; to disable this test.
|
2017-09-19 14:40:27 +02:00
|
|
|
|
#:tests? #f
|
|
|
|
|
#:parallel-build? #f))
|
2017-06-18 19:45:18 +02:00
|
|
|
|
(native-inputs `(("dos2unix" ,dos2unix)
|
|
|
|
|
("gimp" ,gimp)
|
|
|
|
|
("grfcodec" ,grfcodec)
|
|
|
|
|
("nml" ,nml)
|
2020-04-11 20:23:42 +02:00
|
|
|
|
("which" ,which)
|
2017-06-18 19:45:18 +02:00
|
|
|
|
("python" ,python-2)))
|
|
|
|
|
(home-page "http://dev.openttdcoop.org/projects/opengfx")
|
|
|
|
|
(synopsis "Base graphics set for OpenTTD")
|
|
|
|
|
(description
|
|
|
|
|
"The OpenGFX projects is an implementation of the OpenTTD base grahics
|
|
|
|
|
set that aims to ensure the best possible out-of-the-box experience.
|
|
|
|
|
|
|
|
|
|
OpenGFX provides you with...
|
|
|
|
|
@enumerate
|
|
|
|
|
@item All graphics you need to enjoy OpenTTD.
|
|
|
|
|
@item Uniquely drawn rail vehicles for every climate.
|
|
|
|
|
@item Completely snow-aware rivers.
|
|
|
|
|
@item Different river and sea water.
|
|
|
|
|
@item Snow-aware buoys.
|
|
|
|
|
@end enumerate")
|
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
|
2017-09-13 19:05:02 +02:00
|
|
|
|
(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)
|
2019-02-15 14:30:57 +01:00
|
|
|
|
("python" ,python-2)))
|
2017-09-13 19:05:02 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list (string-append "INSTALL_DIR=" %output
|
|
|
|
|
"/share/games/openttd/baseset/opensfx"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'make-reproducible
|
|
|
|
|
(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=@0 -cf"))
|
|
|
|
|
#t))
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(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 files from
|
|
|
|
|
the original Transport Tycoon Deluxe.")
|
|
|
|
|
(license license:cc-sampling-plus-1.0)))
|
|
|
|
|
|
2017-09-14 00:48:03 +02:00
|
|
|
|
(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
|
2019-02-15 14:30:57 +01:00
|
|
|
|
`(("python" ,python-2)))
|
2017-09-14 00:48:03 +02:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list (string-append "INSTALL_DIR=" %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/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 possible
|
|
|
|
|
to play OpenTTD without requiring the proprietary music from the original
|
|
|
|
|
Transport Tycoon Deluxe.")
|
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
|
2016-04-13 03:50:36 +02:00
|
|
|
|
(define-public openttd
|
|
|
|
|
(package
|
|
|
|
|
(inherit openttd-engine)
|
2017-06-18 19:45:19 +02:00
|
|
|
|
(name "openttd")
|
|
|
|
|
(arguments
|
2017-09-14 00:49:26 +02:00
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list (string-append "--with-midi=" (assoc-ref %build-inputs "timidity++")
|
|
|
|
|
"/bin/timidity"))
|
|
|
|
|
,@(substitute-keyword-arguments (package-arguments openttd-engine)
|
|
|
|
|
((#:phases phases)
|
|
|
|
|
`(modify-phases ,phases
|
|
|
|
|
(add-after 'install 'install-data
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (input)
|
|
|
|
|
(copy-recursively (assoc-ref inputs input)
|
|
|
|
|
(assoc-ref outputs "out")))
|
|
|
|
|
(list "opengfx" "openmsx" "opensfx"))
|
|
|
|
|
#t)))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("timidity++" ,timidity++)
|
|
|
|
|
,@(package-inputs openttd-engine)))
|
2017-06-18 19:45:19 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("opengfx" ,openttd-opengfx)
|
2017-09-14 00:49:26 +02:00
|
|
|
|
("openmsx" ,openttd-openmsx)
|
|
|
|
|
("opensfx" ,openttd-opensfx)
|
2017-06-18 19:45:19 +02:00
|
|
|
|
,@(package-native-inputs openttd-engine)))))
|
2016-04-13 03:50:36 +02:00
|
|
|
|
|
2018-06-13 11:26:21 +02:00
|
|
|
|
(define openrct2-title-sequences
|
|
|
|
|
(package
|
|
|
|
|
(name "openrct2-title-sequences")
|
|
|
|
|
(version "0.1.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/OpenRCT2/title-sequences/releases/download/v"
|
|
|
|
|
version "/title-sequence-v" version ".zip"))
|
|
|
|
|
(file-name (string-append name "-" version ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0qbyxrsw8hlgaq0r5d7lx7an3idy4qbfv7yiw9byhldk763n9cfw"))))
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bash" ,bash)
|
|
|
|
|
("coreutils" ,coreutils)
|
|
|
|
|
("unzip" ,unzip)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(openrct2-title-sequences (string-append out
|
|
|
|
|
"/share/openrct2/title-sequences"))
|
|
|
|
|
(source (assoc-ref %build-inputs "source"))
|
|
|
|
|
(unzip (string-append (assoc-ref %build-inputs "unzip") "/bin/unzip")))
|
|
|
|
|
(copy-file source (string-append ,name "-" ,version ".zip"))
|
|
|
|
|
(invoke unzip (string-append ,name "-" ,version ".zip"))
|
|
|
|
|
(delete-file (string-append ,name "-" ,version ".zip"))
|
|
|
|
|
(mkdir-p openrct2-title-sequences)
|
|
|
|
|
(copy-recursively "."
|
|
|
|
|
openrct2-title-sequences)
|
|
|
|
|
#t))))
|
|
|
|
|
(home-page "https://github.com/OpenRCT2/OpenRCT2")
|
|
|
|
|
(synopsis "Title sequences for OpenRCT2")
|
|
|
|
|
(description
|
|
|
|
|
"openrct2-title-sequences is a set of title sequences for OpenRCT2.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
|
|
|
|
(define openrct2-objects
|
|
|
|
|
(package
|
|
|
|
|
(name "openrct2-objects")
|
2019-03-15 21:16:58 +01:00
|
|
|
|
(version "1.0.9")
|
2018-06-13 11:26:21 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/OpenRCT2/objects/releases/download/v"
|
|
|
|
|
version "/objects.zip"))
|
|
|
|
|
(file-name (string-append name "-" version ".zip"))
|
|
|
|
|
(sha256
|
2019-03-15 21:16:58 +01:00
|
|
|
|
(base32 "02apb8h553m7d6jvysgb1zahvxc1yzyygfca2iclb21b3fhpsas4"))))
|
2018-06-13 11:26:21 +02:00
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bash" ,bash)
|
|
|
|
|
("coreutils" ,coreutils)
|
|
|
|
|
("unzip" ,unzip)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(openrct2-objects (string-append out
|
|
|
|
|
"/share/openrct2/objects"))
|
|
|
|
|
(source (assoc-ref %build-inputs "source"))
|
|
|
|
|
(unzip (string-append (assoc-ref %build-inputs "unzip") "/bin/unzip")))
|
|
|
|
|
(copy-file source (string-append ,name "-" ,version ".zip"))
|
|
|
|
|
(invoke unzip (string-append ,name "-" ,version ".zip"))
|
|
|
|
|
(delete-file (string-append ,name "-" ,version ".zip"))
|
|
|
|
|
(mkdir-p openrct2-objects)
|
|
|
|
|
(copy-recursively "."
|
|
|
|
|
openrct2-objects)
|
|
|
|
|
#t))))
|
|
|
|
|
(home-page "https://github.com/OpenRCT2/OpenRCT2")
|
|
|
|
|
(synopsis "Objects for OpenRCT2")
|
|
|
|
|
(description
|
|
|
|
|
"openrct2-objects is a set of objects for OpenRCT2.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2017-10-12 10:22:27 +02:00
|
|
|
|
(define-public openrct2
|
|
|
|
|
(package
|
|
|
|
|
(name "openrct2")
|
2020-05-15 09:37:58 +02:00
|
|
|
|
(version "0.2.6")
|
2017-10-12 10:22:27 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-03-29 01:42:31 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/OpenRCT2/OpenRCT2.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-10-12 10:22:27 +02:00
|
|
|
|
(sha256
|
2020-05-15 09:37:58 +02:00
|
|
|
|
(base32 "1vikbkg3wh5ngzdfilb6irbh6nqinf138qpdz8wz9izlvl8s36k4"))))
|
2017-10-12 10:22:27 +02:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2018-07-03 10:57:50 +02:00
|
|
|
|
`(#:configure-flags (list "-DDOWNLOAD_OBJECTS=OFF"
|
|
|
|
|
"-DDOWNLOAD_TITLE_SEQUENCES=OFF")
|
2019-03-15 21:32:24 +01:00
|
|
|
|
#:tests? #f ; tests require network access
|
2017-10-12 10:22:27 +02:00
|
|
|
|
#:phases
|
2019-03-15 21:32:24 +01:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-usr-share-paths&add-data
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((titles (assoc-ref inputs "openrct2-title-sequences"))
|
|
|
|
|
(objects (assoc-ref inputs "openrct2-objects")))
|
|
|
|
|
;; Fix some references to /usr/share.
|
|
|
|
|
(substitute* "src/openrct2/platform/Platform.Linux.cpp"
|
|
|
|
|
(("/usr/share")
|
|
|
|
|
(string-append (assoc-ref %outputs "out") "/share")))
|
|
|
|
|
(copy-recursively
|
|
|
|
|
(string-append titles "/share/openrct2/title-sequences")
|
|
|
|
|
"data/title")
|
|
|
|
|
(copy-recursively
|
|
|
|
|
(string-append objects "/share/openrct2/objects")
|
|
|
|
|
"data/object"))))
|
2019-03-23 23:16:55 +01:00
|
|
|
|
(add-before 'configure 'get-rid-of-errors
|
2019-03-15 21:32:24 +01:00
|
|
|
|
(lambda _
|
|
|
|
|
;; Don't treat warnings as errors.
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
2019-03-23 23:16:55 +01:00
|
|
|
|
(("-Werror") ""))
|
|
|
|
|
#t)))))
|
2018-03-16 16:50:14 +01:00
|
|
|
|
(inputs `(("curl" ,curl)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("freetype" ,freetype)
|
2018-06-13 11:26:21 +02:00
|
|
|
|
("icu4c" ,icu4c)
|
2018-03-16 16:50:14 +01:00
|
|
|
|
("jansson" ,jansson)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libzip" ,libzip)
|
|
|
|
|
("mesa" ,mesa)
|
2018-06-13 11:26:21 +02:00
|
|
|
|
("openrct2-objects" ,openrct2-objects)
|
|
|
|
|
("openrct2-title-sequences" ,openrct2-title-sequences)
|
2018-03-16 16:50:14 +01:00
|
|
|
|
("openssl" ,openssl)
|
|
|
|
|
("sdl2" ,sdl2)
|
|
|
|
|
("speexdsp" ,speexdsp)
|
|
|
|
|
("zlib" ,zlib)))
|
2017-10-12 10:22:27 +02:00
|
|
|
|
(native-inputs
|
2019-02-11 19:49:27 +01:00
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2017-10-12 10:22:27 +02:00
|
|
|
|
(home-page "https://github.com/OpenRCT2/OpenRCT2")
|
|
|
|
|
(synopsis "Free software re-implementation of RollerCoaster Tycoon 2")
|
|
|
|
|
(description "OpenRCT2 is a free software re-implementation of
|
|
|
|
|
RollerCoaster Tycoon 2 (RCT2). The gameplay revolves around building and
|
|
|
|
|
maintaining an amusement park containing attractions, shops and facilities.
|
|
|
|
|
|
|
|
|
|
Note that this package does @emph{not} provide the game assets (sounds,
|
|
|
|
|
images, etc.)")
|
|
|
|
|
;; See <https://github.com/OpenRCT2/OpenRCT2/wiki/Required-RCT2-files>
|
|
|
|
|
;; regarding assets.
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2016-02-01 06:22:38 +01:00
|
|
|
|
(define-public pinball
|
|
|
|
|
(package
|
|
|
|
|
(name "pinball")
|
|
|
|
|
(version "0.3.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin (method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/pinball/pinball/"
|
|
|
|
|
"pinball-" version "/"
|
|
|
|
|
"pinball-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1f2whlrfidwfh8lvr8cspcyirc6840r5d1ajm7x99qmngygrhixs"))
|
2016-04-08 14:18:13 +02:00
|
|
|
|
(patches (search-patches "pinball-const-fix.patch"
|
|
|
|
|
"pinball-cstddef.patch"
|
|
|
|
|
"pinball-missing-separators.patch"
|
|
|
|
|
"pinball-src-deps.patch"
|
|
|
|
|
"pinball-system-ltdl.patch"))))
|
2016-02-01 06:22:38 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glu" ,glu)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("sdl" ,sdl)
|
|
|
|
|
("sdl-image" ,sdl-image)
|
|
|
|
|
("sdl-mixer" ,sdl-mixer)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags
|
|
|
|
|
(list (string-append "CPPFLAGS=-I"
|
|
|
|
|
(assoc-ref %build-inputs "sdl-image")
|
|
|
|
|
"/include/SDL -I"
|
|
|
|
|
(assoc-ref %build-inputs "sdl-mixer")
|
|
|
|
|
"/include/SDL"))))
|
|
|
|
|
(home-page "http://pinball.sourceforge.net")
|
|
|
|
|
(synopsis "Pinball simulator")
|
|
|
|
|
(description "The Emilia Pinball Project is a pinball simulator. There
|
|
|
|
|
are only two levels to play with, but they are very addictive.")
|
|
|
|
|
(license license:gpl2)))
|
2016-02-16 02:07:04 +01:00
|
|
|
|
|
|
|
|
|
(define-public pioneers
|
|
|
|
|
(package
|
|
|
|
|
(name "pioneers")
|
2018-06-20 04:15:13 +02:00
|
|
|
|
(version "15.5")
|
2016-02-16 02:07:04 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://downloads.sourceforge.net/pio/"
|
|
|
|
|
"pioneers-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-06-20 04:15:13 +02:00
|
|
|
|
"037gdiiw690jw3wd1s9lxmkqx0caxyk0b4drpm7i9p28gig43q9y"))))
|
2016-02-16 02:07:04 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2018-06-20 04:15:13 +02:00
|
|
|
|
(inputs `(("avahi" ,avahi)
|
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
|
("librsvg" ,librsvg)))
|
2016-02-16 02:07:04 +01:00
|
|
|
|
(native-inputs `(("intltool" ,intltool)
|
2018-06-20 04:15:13 +02:00
|
|
|
|
("itstool" ,itstool)
|
|
|
|
|
("libxml2" ,libxml2)
|
2016-02-16 02:07:04 +01:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(synopsis "Board game inspired by The Settlers of Catan")
|
|
|
|
|
(description "Pioneers is an emulation of the board game The Settlers of
|
|
|
|
|
Catan. It can be played on a local network, on the internet, and with AI
|
|
|
|
|
players.")
|
|
|
|
|
(home-page "http://pio.sourceforge.net/")
|
2016-02-16 03:14:18 +01:00
|
|
|
|
(license license:gpl2+)))
|
2016-02-29 21:20:16 +01:00
|
|
|
|
|
2016-03-05 18:40:00 +01:00
|
|
|
|
(define-public einstein
|
|
|
|
|
(package
|
|
|
|
|
(name "einstein")
|
|
|
|
|
(version "2.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-08-15 20:03:19 +02:00
|
|
|
|
(uri (string-append "mirror://debian/pool/main/e/"
|
2016-03-05 18:40:00 +01:00
|
|
|
|
"einstein/einstein_2.0.dfsg.2.orig.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1hxrlv6n8py48j487i6wbb4n4vd55w0na69r7ccmmr9vmrsw5mlk"))
|
2016-04-08 14:18:13 +02:00
|
|
|
|
(patches (search-patches "einstein-build.patch"))))
|
2016-03-05 18:40:00 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("freetype" ,freetype)
|
|
|
|
|
("sdl" ,(sdl-union (list sdl sdl-mixer sdl-ttf)))
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("font-dejavu" ,font-dejavu)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no check target
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs inputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(dejavu (string-append (assoc-ref inputs "font-dejavu")
|
|
|
|
|
"/share/fonts/truetype/DejaVuSans.ttf")))
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("PREFIX=/usr/local") (string-append "PREFIX=" out)))
|
|
|
|
|
;; The patch above registers a free font for use by the binary,
|
|
|
|
|
;; but the font is copied during the compile phase into a
|
|
|
|
|
;; resources file, so we need to make the ttf file available.
|
|
|
|
|
(symlink dejavu "res/DejaVuSans.ttf")
|
|
|
|
|
#t))))))
|
|
|
|
|
(synopsis "Logic puzzle game")
|
|
|
|
|
(description "The goal of this logic game is to open all cards in a 6x6
|
|
|
|
|
grid, using a number of hints as to their relative position. The game idea
|
|
|
|
|
is attributed to Albert Einstein.")
|
|
|
|
|
;; The original home page has disappeared.
|
|
|
|
|
(home-page (string-append "http://web.archive.org/web/20120521062745/"
|
|
|
|
|
"http://games.flowix.com/en/index.html"))
|
|
|
|
|
;; License according to
|
|
|
|
|
;; http://web.archive.org/web/20150222180355/http://www.babichev.info/en/projects/index.html
|
|
|
|
|
;; The source code is a DFSG-sanitized tarball and does not contain any
|
|
|
|
|
;; license information.
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2016-03-03 12:41:08 +01:00
|
|
|
|
(define-public powwow
|
|
|
|
|
(package
|
|
|
|
|
(name "powwow")
|
2019-05-09 22:32:13 +02:00
|
|
|
|
(version "1.2.19")
|
2016-03-03 12:41:08 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2016-08-02 11:21:00 +02:00
|
|
|
|
"https://www.hoopajoo.net/static/projects/powwow-"
|
2016-03-03 12:41:08 +01:00
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-05-09 22:32:13 +02:00
|
|
|
|
"10rjl63hmf62qslyhzqrbw3i2zf09dgxv65avhj0iiz0m4pbc9wy"))))
|
2016-03-03 12:41:08 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("ncurses" ,ncurses)))
|
|
|
|
|
(build-system gnu-build-system)
|
2018-09-17 12:17:27 +02:00
|
|
|
|
(home-page "https://www.hoopajoo.net/projects/powwow.html")
|
2016-03-03 12:41:08 +01:00
|
|
|
|
(synopsis "MUD and telnet client")
|
|
|
|
|
(description
|
|
|
|
|
"POWWOW is a client software which can be used for telnet as well as for
|
|
|
|
|
@dfn{Multi-User Dungeon} (MUD). Additionally it can serve as a nice client for
|
|
|
|
|
the chat server psyced with the specific config located at
|
|
|
|
|
http://lavachat.symlynx.com/unix/")
|
|
|
|
|
(license license:gpl2+)))
|
2016-04-23 07:58:55 +02:00
|
|
|
|
|
2016-05-03 21:25:31 +02:00
|
|
|
|
(define-public red-eclipse
|
2020-01-13 02:32:40 +01:00
|
|
|
|
(let ((release "2.0.0")
|
|
|
|
|
(revision 0))
|
2016-04-23 07:58:55 +02:00
|
|
|
|
(package
|
2016-05-03 18:04:38 +02:00
|
|
|
|
(name "red-eclipse")
|
2017-08-20 20:28:20 +02:00
|
|
|
|
(version (if (zero? revision)
|
|
|
|
|
release
|
|
|
|
|
(string-append release "-"
|
|
|
|
|
(number->string revision))))
|
2019-03-29 02:23:12 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
2020-01-13 02:32:40 +01:00
|
|
|
|
(url "https://github.com/redeclipse/base.git")
|
|
|
|
|
(commit (string-append "v" release))
|
|
|
|
|
(recursive? #t))) ; for game data
|
2019-03-29 02:23:12 +01:00
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-01-17 18:33:31 +01:00
|
|
|
|
(base32 "0sz0mqhwx8r9n4mk3qrxw420nlsm3y0n48gd0lazgd64lfqjh3ab"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Remove proprietary libraries and other pre-compiled binaries.
|
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively "bin")
|
|
|
|
|
#t))))
|
2016-04-23 07:58:55 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no check target
|
|
|
|
|
#:make-flags (list "CC=gcc" "-Csrc"
|
|
|
|
|
(string-append "INSTDIR="
|
2017-08-20 20:28:20 +02:00
|
|
|
|
(assoc-ref %outputs "out") "/bin")
|
|
|
|
|
(string-append "prefix="
|
|
|
|
|
(assoc-ref %outputs "out")))
|
2016-04-23 07:58:55 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2020-01-13 02:32:40 +01:00
|
|
|
|
(add-after 'unpack 'add-store-data-package-path-as-default
|
2017-08-20 20:28:20 +02:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "src/engine/server.cpp"
|
2020-01-13 02:32:40 +01:00
|
|
|
|
(("data = \"data\"")
|
|
|
|
|
(string-append "data = \""
|
2017-08-20 20:28:20 +02:00
|
|
|
|
(assoc-ref outputs "out")
|
2020-01-13 02:32:40 +01:00
|
|
|
|
"/share/redeclipse/data\"")))
|
2017-08-20 20:28:20 +02:00
|
|
|
|
#t))
|
2016-04-23 07:58:55 +02:00
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
|
(add-after 'set-paths 'set-sdl-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "CPATH"
|
|
|
|
|
(string-append (assoc-ref inputs "sdl-union")
|
2019-07-15 19:46:40 +02:00
|
|
|
|
"/include/SDL2:"
|
|
|
|
|
(or (getenv "CPATH") "")))
|
2016-04-23 07:58:55 +02:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'copy-data
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(copy-recursively "config"
|
|
|
|
|
(string-append out "/config"))
|
2016-08-01 17:48:39 +02:00
|
|
|
|
(copy-file "doc/examples/servinit.cfg"
|
|
|
|
|
(string-append out "/config/servinit.cfg"))
|
2016-04-23 07:58:55 +02:00
|
|
|
|
(copy-recursively "data"
|
2017-08-20 20:28:20 +02:00
|
|
|
|
(string-append out "/share/redeclipse/data"))
|
|
|
|
|
(mkdir-p (string-append out "/lib/redeclipse"))
|
2018-01-30 16:14:46 +01:00
|
|
|
|
(symlink (string-append out "/share/redeclipse/data")
|
|
|
|
|
(string-append out "/lib/redeclipse/data")))
|
2016-04-23 07:58:55 +02:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'copy-data 'wrap-program
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
|
(with-directory-excursion bin
|
|
|
|
|
(rename-file "redeclipse_linux"
|
|
|
|
|
".redeclipse_linux-real")
|
|
|
|
|
(rename-file "redeclipse_server_linux"
|
|
|
|
|
".redeclipse_server_linux-real")
|
|
|
|
|
(call-with-output-file "redeclipse_linux"
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(format port "#!~a/bin/sh
|
|
|
|
|
# Run the thing from its home, otherwise it just bails out.
|
|
|
|
|
cd \"~a\"
|
|
|
|
|
exec -a \"$0\" ~a/.redeclipse_linux-real~%"
|
|
|
|
|
(assoc-ref inputs "bash") ;implicit input
|
|
|
|
|
(string-append out)
|
|
|
|
|
(string-append bin))))
|
|
|
|
|
(call-with-output-file "redeclipse_server_linux"
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(format port "#!~a/bin/sh
|
|
|
|
|
# Run the thing from its home, otherwise it just bails out.
|
|
|
|
|
cd \"~a\"
|
|
|
|
|
exec -a \"$0\" ~a/.redeclipse_server_linux-real~%"
|
|
|
|
|
(assoc-ref inputs "bash") ;implicit input
|
|
|
|
|
(string-append out)
|
|
|
|
|
(string-append bin))))
|
|
|
|
|
(chmod "redeclipse_linux" #o555)
|
|
|
|
|
(chmod "redeclipse_server_linux" #o555)))
|
|
|
|
|
#t)))))
|
2019-03-29 04:22:17 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2016-04-23 07:58:55 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("curl" ,curl)
|
2020-01-13 02:32:40 +01:00
|
|
|
|
("freetype" ,freetype)
|
2016-04-23 07:58:55 +02:00
|
|
|
|
("glu" ,glu)
|
2016-08-01 17:47:18 +02:00
|
|
|
|
("sdl-union" ,(sdl-union (list sdl2
|
|
|
|
|
sdl2-image
|
2020-01-13 02:32:40 +01:00
|
|
|
|
sdl2-mixer)))))
|
2020-01-17 18:33:31 +01:00
|
|
|
|
(home-page "https://redeclipse.net/")
|
2016-04-23 07:58:55 +02:00
|
|
|
|
(synopsis "Arena shooter derived from the Cube 2 engine")
|
|
|
|
|
(description
|
|
|
|
|
"Red Eclipse is an arena shooter, created from the Cube2 engine.
|
|
|
|
|
Offering an innovative parkour system and distinct but all potent weapons,
|
|
|
|
|
Red Eclipse provides fast paced and accessible gameplay.")
|
|
|
|
|
;; The engine is under Zlib; data files are covered by the other
|
2020-01-17 18:33:31 +01:00
|
|
|
|
;; licenses. More details at file:///doc/all-licenses.txt.
|
2016-04-23 07:58:55 +02:00
|
|
|
|
(license (list license:expat
|
|
|
|
|
license:zlib
|
2020-01-17 18:33:31 +01:00
|
|
|
|
license:cc-by-sa4.0
|
2016-04-23 07:58:55 +02:00
|
|
|
|
license:cc-by-sa3.0
|
|
|
|
|
license:cc-by3.0
|
2020-01-17 18:33:31 +01:00
|
|
|
|
license:cc0
|
|
|
|
|
license:public-domain
|
|
|
|
|
license:silofl1.1)))))
|
2015-11-01 20:45:09 +01:00
|
|
|
|
|
2016-06-15 11:02:16 +02:00
|
|
|
|
(define-public grue-hunter
|
|
|
|
|
(package
|
|
|
|
|
(name "grue-hunter")
|
|
|
|
|
(version "1.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-03-29 02:26:31 +01:00
|
|
|
|
(uri (string-append "https://jxself.org/grue-hunter.tar.gz"))
|
2016-06-15 11:02:16 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1hjcpy5439qs3v2zykis7hsi0i17zjs62gks3zd8mnfw9ni4i2h3"))))
|
|
|
|
|
(build-system trivial-build-system) ; no Makefile.PL
|
|
|
|
|
(arguments `(#:modules ((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
(use-modules (srfi srfi-1))
|
|
|
|
|
|
|
|
|
|
(let* ((tarball (assoc-ref %build-inputs "tarball"))
|
|
|
|
|
(perl (string-append (assoc-ref %build-inputs
|
|
|
|
|
"perl")
|
|
|
|
|
"/bin"))
|
2016-07-11 10:54:57 +02:00
|
|
|
|
(gzip (string-append (assoc-ref %build-inputs
|
2016-06-15 11:02:16 +02:00
|
|
|
|
"gzip")
|
2016-07-11 10:54:57 +02:00
|
|
|
|
"/bin/gzip"))
|
2016-06-15 11:02:16 +02:00
|
|
|
|
(tar (string-append (assoc-ref %build-inputs
|
|
|
|
|
"tar")
|
|
|
|
|
"/bin/tar"))
|
|
|
|
|
(out (assoc-ref %outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
2017-03-13 17:52:12 +01:00
|
|
|
|
(doc (string-append out
|
|
|
|
|
"/share/doc/grue-hunter")))
|
gnu: Use invoke and return #t from all builders.
* gnu/packages/admin.scm, gnu/packages/android.scm, gnu/packages/audio.scm,
gnu/packages/avr.scm, gnu/packages/base.scm, gnu/packages/bioinformatics.scm,
gnu/packages/certs.scm, gnu/packages/check.scm, gnu/packages/code.scm,
gnu/packages/commencement.scm, gnu/packages/dictionaries.scm,
gnu/packages/docbook.scm, gnu/packages/emacs.scm, gnu/packages/embedded.scm,
gnu/packages/fonts.scm, gnu/packages/games.scm, gnu/packages/gnome.scm,
gnu/packages/gnu-doc.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm,
gnu/packages/javascript.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lxde.scm,
gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm,
gnu/packages/pkg-config.scm, gnu/packages/qt.scm, gnu/packages/rust.scm,
gnu/packages/scheme.scm, gnu/packages/sdl.scm, gnu/packages/statistics.scm,
gnu/packages/syncthing.scm, gnu/packages/tex.scm, gnu/packages/web.scm,
gnu/packages/wine.scm, gnu/packages/xfce.scm: In the builders of packages
using 'trivial-build-system', use invoke where appropriate, raise exceptions
on errors, and otherwise return #t.
2018-03-28 02:14:05 +02:00
|
|
|
|
(copy-file tarball "grue-hunter.tar.gz")
|
|
|
|
|
(invoke gzip "-d" "grue-hunter.tar.gz")
|
|
|
|
|
(invoke tar "xvf" "grue-hunter.tar")
|
2016-06-15 11:02:16 +02:00
|
|
|
|
|
gnu: Use invoke and return #t from all builders.
* gnu/packages/admin.scm, gnu/packages/android.scm, gnu/packages/audio.scm,
gnu/packages/avr.scm, gnu/packages/base.scm, gnu/packages/bioinformatics.scm,
gnu/packages/certs.scm, gnu/packages/check.scm, gnu/packages/code.scm,
gnu/packages/commencement.scm, gnu/packages/dictionaries.scm,
gnu/packages/docbook.scm, gnu/packages/emacs.scm, gnu/packages/embedded.scm,
gnu/packages/fonts.scm, gnu/packages/games.scm, gnu/packages/gnome.scm,
gnu/packages/gnu-doc.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm,
gnu/packages/javascript.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lxde.scm,
gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm,
gnu/packages/pkg-config.scm, gnu/packages/qt.scm, gnu/packages/rust.scm,
gnu/packages/scheme.scm, gnu/packages/sdl.scm, gnu/packages/statistics.scm,
gnu/packages/syncthing.scm, gnu/packages/tex.scm, gnu/packages/web.scm,
gnu/packages/wine.scm, gnu/packages/xfce.scm: In the builders of packages
using 'trivial-build-system', use invoke where appropriate, raise exceptions
on errors, and otherwise return #t.
2018-03-28 02:14:05 +02:00
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(copy-file "grue-hunter/gh.pl"
|
|
|
|
|
(string-append bin "/grue-hunter"))
|
|
|
|
|
(patch-shebang (string-append bin "/grue-hunter")
|
|
|
|
|
(list perl))
|
|
|
|
|
|
|
|
|
|
(install-file "grue-hunter/AGPLv3.txt" doc)
|
2016-06-15 11:02:16 +02:00
|
|
|
|
|
gnu: Use invoke and return #t from all builders.
* gnu/packages/admin.scm, gnu/packages/android.scm, gnu/packages/audio.scm,
gnu/packages/avr.scm, gnu/packages/base.scm, gnu/packages/bioinformatics.scm,
gnu/packages/certs.scm, gnu/packages/check.scm, gnu/packages/code.scm,
gnu/packages/commencement.scm, gnu/packages/dictionaries.scm,
gnu/packages/docbook.scm, gnu/packages/emacs.scm, gnu/packages/embedded.scm,
gnu/packages/fonts.scm, gnu/packages/games.scm, gnu/packages/gnome.scm,
gnu/packages/gnu-doc.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm,
gnu/packages/javascript.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lxde.scm,
gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm,
gnu/packages/pkg-config.scm, gnu/packages/qt.scm, gnu/packages/rust.scm,
gnu/packages/scheme.scm, gnu/packages/sdl.scm, gnu/packages/statistics.scm,
gnu/packages/syncthing.scm, gnu/packages/tex.scm, gnu/packages/web.scm,
gnu/packages/wine.scm, gnu/packages/xfce.scm: In the builders of packages
using 'trivial-build-system', use invoke where appropriate, raise exceptions
on errors, and otherwise return #t.
2018-03-28 02:14:05 +02:00
|
|
|
|
#t))))
|
2016-06-15 11:02:16 +02:00
|
|
|
|
(inputs `(("perl" ,perl)
|
|
|
|
|
("tar" ,tar)
|
|
|
|
|
("gzip" ,gzip)
|
|
|
|
|
("tarball" ,source)))
|
2020-01-19 01:10:37 +01:00
|
|
|
|
(home-page "https://jxself.org/grue-hunter.shtml")
|
2016-06-15 11:02:16 +02:00
|
|
|
|
(synopsis "Text adventure game")
|
|
|
|
|
(description
|
|
|
|
|
"Grue Hunter is a text adventure game written in Perl. You must make
|
|
|
|
|
your way through an underground cave system in search of the Grue. Can you
|
|
|
|
|
capture it and get out alive?")
|
|
|
|
|
(license license:agpl3+)))
|
2016-06-20 01:00:09 +02:00
|
|
|
|
|
2017-04-24 00:41:49 +02:00
|
|
|
|
(define-public lierolibre
|
|
|
|
|
(package
|
|
|
|
|
(name "lierolibre")
|
|
|
|
|
(version "0.5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://launchpad.net/lierolibre/trunk/"
|
|
|
|
|
version "/+download/lierolibre-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1cf1gvsn4qq190lrf9k5bpjnqwlcfw7pajvdnh7z5r4jqw0rsbl9"))
|
|
|
|
|
(patches
|
|
|
|
|
(search-patches "lierolibre-check-unaligned-access.patch"
|
|
|
|
|
"lierolibre-try-building-other-arch.patch"
|
|
|
|
|
"lierolibre-remove-arch-warning.patch"
|
|
|
|
|
"lierolibre-newer-libconfig.patch"
|
|
|
|
|
"lierolibre-is-free-software.patch"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Delete pre-compiled files.
|
|
|
|
|
(delete-file "data/LIERO.CHR")
|
|
|
|
|
(delete-file "data/LIERO.SND")
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("imagemagick" ,imagemagick)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("util-linux" ,util-linux)
|
|
|
|
|
("sox" ,sox)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("libconfig" ,libconfig)
|
|
|
|
|
("sdl-union" ,(sdl-union (list sdl sdl-image sdl-mixer)))
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "https://gitlab.com/lierolibre/lierolibre")
|
|
|
|
|
(synopsis "Old-school earthworm action game")
|
|
|
|
|
(description
|
|
|
|
|
"lierolibre is an earthworm action game where you fight another player
|
|
|
|
|
(or the computer) underground using a wide array of weapons.
|
|
|
|
|
|
|
|
|
|
Features:
|
|
|
|
|
@itemize
|
|
|
|
|
@item 2 worms, 40 weapons, great playability, two game modes: Kill'em All
|
|
|
|
|
and Game of Tag, plus AI-players without true intelligence!
|
|
|
|
|
@item Dat nostalgia.
|
|
|
|
|
@item Extensions via a hidden F1 menu:
|
|
|
|
|
@itemize
|
|
|
|
|
@item Replays
|
|
|
|
|
@item Game controller support
|
|
|
|
|
@item Powerlevel palettes
|
|
|
|
|
@end itemize
|
|
|
|
|
@item Ability to write game variables to plain text files.
|
|
|
|
|
@item Ability to load game variables from both EXE and plain text files.
|
|
|
|
|
@item Scripts to extract and repack graphics, sounds and levels.
|
|
|
|
|
@end itemize
|
|
|
|
|
|
|
|
|
|
To switch between different window sizes, use F6, F7 and F8, to switch to
|
|
|
|
|
fullscreen, use F5 or Alt+Enter.")
|
|
|
|
|
;; Code mainly BSD-2, some parts under Boost 1.0. All assets are WTFPL2.
|
|
|
|
|
(license (list license:bsd-2 license:boost1.0 license:wtfpl2))))
|
|
|
|
|
|
2020-04-11 14:20:29 +02:00
|
|
|
|
(define-public tennix
|
|
|
|
|
(package
|
|
|
|
|
(name "tennix")
|
|
|
|
|
(version "1.3.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://repo.or.cz/tennix.git")
|
|
|
|
|
(commit (string-append "tennix-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "02cj4lrdrisal5s9pnbf2smx7qz9czczjzndfkhfx0qy67b957sk"))
|
|
|
|
|
;; Remove non-free images.
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(for-each delete-file
|
|
|
|
|
'("data/loc_training_camp.png"
|
|
|
|
|
"data/loc_austrian_open.png"
|
|
|
|
|
"data/loc_olympic_green_tennis.png"))
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no test
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-include
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* '("src/graphics.h" "src/sound.h")
|
|
|
|
|
(("#include \"(SDL_(image|ttf|mixer)\\.h)\"" _ header)
|
|
|
|
|
(string-append "#include \"SDL/" header "\"")))
|
|
|
|
|
(substitute* '("src/tennix.h" "src/network.h" "src/SDL_rotozoom.h")
|
|
|
|
|
(("#include <SDL.h>") "#include <SDL/SDL.h>")
|
|
|
|
|
(("#include <SDL_net.h>") "#include <SDL/SDL_net.h>"))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'locate-install
|
|
|
|
|
;; Build process cannot expand "$(INSTALL)" in Makefile.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "makefile"
|
|
|
|
|
(("^CONFIGURE_OUTPUT :=.*" all)
|
|
|
|
|
(string-append "INSTALL := install -c\n" all)))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'configure
|
|
|
|
|
;; The "configure" script is picky about the arguments it
|
|
|
|
|
;; gets. Call it ourselves.
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "./configure" "--prefix" (assoc-ref %outputs "out")))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("which" ,which)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python" ,python-wrapper)
|
|
|
|
|
("sdl" ,(sdl-union (list sdl sdl-image sdl-mixer sdl-ttf sdl-net)))))
|
|
|
|
|
(home-page "http://icculus.org/tennix/")
|
|
|
|
|
(synopsis "Play tennis against the computer or a friend")
|
|
|
|
|
(description "Tennix is a 2D tennis game. You can play against the
|
|
|
|
|
computer or against another player using the keyboard. The game runs
|
|
|
|
|
in-window at 640x480 resolution or fullscreen.")
|
|
|
|
|
;; Project is licensed under GPL2+ terms. It includes images
|
|
|
|
|
;; released under Public Domain terms, and SDL_rotozoom, released
|
|
|
|
|
;; under LGPL2.1 terms.
|
|
|
|
|
(license (list license:gpl2+ license:public-domain license:lgpl2.1))))
|
|
|
|
|
|
2016-06-20 01:00:09 +02:00
|
|
|
|
(define-public warzone2100
|
|
|
|
|
(package
|
|
|
|
|
(name "warzone2100")
|
2020-06-27 13:00:38 +02:00
|
|
|
|
(version "3.4.0")
|
2019-03-29 02:37:25 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2020-06-27 13:00:38 +02:00
|
|
|
|
(uri (string-append "mirror://sourceforge/warzone2100/releases/"
|
|
|
|
|
version
|
|
|
|
|
"/warzone2100_src.tar.xz"))
|
2019-03-29 02:37:25 +01:00
|
|
|
|
(sha256
|
2020-06-27 13:00:38 +02:00
|
|
|
|
(base32 "0g4qwi9zw0s4pfgrz3fxhargsj3405rbrh9zy3b2j3arzss2h0gy"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(with-directory-excursion "3rdparty"
|
|
|
|
|
(for-each
|
|
|
|
|
delete-file-recursively
|
|
|
|
|
'("discord-rpc"
|
|
|
|
|
"miniupnp"
|
|
|
|
|
"utfcpp")))
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system cmake-build-system)
|
2016-06-20 01:00:09 +02:00
|
|
|
|
(arguments
|
2020-06-27 13:00:38 +02:00
|
|
|
|
`(#:configure-flags '("-DWZ_DISTRIBUTOR=Guix"
|
|
|
|
|
"-DENABLE_DISCORD=off")
|
|
|
|
|
#:tests? #f ; TODO: Tests seem to be broken, configure.ac is missing.
|
2018-07-30 04:31:46 +02:00
|
|
|
|
#:phases
|
2016-10-04 10:17:56 +02:00
|
|
|
|
(modify-phases %standard-phases
|
2020-06-27 13:00:38 +02:00
|
|
|
|
(add-after 'unpack 'fix-utfcpp-include
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "lib/framework/wzstring.cpp"
|
|
|
|
|
(("<utfcpp/source/utf8.h>") "<utf8.h>"))
|
|
|
|
|
#t))
|
2016-10-04 10:17:56 +02:00
|
|
|
|
(add-after 'unpack 'link-tests-with-qt
|
|
|
|
|
(lambda _
|
2020-06-27 13:00:38 +02:00
|
|
|
|
(substitute* "tests/Makefile.am"
|
2016-10-04 10:17:56 +02:00
|
|
|
|
(("(framework_linktest_LDADD|maptest_LDADD) = " prefix)
|
|
|
|
|
(string-append prefix "$(QT5_LIBS) ")))
|
|
|
|
|
#t))
|
2018-07-30 04:31:46 +02:00
|
|
|
|
(add-after 'unpack 'fix-ivis-linktest
|
2017-05-25 10:26:58 +02:00
|
|
|
|
(lambda _
|
2018-07-30 04:31:46 +02:00
|
|
|
|
(substitute* "tests/ivis_linktest.cpp"
|
|
|
|
|
(("iV_DrawTextRotated.*;")
|
|
|
|
|
(string-append "iV_DrawTextRotated(\"Press ESC to exit.\", "
|
|
|
|
|
"100, 100, 0.0f, font_regular);")))
|
2016-10-04 10:17:56 +02:00
|
|
|
|
#t)))))
|
2020-06-27 13:00:38 +02:00
|
|
|
|
(native-inputs `(("asciidoc" ,asciidoc)
|
|
|
|
|
("asciidoctor" ,ruby-asciidoctor)
|
|
|
|
|
("gettext" ,gettext-minimal)
|
2018-07-30 04:31:46 +02:00
|
|
|
|
("pkg-config" ,pkg-config)
|
2016-06-20 01:00:09 +02:00
|
|
|
|
("unzip" ,unzip)
|
2020-06-27 13:00:38 +02:00
|
|
|
|
;; 7z is used to create .zip archive, not `zip' as in version 3.2.*.
|
|
|
|
|
("p7zip" ,p7zip)))
|
|
|
|
|
(inputs `(("curl" ,curl)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
2016-06-20 01:00:09 +02:00
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("glew" ,glew)
|
2018-07-30 04:31:46 +02:00
|
|
|
|
("harfbuzz" ,harfbuzz)
|
2016-06-20 01:00:09 +02:00
|
|
|
|
("libtheora" ,libtheora)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("libxrandr" ,libxrandr)
|
2020-06-27 13:00:38 +02:00
|
|
|
|
("libsodium" ,libsodium)
|
|
|
|
|
("miniupnpc" ,miniupnpc)
|
2016-06-20 01:00:09 +02:00
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("physfs" ,physfs)
|
2017-05-25 10:26:58 +02:00
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtscript" ,qtscript)
|
2016-10-04 10:17:56 +02:00
|
|
|
|
("openssl" ,openssl)
|
2020-06-27 13:00:38 +02:00
|
|
|
|
("sdl2" ,sdl2)
|
|
|
|
|
("utfcpp" ,utfcpp)))
|
2020-01-18 21:45:35 +01:00
|
|
|
|
(home-page "https://wz2100.net")
|
2016-06-20 01:00:09 +02:00
|
|
|
|
(synopsis "3D Real-time strategy and real-time tactics game")
|
|
|
|
|
(description
|
|
|
|
|
"Warzone 2100 offers campaign, multi-player, and single-player skirmish
|
2020-06-27 13:00:38 +02:00
|
|
|
|
modes. An extensive tech tree with over 400 different technologies, combined
|
2016-06-20 01:00:09 +02:00
|
|
|
|
with the unit design system, allows for a wide variety of possible units and
|
|
|
|
|
tactics.")
|
2020-06-27 13:00:38 +02:00
|
|
|
|
;; Everything is GPLv2+ unless otherwise specified in COPYING.NONGPL
|
2016-06-20 01:00:09 +02:00
|
|
|
|
(license (list license:bsd-3
|
|
|
|
|
license:cc0
|
|
|
|
|
license:cc-by-sa3.0
|
|
|
|
|
license:expat
|
|
|
|
|
license:gpl2+
|
|
|
|
|
license:lgpl2.1+))))
|
2016-06-26 14:31:21 +02:00
|
|
|
|
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(define-public starfighter
|
2016-06-26 14:31:21 +02:00
|
|
|
|
(package
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(name "starfighter")
|
2020-06-07 18:43:18 +02:00
|
|
|
|
(version "2.2")
|
2016-06-26 14:31:21 +02:00
|
|
|
|
(source (origin
|
2019-07-25 03:44:44 +02:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/pr-starfighter/starfighter/releases"
|
|
|
|
|
"/download/v" version "/starfighter-"
|
|
|
|
|
(version-major+minor version) "-src.tar.gz"))
|
2016-06-26 14:31:21 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-06-07 18:43:18 +02:00
|
|
|
|
"1ldd9cbvl694ps4sapr8213m3zjrci7gii5x3kjjfalkikmndpd2"))))
|
2016-06-26 14:31:21 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2019-07-25 03:44:44 +02:00
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2016-06-26 14:31:21 +02:00
|
|
|
|
(inputs
|
2019-07-18 04:48:58 +02:00
|
|
|
|
`(("pango" ,pango)
|
|
|
|
|
("sdl2" ,sdl2)
|
2016-06-26 14:31:21 +02:00
|
|
|
|
("sdl2-image" ,sdl2-image)
|
2019-07-18 04:48:58 +02:00
|
|
|
|
("sdl2-mixer" ,sdl2-mixer)
|
|
|
|
|
("sdl2-ttf" ,sdl2-ttf)))
|
|
|
|
|
(home-page "https://pr-starfighter.github.io/")
|
2016-06-26 14:31:21 +02:00
|
|
|
|
(synopsis "2D scrolling shooter game")
|
|
|
|
|
(description
|
|
|
|
|
"In the year 2579, the intergalactic weapons corporation, WEAPCO, has
|
|
|
|
|
dominated the galaxy. Guide Chris Bainfield and his friend Sid Wilson on
|
|
|
|
|
their quest to liberate the galaxy from the clutches of WEAPCO. Along the
|
|
|
|
|
way, you will encounter new foes, make new allies, and assist local rebels
|
|
|
|
|
in strikes against the evil corporation.")
|
|
|
|
|
;; gfx and music are under CC-BY 3.0, CC-BY-SA 3.0, CC0 or Public Domain.
|
|
|
|
|
(license (list license:gpl3+
|
|
|
|
|
license:cc-by3.0
|
|
|
|
|
license:cc-by-sa3.0
|
|
|
|
|
license:cc0
|
|
|
|
|
license:public-domain))))
|
2016-07-04 17:35:14 +02:00
|
|
|
|
|
|
|
|
|
(define-public chromium-bsu
|
|
|
|
|
(package
|
|
|
|
|
(name "chromium-bsu")
|
2016-11-04 16:17:09 +01:00
|
|
|
|
(version "0.9.16.1")
|
2016-07-04 17:35:14 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-03-29 02:55:32 +01:00
|
|
|
|
(uri (string-append "mirror://sourceforge/chromium-bsu"
|
2016-07-04 17:35:14 +02:00
|
|
|
|
"/Chromium B.S.U. source code/"
|
2019-03-29 02:55:32 +01:00
|
|
|
|
"chromium-bsu-" version ".tar.gz"))
|
2016-07-04 17:35:14 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-11-04 16:17:09 +01:00
|
|
|
|
"0jk2w5b6s6nkzri585bbz16cif2fhqcnl5l1mq3rd98r9nil3hd1"))))
|
2016-07-04 17:35:14 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
2016-11-18 18:26:08 +01:00
|
|
|
|
(inputs `(("gettext" ,gettext-minimal)
|
2016-11-04 16:17:09 +01:00
|
|
|
|
("glu" ,glu)
|
2016-07-04 17:35:14 +02:00
|
|
|
|
("quesoglc" ,quesoglc)
|
|
|
|
|
("sdl-union" ,(sdl-union (list sdl sdl-image sdl-mixer)))))
|
|
|
|
|
(home-page "http://chromium-bsu.sourceforge.net/")
|
|
|
|
|
(synopsis "Fast-paced, arcade-style, top-scrolling space shooter")
|
|
|
|
|
(description
|
|
|
|
|
"In this game you are the captain of the cargo ship Chromium B.S.U. and
|
|
|
|
|
are responsible for delivering supplies to the troops on the front line. Your
|
|
|
|
|
ship has a small fleet of robotic fighters which you control from the relative
|
|
|
|
|
safety of the Chromium vessel.")
|
|
|
|
|
;; Clarified Artistic License for everything but sound, which is covered
|
|
|
|
|
;; by the Expat License.
|
|
|
|
|
(license (list license:clarified-artistic license:expat))))
|
2016-07-09 03:13:58 +02:00
|
|
|
|
|
|
|
|
|
(define-public tuxpaint
|
|
|
|
|
(package
|
|
|
|
|
(name "tuxpaint")
|
2018-11-30 04:22:03 +01:00
|
|
|
|
(version "0.9.23") ;keep VER_DATE below in sync
|
2016-07-09 03:13:58 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/tuxpaint/tuxpaint/"
|
|
|
|
|
version "/tuxpaint-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-11-30 04:22:03 +01:00
|
|
|
|
"09k9pxi88r3dx6dyjwf9h85d4qpva4i29qz63dc558hg9v21k69l"))
|
2016-07-09 03:13:58 +02:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Remove win32 directory which contains binary dll's and the
|
|
|
|
|
;; deprecated visualc directory.
|
|
|
|
|
(for-each delete-file-recursively '("win32" "visualc"))
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
;; Do not rely on $(GPERF) being an absolute file name
|
|
|
|
|
(("\\[ -x \\$\\(GPERF\\) \\]")
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
"$(GPERF) --version >/dev/null 2>&1"))
|
|
|
|
|
#t))
|
2016-07-09 03:13:58 +02:00
|
|
|
|
(patches (search-patches "tuxpaint-stamps-path.patch"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gperf" ,gperf)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("cairo" ,cairo)
|
|
|
|
|
("fribidi" ,fribidi)
|
2016-09-25 09:33:02 +02:00
|
|
|
|
("gettext" ,gettext-minimal)
|
2016-07-09 03:13:58 +02:00
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("librsvg" ,librsvg)
|
|
|
|
|
("libpaper" ,libpaper)
|
|
|
|
|
("netpbm" ,netpbm)
|
|
|
|
|
("sdl" ,(sdl-union (list sdl sdl-mixer sdl-ttf sdl-image)))))
|
|
|
|
|
;; TODO: Use system fonts rather than those in data/fonts
|
|
|
|
|
(arguments
|
2018-11-30 04:22:03 +01:00
|
|
|
|
`(#:make-flags `("VER_DATE=2018-09-02"
|
2016-07-09 03:13:58 +02:00
|
|
|
|
"GPERF=gperf" "CC=gcc"
|
|
|
|
|
"SDL_PCNAME=sdl SDL_image SDL_mixer SDL_ttf"
|
|
|
|
|
,(string-append "PREFIX=" %output)
|
2018-12-01 18:13:25 +01:00
|
|
|
|
"KDE_PREFIX=$(PREFIX)/share/applications"
|
|
|
|
|
"KDE_ICON_PREFIX=$(PREFIX)/share/icons/"
|
2016-07-09 03:13:58 +02:00
|
|
|
|
"COMPLETIONDIR=$(PREFIX)/etc/bash_completion.d")
|
2017-04-20 19:30:00 +02:00
|
|
|
|
#:parallel-build? #f ;fails on some systems
|
2016-07-09 03:13:58 +02:00
|
|
|
|
#:tests? #f ;No tests
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ;no configure phase
|
2018-12-01 18:13:25 +01:00
|
|
|
|
(add-before 'install 'no-sys-cache
|
|
|
|
|
(lambda _ ;do not rebuild system conf cache
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("kbuildsycoca4") ""))
|
|
|
|
|
#t))
|
2016-07-09 03:13:58 +02:00
|
|
|
|
(add-after 'install 'fix-import
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(net (assoc-ref inputs "netpbm"))
|
|
|
|
|
(tpi (string-append out "/bin/tuxpaint-import")))
|
|
|
|
|
(substitute* tpi
|
|
|
|
|
;; Point to installation prefix so that the default
|
|
|
|
|
;; configure file is found.
|
|
|
|
|
(("/usr/local") out))
|
|
|
|
|
;; tuxpaint-import uses a bunch of programs from
|
|
|
|
|
;; netpbm, so make sure it knows where those are
|
|
|
|
|
(wrap-program tpi
|
|
|
|
|
`("PATH" ":" prefix
|
|
|
|
|
(,(string-append net "/bin"))))))))))
|
|
|
|
|
(native-search-paths
|
|
|
|
|
(list (search-path-specification
|
|
|
|
|
(variable "TUXPAINT_STAMPS_PATH")
|
|
|
|
|
(files '("share/tuxpaint/stamps")))))
|
|
|
|
|
(home-page "http://www.tuxpaint.org")
|
|
|
|
|
(synopsis "Drawing software for children")
|
|
|
|
|
(description
|
|
|
|
|
"Tux Paint is a free drawing program designed for young children (kids
|
|
|
|
|
ages 3 and up). It has a simple, easy-to-use interface; fun sound effects;
|
|
|
|
|
and an encouraging cartoon mascot who helps guide children as they use the
|
|
|
|
|
program. It provides a blank canvas and a variety of drawing tools to help
|
|
|
|
|
your child be creative.")
|
|
|
|
|
(license license:gpl2+)))
|
2016-07-09 03:15:43 +02:00
|
|
|
|
|
|
|
|
|
(define-public tuxpaint-stamps
|
|
|
|
|
(package
|
|
|
|
|
(name "tuxpaint-stamps")
|
2018-11-30 04:22:35 +01:00
|
|
|
|
(version "2018.09.01")
|
2016-07-09 03:15:43 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/tuxpaint/tuxpaint-stamps/"
|
|
|
|
|
(string-map (λ (x) (if (eq? x #\.) #\- x)) version)
|
|
|
|
|
"/tuxpaint-stamps-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-11-30 04:22:35 +01:00
|
|
|
|
"1skr23k27yj3vgwfazpzxp90lb2a278gxrkr3bxw7az6zpkmb3yp"))))
|
2016-07-09 03:15:43 +02:00
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("tar" ,tar)
|
|
|
|
|
("gzip" ,gzip)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder (begin
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
(setenv "PATH"
|
|
|
|
|
(string-append
|
|
|
|
|
(assoc-ref %build-inputs "tar") "/bin" ":"
|
|
|
|
|
(assoc-ref %build-inputs "gzip") "/bin"))
|
gnu: Use invoke and return #t from all builders.
* gnu/packages/admin.scm, gnu/packages/android.scm, gnu/packages/audio.scm,
gnu/packages/avr.scm, gnu/packages/base.scm, gnu/packages/bioinformatics.scm,
gnu/packages/certs.scm, gnu/packages/check.scm, gnu/packages/code.scm,
gnu/packages/commencement.scm, gnu/packages/dictionaries.scm,
gnu/packages/docbook.scm, gnu/packages/emacs.scm, gnu/packages/embedded.scm,
gnu/packages/fonts.scm, gnu/packages/games.scm, gnu/packages/gnome.scm,
gnu/packages/gnu-doc.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm,
gnu/packages/javascript.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lxde.scm,
gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm,
gnu/packages/pkg-config.scm, gnu/packages/qt.scm, gnu/packages/rust.scm,
gnu/packages/scheme.scm, gnu/packages/sdl.scm, gnu/packages/statistics.scm,
gnu/packages/syncthing.scm, gnu/packages/tex.scm, gnu/packages/web.scm,
gnu/packages/wine.scm, gnu/packages/xfce.scm: In the builders of packages
using 'trivial-build-system', use invoke where appropriate, raise exceptions
on errors, and otherwise return #t.
2018-03-28 02:14:05 +02:00
|
|
|
|
(invoke "tar" "xvf" (assoc-ref %build-inputs "source"))
|
2016-07-09 03:15:43 +02:00
|
|
|
|
(chdir (string-append ,name "-" ,version))
|
|
|
|
|
(let ((dir (string-append %output "/share/tuxpaint/stamps")))
|
|
|
|
|
(mkdir-p dir)
|
gnu: Use invoke and return #t from all builders.
* gnu/packages/admin.scm, gnu/packages/android.scm, gnu/packages/audio.scm,
gnu/packages/avr.scm, gnu/packages/base.scm, gnu/packages/bioinformatics.scm,
gnu/packages/certs.scm, gnu/packages/check.scm, gnu/packages/code.scm,
gnu/packages/commencement.scm, gnu/packages/dictionaries.scm,
gnu/packages/docbook.scm, gnu/packages/emacs.scm, gnu/packages/embedded.scm,
gnu/packages/fonts.scm, gnu/packages/games.scm, gnu/packages/gnome.scm,
gnu/packages/gnu-doc.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm,
gnu/packages/javascript.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lxde.scm,
gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm,
gnu/packages/pkg-config.scm, gnu/packages/qt.scm, gnu/packages/rust.scm,
gnu/packages/scheme.scm, gnu/packages/sdl.scm, gnu/packages/statistics.scm,
gnu/packages/syncthing.scm, gnu/packages/tex.scm, gnu/packages/web.scm,
gnu/packages/wine.scm, gnu/packages/xfce.scm: In the builders of packages
using 'trivial-build-system', use invoke where appropriate, raise exceptions
on errors, and otherwise return #t.
2018-03-28 02:14:05 +02:00
|
|
|
|
(copy-recursively "stamps" dir))
|
|
|
|
|
#t)))
|
2016-07-09 03:15:43 +02:00
|
|
|
|
(home-page (package-home-page tuxpaint))
|
|
|
|
|
(synopsis "Stamp images for Tux Paint")
|
|
|
|
|
(description
|
|
|
|
|
"This package contains a set of \"Rubber Stamp\" images which can be used
|
|
|
|
|
with the \"Stamp\" tool within Tux Paint.")
|
|
|
|
|
(license license:gpl2+)))
|
2016-07-09 07:08:01 +02:00
|
|
|
|
|
|
|
|
|
(define-public tuxpaint-config
|
|
|
|
|
(package
|
|
|
|
|
(name "tuxpaint-config")
|
2018-11-30 04:23:06 +01:00
|
|
|
|
(version "0.0.14") ;keep VER_DATE below in sync
|
2016-07-09 07:08:01 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/tuxpaint/tuxpaint-config/"
|
|
|
|
|
version "/tuxpaint-config-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2018-11-30 04:23:06 +01:00
|
|
|
|
"0zkgxk436nqcp43zghkfmh397c7dvh5bwn2as7gwvv208bzyij6g"))))
|
2016-07-09 07:08:01 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
2016-09-25 09:33:02 +02:00
|
|
|
|
`(("gettext" ,gettext-minimal)))
|
2016-07-09 07:08:01 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("fltk" ,fltk)
|
|
|
|
|
("libpaper" ,libpaper)
|
|
|
|
|
;; TODO: Should the following be propagated by fltk?
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxft" ,libxft)
|
|
|
|
|
("mesa" ,mesa)))
|
|
|
|
|
(arguments
|
2018-11-30 04:23:06 +01:00
|
|
|
|
`(#:make-flags `("VER_DATE=2018-09-01"
|
2016-07-09 07:08:01 +02:00
|
|
|
|
"CONFDIR=/etc/tuxpaint" ;don't write to store
|
|
|
|
|
,(string-append "PREFIX=" %output)
|
|
|
|
|
"GNOME_PREFIX=$(PREFIX)")
|
2016-08-06 06:45:00 +02:00
|
|
|
|
#:parallel-build? #f ;race conditions
|
2016-07-09 07:08:01 +02:00
|
|
|
|
#:tests? #f ;no tests
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ;no configure phase
|
|
|
|
|
(add-before 'install 'gzip-no-name
|
|
|
|
|
(lambda* _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
;; tuxpaint-config compresses its own documentation;
|
|
|
|
|
;; make sure it uses flags for reproducibility.
|
|
|
|
|
(("gzip") "gzip --no-name"))))
|
|
|
|
|
(add-before 'install 'make-install-dirs
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(mkdir-p (string-append out "/bin"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(home-page (package-home-page tuxpaint))
|
|
|
|
|
(synopsis "Configure Tux Paint")
|
|
|
|
|
(description
|
|
|
|
|
"Tux Paint Config is a graphical configuration editor for Tux Paint.")
|
|
|
|
|
(license license:gpl2))) ;no "or later" present
|
2016-08-01 19:30:47 +02:00
|
|
|
|
|
|
|
|
|
(define-public supertux
|
|
|
|
|
(package
|
|
|
|
|
(name "supertux")
|
2020-05-16 22:32:38 +02:00
|
|
|
|
(version "0.6.2")
|
2016-08-01 19:30:47 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-10-04 08:28:53 +02:00
|
|
|
|
(uri (string-append "https://github.com/SuperTux/supertux/"
|
|
|
|
|
"releases/download/v" version "/SuperTux-v"
|
|
|
|
|
version "-Source.tar.gz"))
|
2019-05-25 02:50:31 +02:00
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2016-08-01 19:30:47 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-16 22:32:38 +02:00
|
|
|
|
"167m3z4m8n76dvbv42m1fnvabpbpsxvr28zk9641916jl9pfba96"))
|
2019-05-25 02:50:31 +02:00
|
|
|
|
(patches
|
2019-07-19 18:00:41 +02:00
|
|
|
|
(search-patches "supertux-unbundle-squirrel.patch"))))
|
2016-10-04 08:28:53 +02:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f
|
|
|
|
|
#:configure-flags '("-DINSTALL_SUBDIR_BIN=bin"
|
2019-05-25 02:50:31 +02:00
|
|
|
|
"-DUSE_SYSTEM_PHYSFS=ON")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-squirrel-path
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((squirrel (assoc-ref inputs "squirrel")))
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("set\\(SQUIRREL_PREFIX.*")
|
|
|
|
|
(string-append "set(SQUIRREL_PREFIX " squirrel ")"))
|
|
|
|
|
(("add_dependencies\\(supertux2_lib squirrel\\)") "")
|
|
|
|
|
(("\\$\\{SQUIRREL_PREFIX\\}/include")
|
|
|
|
|
(string-append "${SQUIRREL_PREFIX}/include/squirrel"))))
|
|
|
|
|
#t)))))
|
2016-08-01 19:30:47 +02:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs `(("sdl2" ,sdl2)
|
|
|
|
|
("sdl2-image" ,sdl2-image)
|
|
|
|
|
("sdl2-mixer" ,sdl2-mixer)
|
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("glew" ,glew)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("libogg" ,libogg)
|
|
|
|
|
("physfs" ,physfs)
|
|
|
|
|
("curl" ,curl)
|
2019-05-25 02:50:31 +02:00
|
|
|
|
("boost" ,boost)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("squirrel" ,squirrel)))
|
2020-01-06 18:28:59 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2016-08-01 19:30:47 +02:00
|
|
|
|
(synopsis "2D platformer game")
|
2020-01-06 18:28:59 +01:00
|
|
|
|
(description "SuperTux is a classic 2D jump'n run sidescroller game in
|
|
|
|
|
a style similar to the original Super Mario games.")
|
2019-06-26 19:45:34 +02:00
|
|
|
|
(home-page "https://supertux.org/")
|
2016-08-01 19:30:47 +02:00
|
|
|
|
(license license:gpl3+)))
|
2016-02-07 12:57:40 +01:00
|
|
|
|
|
2016-08-08 21:54:50 +02:00
|
|
|
|
(define-public tintin++
|
|
|
|
|
(package
|
|
|
|
|
(name "tintin++")
|
2020-03-18 01:31:32 +01:00
|
|
|
|
(version "2.02.02")
|
2019-02-16 19:34:42 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/tintin/TinTin++ Source Code/"
|
2020-01-13 04:32:57 +01:00
|
|
|
|
(string-drop-right version 1)
|
2019-02-16 19:34:42 +01:00
|
|
|
|
"/tintin-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-03-18 01:31:32 +01:00
|
|
|
|
(base32 "11ylbp8ip7dwmh4gzb53z147pcfxkl3lwhyy8ngyn2zc634vdn65"))))
|
2016-08-08 21:54:50 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("gnutls" ,gnutls)
|
|
|
|
|
("pcre" ,pcre)
|
|
|
|
|
("readline" ,readline)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
2019-02-16 19:34:42 +01:00
|
|
|
|
'(#:tests? #f ; no test suite
|
2016-08-08 21:54:50 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; The source is in tt/src.
|
|
|
|
|
(add-before 'configure 'chdir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "src")
|
|
|
|
|
#t)))))
|
|
|
|
|
(build-system gnu-build-system)
|
2020-01-13 04:32:57 +01:00
|
|
|
|
(home-page "https://tintin.mudhalla.net/")
|
2016-08-08 21:54:50 +02:00
|
|
|
|
(synopsis "MUD client")
|
|
|
|
|
(description
|
2019-01-13 00:37:38 +01:00
|
|
|
|
"TinTin++ is a MUD client which supports MCCP (Mud Client Compression
|
|
|
|
|
Protocol), MMCP (Mud Master Chat Protocol), xterm 256 colors, most TELNET
|
|
|
|
|
options used by MUDs, as well as those required to login via telnet on
|
|
|
|
|
Linux / Mac OS X servers, and an auto mapper with a VT100 map display.")
|
2020-01-13 04:32:57 +01:00
|
|
|
|
(license license:gpl3+)))
|
2016-08-08 21:54:50 +02:00
|
|
|
|
|
2016-02-07 12:57:40 +01:00
|
|
|
|
(define-public laby
|
|
|
|
|
(package
|
|
|
|
|
(name "laby")
|
|
|
|
|
(version "0.6.4")
|
|
|
|
|
(source
|
2019-11-19 22:01:09 +01:00
|
|
|
|
(origin (method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/sgimenez/laby.git")
|
|
|
|
|
(commit (string-append name "-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2016-02-07 12:57:40 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-11-19 22:01:09 +01:00
|
|
|
|
"12fq9hhrxpzgfinmj9ra9ckss9yficwdlrmgjvvsq7agvh3sgyl1"))
|
2016-02-07 12:57:40 +01:00
|
|
|
|
(patches (search-patches "laby-make-install.patch"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("lablgtk" ,lablgtk)
|
|
|
|
|
("ocaml" ,ocaml)
|
2019-04-15 05:09:45 +02:00
|
|
|
|
("ocaml-findlib" ,ocaml-findlib)
|
|
|
|
|
("ocamlbuild" ,ocamlbuild)))
|
2016-02-07 12:57:40 +01:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
2019-04-15 05:09:45 +02:00
|
|
|
|
(add-before 'build 'allow-unsafe-strings
|
|
|
|
|
;; Fix a build failure with ocaml >=4.06.0.
|
|
|
|
|
;; See <https://github.com/sgimenez/laby/issues/53>.
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "OCAMLPARAM" "safe-string=0,_")
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'build 'set-library-path
|
2016-02-07 12:57:40 +01:00
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((lablgtk (assoc-ref inputs "lablgtk")))
|
|
|
|
|
(setenv "LD_LIBRARY_PATH"
|
|
|
|
|
(string-append lablgtk "/lib/ocaml/stublibs"))))))
|
|
|
|
|
#:tests? #f ; no 'check' target
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out")) "all")))
|
|
|
|
|
(home-page "https://sgimenez.github.io/laby/")
|
|
|
|
|
(synopsis "Programming game")
|
|
|
|
|
(description "Learn programming, playing with ants and spider webs ;-)
|
|
|
|
|
Your robot ant can be programmed in many languages: OCaml, Python, C, C++,
|
|
|
|
|
Java, Ruby, Lua, JavaScript, Pascal, Perl, Scheme, Vala, Prolog. Experienced
|
|
|
|
|
programmers may also add their own favorite language.")
|
|
|
|
|
(license license:gpl3+)))
|
2016-08-30 22:40:27 +02:00
|
|
|
|
|
|
|
|
|
(define-public bambam
|
|
|
|
|
(package
|
|
|
|
|
(name "bambam")
|
2019-11-24 13:32:24 +01:00
|
|
|
|
(version "1.0.0")
|
2016-08-30 22:40:27 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2018-07-02 00:51:54 +02:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/porridge/bambam")
|
2019-11-24 13:32:24 +01:00
|
|
|
|
(commit (string-append "v" version))))
|
2018-07-02 00:51:54 +02:00
|
|
|
|
(file-name (git-file-name name version))
|
2016-08-30 22:40:27 +02:00
|
|
|
|
(sha256
|
2019-11-24 13:32:24 +01:00
|
|
|
|
(base32 "18cwd1wpyyx8y61cags9bkdhx9x858xicc4y1c9c2s0xjmgzhl3i"))))
|
2016-08-30 22:40:27 +02:00
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
2019-11-24 13:32:24 +01:00
|
|
|
|
`(#:tests? #f ; no tests
|
2016-08-30 22:40:27 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2019-11-24 13:32:24 +01:00
|
|
|
|
(delete 'build) ; nothing to build
|
2016-08-30 22:40:27 +02:00
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(share (string-append out "/share")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(copy-file "bambam.py" (string-append bin "/bambam"))
|
|
|
|
|
(install-file "bambam.6" (string-append share "/man/man6"))
|
|
|
|
|
(copy-recursively "data" (string-append share "/bambam/data")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python-pygame" ,python-pygame)))
|
|
|
|
|
(home-page "https://github.com/porridge/bambam")
|
2016-08-31 19:16:19 +02:00
|
|
|
|
(synopsis "Keyboard mashing and doodling game for babies")
|
2016-08-30 22:40:27 +02:00
|
|
|
|
(description "Bambam is a simple baby keyboard (and gamepad) masher
|
|
|
|
|
application that locks the keyboard and mouse and instead displays bright
|
|
|
|
|
colors, pictures, and sounds.")
|
|
|
|
|
(license license:gpl3+)))
|
2016-09-17 07:38:58 +02:00
|
|
|
|
|
2018-06-18 17:55:27 +02:00
|
|
|
|
(define-public mrrescue
|
|
|
|
|
(package
|
|
|
|
|
(name "mrrescue")
|
|
|
|
|
(version "1.02e")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/SimonLarsen/mrrescue/releases/"
|
2019-03-29 04:29:06 +01:00
|
|
|
|
"download/" version "/mrrescue" version ".love"))
|
2018-06-18 17:55:27 +02:00
|
|
|
|
(file-name (string-append name "-" version ".love"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0jwzbwkgp1l5ia6c7s760gmdirbsncp6nfqp7vqdqsfb63la9gl2"))))
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(arguments
|
2018-06-19 04:49:33 +02:00
|
|
|
|
`(#:modules ((guix build utils))
|
2018-06-18 17:55:27 +02:00
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils))
|
2018-06-19 04:49:33 +02:00
|
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(script (string-append out "/bin/" ,name))
|
|
|
|
|
(data (string-append out "/share/" ,name))
|
|
|
|
|
(source (assoc-ref %build-inputs "source"))
|
|
|
|
|
(unzip (string-append (assoc-ref %build-inputs "unzip")
|
|
|
|
|
"/bin/unzip"))
|
|
|
|
|
(patch (string-append (assoc-ref %build-inputs "patch")
|
|
|
|
|
"/bin/patch"))
|
|
|
|
|
(bash (string-append (assoc-ref %build-inputs "bash")
|
|
|
|
|
"/bin/bash"))
|
|
|
|
|
(love (string-append (assoc-ref %build-inputs "love")
|
|
|
|
|
"/bin/love")))
|
|
|
|
|
|
|
|
|
|
(mkdir-p (dirname script))
|
|
|
|
|
(with-output-to-file script
|
2018-06-18 17:55:27 +02:00
|
|
|
|
(lambda ()
|
|
|
|
|
(format #t "#!~a~%" bash)
|
2018-06-19 04:49:33 +02:00
|
|
|
|
(format #t "exec -a ~a \"~a\" \"~a\"~%" ,name love data)))
|
|
|
|
|
(chmod script #o755)
|
|
|
|
|
|
|
|
|
|
;; The better way to package this game would be to install *only* the
|
|
|
|
|
;; script above, pointing to the unextracted .love file in the store.
|
|
|
|
|
;; However, mrrescue 1.02e needs to be patched to work with Love 11.
|
|
|
|
|
;; Instead of extracting the .love file, patching it, and re-zipping
|
|
|
|
|
;; it to the store, simply point the script to the extracted patched
|
|
|
|
|
;; data directory directly.
|
|
|
|
|
(mkdir-p data)
|
|
|
|
|
(with-directory-excursion data
|
|
|
|
|
(invoke unzip source)
|
|
|
|
|
(invoke patch "-p1" "-i"
|
|
|
|
|
(assoc-ref %build-inputs "love-11.patch")))
|
2018-06-18 17:55:27 +02:00
|
|
|
|
#t))))
|
2018-06-19 04:49:33 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("unzip" ,unzip)
|
|
|
|
|
("patch" ,patch)
|
|
|
|
|
("love-11.patch" ,(search-patch "mrrescue-support-love-11.patch"))))
|
2018-06-18 17:55:27 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("bash" ,bash)
|
|
|
|
|
("love" ,love)))
|
2020-01-18 21:11:59 +01:00
|
|
|
|
(home-page "https://tangramgames.dk/games/mrrescue")
|
2018-06-18 17:55:27 +02:00
|
|
|
|
(synopsis "Arcade-style fire fighting game")
|
|
|
|
|
(description
|
|
|
|
|
"Mr. Rescue is an arcade styled 2d action game centered around evacuating
|
2018-06-19 04:36:22 +02:00
|
|
|
|
civilians from burning buildings. The game features fast-paced fire
|
|
|
|
|
extinguishing action, intense boss battles, a catchy soundtrack, and lots of
|
2018-06-18 17:55:27 +02:00
|
|
|
|
throwing people around in pseudo-randomly generated buildings.")
|
|
|
|
|
(license (list license:zlib ; for source code
|
|
|
|
|
license:cc-by-sa3.0)))) ; for graphics and music assets
|
|
|
|
|
|
2016-10-05 16:09:54 +02:00
|
|
|
|
(define-public hyperrogue
|
|
|
|
|
(package
|
|
|
|
|
(name "hyperrogue")
|
2020-03-14 21:22:15 +01:00
|
|
|
|
(version "11.3a")
|
2017-03-27 22:40:17 +02:00
|
|
|
|
;; When updating this package, be sure to update the "hyperrogue-data"
|
|
|
|
|
;; origin in native-inputs.
|
2016-10-05 16:09:54 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2019-03-29 04:30:10 +01:00
|
|
|
|
"https://www.roguetemple.com/z/hyper/hyperrogue"
|
|
|
|
|
(string-join (string-split version #\.) "")
|
2017-03-27 22:40:17 +02:00
|
|
|
|
"-src.tgz"))
|
2016-10-05 16:09:54 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-03-14 21:22:15 +01:00
|
|
|
|
"1yxabbswq02fc5frigvs43f83m5vlxybc7n5mynkwzj2c70lfp2k"))))
|
2016-10-05 16:09:54 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2017-03-27 22:40:17 +02:00
|
|
|
|
`(#:tests? #f ; no check target
|
2018-10-16 02:00:03 +02:00
|
|
|
|
#:make-flags '("HYPERROGUE_USE_GLEW=1"
|
|
|
|
|
"HYPERROGUE_USE_PNG=1")
|
2016-10-05 16:09:54 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'set-paths 'set-sdl-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "CPATH"
|
2020-04-03 18:18:54 +02:00
|
|
|
|
(string-append (or (getenv "CPATH") "") ":"
|
2018-10-07 18:31:26 +02:00
|
|
|
|
(assoc-ref inputs "sdl-union")
|
2016-10-05 16:09:54 +02:00
|
|
|
|
"/include/SDL"))))
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
2017-03-27 22:40:17 +02:00
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(share-dir (string-append out "/share/hyperrogue"))
|
|
|
|
|
(dejavu-dir (string-append
|
|
|
|
|
(assoc-ref inputs "font-dejavu")
|
|
|
|
|
"/share/fonts/truetype"))
|
|
|
|
|
(dejavu-font "DejaVuSans-Bold.ttf")
|
|
|
|
|
(music-file "hyperrogue-music.txt"))
|
2018-07-23 02:47:10 +02:00
|
|
|
|
;; Fix font and music paths.
|
2017-08-01 18:14:54 +02:00
|
|
|
|
(substitute* "basegraph.cpp"
|
2017-03-27 22:40:17 +02:00
|
|
|
|
((dejavu-font)
|
|
|
|
|
(string-append dejavu-dir "/" dejavu-font)))
|
|
|
|
|
(substitute* music-file
|
|
|
|
|
(("\\*/")
|
2018-10-16 02:00:03 +02:00
|
|
|
|
(string-append share-dir "/sounds/")))
|
|
|
|
|
(substitute* "sound.cpp"
|
|
|
|
|
(("musicfile = \"\"")
|
|
|
|
|
(string-append "musicfile = \""
|
|
|
|
|
share-dir "/" music-file "\"")))
|
|
|
|
|
;; Disable build machine CPU optimizations and warnings treated
|
|
|
|
|
;; as errors.
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("-march=native") "")
|
|
|
|
|
(("-Werror") "")))
|
2016-10-05 16:09:54 +02:00
|
|
|
|
#t))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(share-dir (string-append out "/share/hyperrogue")))
|
|
|
|
|
(mkdir-p bin)
|
2018-10-16 02:00:03 +02:00
|
|
|
|
(install-file "hyperrogue" bin)
|
2017-03-27 22:40:17 +02:00
|
|
|
|
(install-file "hyperrogue-music.txt" share-dir))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'install-data
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((data (assoc-ref inputs "hyperrogue-data"))
|
|
|
|
|
(out (assoc-ref outputs "out"))
|
|
|
|
|
(sounds (string-append out "/share/hyperrogue/sounds"))
|
|
|
|
|
(unzip (string-append (assoc-ref inputs "unzip") "/bin/unzip")))
|
2018-07-23 02:47:10 +02:00
|
|
|
|
;; Extract media license information into sounds directory.
|
|
|
|
|
(invoke unzip "-j" data
|
|
|
|
|
(string-append
|
|
|
|
|
"hyperrogue"
|
|
|
|
|
(string-join (string-split ,version #\.) "")
|
|
|
|
|
"/sounds/credits.txt") "-d" sounds)
|
|
|
|
|
;; Extract sounds and music into sounds directory.
|
|
|
|
|
(invoke "unzip" "-j" data
|
|
|
|
|
(string-append
|
|
|
|
|
"hyperrogue"
|
|
|
|
|
(string-join (string-split ,version #\.) "")
|
|
|
|
|
"/*.ogg") "-d" sounds)))))))
|
2017-03-27 22:40:17 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("hyperrogue-data"
|
|
|
|
|
,(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append
|
2019-03-29 04:07:18 +01:00
|
|
|
|
"https://www.roguetemple.com/z/hyper/hyperrogue"
|
2017-03-27 22:40:17 +02:00
|
|
|
|
(string-join (string-split version #\.) "")
|
|
|
|
|
"-win.zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-03-14 21:22:15 +01:00
|
|
|
|
"11yhbia45f1w9z0j67h9nynwjqmvakr9l6rnrmdrdkzin6lvzzj4"))))
|
2017-03-27 22:40:17 +02:00
|
|
|
|
("unzip" ,unzip)))
|
2016-10-05 16:09:54 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("font-dejavu" ,font-dejavu)
|
|
|
|
|
("glew" ,glew)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("sdl-union" ,(sdl-union (list sdl
|
|
|
|
|
sdl-gfx
|
|
|
|
|
sdl-mixer
|
|
|
|
|
sdl-ttf)))))
|
2018-10-30 23:21:21 +01:00
|
|
|
|
(home-page "https://www.roguetemple.com/z/hyper/")
|
2016-10-05 16:09:54 +02:00
|
|
|
|
(synopsis "Non-euclidean graphical rogue-like game")
|
|
|
|
|
(description
|
|
|
|
|
"HyperRogue is a game in which the player collects treasures and fights
|
|
|
|
|
monsters -- rogue-like but for the fact that it is played on the hyperbolic
|
|
|
|
|
plane and not in euclidean space.
|
|
|
|
|
|
|
|
|
|
In HyperRogue, the player can move through different parts of the world, which
|
2017-03-29 17:45:50 +02:00
|
|
|
|
are home to particular creatures and may be subject to their own rules of
|
|
|
|
|
\"physics\".
|
2016-10-05 16:09:54 +02:00
|
|
|
|
|
2017-03-29 17:45:50 +02:00
|
|
|
|
While the game can use ASCII characters to display the the classical rogue
|
|
|
|
|
symbols, it still needs graphics to render the non-euclidean world.")
|
2017-03-27 22:40:17 +02:00
|
|
|
|
(license (list license:bsd-3 ; glew.c, mtrand.*
|
|
|
|
|
license:cc-by-sa3.0 ; music
|
|
|
|
|
license:cc-by-sa4.0 ; sounds
|
|
|
|
|
license:cc0
|
|
|
|
|
license:public-domain ; direntx.*, some sounds
|
|
|
|
|
license:zlib ; savepng.*
|
2016-10-05 16:09:54 +02:00
|
|
|
|
license:gpl2+)))) ; remaining files
|
2016-10-16 22:04:35 +02:00
|
|
|
|
|
|
|
|
|
(define-public kobodeluxe
|
|
|
|
|
(package
|
|
|
|
|
(name "kobodeluxe")
|
|
|
|
|
(version "0.5.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://olofson.net/kobodl/download/KoboDeluxe-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0b2wvdpnmaibsy419c16dfwj5kvd3pccby2aaqvm964x74592yqg"))
|
|
|
|
|
(patches (search-patches
|
|
|
|
|
"kobodeluxe-const-charp-conversion.patch"
|
|
|
|
|
"kobodeluxe-enemies-pipe-decl.patch"
|
|
|
|
|
"kobodeluxe-graphics-window-signed-char.patch"
|
|
|
|
|
"kobodeluxe-manpage-minus-not-hyphen.patch"
|
|
|
|
|
"kobodeluxe-midicon-segmentation-fault.patch"
|
|
|
|
|
"kobodeluxe-paths.patch"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags
|
|
|
|
|
(list (string-append "CPPFLAGS=-I"
|
|
|
|
|
(assoc-ref %build-inputs "sdl-union")
|
|
|
|
|
"/include/SDL"))))
|
2020-01-26 15:51:23 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("glu" ,glu)
|
|
|
|
|
("sdl-union" ,(sdl-union (list sdl sdl-image)))))
|
2016-10-16 22:04:35 +02:00
|
|
|
|
(synopsis "Shooter with space station destruction")
|
|
|
|
|
(description
|
|
|
|
|
"Kobo Deluxe is an enhanced version of Akira Higuchi's XKobo graphical game
|
|
|
|
|
for Un*x systems with X11.")
|
|
|
|
|
(home-page "http://olofson.net/kobodl/")
|
|
|
|
|
(license license:gpl2+)))
|
2017-02-01 18:13:13 +01:00
|
|
|
|
|
|
|
|
|
(define-public freeciv
|
|
|
|
|
(package
|
|
|
|
|
(name "freeciv")
|
2020-02-18 00:58:34 +01:00
|
|
|
|
(version "2.6.2")
|
2017-02-01 18:13:13 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2017-06-03 21:44:37 +02:00
|
|
|
|
(uri (list (string-append
|
|
|
|
|
"http://files.freeciv.org/stable/freeciv-"
|
|
|
|
|
version ".tar.bz2")
|
|
|
|
|
(string-append
|
|
|
|
|
"mirror://sourceforge/freeciv/Freeciv%20"
|
|
|
|
|
(version-major+minor version) "/" version
|
|
|
|
|
"/freeciv-" version ".tar.bz2")))
|
2017-02-01 18:13:13 +01:00
|
|
|
|
(sha256
|
2020-02-18 00:58:34 +01:00
|
|
|
|
(base32 "13vc2xg1cf19rhbnr7k38b56b2hdapqymq5vma1l69kn7hyyz0b1"))))
|
2017-02-01 18:13:13 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("curl" ,curl)
|
|
|
|
|
("cyrus-sasl" ,cyrus-sasl)
|
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
|
("sdl-mixer" ,sdl-mixer)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "http://www.freeciv.org/")
|
2020-01-02 00:21:41 +01:00
|
|
|
|
(synopsis "Turn-based empire building strategy game")
|
|
|
|
|
(description "Freeciv is a turn-based empire building strategy game
|
2017-02-01 18:13:13 +01:00
|
|
|
|
inspired by the history of human civilization. The game commences in
|
|
|
|
|
prehistory and your mission is to lead your tribe from the Stone Age
|
2020-01-02 00:21:41 +01:00
|
|
|
|
into the Space Age.")
|
2017-02-01 18:13:13 +01:00
|
|
|
|
(license license:gpl2+)))
|
2017-02-02 15:32:14 +01:00
|
|
|
|
|
|
|
|
|
(define-public no-more-secrets
|
|
|
|
|
(package
|
|
|
|
|
(name "no-more-secrets")
|
2017-10-09 20:47:54 +02:00
|
|
|
|
(version "0.3.3")
|
2017-02-02 15:32:14 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-03-29 03:46:58 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/bartobri/no-more-secrets.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-02-02 15:32:14 +01:00
|
|
|
|
(sha256
|
2019-03-29 03:46:58 +01:00
|
|
|
|
(base32 "1zfv4qabikf8w9winsr4brxrdvs3f0d7xvydksyx8bydadsm2v2h"))))
|
2017-02-02 15:32:14 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:make-flags (list "CC=gcc" "all-ncurses"
|
|
|
|
|
(string-append "prefix="
|
|
|
|
|
(assoc-ref %outputs "out")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("ncurses" ,ncurses)))
|
|
|
|
|
(home-page "https://github.com/bartobri/no-more-secrets")
|
|
|
|
|
(synopsis "Recreation of data decryption effect in \"Sneakers\"")
|
|
|
|
|
(description
|
|
|
|
|
"@code{No More Secrets} provides a command line tool called \"nms\"
|
|
|
|
|
that recreates the famous data decryption effect seen on screen in the 1992
|
|
|
|
|
movie \"Sneakers\".
|
|
|
|
|
|
|
|
|
|
This command works on piped data. Pipe any ASCII or UTF-8 text to nms, and
|
|
|
|
|
it will apply the hollywood effect, initially showing encrypted data, then
|
|
|
|
|
starting a decryption sequence to reveal the original plaintext characters.")
|
|
|
|
|
(license license:expat)))
|
2017-03-20 20:16:36 +01:00
|
|
|
|
|
|
|
|
|
(define-public megaglest-data
|
|
|
|
|
(package
|
|
|
|
|
(name "megaglest-data")
|
|
|
|
|
(version "3.13.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/MegaGlest/megaglest-data"
|
|
|
|
|
"/releases/download/" version "/megaglest-data-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0ipgza33z89fw3si32iafm981f3fvm0zldvbxj29whghd2k3rpj3"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f))
|
|
|
|
|
(home-page "https://megaglest.org/")
|
|
|
|
|
(synopsis "Data files for MegaGlest")
|
|
|
|
|
(description "This package contains the data files required for MegaGlest.")
|
|
|
|
|
(license license:cc-by-sa3.0)))
|
2017-03-20 20:16:37 +01:00
|
|
|
|
|
|
|
|
|
(define-public megaglest
|
|
|
|
|
(package
|
|
|
|
|
(name "megaglest")
|
|
|
|
|
(version "3.13.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/MegaGlest/megaglest-source"
|
|
|
|
|
"/releases/download/" version "/megaglest-source-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1ffck3ii1wp5k3nn5p0ga06jgp7pzk4zw0xln3xim2w7qrxzdzh9"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("curl" ,curl)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("ftgl" ,ftgl)
|
|
|
|
|
("glew" ,glew)
|
|
|
|
|
("libjpeg-turbo" ,libjpeg-turbo)
|
|
|
|
|
("megaglest-data" ,megaglest-data)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("miniupnpc" ,miniupnpc)
|
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("libircclient" ,libircclient)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("lua" ,lua)
|
|
|
|
|
("sdl2" ,sdl2)
|
|
|
|
|
("wxwidgets" ,wxwidgets)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("cppunit" ,cppunit)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list (string-append "-DCUSTOM_DATA_INSTALL_PATH="
|
|
|
|
|
(assoc-ref %build-inputs "megaglest-data")
|
|
|
|
|
"/share/megaglest")
|
|
|
|
|
"-DBUILD_MEGAGLEST_TESTS=ON")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-ini-search-path
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "source/glest_game/global/config.cpp"
|
|
|
|
|
(("/usr/share/megaglest/")
|
|
|
|
|
(string-append (assoc-ref outputs "out")
|
|
|
|
|
"/share/megaglest/"))))))
|
|
|
|
|
#:test-target "megaglest_tests"))
|
|
|
|
|
(home-page "https://megaglest.org/")
|
|
|
|
|
(synopsis "3D real-time strategy (RTS) game")
|
|
|
|
|
(description "MegaGlest is a cross-platform 3D real-time strategy (RTS)
|
|
|
|
|
game, where you control the armies of one of seven different factions: Tech,
|
|
|
|
|
Magic, Egypt, Indians, Norsemen, Persian or Romans.")
|
|
|
|
|
(license license:gpl2+)))
|
2017-04-09 13:33:08 +02:00
|
|
|
|
|
|
|
|
|
(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)))
|
2018-03-04 11:33:55 +01:00
|
|
|
|
(file-name (git-file-name name version))
|
2017-04-09 13:33:08 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1p1zf5qqagmcpi1db2bs02cnalpy3qiymp6yzan7k1bhmv859gsx"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
;; The audio files in the "music" directory are licensed under
|
|
|
|
|
;; CC-BY-NC, so we delete them.
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(delete-file-recursively "music")
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests included
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list "-DCMAKE_INSTALL_FHS=ON")
|
|
|
|
|
#: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=\""
|
|
|
|
|
(assoc-ref outputs "out") "/share/freegish\")\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")
|
|
|
|
|
(description "In FreeGish you control Gish, a ball of tar who lives
|
|
|
|
|
happily with his girlfriend Brea, until one day a mysterious dark creature
|
|
|
|
|
emerges from a sewer hole and pulls her below ground.")
|
|
|
|
|
;; The textures are available under the 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)))))
|
2017-04-10 21:38:49 +02:00
|
|
|
|
|
|
|
|
|
(define-public cdogs-sdl
|
2018-07-02 00:08:54 +02:00
|
|
|
|
(package
|
|
|
|
|
(name "cdogs-sdl")
|
2020-05-29 22:46:58 +02:00
|
|
|
|
(version "0.8.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/cxong/cdogs-sdl.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0vx37zb2iw7sfw5a2bs97ydlmb301nvy485ybdm8g46c5hn9s13c"))))
|
2018-07-02 00:08:54 +02:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list (string-append "-DCDOGS_DATA_DIR="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/share/cdogs-sdl/"))))
|
2020-05-29 22:46:58 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2018-07-02 00:08:54 +02:00
|
|
|
|
(inputs
|
2020-05-29 22:46:58 +02:00
|
|
|
|
`(("gtk+" ,gtk+)
|
|
|
|
|
("mesa" ,mesa)
|
2018-07-02 00:08:54 +02:00
|
|
|
|
("sdl2" ,sdl2)
|
|
|
|
|
("sdl2-image" ,sdl2-image)
|
|
|
|
|
("sdl2-mixer" ,sdl2-mixer)))
|
|
|
|
|
(home-page "https://cxong.github.io/cdogs-sdl/")
|
|
|
|
|
(synopsis "Classic overhead run-and-gun game")
|
|
|
|
|
(description "C-Dogs SDL is a classic overhead run-and-gun game,
|
2017-04-10 21:38:49 +02:00
|
|
|
|
supporting up to 4 players in co-op and deathmatch modes. Customize your
|
|
|
|
|
player, choose from many weapons, and blast, slide and slash your way through
|
|
|
|
|
over 100 user-created campaigns.")
|
2018-07-02 00:08:54 +02:00
|
|
|
|
;; GPLv2+ for code (includes files under BSD-2 and BSD-3),
|
|
|
|
|
;; CC0/CC-BY/CC-BY-SA for assets.
|
|
|
|
|
(license (list license:gpl2+
|
|
|
|
|
license:bsd-2
|
|
|
|
|
license:bsd-3
|
|
|
|
|
license:cc0
|
|
|
|
|
license:cc-by3.0
|
|
|
|
|
license:cc-by-sa3.0))))
|
2017-04-12 11:28:01 +02:00
|
|
|
|
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(define-public kiki
|
2017-04-12 11:28:01 +02:00
|
|
|
|
(package
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(name "kiki")
|
2017-04-12 11:28:01 +02:00
|
|
|
|
(version "1.0.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/kiki/kiki-src/"
|
|
|
|
|
version "/kiki-" version "-src.tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0ihjdsxbn8z3cz0gpcprafiipcqaiskgdnh1rhmw4qff8dszalbn"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(for-each delete-file (find-files "." "\\.dll$"))
|
|
|
|
|
#t))
|
|
|
|
|
(patches
|
|
|
|
|
(search-patches "kiki-level-selection-crash.patch"
|
|
|
|
|
"kiki-makefile.patch"
|
|
|
|
|
"kiki-missing-includes.patch"
|
|
|
|
|
"kiki-portability-64bit.patch"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; there are no tests
|
|
|
|
|
#:make-flags '("CXX=g++")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(setenv "CPLUS_INCLUDE_PATH"
|
|
|
|
|
(string-append (assoc-ref inputs "sdl-union")
|
|
|
|
|
"/include/SDL:"
|
|
|
|
|
(assoc-ref inputs "python")
|
2020-03-14 12:01:23 +01:00
|
|
|
|
"/include/python2.7:"
|
|
|
|
|
(or (getenv "CPLUS_INCLUDE_PATH") "")))
|
2017-04-12 11:28:01 +02:00
|
|
|
|
(substitute* "src/main/main.cpp"
|
|
|
|
|
(("#include <SDL.h>" line)
|
|
|
|
|
(string-append line "
|
|
|
|
|
#define K_INCLUDE_GLUT
|
|
|
|
|
#include \"KIncludeTools.h\""))
|
|
|
|
|
(("// initialize SDL" line)
|
|
|
|
|
(string-append "glutInit(&argc,argv);\n" line)))
|
|
|
|
|
(substitute* "src/main/KikiController.cpp"
|
|
|
|
|
(("getenv\\(\"KIKI_HOME\"\\)")
|
|
|
|
|
(string-append "\"" (assoc-ref outputs "out") "/share/kiki/\"")))
|
|
|
|
|
(substitute* "linux/Makefile"
|
|
|
|
|
(("CXXOPTS =" line)
|
|
|
|
|
(string-append line " -fpermissive"))
|
|
|
|
|
(("PYTHON_VERSION=.*") "PYTHON_VERSION=2.7")
|
|
|
|
|
(("PYTHONHOME =.*")
|
|
|
|
|
(string-append "PYTHONHOME = "
|
|
|
|
|
(assoc-ref inputs "python")
|
|
|
|
|
"/lib/python2.7/"))
|
|
|
|
|
(("\\$\\(GLLIBS\\)" line)
|
|
|
|
|
(string-append line " -lm -lpython2.7")))
|
|
|
|
|
(substitute* "src/main/KikiPythonWidget.h"
|
|
|
|
|
(("#define __KikiPythonWidget" line)
|
|
|
|
|
(string-append line "\n#include \"KikiPython.h\"")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'build 'build-kodilib
|
|
|
|
|
(lambda* (#:key make-flags #:allow-other-keys)
|
|
|
|
|
(with-directory-excursion "kodilib/linux"
|
2019-01-26 21:58:59 +01:00
|
|
|
|
(apply invoke "make" make-flags))))
|
2017-04-12 11:28:01 +02:00
|
|
|
|
(add-after 'build-kodilib 'chdir
|
|
|
|
|
(lambda _ (chdir "linux") #t))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(share (string-append out "/share/kiki")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(mkdir-p share)
|
|
|
|
|
(install-file "kiki" bin)
|
|
|
|
|
(copy-recursively "../py" (string-append share "/py"))
|
|
|
|
|
(copy-recursively "../sound" (string-append share "/sound"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glu" ,glu)
|
|
|
|
|
;; Kiki builds fine with freeglut 3.0.0 but segfaults on start.
|
|
|
|
|
("freeglut" ,freeglut-2.8)
|
|
|
|
|
("sdl-union" ,(sdl-union (list sdl
|
|
|
|
|
sdl-mixer
|
|
|
|
|
sdl-image)))
|
|
|
|
|
("python" ,python-2)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("swig" ,swig)))
|
|
|
|
|
(home-page "http://kiki.sourceforge.net/")
|
|
|
|
|
(synopsis "3D puzzle game")
|
|
|
|
|
(description "Kiki the nano bot is a 3D puzzle game. It is basically a
|
|
|
|
|
mixture of the games Sokoban and Kula-World. Your task is to help Kiki, a
|
|
|
|
|
small robot living in the nano world, repair its maker.")
|
|
|
|
|
;; See <http://metadata.ftp-master.debian.org/changelogs/main/k/
|
|
|
|
|
;; kiki-the-nano-bot/kiki-the-nano-bot_1.0.2+dfsg1-4_copyright>
|
|
|
|
|
;; for a statement from the author.
|
|
|
|
|
(license license:public-domain)))
|
2017-04-12 22:27:16 +02:00
|
|
|
|
|
|
|
|
|
(define-public teeworlds
|
|
|
|
|
(package
|
|
|
|
|
(name "teeworlds")
|
2020-05-01 14:18:52 +02:00
|
|
|
|
(version "0.7.5")
|
2017-04-12 22:27:16 +02:00
|
|
|
|
(source (origin
|
2018-11-11 19:42:25 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/teeworlds/teeworlds.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-04-12 22:27:16 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-01 14:18:52 +02:00
|
|
|
|
"169dl83q08zl4h813az8hjs4rs3dms9yjn6bnsld4fjcj0imvvc6"))
|
2018-11-11 19:42:25 +01:00
|
|
|
|
(modules '((guix build utils)
|
|
|
|
|
(ice-9 ftw)
|
|
|
|
|
(ice-9 regex)
|
|
|
|
|
(srfi srfi-1)
|
|
|
|
|
(srfi srfi-26)))
|
|
|
|
|
(snippet ; remove bundled libraries except md5
|
|
|
|
|
'(let ((base-dir "src/engine/external/"))
|
|
|
|
|
(for-each (compose (cut delete-file-recursively <>)
|
|
|
|
|
(cut string-append base-dir <>))
|
|
|
|
|
(remove (cut string-match "(^.)|(^md5$)" <>)
|
|
|
|
|
(scandir base-dir)))
|
2020-01-19 15:41:32 +01:00
|
|
|
|
#t))))
|
2017-04-12 22:27:16 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-02-15 05:21:19 +01:00
|
|
|
|
`(#:tests? #f ; no tests included
|
2018-11-11 19:42:25 +01:00
|
|
|
|
#:modules ((guix build gnu-build-system)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(srfi srfi-26))
|
2017-04-12 22:27:16 +02:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Embed path to assets.
|
|
|
|
|
(substitute* "src/engine/shared/storage.cpp"
|
|
|
|
|
(("#define DATA_DIR.*")
|
|
|
|
|
(string-append "#define DATA_DIR \""
|
|
|
|
|
(assoc-ref outputs "out")
|
|
|
|
|
"/share/teeworlds/data"
|
|
|
|
|
"\"")))
|
|
|
|
|
|
|
|
|
|
;; Bam expects all files to have a recent time stamp.
|
2018-11-11 19:42:25 +01:00
|
|
|
|
(for-each (cut utime <> 1 1)
|
2017-04-12 22:27:16 +02:00
|
|
|
|
(find-files "."))
|
|
|
|
|
|
|
|
|
|
;; Do not use bundled libraries.
|
|
|
|
|
(substitute* "bam.lua"
|
2018-11-11 19:42:25 +01:00
|
|
|
|
(("local json = Compile.+$")
|
|
|
|
|
"local json = nil
|
|
|
|
|
settings.link.libs:Add(\"jsonparser\")")
|
|
|
|
|
(("local png = Compile.+$")
|
|
|
|
|
"local png = nil
|
|
|
|
|
settings.link.libs:Add(\"pnglite\")")
|
|
|
|
|
(("local wavpack = Compile.+$")
|
|
|
|
|
"local wavpack = nil
|
|
|
|
|
settings.link.libs:Add(\"wavpack\")")
|
|
|
|
|
(("if config\\.zlib\\.value == 1")
|
|
|
|
|
"if config.zlib.value"))
|
|
|
|
|
(substitute* "src/engine/client/graphics_threaded.cpp"
|
|
|
|
|
(("engine/external/pnglite/pnglite\\.h")
|
|
|
|
|
"pnglite.h"))
|
2017-04-12 22:27:16 +02:00
|
|
|
|
(substitute* "src/engine/client/sound.cpp"
|
2018-11-11 19:42:25 +01:00
|
|
|
|
(("engine/external/wavpack/wavpack\\.h")
|
|
|
|
|
"wavpack/wavpack.h"))
|
2017-04-12 22:27:16 +02:00
|
|
|
|
#t))
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
2018-11-11 19:42:25 +01:00
|
|
|
|
(invoke "bam" "-a" "-v" "conf=release")))
|
2017-04-12 22:27:16 +02:00
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2018-11-11 19:42:25 +01:00
|
|
|
|
(let* ((arch ,(system->linux-architecture
|
|
|
|
|
(or (%current-target-system)
|
|
|
|
|
(%current-system))))
|
2020-01-09 02:08:30 +01:00
|
|
|
|
(build (string-append "build/" (if (string=? arch "i386")
|
|
|
|
|
"x86" arch)
|
|
|
|
|
"/release/"))
|
2018-11-11 19:42:25 +01:00
|
|
|
|
(data-built (string-append build "data/"))
|
|
|
|
|
(out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin/"))
|
|
|
|
|
(data (string-append out "/share/teeworlds/data/")))
|
|
|
|
|
(for-each (cut install-file <> bin)
|
|
|
|
|
(map (cut string-append build <>)
|
|
|
|
|
'("teeworlds" "teeworlds_srv")))
|
|
|
|
|
(copy-recursively data-built data)
|
2017-04-12 22:27:16 +02:00
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("freetype" ,freetype)
|
|
|
|
|
("glu" ,glu)
|
2018-11-11 19:42:25 +01:00
|
|
|
|
("json-parser" ,json-parser)
|
2017-04-12 22:27:16 +02:00
|
|
|
|
("mesa" ,mesa)
|
2018-11-11 19:42:25 +01:00
|
|
|
|
("pnglite" ,pnglite)
|
|
|
|
|
("sdl2" ,sdl2)
|
|
|
|
|
("sdl2-image" ,sdl2-image)
|
|
|
|
|
("sdl2-mixer" ,sdl2-mixer)
|
2017-04-12 22:27:16 +02:00
|
|
|
|
("wavpack" ,wavpack)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bam" ,bam)
|
2018-11-11 19:42:25 +01:00
|
|
|
|
("python" ,python-wrapper)
|
2018-07-02 17:10:50 +02:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
2017-04-12 22:27:16 +02:00
|
|
|
|
(home-page "https://www.teeworlds.com")
|
|
|
|
|
(synopsis "2D retro multiplayer shooter game")
|
|
|
|
|
(description "Teeworlds is an online multiplayer game. Battle with up to
|
|
|
|
|
16 players in a variety of game modes, including Team Deathmatch and Capture
|
|
|
|
|
The Flag. You can even design your own maps!")
|
|
|
|
|
(license license:bsd-3)))
|
2017-04-13 09:10:57 +02:00
|
|
|
|
|
2017-04-27 10:42:21 +02:00
|
|
|
|
(define-public enigma
|
|
|
|
|
(package
|
|
|
|
|
(name "enigma")
|
|
|
|
|
(version "1.21")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/enigma-game/"
|
|
|
|
|
"Release%20" version "/enigma-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"00ffh9pypj1948pg3q9sjp1nmiabh52p5c8wpg9n1dcfgl3cywnq"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "--with-system-enet")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'find-sdl
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("SDL_ttf.h") "SDL/SDL_ttf.h"))
|
|
|
|
|
(substitute* '("tools/ttf2bmf.cc"
|
|
|
|
|
"lib-src/enigma-core/ecl_font.cc"
|
|
|
|
|
"lib-src/enigma-core/ecl_video.cc"
|
|
|
|
|
"lib-src/enigma-core/ecl_buffer.hh"
|
|
|
|
|
"src/SoundEngine.cc"
|
|
|
|
|
"src/SoundEngine.hh"
|
|
|
|
|
"src/MusicManager.cc"
|
|
|
|
|
"src/MusicManager.hh"
|
|
|
|
|
"src/d_models.cc"
|
|
|
|
|
"src/main.cc"
|
|
|
|
|
"src/network.cc")
|
|
|
|
|
(("#include \"SDL_(image|ttf|mixer|types|syswm|mutex).h\"" line header)
|
|
|
|
|
(string-append "#include \"SDL/SDL_" header ".h\"")))
|
|
|
|
|
(substitute* "src/main.cc"
|
|
|
|
|
(("#include <SDL_(image|ttf|mixer).h>" line header)
|
|
|
|
|
(string-append "#include \"SDL/SDL_" header ".h\"")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("xerces-c" ,xerces-c)
|
|
|
|
|
("sdl-union" ,(sdl-union (list sdl sdl-image sdl-mixer sdl-ttf)))
|
|
|
|
|
("curl" ,curl)
|
|
|
|
|
("enet" ,enet)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("imagemagick" ,imagemagick)))
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-16 04:20:44 +01:00
|
|
|
|
(home-page "https://www.nongnu.org/enigma")
|
2017-04-27 10:42:21 +02:00
|
|
|
|
(synopsis "Puzzle game with a dexterity component")
|
|
|
|
|
(description "Enigma is a puzzle game with 550 unique levels. The object
|
|
|
|
|
of the game is to find and uncover pairs of identically colored ‘Oxyd’ stones.
|
|
|
|
|
Simple? Yes. Easy? Certainly not! Hidden traps, vast mazes, laser beams,
|
|
|
|
|
and most of all, countless hairy puzzles usually block your direct way to the
|
|
|
|
|
Oxyd stones. Enigma’s game objects (and there are hundreds of them, lest you
|
|
|
|
|
get bored) interact in many unexpected ways, and since many of them follow the
|
|
|
|
|
laws of physics (Enigma’s special laws of physics, that is), controlling them
|
|
|
|
|
with the mouse isn’t always trivial.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2018-07-26 23:37:53 +02:00
|
|
|
|
(define-public chroma
|
|
|
|
|
(package
|
|
|
|
|
(name "chroma")
|
2019-05-09 22:27:19 +02:00
|
|
|
|
(version "1.17")
|
2018-07-26 23:37:53 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://level7.org.uk/chroma/download/chroma-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-05-09 22:27:19 +02:00
|
|
|
|
"047sf00x71xbmi8bqrhfbmr9bk89l2gbykkqsfpw4wz6yfjscs6y"))))
|
2018-07-26 23:37:53 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2019-02-15 05:10:32 +01:00
|
|
|
|
`(#:tests? #f)) ; no tests included
|
2018-07-26 23:37:53 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("sdl-union" ,(sdl-union (list sdl sdl-image sdl-mixer sdl-ttf)))
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("libxft" ,libxft)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "http://level7.org.uk/chroma/")
|
|
|
|
|
(synopsis "Abstract puzzle game")
|
|
|
|
|
(description "Chroma is an abstract puzzle game. A variety of colourful
|
|
|
|
|
shapes are arranged in a series of increasingly complex patterns, forming
|
2020-02-21 19:25:52 +01:00
|
|
|
|
fiendish traps that must be disarmed and mysterious puzzles that must be
|
|
|
|
|
manipulated in order to give up their subtle secrets. Initially so
|
|
|
|
|
straightforward that anyone can pick it up and begin to play, yet gradually
|
|
|
|
|
becoming difficult enough to tax even the brightest of minds.")
|
2018-07-26 23:37:53 +02:00
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(define-public fillets-ng
|
2017-04-13 09:10:57 +02:00
|
|
|
|
(package
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(name "fillets-ng")
|
2017-04-13 09:10:57 +02:00
|
|
|
|
(version "1.0.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/fillets/"
|
|
|
|
|
"Fish%20Fillets%20-%20Next%20Generation/"
|
|
|
|
|
version "/fillets-ng-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1nljp75aqqb35qq3x7abhs2kp69vjcj0h1vxcpdyn2yn2nalv6ij"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list (string-append "--with-lua="
|
|
|
|
|
(assoc-ref %build-inputs "lua")))
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list (string-append "CFLAGS=-I"
|
|
|
|
|
(assoc-ref %build-inputs "sdl-union")
|
|
|
|
|
"/include/SDL")
|
|
|
|
|
(string-append "CXXFLAGS=-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)
|
2019-01-26 22:01:38 +01:00
|
|
|
|
(invoke "tar" "-xvf"
|
|
|
|
|
(assoc-ref inputs "fillets-ng-data")
|
|
|
|
|
"--strip-components=1"
|
|
|
|
|
"-C" data)))))))
|
2017-04-13 09:10:57 +02:00
|
|
|
|
(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. The fish
|
|
|
|
|
utter witty remarks about their surroundings, the various inhabitants of their
|
|
|
|
|
underwater realm quarrel among themselves or comment on the efforts of your
|
|
|
|
|
fish. The whole game is accompanied by quiet, comforting music.")
|
|
|
|
|
(license license:gpl2+)))
|
2017-04-13 22:45:18 +02:00
|
|
|
|
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(define-public crawl
|
2017-04-13 22:45:18 +02:00
|
|
|
|
(package
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(name "crawl")
|
2020-06-16 15:06:20 +02:00
|
|
|
|
(version "0.25.0")
|
2017-04-13 22:45:18 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (list
|
|
|
|
|
;; Older releases get moved into a versioned directory
|
|
|
|
|
(string-append "http://crawl.develz.org/release/"
|
|
|
|
|
(version-major+minor version) "/stone_soup-"
|
|
|
|
|
version "-nodeps.tar.xz")
|
|
|
|
|
;; Only the latest release is in this directory
|
|
|
|
|
(string-append "http://crawl.develz.org/release/stone_soup-"
|
|
|
|
|
version "-nodeps.tar.xz")))
|
|
|
|
|
(sha256
|
2020-06-16 15:06:20 +02:00
|
|
|
|
(base32 "0rn1wjxdqw33caiwisfypm1j8cid3c9pz01ahicl17144zs29z3d"))
|
|
|
|
|
(patches (search-patches "crawl-upgrade-saves.patch"))
|
|
|
|
|
;; The 0.25.0 -nodeps.tar.xz was built from an OSX machine; normally
|
|
|
|
|
;; apparently it's built from a Debian machine before the Debian
|
|
|
|
|
;; packages are made. These ._* files are binary and have the string
|
|
|
|
|
;; "Mac OS X" in them... removing these seems to result in compilation
|
|
|
|
|
;; again.
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
(for-each delete-file (find-files "." "^\\._"))
|
|
|
|
|
#t))))
|
2017-04-13 22:45:18 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("lua51" ,lua-5.1)
|
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bison" ,bison)
|
|
|
|
|
("flex" ,flex)
|
|
|
|
|
("perl" ,perl)
|
2019-03-08 14:25:57 +01:00
|
|
|
|
("python" ,python-wrapper)
|
2019-02-27 07:10:25 +01:00
|
|
|
|
("python-pyyaml" ,python-pyyaml)
|
2017-04-13 22:45:18 +02:00
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(arguments
|
2019-03-11 09:06:05 +01:00
|
|
|
|
`(#:make-flags
|
2017-04-13 22:45:18 +02:00
|
|
|
|
(let* ((sqlite (assoc-ref %build-inputs "sqlite"))
|
|
|
|
|
(out (assoc-ref %outputs "out")))
|
|
|
|
|
(list (string-append "SQLITE_INCLUDE_DIR=" sqlite "/include")
|
|
|
|
|
(string-append "prefix=" out)
|
|
|
|
|
"SAVEDIR=~/.crawl"
|
2019-04-17 00:22:22 +02:00
|
|
|
|
;; Don't compile with SSE on systems which don't have it.
|
2019-03-11 09:06:05 +01:00
|
|
|
|
,@(match (%current-system)
|
|
|
|
|
((or "i686-linux" "x86_64-linux")
|
|
|
|
|
'())
|
|
|
|
|
(_ '("NOSSE=TRUE")))
|
2017-04-13 22:45:18 +02:00
|
|
|
|
;; don't build any bundled dependencies
|
|
|
|
|
"BUILD_LUA="
|
|
|
|
|
"BUILD_SQLITE="
|
|
|
|
|
"BUILD_ZLIB="
|
|
|
|
|
"-Csource"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2019-03-08 14:36:31 +01:00
|
|
|
|
(add-after 'unpack 'find-SDL-image
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "source/windowmanager-sdl.cc"
|
|
|
|
|
(("SDL_image.h") "SDL2/SDL_image.h"))
|
|
|
|
|
#t))
|
2017-04-13 22:45:18 +02:00
|
|
|
|
(delete 'configure)
|
2019-02-27 07:10:25 +01:00
|
|
|
|
(replace 'check
|
2017-04-13 22:45:18 +02:00
|
|
|
|
(lambda* (#:key inputs outputs make-flags #:allow-other-keys)
|
|
|
|
|
(setenv "HOME" (getcwd))
|
|
|
|
|
;; Fake a terminal for the test cases.
|
|
|
|
|
(setenv "TERM" "xterm-256color")
|
2019-02-27 07:10:25 +01:00
|
|
|
|
;; Run the tests that don't require a debug build.
|
|
|
|
|
(apply invoke "make" "nondebugtest"
|
2019-01-26 22:04:08 +01:00
|
|
|
|
(format #f "-j~d" (parallel-job-count))
|
|
|
|
|
;; Force command line build for test cases.
|
|
|
|
|
(append make-flags '("GAME=crawl" "TILES="))))))))
|
2017-04-13 22:45:18 +02:00
|
|
|
|
(synopsis "Roguelike dungeon crawler game")
|
2019-03-26 13:40:51 +01:00
|
|
|
|
(description "Dungeon Crawl Stone Soup (also known as \"Crawl\" or DCSS
|
|
|
|
|
for short) is a roguelike adventure through dungeons filled with dangerous
|
|
|
|
|
monsters in a quest to find the mystifyingly fabulous Orb of Zot.")
|
2017-04-13 22:45:18 +02:00
|
|
|
|
(home-page "https://crawl.develz.org")
|
|
|
|
|
(license (list license:gpl2+
|
|
|
|
|
license:bsd-2
|
|
|
|
|
license:bsd-3
|
|
|
|
|
license:cc0
|
|
|
|
|
license:expat
|
|
|
|
|
license:zlib
|
|
|
|
|
license:asl2.0))))
|
2017-04-21 21:30:03 +02:00
|
|
|
|
|
2017-06-10 20:27:58 +02:00
|
|
|
|
;; The linter here claims that patch file names should start with the package
|
|
|
|
|
;; name. But, in this case, the patches are inherited from crawl with the
|
|
|
|
|
;; "crawl-" prefix instead of "crawl-tiles-".
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(define-public crawl-tiles
|
2017-05-22 23:34:22 +02:00
|
|
|
|
(package
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(inherit crawl)
|
|
|
|
|
(name "crawl-tiles")
|
2017-05-22 23:34:22 +02:00
|
|
|
|
(arguments
|
|
|
|
|
(substitute-keyword-arguments
|
|
|
|
|
(package-arguments crawl)
|
|
|
|
|
((#:make-flags flags)
|
|
|
|
|
`(let ((dejavu (assoc-ref %build-inputs "font-dejavu")))
|
|
|
|
|
(cons*
|
|
|
|
|
(string-append "PROPORTIONAL_FONT=" dejavu
|
|
|
|
|
"/share/fonts/truetype/DejaVuSans.ttf")
|
|
|
|
|
(string-append "MONOSPACED_FONT=" dejavu
|
|
|
|
|
"/share/fonts/truetype/DejaVuSansMono.ttf")
|
|
|
|
|
"TILES=y"
|
|
|
|
|
;; Rename the executable to allow parallel installation with crawl.
|
|
|
|
|
"GAME=crawl-tiles"
|
|
|
|
|
,flags)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(,@(package-inputs crawl)
|
|
|
|
|
("font-dejavu" ,font-dejavu)
|
|
|
|
|
("freetype6" ,freetype)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("sdl2" ,sdl2)
|
|
|
|
|
("sdl2-image" ,sdl2-image)
|
|
|
|
|
("sdl2-mixer" ,sdl2-mixer)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(,@(package-native-inputs crawl)
|
2017-11-26 19:45:42 +01:00
|
|
|
|
("pngcrush" ,pngcrush)
|
2017-05-22 23:34:22 +02:00
|
|
|
|
("which" ,which)))
|
|
|
|
|
(synopsis "Graphical roguelike dungeon crawler game")))
|
|
|
|
|
|
2017-04-21 21:30:03 +02:00
|
|
|
|
(define-public lugaru
|
|
|
|
|
(package
|
|
|
|
|
(name "lugaru")
|
|
|
|
|
(version "1.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://bitbucket.org/osslugaru/lugaru/downloads/"
|
2019-03-29 03:48:15 +01:00
|
|
|
|
"lugaru-" version ".tar.xz"))
|
2017-04-21 21:30:03 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"15zgcshy22q51rm72zi6y9z7qlgnz5iw3gczjdlir4bqmxy4gspk"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "-DSYSTEM_INSTALL=ON")
|
|
|
|
|
;; no test target
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("sdl2" ,sdl2)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("vorbis" ,libvorbis)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "https://osslugaru.gitlab.io")
|
|
|
|
|
(synopsis "Cross-platform third-person action game")
|
|
|
|
|
(description "Lugaru is a third-person action game. The main character,
|
|
|
|
|
Turner, is an anthropomorphic rebel bunny rabbit with impressive combat skills.
|
|
|
|
|
In his quest to find those responsible for slaughtering his village, he uncovers
|
|
|
|
|
a far-reaching conspiracy involving the corrupt leaders of the rabbit republic
|
|
|
|
|
and the starving wolves from a nearby den. Turner takes it upon himself to
|
|
|
|
|
fight against their plot and save his fellow rabbits from slavery.")
|
|
|
|
|
(license (list license:gpl2+ ; code
|
|
|
|
|
;; assets:
|
|
|
|
|
license:cc-by-sa3.0
|
|
|
|
|
license:cc-by-sa4.0))))
|
2017-04-14 00:37:40 +02:00
|
|
|
|
|
|
|
|
|
(define-public 0ad-data
|
|
|
|
|
(package
|
|
|
|
|
(name "0ad-data")
|
2019-02-01 10:56:57 +01:00
|
|
|
|
(version "0.0.23b-alpha")
|
2017-04-14 00:37:40 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-05-27 22:49:50 +02:00
|
|
|
|
(uri (string-append "https://releases.wildfiregames.com/0ad-"
|
2017-04-14 00:37:40 +02:00
|
|
|
|
version "-unix-data.tar.xz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-02-01 10:56:57 +01:00
|
|
|
|
"04x7729hk6zw1xj3n4s4lvaviijsnbjf5rhzvjxlr5fygvg4l6z1"))
|
2017-04-14 00:37:40 +02:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
#~(begin
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
(for-each (lambda (name)
|
|
|
|
|
(let* ((dir (string-append "binaries/data/mods/" name))
|
|
|
|
|
(file (string-append dir "/" name ".zip"))
|
|
|
|
|
(unzip #$(file-append unzip "/bin/unzip")))
|
2018-03-28 02:26:20 +02:00
|
|
|
|
(invoke unzip "-d" dir file)
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
(delete-file file)))
|
|
|
|
|
'("mod" "public"))
|
2017-04-14 00:37:40 +02:00
|
|
|
|
#t))))
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(native-inputs `(("tar" ,tar)
|
|
|
|
|
("xz" ,xz)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
(let ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(source (assoc-ref %build-inputs "source"))
|
|
|
|
|
(tar (string-append (assoc-ref %build-inputs "tar") "/bin/tar"))
|
|
|
|
|
(xz-path (string-append (assoc-ref %build-inputs "xz") "/bin")))
|
|
|
|
|
(setenv "PATH" xz-path)
|
|
|
|
|
(mkdir out)
|
gnu: Use invoke and return #t from all builders.
* gnu/packages/admin.scm, gnu/packages/android.scm, gnu/packages/audio.scm,
gnu/packages/avr.scm, gnu/packages/base.scm, gnu/packages/bioinformatics.scm,
gnu/packages/certs.scm, gnu/packages/check.scm, gnu/packages/code.scm,
gnu/packages/commencement.scm, gnu/packages/dictionaries.scm,
gnu/packages/docbook.scm, gnu/packages/emacs.scm, gnu/packages/embedded.scm,
gnu/packages/fonts.scm, gnu/packages/games.scm, gnu/packages/gnome.scm,
gnu/packages/gnu-doc.scm, gnu/packages/guile.scm, gnu/packages/hurd.scm,
gnu/packages/javascript.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/lxde.scm,
gnu/packages/mail.scm, gnu/packages/markup.scm, gnu/packages/mate.scm,
gnu/packages/pkg-config.scm, gnu/packages/qt.scm, gnu/packages/rust.scm,
gnu/packages/scheme.scm, gnu/packages/sdl.scm, gnu/packages/statistics.scm,
gnu/packages/syncthing.scm, gnu/packages/tex.scm, gnu/packages/web.scm,
gnu/packages/wine.scm, gnu/packages/xfce.scm: In the builders of packages
using 'trivial-build-system', use invoke where appropriate, raise exceptions
on errors, and otherwise return #t.
2018-03-28 02:14:05 +02:00
|
|
|
|
(invoke tar "xvf" source "-C" out "--strip=3")))))
|
2017-04-14 00:37:40 +02:00
|
|
|
|
(synopsis "Data files for 0ad")
|
|
|
|
|
(description "0ad-data provides the data files required by the game 0ad.")
|
|
|
|
|
(home-page "https://play0ad.com")
|
|
|
|
|
(license (list (license:fsdg-compatible
|
|
|
|
|
"http://tavmjong.free.fr/FONTS/ArevCopyright.txt"
|
2019-12-02 11:20:27 +01:00
|
|
|
|
"Similar to the license of the Bitstream Vera fonts.")
|
|
|
|
|
(license:fsdg-compatible
|
|
|
|
|
"https://www.gnome.org/fonts/#Final_Bitstream_Vera_Fonts")
|
2017-04-14 00:37:40 +02:00
|
|
|
|
license:cc-by-sa3.0
|
|
|
|
|
license:expat
|
|
|
|
|
license:gfl1.0
|
|
|
|
|
license:gpl2+
|
|
|
|
|
license:gpl3+))))
|
|
|
|
|
|
|
|
|
|
(define-public 0ad
|
|
|
|
|
(package
|
|
|
|
|
(name "0ad")
|
2019-02-01 10:56:57 +01:00
|
|
|
|
(version "0.0.23b-alpha")
|
2017-04-14 00:37:40 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2018-05-27 22:49:50 +02:00
|
|
|
|
(uri (string-append "https://releases.wildfiregames.com/0ad-"
|
2017-04-14 00:37:40 +02:00
|
|
|
|
version "-unix-build.tar.xz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-02-01 10:56:57 +01:00
|
|
|
|
"0draa53xg69i5qhqym85658m45xhwkbiimaldj4sr3703rjgggq1"))))
|
2017-04-14 00:37:40 +02:00
|
|
|
|
;; A snippet here would cause a build failure because of timestamps
|
|
|
|
|
;; reset. See https://bugs.gnu.org/26734.
|
|
|
|
|
(inputs
|
|
|
|
|
`(("0ad-data" ,0ad-data)
|
|
|
|
|
("curl" ,curl)
|
|
|
|
|
("enet" ,enet)
|
|
|
|
|
("gloox" ,gloox)
|
|
|
|
|
("icu4c" ,icu4c)
|
|
|
|
|
("libpng" ,libpng)
|
2018-05-27 22:49:50 +02:00
|
|
|
|
("libsodium" ,libsodium)
|
2017-04-14 00:37:40 +02:00
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("libxcursor" ,libxcursor)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("miniupnpc" ,miniupnpc)
|
|
|
|
|
("mozjs-38" ,mozjs-38)
|
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("sdl2" ,sdl2)
|
|
|
|
|
("wxwidgets" ,wxwidgets)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("boost" ,boost)
|
2019-06-17 17:24:24 +02:00
|
|
|
|
("cmake" ,cmake-minimal)
|
2017-04-14 00:37:40 +02:00
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("python-2" ,python-2)))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2017-12-31 14:59:12 +01:00
|
|
|
|
`(#:make-flags '("config=release" "verbose=1" "-C" "build/workspaces/gcc")
|
|
|
|
|
#:phases
|
2017-04-14 00:37:40 +02:00
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'delete-bundles
|
|
|
|
|
(lambda _
|
|
|
|
|
(delete-file-recursively "libraries/source/spidermonkey")
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'fix-x11-includes
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "source/lib/sysdep/os/unix/x/x.cpp"
|
|
|
|
|
(("<Xlib.h>") "<X11/Xlib.h>"))
|
|
|
|
|
(substitute* "source/lib/sysdep/os/unix/x/x.cpp"
|
|
|
|
|
(("<Xatom.h>") "<X11/Xatom.h>"))
|
|
|
|
|
(substitute* "source/lib/sysdep/os/unix/x/x.cpp"
|
|
|
|
|
(("<Xcursor/Xcursor.h>") "<X11/Xcursor/Xcursor.h>"))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((jobs (number->string (parallel-job-count)))
|
|
|
|
|
(out (assoc-ref outputs "out"))
|
|
|
|
|
(lib (string-append out "/lib"))
|
|
|
|
|
(data (string-append out "/share/0ad")))
|
|
|
|
|
(setenv "JOBS" (string-append "-j" jobs))
|
|
|
|
|
(setenv "CC" "gcc")
|
|
|
|
|
(with-directory-excursion "build/workspaces"
|
2019-03-26 20:21:04 +01:00
|
|
|
|
(invoke "./update-workspaces.sh"
|
|
|
|
|
(string-append "--libdir=" lib)
|
|
|
|
|
(string-append "--datadir=" data)
|
|
|
|
|
;; TODO: "--with-system-nvtt"
|
|
|
|
|
"--with-system-mozjs38")))))
|
2017-04-14 00:37:40 +02:00
|
|
|
|
(delete 'check)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
2017-12-31 14:59:12 +01:00
|
|
|
|
(chdir "binaries")
|
2017-04-14 00:37:40 +02:00
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(lib (string-append out "/lib"))
|
|
|
|
|
(data (string-append out "/share/0ad"))
|
|
|
|
|
(applications (string-append out "/share/applications"))
|
|
|
|
|
(pixmaps (string-append out "/share/pixmaps"))
|
|
|
|
|
(0ad-data (assoc-ref inputs "0ad-data")))
|
|
|
|
|
;; data
|
|
|
|
|
(copy-recursively "data" data)
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(symlink (string-append 0ad-data "/" file)
|
|
|
|
|
(string-append data "/" file)))
|
|
|
|
|
'("config" "mods/mod" "mods/public" "tools"))
|
|
|
|
|
;; libraries
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(install-file file lib))
|
|
|
|
|
(find-files "system" "\\.so$"))
|
|
|
|
|
;; binaries
|
|
|
|
|
(install-file "system/pyrogenesis" bin)
|
|
|
|
|
(with-directory-excursion bin
|
|
|
|
|
(symlink "pyrogenesis" "0ad"))
|
|
|
|
|
;; resources
|
|
|
|
|
(with-directory-excursion "../build/resources"
|
|
|
|
|
(install-file "0ad.desktop" applications)
|
|
|
|
|
(install-file "0ad.png" pixmaps))
|
|
|
|
|
#t)))
|
|
|
|
|
(add-after 'install 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(with-directory-excursion "system"
|
2019-03-26 20:21:04 +01:00
|
|
|
|
(invoke "./test")))))))
|
2017-04-14 00:37:40 +02:00
|
|
|
|
(home-page "https://play0ad.com")
|
|
|
|
|
(synopsis "3D real-time strategy game of ancient warfare")
|
|
|
|
|
(description "0 A.D. is a real-time strategy (RTS) game of ancient
|
|
|
|
|
warfare. It's a historically-based war/economy game that allows players to
|
|
|
|
|
relive or rewrite the history of twelve ancient civilizations, each depicted
|
|
|
|
|
at their peak of economic growth and military prowess.
|
|
|
|
|
|
|
|
|
|
0ad needs a window manager that supports 'Extended Window Manager Hints'.")
|
|
|
|
|
(license (list license:bsd-2
|
|
|
|
|
license:bsd-3
|
|
|
|
|
license:expat
|
|
|
|
|
license:gpl2+
|
|
|
|
|
license:ibmpl1.0
|
|
|
|
|
license:isc
|
|
|
|
|
license:lgpl2.1
|
|
|
|
|
license:lgpl3
|
|
|
|
|
license:mpl2.0
|
|
|
|
|
license:zlib))))
|
2017-06-01 12:54:26 +02:00
|
|
|
|
|
|
|
|
|
;; There have been no official releases.
|
|
|
|
|
(define-public open-adventure
|
2017-06-29 17:32:27 +02:00
|
|
|
|
(let* ((commit "d43854f0f6bb8e9eea7fbce80348150e7e7fc34d")
|
|
|
|
|
(revision "2"))
|
2017-06-01 12:54:26 +02:00
|
|
|
|
(package
|
|
|
|
|
(name "open-adventure")
|
|
|
|
|
(version (string-append "2.5-" revision "." (string-take commit 7)))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.com/esr/open-adventure")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-06-29 17:32:27 +02:00
|
|
|
|
"08bwrvf4axb1rsfd6ia1fddsky9pc1p350vjskhaakg2czc6dsk0"))))
|
2017-06-01 12:54:26 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags (list "CC=gcc")
|
|
|
|
|
#:parallel-build? #f ; not supported
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2017-06-29 17:32:27 +02:00
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
2017-12-23 21:44:23 +01:00
|
|
|
|
;; Linenoise is meant to be included, so we have to
|
|
|
|
|
;; copy it into the working directory.
|
2017-06-29 17:32:27 +02:00
|
|
|
|
(let* ((linenoise (assoc-ref inputs "linenoise"))
|
|
|
|
|
(noisepath (string-append linenoise "/include/linenoise"))
|
|
|
|
|
(out (assoc-ref outputs "out")))
|
|
|
|
|
(copy-recursively noisepath "linenoise"))
|
|
|
|
|
#t))
|
2017-06-01 12:54:26 +02:00
|
|
|
|
(add-before 'build 'use-echo
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "tests/Makefile"
|
|
|
|
|
(("/bin/echo") (which "echo")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'build 'build-manpage
|
|
|
|
|
(lambda _
|
|
|
|
|
;; This target is missing a dependency
|
|
|
|
|
(substitute* "Makefile"
|
2017-06-29 17:32:27 +02:00
|
|
|
|
((".adoc.6:" line)
|
|
|
|
|
(string-append line " advent.adoc")))
|
2019-03-26 20:21:40 +01:00
|
|
|
|
(invoke "make" ".adoc.6")))
|
2017-06-01 12:54:26 +02:00
|
|
|
|
;; There is no install target
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(man (string-append out "/share/man/man6")))
|
|
|
|
|
(install-file "advent" bin)
|
|
|
|
|
(install-file "advent.6" man))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
2017-06-29 17:32:27 +02:00
|
|
|
|
`(("asciidoc" ,asciidoc)
|
|
|
|
|
("linenoise" ,linenoise)
|
|
|
|
|
("python" ,python)
|
|
|
|
|
("python-pyyaml" ,python-pyyaml)))
|
2017-06-01 12:54:26 +02:00
|
|
|
|
(home-page "https://gitlab.com/esr/open-adventure")
|
|
|
|
|
(synopsis "Colossal Cave Adventure")
|
|
|
|
|
(description "The original Colossal Cave Adventure from 1976 was the
|
|
|
|
|
origin of all text adventures, dungeon-crawl (computer) games, and
|
|
|
|
|
computer-hosted roleplaying games. This is the last version released by
|
|
|
|
|
Crowther & Woods, its original authors, in 1995. It has been known as
|
|
|
|
|
\"adventure 2.5\" and \"430-point adventure\".")
|
|
|
|
|
(license license:bsd-2))))
|
2017-07-25 18:27:47 +02:00
|
|
|
|
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(define-public tome4
|
2017-07-25 18:27:47 +02:00
|
|
|
|
(package
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(name "tome4")
|
2020-03-03 04:46:19 +01:00
|
|
|
|
(version "1.6.7")
|
2017-07-25 18:27:47 +02:00
|
|
|
|
(synopsis "Single-player, RPG roguelike game set in the world of Eyal")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://te4.org/dl/t-engine/t-engine4-src-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
2020-03-03 04:46:19 +01:00
|
|
|
|
(base32 "0283hvms5hr29zr0grd6gq059k0hg8hcz3fsmwjmysiih8790i68"))
|
2017-07-25 18:27:47 +02:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
'(begin
|
|
|
|
|
(substitute* '("src/music.h" "src/tSDL.h")
|
|
|
|
|
(("#elif defined(__FreeBSD__)" line)
|
|
|
|
|
(string-append
|
|
|
|
|
line " || defined(__GNUC__)")))
|
2019-03-17 19:52:51 +01:00
|
|
|
|
(substitute* '("src/tgl.h")
|
|
|
|
|
(("#include <GL/glext.h>") ""))
|
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 12:47:34 +01:00
|
|
|
|
#t))))
|
2017-07-25 18:27:47 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("unzip" ,unzip)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("sdl-union" ,(sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf)))
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("premake4" ,premake4)
|
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("vorbis" ,libvorbis)
|
|
|
|
|
("luajit" ,luajit)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags '("CC=gcc" "config=release")
|
2019-08-08 16:45:14 +02:00
|
|
|
|
;; XXX: Building in parallel occasionally causes this build failure:
|
|
|
|
|
;; ../src/luajit2/src/host/buildvm.c:73:10: fatal error: buildvm_arch.h:
|
|
|
|
|
;; No such file or directory
|
|
|
|
|
#:parallel-build? #f
|
2017-07-25 18:27:47 +02:00
|
|
|
|
#:phases (modify-phases %standard-phases
|
2018-06-23 03:59:03 +02:00
|
|
|
|
(delete 'bootstrap)
|
2017-07-25 18:27:47 +02:00
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda _
|
2018-06-23 03:59:27 +02:00
|
|
|
|
(invoke "premake4" "gmake")
|
2017-07-25 18:27:47 +02:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'set-paths 'set-sdl-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "CPATH"
|
|
|
|
|
(string-append (assoc-ref inputs "sdl-union")
|
2019-07-10 20:23:46 +02:00
|
|
|
|
"/include/SDL2:"
|
2020-04-03 18:26:47 +02:00
|
|
|
|
(or (getenv "CPATH") "")))
|
2017-07-25 18:27:47 +02:00
|
|
|
|
#t))
|
|
|
|
|
(delete 'check)
|
|
|
|
|
;; premake doesn't provide install target
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(usr (string-append out "/usr"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(licenses (string-append out "/share/licenses"))
|
|
|
|
|
(documents (string-append out "/share/doc"))
|
|
|
|
|
(pixmaps (string-append out "/share/pixmaps"))
|
|
|
|
|
(icon "te4-icon.png")
|
|
|
|
|
(data (string-append out "/share/" ,name))
|
|
|
|
|
(applications (string-append
|
|
|
|
|
out "/share/applications"))
|
|
|
|
|
(unzip (string-append
|
|
|
|
|
(assoc-ref inputs "unzip") "/bin/unzip"))
|
|
|
|
|
(wrapper (string-append bin "/" ,name)))
|
|
|
|
|
;; icon
|
|
|
|
|
(mkdir-p pixmaps)
|
2020-01-03 11:50:25 +01:00
|
|
|
|
(invoke unzip "-j"
|
|
|
|
|
(string-append
|
|
|
|
|
"game/engines/te4-" ,version ".teae")
|
|
|
|
|
(string-append
|
|
|
|
|
"data/gfx/" icon) "-d" pixmaps)
|
2017-07-25 18:27:47 +02:00
|
|
|
|
;; game executable
|
|
|
|
|
(install-file "t-engine" data)
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(with-output-to-file wrapper
|
|
|
|
|
(lambda ()
|
|
|
|
|
(display
|
|
|
|
|
(string-append
|
|
|
|
|
"#!/bin/sh\n"
|
|
|
|
|
;; No bootstrap code found,
|
|
|
|
|
;; defaulting to working directory
|
|
|
|
|
;; for engine code!
|
|
|
|
|
"cd " data "\n"
|
|
|
|
|
"exec -a tome4 ./t-engine \"$@\"\n"))))
|
|
|
|
|
(chmod wrapper #o555)
|
|
|
|
|
;; licenses
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(install-file file licenses))
|
|
|
|
|
'("COPYING" "COPYING-MEDIA"))
|
|
|
|
|
;; documents
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(install-file file documents))
|
|
|
|
|
'("CONTRIBUTING" "CREDITS"))
|
|
|
|
|
;; data
|
|
|
|
|
(copy-recursively "bootstrap" (string-append
|
|
|
|
|
data "/bootstrap"))
|
|
|
|
|
(copy-recursively "game" (string-append data "/game"))
|
|
|
|
|
;; launcher
|
|
|
|
|
(mkdir-p applications)
|
2019-05-27 09:04:55 +02:00
|
|
|
|
(make-desktop-entry-file
|
|
|
|
|
(string-append applications "/" ,name ".desktop")
|
|
|
|
|
#:name "ToME4"
|
|
|
|
|
#:comment ,synopsis
|
|
|
|
|
#:exec ,name
|
|
|
|
|
#:icon icon
|
|
|
|
|
#:categories '("Game" "RolePlaying")))
|
2017-07-25 18:27:47 +02:00
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "https://te4.org")
|
|
|
|
|
(description "Tales of Maj’Eyal (ToME) RPG, featuring tactical turn-based
|
|
|
|
|
combat and advanced character building. Play as one of many unique races and
|
|
|
|
|
classes in the lore-filled world of Eyal, exploring random dungeons, facing
|
|
|
|
|
challenging battles, and developing characters with your own tailored mix of
|
|
|
|
|
abilities and powers. With a modern graphical and customisable interface,
|
|
|
|
|
intuitive mouse control, streamlined mechanics and deep, challenging combat,
|
|
|
|
|
Tales of Maj’Eyal offers engaging roguelike gameplay for the 21st century.")
|
|
|
|
|
(license license:gpl3+)))
|
2017-12-07 22:25:26 +01:00
|
|
|
|
|
|
|
|
|
(define-public quakespasm
|
|
|
|
|
(package
|
|
|
|
|
(name "quakespasm")
|
2020-01-19 16:23:03 +01:00
|
|
|
|
(version "0.93.2")
|
2017-12-07 22:25:26 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/quakespasm/Source/quakespasm-"
|
|
|
|
|
version ".tgz"))
|
|
|
|
|
(sha256
|
2020-01-19 16:23:03 +01:00
|
|
|
|
(base32 "0qm0j5drybvvq8xadfyppkpk3rxqsxbywzm6iwsjwdf0iia3gss5"))))
|
2017-12-07 22:25:26 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:make-flags '("CC=gcc"
|
|
|
|
|
"MP3LIB=mpg123"
|
|
|
|
|
"USE_CODEC_FLAC=1"
|
|
|
|
|
"USE_CODEC_MIKMOD=1"
|
|
|
|
|
"USE_SDL2=1"
|
|
|
|
|
"-CQuake")
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after 'unpack 'fix-makefile-paths
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(mkdir-p (string-append out "/bin"))
|
|
|
|
|
(substitute* "Quake/Makefile"
|
|
|
|
|
(("/usr/local/games")
|
|
|
|
|
(string-append out "/bin")))
|
|
|
|
|
#t))))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("libmikmod" ,libmikmod)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("flac" ,flac)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("mpg123" ,mpg123)
|
|
|
|
|
("sdl2" ,sdl2)))
|
|
|
|
|
(synopsis "First person shooter engine for Quake 1")
|
|
|
|
|
(description "Quakespasm is a modern engine for id software's Quake 1.
|
|
|
|
|
It includes support for 64 bit CPUs, custom music playback, a new sound driver,
|
|
|
|
|
some graphical niceities, and numerous bug-fixes and other improvements.")
|
|
|
|
|
(home-page "http://quakespasm.sourceforge.net/")
|
|
|
|
|
(license license:gpl2+)))
|
2017-12-23 17:51:19 +01:00
|
|
|
|
|
2018-02-01 10:25:53 +01:00
|
|
|
|
(define-public vkquake
|
|
|
|
|
(package
|
|
|
|
|
(inherit quakespasm)
|
|
|
|
|
(name "vkquake")
|
2019-02-15 05:03:04 +01:00
|
|
|
|
(version "1.01.0")
|
2018-02-01 10:25:53 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-02-15 05:05:38 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Novum/vkQuake.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-02-01 10:25:53 +01:00
|
|
|
|
(sha256
|
2019-02-15 05:05:38 +01:00
|
|
|
|
(base32 "1iwin8j5kbyrknbkhjgpy8nmm7pxqzr0daa9gn7p38qhg2mh0a39"))))
|
2018-02-01 10:25:53 +01:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags
|
|
|
|
|
(let ((vulkanlib (string-append (assoc-ref %build-inputs
|
2018-06-06 09:59:15 +02:00
|
|
|
|
"vulkan-loader") "/lib")))
|
2018-02-01 10:25:53 +01:00
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
"MP3LIB=mpg123"
|
|
|
|
|
"USE_CODEC_FLAC=1"
|
|
|
|
|
"USE_CODEC_MIKMOD=1"
|
|
|
|
|
"USE_SDL2=1"
|
|
|
|
|
(string-append "LDFLAGS=-Wl,-rpath=" vulkanlib)
|
|
|
|
|
"-CQuake"))
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
2020-05-22 20:43:56 +02:00
|
|
|
|
(add-after 'unpack 'patch-for-new-vulkan
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Mimic upstream commit a869a22d9b51c68e for
|
|
|
|
|
;; compatibility with newer vulkan-headers.
|
|
|
|
|
(substitute* "Quake/gl_rmisc.c"
|
|
|
|
|
(("VK_DYNAMIC_STATE_RANGE_SIZE")
|
|
|
|
|
"3"))
|
|
|
|
|
#t))
|
2018-02-01 10:25:53 +01:00
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after 'unpack 'fix-makefile-paths
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((vulkan (assoc-ref %build-inputs
|
2018-06-06 09:59:15 +02:00
|
|
|
|
"vulkan-loader"))
|
2018-02-01 10:25:53 +01:00
|
|
|
|
(out (assoc-ref outputs "out")))
|
|
|
|
|
(mkdir-p (string-append out "/bin"))
|
|
|
|
|
(substitute* "Quake/Makefile" ((" /usr")
|
|
|
|
|
(string-append " " out)))
|
|
|
|
|
(substitute* "Quake/Makefile" (("/games")
|
|
|
|
|
(string-append "/bin")))
|
|
|
|
|
(substitute* "Quake/Makefile" (("..VULKAN_SDK.") vulkan))
|
|
|
|
|
#t))))
|
|
|
|
|
,@(strip-keyword-arguments '(#:make-flags #:phases)
|
|
|
|
|
(package-arguments quakespasm))))
|
2018-07-03 09:48:59 +02:00
|
|
|
|
(inputs `(("vulkan-headers" ,vulkan-headers)
|
|
|
|
|
("vulkan-loader" ,vulkan-loader)
|
2018-02-01 10:25:53 +01:00
|
|
|
|
,@(package-inputs quakespasm)))
|
|
|
|
|
(description "vkquake is a modern engine for id software's Quake 1.
|
|
|
|
|
It includes support for 64 bit CPUs, custom music playback, a new sound driver,
|
|
|
|
|
some graphical niceities, and numerous bug-fixes and other improvements.")
|
|
|
|
|
(home-page "https://github.com/Novum/vkQuake")))
|
|
|
|
|
|
2017-12-23 17:51:19 +01:00
|
|
|
|
(define-public yamagi-quake2
|
|
|
|
|
(package
|
|
|
|
|
(name "yamagi-quake2")
|
|
|
|
|
(version "7.10")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://deponie.yamagi.org/quake2/quake2-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0psinbg25mysd58k99s1n34w31w5hj1vppb39gdjb0zqi6sl6cps"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
;; link openAL instead of using dlopen at runtime
|
|
|
|
|
"DLOPEN_OPENAL=\"no\""
|
|
|
|
|
;; an optional directory where it will look for quake2 data files
|
|
|
|
|
;; in addition to the current working directory
|
|
|
|
|
"WITH_SYSTEMWIDE=yes"
|
|
|
|
|
"WITH_SYSTEMDIR=\"/opt/quake2\"")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(mkdir-p (string-append out "/lib"))
|
|
|
|
|
(mkdir-p (string-append out "/bin"))
|
|
|
|
|
;; The yamagi-quake2 binary must be in the same directory
|
|
|
|
|
;; as it's engine libraries, but symlinking it to /bin is okay
|
|
|
|
|
;; https://github.com/yquake2/yquake2/blob/master/stuff/packaging.md
|
|
|
|
|
(copy-recursively "release"
|
|
|
|
|
(string-append out "/lib/yamagi-quake2"))
|
|
|
|
|
(symlink (string-append out "/lib/yamagi-quake2/quake2")
|
|
|
|
|
(string-append out "/bin/yamagi-quake2"))
|
|
|
|
|
(symlink (string-append out "/lib/yamagi-quake2/q2ded")
|
|
|
|
|
(string-append out "/bin/yamagi-q2ded"))))))))
|
|
|
|
|
(inputs `(("sdl2" ,sdl2)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("zlib" ,zlib)
|
|
|
|
|
("openal" ,openal)))
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
|
|
|
|
(synopsis "First person shooter engine based on quake2")
|
|
|
|
|
(description "Yamagi Quake II is an enhanced client for id Software's Quake II.
|
|
|
|
|
The main focus is an unchanged single player experience like back in 1997,
|
|
|
|
|
thus the gameplay and the graphics are unaltered. However the user may use one
|
|
|
|
|
of the unofficial retexturing packs. In comparison with the official client,
|
|
|
|
|
over 1000 bugs were fixed and an extensive code audit done,
|
|
|
|
|
making Yamagi Quake II one of the most solid Quake II implementations available.")
|
|
|
|
|
(home-page "https://www.yamagi.org/quake2/")
|
|
|
|
|
(license (list license:gpl2+ ; game and server
|
|
|
|
|
(license:non-copyleft ; info-zip
|
|
|
|
|
"file://LICENSE"
|
|
|
|
|
"See Info-Zip section.")
|
|
|
|
|
license:public-domain)))) ; stb
|
2017-12-24 23:36:32 +01:00
|
|
|
|
|
2018-07-24 14:01:13 +02:00
|
|
|
|
(define-public nudoku
|
|
|
|
|
(package
|
|
|
|
|
(name "nudoku")
|
|
|
|
|
(version "1.0.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/jubalh/nudoku/"
|
|
|
|
|
"releases/download/" version
|
|
|
|
|
"/nudoku-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0nr2j2z07nxk70s8xnmmpzccxicf7kn5mbwby2kg6aq8paarjm8k"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("ncurses" ,ncurses)))
|
|
|
|
|
(home-page "https://jubalh.github.io/nudoku/")
|
|
|
|
|
(synopsis "Sudoku for your terminal")
|
|
|
|
|
(description "Nudoku is a ncurses-based Sudoku game for your terminal.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
2017-12-24 23:36:32 +01:00
|
|
|
|
(define-public the-butterfly-effect
|
|
|
|
|
(package
|
|
|
|
|
(name "the-butterfly-effect")
|
|
|
|
|
(version "0.9.3.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-11-19 22:08:23 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/the-butterfly-effect/tbe.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-12-24 23:36:32 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-11-19 22:08:23 +01:00
|
|
|
|
"1ag2cp346f9bz9qy6za6q54id44d2ypvkyhvnjha14qzzapwaysj"))))
|
2017-12-24 23:36:32 +01:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
;; There is no "install" phase. By default, tbe is installed
|
|
|
|
|
;; in the build directory. Provide our own installation.
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(share (string-append out "/share")))
|
|
|
|
|
(install-file "usr/games/tbe" bin)
|
|
|
|
|
(mkdir-p share)
|
|
|
|
|
(copy-recursively "usr/share" share)
|
|
|
|
|
#t))))
|
|
|
|
|
;; Test suite requires a running Xorg server. Even when
|
|
|
|
|
;; provided, it fails with "D-Bus library appears to be
|
|
|
|
|
;; incorrectly set up; failed to read machine uuid: Failed to
|
|
|
|
|
;; open "/etc/machine-id": No such file or directory" along
|
|
|
|
|
;; with multiple "QPainter:: ... Painter not active" warnings.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)
|
|
|
|
|
("qtsvg" ,qtsvg)))
|
|
|
|
|
(native-inputs
|
2019-06-17 17:24:24 +02:00
|
|
|
|
`(("cmake" ,cmake-minimal)
|
2017-12-24 23:36:32 +01:00
|
|
|
|
("gettext-minimal" ,gettext-minimal)
|
|
|
|
|
("qttools" ,qttools)))
|
|
|
|
|
(synopsis "Realistic physics puzzle game")
|
|
|
|
|
(description "The Butterfly Effect (tbe) is a game that uses
|
|
|
|
|
realistic physics simulations to combine lots of simple mechanical
|
|
|
|
|
elements to achieve a simple goal in the most complex way possible.")
|
|
|
|
|
(home-page "http://the-butterfly-effect.org/")
|
|
|
|
|
;; Main license is GPL2-only. However, artwork is distributed
|
|
|
|
|
;; under various licenses, listed here.
|
|
|
|
|
(license (list license:gpl2 license:public-domain license:expat
|
|
|
|
|
license:cc-by-sa3.0 license:gpl3+ license:wtfpl2))))
|
2017-12-11 01:24:42 +01:00
|
|
|
|
|
|
|
|
|
(define-public pioneer
|
|
|
|
|
(package
|
|
|
|
|
(name "pioneer")
|
2020-02-11 07:09:35 +01:00
|
|
|
|
(version "20200203")
|
2017-12-11 01:24:42 +01:00
|
|
|
|
(source (origin
|
2018-04-13 05:03:51 +02:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/pioneerspacesim/pioneer.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
2017-12-11 01:24:42 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-02-11 07:09:35 +01:00
|
|
|
|
"1011xsi94jhw98mhm8kryq8ajig0qfbrdx5xdasi92bd4nk7lcp8"))))
|
2019-10-15 03:33:19 +02:00
|
|
|
|
(build-system cmake-build-system)
|
2017-12-11 01:24:42 +01:00
|
|
|
|
(native-inputs
|
2019-10-15 03:33:19 +02:00
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2017-12-11 01:24:42 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("assimp" ,assimp)
|
|
|
|
|
("curl" ,curl)
|
|
|
|
|
("freetype" ,freetype)
|
2019-10-15 03:33:19 +02:00
|
|
|
|
("glew" ,glew)
|
2017-12-11 01:24:42 +01:00
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libsigc++" ,libsigc++)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("lua" ,lua-5.2) ;not compatible with 5.3
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("sdl" ,(sdl-union (list sdl2 sdl2-image)))))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;tests are broken
|
2019-10-15 03:33:19 +02:00
|
|
|
|
#:configure-flags (list "-DUSE_SYSTEM_LIBLUA:BOOL=YES"
|
|
|
|
|
(string-append "-DPIONEER_DATA_DIR="
|
|
|
|
|
%output "/share/games/pioneer"))))
|
2020-01-18 23:57:39 +01:00
|
|
|
|
(home-page "https://pioneerspacesim.net")
|
2017-12-11 01:24:42 +01:00
|
|
|
|
(synopsis "Game of lonely space adventure")
|
|
|
|
|
(description
|
|
|
|
|
"Pioneer is a space adventure game set in our galaxy at the turn of the
|
|
|
|
|
31st century. The game is open-ended, and you are free to eke out whatever
|
|
|
|
|
kind of space-faring existence you can think of. Look for fame or fortune by
|
|
|
|
|
exploring the millions of star systems. Turn to a life of crime as a pirate,
|
|
|
|
|
smuggler or bounty hunter. Forge and break alliances with the various
|
|
|
|
|
factions fighting for power, freedom or self-determination. The universe is
|
|
|
|
|
whatever you make of it.")
|
|
|
|
|
(license license:gpl3)))
|
2018-01-17 23:42:55 +01:00
|
|
|
|
|
|
|
|
|
(define-public badass
|
|
|
|
|
(let ((commit "3c3cd669b4fc8f73a102e3702788f7b28dc47dbb")
|
|
|
|
|
(revision "0"))
|
|
|
|
|
(package
|
|
|
|
|
(name "badass")
|
|
|
|
|
(version (git-version "0.0" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/umayr/badass.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"05c9vdcb5ym3z0n5ll3v39mw4yl9jcjnlydmn0yl89ai9pv71zb6"))))
|
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:import-path "github.com/umayr/badass"))
|
|
|
|
|
(synopsis "Hacking contribution graphs in git")
|
|
|
|
|
(description
|
|
|
|
|
"Badass generates false commits for a range of dates, essentially
|
|
|
|
|
hacking the gamification of contribution graphs on platforms such as
|
|
|
|
|
Github or Gitlab.")
|
|
|
|
|
(home-page "https://github.com/umayr/badass")
|
|
|
|
|
(license license:expat))))
|
2018-02-13 01:26:27 +01:00
|
|
|
|
|
|
|
|
|
(define-public colobot
|
|
|
|
|
(package
|
|
|
|
|
(name "colobot")
|
2019-02-27 00:21:58 +01:00
|
|
|
|
(version "0.1.12-alpha")
|
2018-02-13 01:26:27 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2019-02-27 00:21:58 +01:00
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/colobot/colobot.git")
|
|
|
|
|
(commit (string-append "colobot-gold-" version))
|
|
|
|
|
(recursive? #t))) ;for "data/" subdir
|
|
|
|
|
(file-name (git-file-name name version))
|
2018-02-13 01:26:27 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-02-27 00:21:58 +01:00
|
|
|
|
"1c181cclkrnspgs07lvndg2c81cjq3smkv7qim8c470cj88rcrp2"))))
|
2018-02-13 01:26:27 +01:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no test
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2019-02-27 00:21:58 +01:00
|
|
|
|
(add-after 'unpack 'make-git-checkout-writable
|
|
|
|
|
(lambda _
|
|
|
|
|
(for-each make-file-writable (find-files "."))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'fix-directories
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("(\\$\\{CMAKE_INSTALL_PREFIX\\})/games" _ prefix)
|
|
|
|
|
(string-append prefix "/bin"))
|
|
|
|
|
(("(\\$\\{CMAKE_INSTALL_PREFIX\\}/share)/games/colobot" _ prefix)
|
|
|
|
|
(string-append prefix "/colobot")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'fix-directories 'install-music
|
|
|
|
|
;; Retrieve and install music files.
|
2018-02-13 01:26:27 +01:00
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; Installation process tries to download music files using
|
2019-02-27 00:21:58 +01:00
|
|
|
|
;; "wget" if not already present. Since we are going another
|
|
|
|
|
;; route, skip "wget" command check.
|
2018-02-13 01:26:27 +01:00
|
|
|
|
(substitute* "data/music/CMakeLists.txt"
|
|
|
|
|
(("find_program\\(WGET wget\\)") ""))
|
2019-02-27 00:21:58 +01:00
|
|
|
|
;; Populate "music/" directory.
|
2018-02-13 01:26:27 +01:00
|
|
|
|
(let ((data (assoc-ref inputs "colobot-music")))
|
2019-02-27 00:21:58 +01:00
|
|
|
|
(invoke "tar" "-xvf" data "-Cdata/music"))
|
|
|
|
|
#t)))))
|
2018-02-13 01:26:27 +01:00
|
|
|
|
(native-inputs
|
2019-02-27 00:21:58 +01:00
|
|
|
|
`(("colobot-music"
|
2018-02-13 01:26:27 +01:00
|
|
|
|
,(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://colobot.info/files/music/"
|
|
|
|
|
"colobot-music_ogg_" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1s86cd36rwkff329mb1ay1wi5qqyi35564ppgr3f4qqz9wj9vs2m"))))
|
|
|
|
|
("gettext" ,gettext-minimal)
|
|
|
|
|
("librsvg" ,librsvg)
|
|
|
|
|
("po4a" ,po4a)
|
|
|
|
|
("python" ,python-wrapper)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("glew" ,glew)
|
|
|
|
|
("libogg" ,libogg)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libsndfile" ,libsndfile)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("physfs" ,physfs)
|
|
|
|
|
("sdl" ,(sdl-union (list sdl2 sdl2-image sdl2-ttf)))))
|
|
|
|
|
(synopsis "Educational programming strategy game")
|
|
|
|
|
(description "Colobot: Gold Edition is a real-time strategy game, where
|
|
|
|
|
you can program your units (bots) in a language called CBOT, which is similar
|
|
|
|
|
to C++ and Java. Your mission is to find a new planet to live and survive.
|
|
|
|
|
You can save humanity and get programming skills!")
|
|
|
|
|
(home-page "https://colobot.info")
|
|
|
|
|
(license license:gpl3+)))
|
2018-01-17 00:21:42 +01:00
|
|
|
|
|
|
|
|
|
(define-public gzdoom
|
|
|
|
|
(package
|
|
|
|
|
(name "gzdoom")
|
2020-01-21 00:22:30 +01:00
|
|
|
|
(version "4.3.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/coelckers/gzdoom.git")
|
|
|
|
|
(commit (string-append "g" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0i4hyg72z84fc6ca2ic9q82q5cbgrbd7bynl3kpkypxvyasq08wz"))
|
|
|
|
|
(patches (search-patches "gzdoom-search-in-installed-share.patch"
|
|
|
|
|
"gzdoom-find-system-libgme.patch"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Remove some bundled libraries. XXX There are more, but removing
|
|
|
|
|
;; them would require, at least, patching the build system.
|
|
|
|
|
(with-directory-excursion "libraries"
|
|
|
|
|
(delete-file-recursively "bzip2")
|
|
|
|
|
(delete-file-recursively "game-music-emu")
|
|
|
|
|
(delete-file-recursively "jpeg")
|
|
|
|
|
(delete-file-recursively "zlib"))
|
|
|
|
|
#t))))
|
2018-01-17 00:21:42 +01:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(let ((out (assoc-ref %outputs "out")))
|
|
|
|
|
(list
|
|
|
|
|
(string-append
|
|
|
|
|
"-DCMAKE_CXX_FLAGS:="
|
|
|
|
|
"-DSHARE_DIR=\\\"" out "/share/\\\" "
|
|
|
|
|
"-DGUIX_OUT_PK3=\\\"" out "/share/games/doom\\\"")
|
2020-01-21 00:22:30 +01:00
|
|
|
|
|
|
|
|
|
;; The build requires some extra convincing not to use the bundled
|
|
|
|
|
;; libgme previously deleted in the soure snippet.
|
|
|
|
|
"-DFORCE_INTERNAL_GME=OFF"
|
|
|
|
|
|
|
|
|
|
;; Link libraries at build time instead of loading them at run time.
|
2018-01-17 00:21:42 +01:00
|
|
|
|
"-DDYN_OPENAL=OFF"
|
|
|
|
|
"-DDYN_FLUIDSYNTH=OFF"
|
|
|
|
|
"-DDYN_GTK=OFF"
|
|
|
|
|
"-DDYN_MPG123=OFF"
|
|
|
|
|
"-DDYN_SNDFILE=OFF"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'fix-referenced-paths
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((fluid-3 (assoc-ref inputs "fluid-3"))
|
|
|
|
|
(timidity++ (assoc-ref inputs "timidity++"))
|
|
|
|
|
(out (assoc-ref outputs "out")))
|
|
|
|
|
|
|
|
|
|
(substitute*
|
|
|
|
|
"src/CMakeLists.txt"
|
|
|
|
|
(("COMMAND /bin/sh")
|
|
|
|
|
(string-append "COMMAND " (which "sh"))))
|
|
|
|
|
|
|
|
|
|
(substitute*
|
2020-01-21 00:22:30 +01:00
|
|
|
|
"libraries/zmusic/mididevices/music_fluidsynth_mididevice.cpp"
|
2018-01-17 00:21:42 +01:00
|
|
|
|
(("/usr/share/sounds/sf2/FluidR3_GM.sf2")
|
|
|
|
|
(string-append fluid-3 "/share/soundfonts/FluidR3Mono_GM.sf3")))
|
|
|
|
|
|
|
|
|
|
(substitute*
|
2020-01-21 00:22:30 +01:00
|
|
|
|
"libraries/zmusic/mididevices/music_timiditypp_mididevice.cpp"
|
2018-01-17 00:21:42 +01:00
|
|
|
|
(("exename = \"timidity\"")
|
|
|
|
|
(string-append "exename = \"" timidity++ "/bin/timidity\"")))
|
|
|
|
|
#t))))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(inputs `(("bzip2" ,bzip2)
|
|
|
|
|
("fluid-3" ,fluid-3)
|
2020-01-21 00:22:30 +01:00
|
|
|
|
("fluidsynth" ,fluidsynth)
|
2018-01-17 00:21:42 +01:00
|
|
|
|
("gtk+3" ,gtk+)
|
|
|
|
|
("libgme" ,libgme)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 19:27:01 +01:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2018-01-17 00:21:42 +01:00
|
|
|
|
("libsndfile" ,libsndfile)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("mpg123" ,mpg123)
|
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("sdl2" ,sdl2)
|
|
|
|
|
("timidity++" ,timidity++)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
|
|
|
|
("unzip" ,unzip)))
|
|
|
|
|
(synopsis "Modern Doom 2 source port")
|
|
|
|
|
(description "GZdoom is a port of the Doom 2 game engine, with a modern
|
|
|
|
|
renderer. It improves modding support with ZDoom's advanced mapping features
|
|
|
|
|
and the new ZScript language. In addition to Doom, it supports Heretic, Hexen,
|
|
|
|
|
Strife, Chex Quest, and fan-created games like Harmony, Hacx and Freedoom.")
|
|
|
|
|
(home-page "https://zdoom.org/index")
|
2019-03-28 18:58:16 +01:00
|
|
|
|
;; The source uses x86 assembly
|
|
|
|
|
(supported-systems '("x86_64-linux" "i686-linux"))
|
2018-01-17 00:21:42 +01:00
|
|
|
|
(license (list license:gpl3+ ; gzdoom game
|
|
|
|
|
license:lgpl3+ ; gzdoom renderer
|
|
|
|
|
license:expat ; gdtoa
|
|
|
|
|
(license:non-copyleft ; modified dumb
|
|
|
|
|
"file://dumb/licence.txt"
|
|
|
|
|
"Dumb license, explicitly GPL compatible.")))))
|
2018-04-09 19:31:04 +02:00
|
|
|
|
|
2019-02-21 14:02:07 +01:00
|
|
|
|
(define-public odamex
|
|
|
|
|
(package
|
|
|
|
|
(name "odamex")
|
2020-01-19 15:28:00 +01:00
|
|
|
|
(version "0.8.1")
|
2019-02-21 14:02:07 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://sourceforge/odamex/Odamex/" version "/"
|
|
|
|
|
"odamex-src-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2020-01-19 15:28:00 +01:00
|
|
|
|
(base32 "1ywbqkfacc9fc5di3dn95y5ah2ys9i241j64q3f37a73x92llw1i"))))
|
2019-02-21 14:02:07 +01:00
|
|
|
|
(build-system cmake-build-system)
|
2020-01-19 15:28:00 +01:00
|
|
|
|
(arguments `(#:tests? #f)) ; no tests
|
2019-02-21 14:02:07 +01:00
|
|
|
|
(inputs
|
|
|
|
|
`(("sdl" ,sdl)
|
|
|
|
|
("sdl-mixer" ,sdl-mixer)
|
|
|
|
|
("zlib" ,zlib)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("alsa-lib" ,alsa-lib)))
|
|
|
|
|
(home-page "https://odamex.net/")
|
|
|
|
|
(synopsis "Multiplayer Doom port")
|
|
|
|
|
(description "Odamex is a modification of the Doom engine that
|
|
|
|
|
allows players to easily join servers dedicated to playing Doom
|
|
|
|
|
online.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2019-05-13 21:30:48 +02:00
|
|
|
|
(define-public chocolate-doom
|
|
|
|
|
(package
|
|
|
|
|
(name "chocolate-doom")
|
|
|
|
|
(version "3.0.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.chocolate-doom.org/downloads/"
|
|
|
|
|
version
|
|
|
|
|
"/chocolate-doom-"
|
|
|
|
|
version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1f6sw6qa9z0a70dsjh5cs45fkyyxw68s7vkqlykihz8cjcisdbkk"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("sdl2-net" ,sdl2-net)
|
|
|
|
|
("sdl2-mixer" , sdl2-mixer)
|
|
|
|
|
("sdl2" ,sdl2)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(synopsis "Doom source port preserving the look, feel, and bugs of vanilla
|
|
|
|
|
Doom")
|
|
|
|
|
(description
|
|
|
|
|
"Chocolate Doom takes a different approach to other source ports. Its
|
|
|
|
|
aim is to accurately reproduce the experience of playing Vanilla Doom. It is
|
|
|
|
|
a conservative, historically accurate Doom source port, which is compatible
|
|
|
|
|
with the thousands of mods and levels that were made before the Doom source
|
|
|
|
|
code was released. Rather than flashy new graphics, Chocolate Doom's main
|
|
|
|
|
features are its accurate reproduction of the game as it was played in the
|
|
|
|
|
1990s. The project is developed around a carefully-considered philosophy that
|
|
|
|
|
intentionally restricts which features may be added (and rejects any that
|
|
|
|
|
affect gameplay).")
|
|
|
|
|
(home-page "https://www.chocolate-doom.org/wiki/index.php/Chocolate_Doom")
|
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
|
2019-06-08 15:30:33 +02:00
|
|
|
|
(define-public crispy-doom
|
|
|
|
|
(package
|
|
|
|
|
(inherit chocolate-doom)
|
|
|
|
|
(name "crispy-doom")
|
2020-05-01 14:02:43 +02:00
|
|
|
|
(version "5.8.0")
|
2019-06-08 15:30:33 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/fabiangreffrath/crispy-doom.git")
|
|
|
|
|
(commit (string-append "crispy-doom-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-05-01 14:02:43 +02:00
|
|
|
|
(base32 "1b6gn0dysv631jynh769whww9xcss1gms78sz3nrn855q1dsvcb4"))))
|
2019-06-08 15:30:33 +02:00
|
|
|
|
(native-inputs
|
|
|
|
|
(append
|
|
|
|
|
(package-native-inputs chocolate-doom)
|
|
|
|
|
`(("automake" ,automake)
|
|
|
|
|
("autoreconf" ,autoconf))))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'bootstrap
|
2020-01-19 05:40:00 +01:00
|
|
|
|
;; The bundled autogen.sh script unconditionally runs ./configure.
|
2019-06-08 15:30:33 +02:00
|
|
|
|
(lambda _ (invoke "autoreconf" "-vif"))))))
|
|
|
|
|
(synopsis "Limit-removing enhanced-resolution Doom source port based on
|
|
|
|
|
Chocolate Doom")
|
|
|
|
|
(description
|
|
|
|
|
"Crispy Doom is a friendly fork of Chocolate Doom that provides a higher
|
|
|
|
|
display resolution, removes the static limits of the Doom engine and offers
|
|
|
|
|
further optional visual, tactical and physical enhancements while remaining
|
|
|
|
|
entirely config file, savegame, netplay and demo compatible with the
|
|
|
|
|
original.")
|
|
|
|
|
(home-page "https://www.chocolate-doom.org/wiki/index.php/Crispy_Doom")))
|
|
|
|
|
|
2020-01-18 19:49:27 +01:00
|
|
|
|
(define shlomif-cmake-modules
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://bitbucket.org/shlomif/shlomif-cmake-modules/"
|
|
|
|
|
"raw/c505713d7a7cda608f97f01577e5868a711b883e/"
|
|
|
|
|
"shlomif-cmake-modules/Shlomif_Common.cmake"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0kx9s1qqhhzprp1w3b67xmsns0n0v506bg5hgrshxaxpy6lqiwb2"))))
|
2020-01-18 19:50:21 +01:00
|
|
|
|
|
|
|
|
|
(define-public rinutils
|
|
|
|
|
(package
|
|
|
|
|
(name "rinutils")
|
|
|
|
|
(version "0.2.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/shlomif/rinutils.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1fpxyg86ggv0h7j8aarjjxrvwlj7jycd3bw066c0dwkq2fszxsf2"))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
;; The following is only needed for tests.
|
|
|
|
|
("perl-file-find-object" ,perl-file-find-object)
|
|
|
|
|
("perl-test-differences" ,perl-test-differences)
|
|
|
|
|
("perl-class-xsaccessor" ,perl-class-xsaccessor)
|
|
|
|
|
("perl-io-all" ,perl-io-all)
|
|
|
|
|
("perl-test-runvalgrind" ,perl-test-runvalgrind)
|
|
|
|
|
("cmake-rules" ,shlomif-cmake-modules)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("cmocka" ,cmocka)
|
|
|
|
|
("perl-env-path", perl-env-path)
|
|
|
|
|
("perl-inline" ,perl-inline)
|
|
|
|
|
("perl-inline-c" ,perl-inline-c)
|
|
|
|
|
("perl-string-shellquote" ,perl-string-shellquote)
|
|
|
|
|
("perl-test-trailingspace" ,perl-test-trailingspace)
|
|
|
|
|
("perl-file-find-object-rule" ,perl-file-find-object-rule)
|
|
|
|
|
("perl-text-glob" ,perl-text-glob)
|
|
|
|
|
("perl-number-compare" ,perl-number-compare)
|
|
|
|
|
("perl-moo" ,perl-moo)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-build-env
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
(let* ((cmake-rules (assoc-ref inputs "cmake-rules")))
|
|
|
|
|
(copy-file cmake-rules
|
|
|
|
|
(string-append "cmake/"
|
|
|
|
|
(strip-store-file-name cmake-rules)))
|
|
|
|
|
#t)))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(with-directory-excursion "../source"
|
|
|
|
|
(setenv "FCS_TEST_BUILD" "1")
|
|
|
|
|
(setenv "RINUTILS_TEST_BUILD" "1")
|
|
|
|
|
;; TODO: Run tests after setting RINUTILS_TEST_TIDY to `1',
|
|
|
|
|
;; which requires tidy-all.
|
|
|
|
|
;; (setenv "RINUTILS_TEST_TIDY" "1")
|
|
|
|
|
(invoke "perl" "CI-testing/continuous-integration-testing.pl")))))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(home-page "https://www.shlomifish.org/open-source/projects/")
|
|
|
|
|
(synopsis "C11 / gnu11 utilities C library")
|
|
|
|
|
(description "This package provides C11 / gnu11 utilities C library")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2018-04-09 19:31:04 +02:00
|
|
|
|
(define-public fortune-mod
|
|
|
|
|
(package
|
|
|
|
|
(name "fortune-mod")
|
2020-06-06 02:51:39 +02:00
|
|
|
|
(version "2.28.0")
|
2018-08-11 17:42:53 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/shlomif/fortune-mod")
|
2019-03-29 03:49:31 +01:00
|
|
|
|
(commit (string-append "fortune-mod-" version))))
|
2018-08-11 17:42:53 +02:00
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-06-06 02:51:39 +02:00
|
|
|
|
(base32 "1ppzgnffgdcmq6fq4gmdq2ig10ip2bnfgklkb3i8nc6bdxm7pb89"))))
|
2018-04-09 19:31:04 +02:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:test-target "check"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-build-env
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
(let* ((cmake-rules (assoc-ref inputs "cmake-rules")))
|
|
|
|
|
(copy-file cmake-rules
|
|
|
|
|
(string-append "fortune-mod/cmake/"
|
|
|
|
|
(strip-store-file-name cmake-rules)))
|
2018-08-11 17:48:37 +02:00
|
|
|
|
(chdir "fortune-mod")
|
2019-01-21 23:06:19 +01:00
|
|
|
|
;; TODO: Valgrind tests fail for some reason.
|
|
|
|
|
;; Similar issue: https://github.com/shlomif/fortune-mod/issues/21 (?)
|
|
|
|
|
(delete-file "tests/t/valgrind.t")
|
2018-08-11 17:48:37 +02:00
|
|
|
|
#t)))
|
2018-04-09 19:31:04 +02:00
|
|
|
|
(add-after 'install 'fix-install-directory
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2018-08-11 17:58:32 +02:00
|
|
|
|
;; Move binary from "games/" to "bin/" and remove the latter. This
|
|
|
|
|
;; is easier than patching CMakeLists.txt since the tests hard-code
|
|
|
|
|
;; the location as well.
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(games (string-append out "/games")))
|
|
|
|
|
(rename-file (string-append games "/fortune")
|
|
|
|
|
(string-append bin "/fortune"))
|
|
|
|
|
(rmdir games)
|
2018-04-09 19:31:04 +02:00
|
|
|
|
#t))))))
|
|
|
|
|
(inputs `(("recode" ,recode)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
;; The following is only needed for tests.
|
|
|
|
|
("perl-file-find-object" ,perl-file-find-object)
|
|
|
|
|
("perl-test-differences" ,perl-test-differences)
|
|
|
|
|
("perl-class-xsaccessor" ,perl-class-xsaccessor)
|
|
|
|
|
("perl-io-all" ,perl-io-all)
|
|
|
|
|
("perl-test-runvalgrind" ,perl-test-runvalgrind)
|
2020-01-18 19:21:38 +01:00
|
|
|
|
("cmake-rules" ,shlomif-cmake-modules)
|
|
|
|
|
("rinutils" ,rinutils)))
|
2020-01-19 01:18:28 +01:00
|
|
|
|
(home-page "https://www.shlomifish.org/open-source/projects/fortune-mod/")
|
2018-04-09 19:31:04 +02:00
|
|
|
|
(synopsis "The Fortune Cookie program from BSD games")
|
|
|
|
|
(description "Fortune is a command-line utility which displays a random
|
|
|
|
|
quotation from a collection of quotes.")
|
|
|
|
|
(license license:bsd-4)))
|
2018-05-26 18:11:11 +02:00
|
|
|
|
|
|
|
|
|
(define xonotic-data
|
|
|
|
|
(package
|
|
|
|
|
(name "xonotic-data")
|
|
|
|
|
(version "0.8.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://dl.xonotic.org/xonotic-"
|
|
|
|
|
version ".zip"))
|
|
|
|
|
(file-name (string-append name "-" version ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1mcs6l4clvn7ibfq3q69k2p0z6ww75rxvnngamdq5ic6yhq74bx2"))))
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("unzip" ,unzip)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(xonotic (string-append out "/share/xonotic"))
|
|
|
|
|
(source (assoc-ref %build-inputs "source"))
|
|
|
|
|
(unzip (string-append (assoc-ref %build-inputs "unzip") "/bin/unzip")))
|
|
|
|
|
(copy-file source (string-append ,name "-" ,version ".zip"))
|
|
|
|
|
(invoke unzip (string-append ,name "-" ,version ".zip"))
|
|
|
|
|
(mkdir-p out)
|
|
|
|
|
(mkdir-p xonotic)
|
|
|
|
|
(chdir "Xonotic")
|
|
|
|
|
(copy-recursively "data"
|
|
|
|
|
(string-append xonotic "/data"))
|
|
|
|
|
(copy-recursively "server"
|
|
|
|
|
(string-append xonotic "/server"))
|
|
|
|
|
(install-file "key_0.d0pk" xonotic)))))
|
|
|
|
|
(home-page "http://xonotic.org")
|
|
|
|
|
(synopsis "Data files for Xonotic")
|
|
|
|
|
(description
|
|
|
|
|
"Xonotic-data provides the data files required by the game Xonotic.")
|
|
|
|
|
(license (list license:gpl2+
|
2018-05-27 10:21:03 +02:00
|
|
|
|
(license:x11-style "file://server/rcon.pl")))))
|
2018-05-26 18:11:11 +02:00
|
|
|
|
|
|
|
|
|
(define-public xonotic
|
|
|
|
|
(package
|
|
|
|
|
(name "xonotic")
|
|
|
|
|
(version "0.8.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://dl.xonotic.org/xonotic-"
|
|
|
|
|
version "-source.zip"))
|
|
|
|
|
(file-name (string-append name "-" version ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0axxw04fyz6jlfqd0kp7hdrqa0li31sx1pbipf2j5qp9wvqicsay"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags (list (string-append "--prefix="
|
|
|
|
|
(assoc-ref %outputs "out"))
|
|
|
|
|
"--disable-rijndael")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'make-darkplaces
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(sharedir (string-append out "/share/xonotic/")))
|
|
|
|
|
(invoke "make" "-C" "source/darkplaces"
|
|
|
|
|
(string-append "DP_FS_BASEDIR="
|
|
|
|
|
sharedir)
|
|
|
|
|
"DP_LINK_TO_LIBJPEG=1"
|
|
|
|
|
"DP_SOUND_API=ALSA"
|
|
|
|
|
"CC=gcc"
|
|
|
|
|
"-f" "makefile"
|
|
|
|
|
"cl-release")
|
|
|
|
|
(invoke "make" "-C" "source/darkplaces"
|
|
|
|
|
(string-append "DP_FS_BASEDIR="
|
|
|
|
|
sharedir)
|
|
|
|
|
"DP_LINK_TO_LIBJPEG=1"
|
|
|
|
|
"DP_SOUND_API=ALSA"
|
|
|
|
|
"CC=gcc"
|
|
|
|
|
"-f" "makefile"
|
|
|
|
|
"sdl-release")
|
|
|
|
|
(invoke "make" "-C" "source/darkplaces"
|
|
|
|
|
(string-append "DP_FS_BASEDIR="
|
|
|
|
|
sharedir)
|
|
|
|
|
"DP_LINK_TO_LIBJPEG=1"
|
|
|
|
|
"DP_SOUND_API=ALSA"
|
|
|
|
|
"CC=gcc"
|
|
|
|
|
"-f" "makefile"
|
|
|
|
|
"sv-release"))))
|
|
|
|
|
(add-before 'configure 'bootstrap
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "source/d0_blind_id")
|
|
|
|
|
(invoke "sh" "autogen.sh")))
|
|
|
|
|
(add-after 'build 'install-desktop-entry
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Add .desktop files for the 2 variants and the symlink
|
|
|
|
|
(let* ((output (assoc-ref outputs "out"))
|
|
|
|
|
(apps (string-append output "/share/applications")))
|
|
|
|
|
(mkdir-p apps)
|
|
|
|
|
(with-output-to-file
|
|
|
|
|
(string-append apps "/xonotic-glx.desktop")
|
|
|
|
|
(lambda _
|
|
|
|
|
(format #t
|
|
|
|
|
"[Desktop Entry]~@
|
|
|
|
|
Name=xonotic-glx~@
|
|
|
|
|
Comment=Xonotic glx~@
|
|
|
|
|
Exec=~a/bin/xonotic-glx~@
|
|
|
|
|
TryExec=~@*~a/bin/xonotic-glx~@
|
2018-11-03 16:32:53 +01:00
|
|
|
|
Icon=xonotic~@
|
|
|
|
|
Categories=Game~@
|
2018-05-26 18:11:11 +02:00
|
|
|
|
Type=Application~%"
|
|
|
|
|
output)))
|
|
|
|
|
(with-output-to-file
|
|
|
|
|
(string-append apps "/xonotic-sdl.desktop")
|
|
|
|
|
(lambda _
|
|
|
|
|
(format #t
|
|
|
|
|
"[Desktop Entry]~@
|
|
|
|
|
Name=xonotic-sdl~@
|
|
|
|
|
Comment=Xonotic sdl~@
|
|
|
|
|
Exec=~a/bin/xonotic-sdl~@
|
|
|
|
|
TryExec=~@*~a/bin/xonotic-sdl~@
|
2018-11-03 16:32:53 +01:00
|
|
|
|
Icon=xonotic~@
|
|
|
|
|
Categories=Game~@
|
2018-05-26 18:11:11 +02:00
|
|
|
|
Type=Application~%"
|
|
|
|
|
output)))
|
|
|
|
|
(with-output-to-file
|
|
|
|
|
(string-append apps "/xonotic.desktop")
|
|
|
|
|
(lambda _
|
|
|
|
|
(format #t
|
|
|
|
|
"[Desktop Entry]~@
|
|
|
|
|
Name=xonotic~@
|
|
|
|
|
Comment=Xonotic~@
|
|
|
|
|
Exec=~a/bin/xonotic-glx~@
|
|
|
|
|
TryExec=~@*~a/bin/xonotic~@
|
2018-11-03 16:32:53 +01:00
|
|
|
|
Icon=xonotic~@
|
|
|
|
|
Categories=Game~@
|
2018-05-26 18:11:11 +02:00
|
|
|
|
Type=Application~%"
|
|
|
|
|
output)))
|
|
|
|
|
#t)))
|
|
|
|
|
(add-after 'install-desktop-entry 'install-icons
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(with-directory-excursion "../../misc/logos/icons_png/"
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (file)
|
|
|
|
|
(let* ((size (string-filter char-numeric? file))
|
|
|
|
|
(icons (string-append out "/share/icons/hicolor/"
|
|
|
|
|
size "x" size "/apps")))
|
|
|
|
|
(mkdir-p icons)
|
|
|
|
|
(copy-file file (string-append icons "/xonotic.png"))))
|
|
|
|
|
'("xonotic_16.png" "xonotic_22.png" "xonotic_24.png"
|
|
|
|
|
"xonotic_32.png" "xonotic_48.png" "xonotic_64.png"
|
|
|
|
|
"xonotic_128.png" "xonotic_256.png" "xonotic_512.png"))))))
|
|
|
|
|
(add-after 'install-icons 'install-binaries
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(define (install src dst)
|
|
|
|
|
(let ((dst (string-append out dst)))
|
|
|
|
|
(mkdir-p (dirname dst))
|
|
|
|
|
(copy-file src dst)))
|
|
|
|
|
(mkdir-p (string-append out "/bin"))
|
|
|
|
|
(install "../darkplaces/darkplaces-dedicated"
|
|
|
|
|
"/bin/xonotic-dedicated")
|
|
|
|
|
(install "../darkplaces/darkplaces-glx"
|
|
|
|
|
"/bin/xonotic-glx")
|
|
|
|
|
(install "../darkplaces/darkplaces-sdl"
|
|
|
|
|
"/bin/xonotic-sdl")
|
|
|
|
|
;; Provide a default xonotic executable, defaulting to SDL.
|
|
|
|
|
(symlink (string-append out "/bin/xonotic-sdl")
|
|
|
|
|
(string-append out "/bin/xonotic"))
|
|
|
|
|
#t)))
|
|
|
|
|
(add-after 'install-binaries 'install-data
|
|
|
|
|
(lambda* (#:key outputs inputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(data (assoc-ref inputs "xonotic-data")))
|
2018-11-12 04:14:15 +01:00
|
|
|
|
(symlink (string-append data "/share/xonotic")
|
|
|
|
|
(string-append out "/share/xonotic"))
|
2018-05-26 18:11:11 +02:00
|
|
|
|
#t)))
|
|
|
|
|
(add-after 'install-binaries 'wrap-binaries
|
|
|
|
|
(lambda* (#:key outputs inputs #:allow-other-keys)
|
|
|
|
|
;; Curl and libvorbis need to be wrapped so that we get
|
|
|
|
|
;; sound and networking.
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin/xonotic"))
|
|
|
|
|
(bin-sdl (string-append out "/bin/xonotic-sdl"))
|
|
|
|
|
(bin-glx (string-append out "/bin/xonotic-glx"))
|
|
|
|
|
(bin-dedicated (string-append out "/bin/xonotic-dedicated"))
|
|
|
|
|
(curl (assoc-ref inputs "curl"))
|
|
|
|
|
(vorbis (assoc-ref inputs "libvorbis")))
|
|
|
|
|
(wrap-program bin
|
|
|
|
|
`("LD_LIBRARY_PATH" ":" prefix
|
|
|
|
|
(,(string-append curl "/lib:" vorbis "/lib"))))
|
|
|
|
|
(wrap-program bin-sdl
|
|
|
|
|
`("LD_LIBRARY_PATH" ":" prefix
|
|
|
|
|
(,(string-append curl "/lib:" vorbis "/lib"))))
|
|
|
|
|
(wrap-program bin-glx
|
|
|
|
|
`("LD_LIBRARY_PATH" ":" prefix
|
|
|
|
|
(,(string-append curl "/lib:" vorbis "/lib"))))
|
|
|
|
|
(wrap-program bin-dedicated
|
|
|
|
|
`("LD_LIBRARY_PATH" ":" prefix
|
|
|
|
|
(,(string-append curl "/lib:" vorbis "/lib"))))
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("xonotic-data" ,xonotic-data)
|
|
|
|
|
("alsa-lib" ,alsa-lib)
|
|
|
|
|
("curl" ,curl)
|
gnu: Replace uses of 'libjpeg' with 'libjpeg-turbo'.
* gnu/packages/abiword.scm (abiword)[inputs]: Change from LIBJPEG to
LIBJPEG-TURBO.
* gnu/packages/admin.scm (testdisk)[inputs]: Likewise.
* gnu/packages/algebra.scm (giac)[inputs]: Likewise.
* gnu/packages/animation.scm (synfig)[inputs]: Likewise.
* gnu/packages/astronomy.scm (gnuastro, celestia)[inputs]: Likewise.
* gnu/packages/cdrom.scm (dvdstyler)[inputs]: Likewise.
* gnu/packages/cran.scm (r-jpeg, r-tiff, r-readbitmap)[inputs]: Likewise.
* gnu/packages/cups.scm (cups-filters, hplip)[inputs]: Likewise.
* gnu/packages/display-managers.scm (slim)[inputs]: Likewise.
* gnu/packages/ebook.scm (fbreader)[inputs]: Likewise.
* gnu/packages/emacs.scm (emacs)[inputs]: Likewise.
* gnu/packages/enlightenment.scm (efl)[propagated-inputs]: Likewise.
* gnu/packages/fltk.scm (fltk, ntk)[inputs]: Likewise.
* gnu/packages/fontutils.scm (fontforge)[inputs]: Likewise.
* gnu/packages/freedesktop.scm (weston)[inputs]: Likewise.
* gnu/packages/game-development.scm (sfml, allegro, aseprite, python-pygame,
eureka, ioquake3)[inputs]: Likewise.
* gnu/packages/games.scm (adanaxisgpl, freedroidrpg, irrlicht, minetest,
fizmo, supertuxkart, gzdoom, xmoto, xonotic)[inputs]: Likewise.
* gnu/packages/gd.scm (gd, perl-gd)[inputs]: Likewise.
* gnu/packages/ghostscript.scm (lcms)[inputs]: Likewise.
(ghostscript)[inputs, native-inputs]: Likewise.
* gnu/packages/gimp.scm (gegl, gimp)[inputs]: Likewise.
* gnu/packages/gnome.scm (libgnomeui, eog, tracker-miners, gthumb)[inputs]: Likewise.
* gnu/packages/gnunet.scm (libextractor)[inputs]: Likewise.
* gnu/packages/gnustep.scm (windowmaker)[inputs]: Likewise.
* gnu/packages/graphics.scm (blender, blender-2.79, openimageio,
openscenegraph, openscenegraph-3.4, povray, fgallery)[inputs]: Likewise.
* gnu/packages/graphviz.scm (graphviz)[inputs]: Likewise.
* gnu/packages/gstreamer.scm (gst-plugins-good)[inputs]: Likewise.
* gnu/packages/gtk.scm (gdk-pixbuf)[inputs]: Likewise.
* gnu/packages/image-processing.scm (dcmtk, mia, vtk, opencv, vips, nip2, vxl,
insight-toolkit)[inputs]: Likewise.
* gnu/packages/image-viewers.scm (gpicview, luminance-hdr)[inputs]: Likewise.
* gnu/packages/image.scm (jpegoptim, libtiff, leptonica, imlib2, freeimage,
vigra, libwebp, libmng, jasper, steghide, jp2a)[inputs]: Likewise.
* gnu/packages/imagemagick.scm (imagemagick, graphicsmagick)[inputs]: Likewise.
* gnu/packages/java.scm (icedtea-6, icedtea-7, openjdk9, openjdk11,
openjdk12)[inputs]: Likewise.
* gnu/packages/kde-frameworks.scm (khtml)[inputs]: Likewise.
* gnu/packages/kodi.scm (kodi)[inputs]: Likewise.
* gnu/packages/machine-learning.scm (dlib, tensorflow)[inputs]: Likewise.
* gnu/packages/mate.scm (atril, eom)[inputs]: Likewise.
* gnu/packages/maths.scm (hdf4, hdf-java, hdf-eos2, netcdf)[inputs]: Likewise.
* gnu/packages/netpbm.scm (netpbm)[inputs]: Likewise.
* gnu/packages/pdf.scm (zathura-pdf-mupdf, podofo, mupdf, fbida)[inputs]: Likewise.
* gnu/packages/photo.scm (libraw, libpano13, enblend-enfuse, darktable, hugin,
rawtherapee)[inputs]: Likewise.
* gnu/packages/prolog.scm (swi-prolog)[native-inputs]: Likewise.
* gnu/packages/python-xyz.scm (python-hdf4, python-pillow)[inputs]: Likewise.
* gnu/packages/qt.scm (qtbase, qtwebkit)[inputs]: Likewise.
* gnu/packages/rdesktop.scm (freerdp)[inputs]: Likewise.
* gnu/packages/scanner.scm (sane-backends, xsane)[inputs]: Likewise.
* gnu/packages/scheme.scm (racket)[inputs]: Likewise.
* gnu/packages/scribus.scm (scribus)[inputs]: Likewise.
* gnu/packages/sdl.scm (sdl-image)[propagated-inputs]: Likewise.
(guile-sdl)[native-inputs]: Likewise.
* gnu/packages/spice.scm (spice-gtk)[inputs]: Likewise.
* gnu/packages/statistics.scm (r-with-tests)[inputs]: Likewise.
* gnu/packages/tcl.scm (perl-tk)[inputs]: Likewise.
* gnu/packages/upnp.scm (readymedia)[inputs]: Likewise.
* gnu/packages/video.scm (mplayer, mpv, v4l-utils, motion)[inputs]: Likewise.
* gnu/packages/web-browsers.scm (dillo, links)[inputs]: Likewise.
* gnu/packages/web.scm (netsurf)[inputs]: Likewise.
* gnu/packages/webkit.scm (webkitgtk)[inputs]: Likewise.
* gnu/packages/wine.scm (wine)[inputs]: Likewise.
* gnu/packages/wv.scm (wv)[inputs]: Likewise.
* gnu/packages/wxwidgets.scm (wxwidgets, wxwidgets-2)[inputs]: Likewise.
* gnu/packages/xdisorg.scm (xscreensaver)[inputs]: Likewise.
* gnu/packages/xfce.scm (tumbler)[inputs]: Likewise.
* gnu/packages/xfig.scm (xfig, transfig)[inputs]: Likewise.
* gnu/packages/xorg.scm (xpra)[inputs]: Likewise.
2020-01-17 19:27:01 +01:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2018-05-26 18:11:11 +02:00
|
|
|
|
("libmodplug" ,libmodplug)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("libogg" ,libogg)
|
|
|
|
|
("libxpm" ,libxpm)
|
|
|
|
|
("libxxf86dga" ,libxxf86dga)
|
|
|
|
|
("libxxf86vm" ,libxxf86vm)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxext" ,libxext)
|
|
|
|
|
("libxau" ,libxau)
|
|
|
|
|
("libxdmcp" ,libxdmcp)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("sdl2" ,sdl2)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("hicolor-icon-theme" ,hicolor-icon-theme)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("unzip" ,unzip)
|
|
|
|
|
("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("gmp" ,gmp)))
|
2020-05-25 20:04:52 +02:00
|
|
|
|
(home-page "https://xonotic.org")
|
2018-05-26 18:11:11 +02:00
|
|
|
|
(synopsis "Fast-paced first-person shooter game")
|
|
|
|
|
(description
|
|
|
|
|
"Xonotic is a free, fast-paced first-person shooter.
|
|
|
|
|
The project is geared towards providing addictive arena shooter
|
|
|
|
|
gameplay which is all spawned and driven by the community itself.
|
|
|
|
|
Xonotic is a direct successor of the Nexuiz project with years of
|
|
|
|
|
development between them, and it aims to become the best possible
|
|
|
|
|
open-source FPS of its kind.")
|
|
|
|
|
(license (list license:gpl2+
|
|
|
|
|
license:bsd-3 ; /source/d0_blind_id folder and others
|
2018-05-27 10:21:03 +02:00
|
|
|
|
(license:x11-style "" "See file rcon.pl.")))))
|
2018-09-08 05:08:15 +02:00
|
|
|
|
|
|
|
|
|
(define-public frotz
|
|
|
|
|
(package
|
|
|
|
|
(name "frotz")
|
|
|
|
|
(version "2.44")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (list (string-append
|
|
|
|
|
"http://www.ifarchive.org/if-archive/infocom/interpreters/"
|
2019-03-29 03:54:33 +01:00
|
|
|
|
"frotz/frotz-" version ".tar.gz")
|
2018-09-08 05:08:15 +02:00
|
|
|
|
(string-append
|
|
|
|
|
"ftp://ftp.ifarchive.org/if-archive/infocom/interpreters/"
|
2019-03-29 03:54:33 +01:00
|
|
|
|
"frotz/frotz-" version ".tar.gz")))
|
2018-09-08 05:08:15 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1v735xr3blznac8fnwa27s1vhllx4jpz7kw7qdw1bsfj6kq21v3k"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; there are no tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-before 'build 'curses
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("lcurses") "lncurses"))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(man (string-append out "/share/man/man6")))
|
|
|
|
|
(install-file "frotz" bin)
|
|
|
|
|
(mkdir-p man)
|
|
|
|
|
(install-file "doc/frotz.6" man)
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs `(("libmodplug" ,libmodplug)
|
|
|
|
|
("libsamplerate" ,libsamplerate)
|
|
|
|
|
("libsndfile" ,libsndfile)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("ncurses" ,ncurses)))
|
|
|
|
|
(synopsis "Portable Z-machine interpreter (ncurses version) for text adventure games")
|
|
|
|
|
(description "Frotz is an interpreter for Infocom games and other Z-machine
|
|
|
|
|
games in the text adventure/interactive fiction genre. This version of Frotz
|
|
|
|
|
complies with standard 1.0 of Graham Nelson's specification. It plays all
|
|
|
|
|
Z-code games V1-V8, including V6, with sound support through libao, and uses
|
|
|
|
|
ncurses for text display.")
|
|
|
|
|
(home-page "http://frotz.sourceforge.net")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
|
|
|
|
(define-public frotz-dumb-terminal
|
|
|
|
|
(package
|
|
|
|
|
(name "frotz-dumb-terminal")
|
|
|
|
|
(version "2.44")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (list (string-append
|
|
|
|
|
"http://www.ifarchive.org/if-archive/infocom/interpreters/"
|
2019-03-29 03:54:40 +01:00
|
|
|
|
"frotz/frotz-" version ".tar.gz")
|
2018-09-08 05:08:15 +02:00
|
|
|
|
(string-append
|
|
|
|
|
"ftp://ftp.ifarchive.org/if-archive/infocom/interpreters/"
|
2019-03-29 03:54:40 +01:00
|
|
|
|
"frotz/frotz-" version ".tar.gz")))
|
2018-09-08 05:08:15 +02:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1v735xr3blznac8fnwa27s1vhllx4jpz7kw7qdw1bsfj6kq21v3k"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; there are no tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "make" "dumb")))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(man (string-append out "/share/man/man6")))
|
|
|
|
|
(install-file "dfrotz" bin)
|
|
|
|
|
(mkdir-p man)
|
|
|
|
|
(install-file "doc/dfrotz.6" man)
|
|
|
|
|
#t))))))
|
|
|
|
|
(synopsis "Portable Z-machine dumb interpreter for text adventure games")
|
|
|
|
|
(description "Frotz is an interpreter for Infocom games and
|
|
|
|
|
other Z-machine games in the text adventure/interactive fiction genre.
|
|
|
|
|
dfrotz is the dumb interface version. You get no screen control; everything
|
|
|
|
|
is just printed to the terminal line by line. The terminal handles all the
|
|
|
|
|
scrolling. Maybe you'd like to experience what it's like to play Adventure on
|
|
|
|
|
a teletype. A much cooler use for compiling Frotz with the dumb interface is
|
|
|
|
|
that it can be wrapped in CGI scripting, PHP, and the like to allow people
|
|
|
|
|
to play games on webpages. It can also be made into a chat bot.")
|
|
|
|
|
(home-page "http://frotz.sourceforge.net")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
|
|
|
|
(define-public frotz-sdl
|
|
|
|
|
(let* ((commit "4de8c34f2116fff554af6216c30ec9d41bf50b24"))
|
|
|
|
|
(package
|
|
|
|
|
(name "frotz-sdl")
|
|
|
|
|
(version "2.45pre")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.com/DavidGriffith/frotz")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"18ms21pcrl7ipcnyqnf8janamkryzx78frsgd9kfk67jvbj0z2k8"))
|
|
|
|
|
(file-name (git-file-name name version))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; there are no tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-before 'build 'patch-makefile
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("lcurses") "lncurses")
|
|
|
|
|
(("^BUILD_DATE_TIME =.*$")
|
|
|
|
|
"BUILD_DATE_TIME = \"2.45pre-20180907.00000\"\n"))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "make" "sdl")))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(man (string-append out "/share/man/man6")))
|
|
|
|
|
(install-file "sfrotz" bin)
|
|
|
|
|
(mkdir-p man)
|
|
|
|
|
(install-file "doc/sfrotz.6" man)
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("which" ,which)
|
|
|
|
|
("perl" ,perl)))
|
|
|
|
|
(inputs `(("sdl2" ,sdl2)
|
|
|
|
|
("sdl2-mixer" ,sdl2-mixer)
|
|
|
|
|
("libmodplug" ,libmodplug)
|
|
|
|
|
("libsamplerate" ,libsamplerate)
|
|
|
|
|
("libsndfile" ,libsndfile)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("libjpeg-turbo" ,libjpeg-turbo)))
|
|
|
|
|
(synopsis "Portable Z-machine interpreter (SDL port) for text adventure games")
|
|
|
|
|
(description "Frotz is an interpreter for Infocom games and other Z-machine
|
|
|
|
|
games in the text adventure/interactive fiction genre. This version of Frotz
|
|
|
|
|
using SDL fully supports all these versions of the Z-Machine including the
|
|
|
|
|
graphical version 6. Graphics and sound are created through the use of the SDL
|
|
|
|
|
libraries. AIFF sound effects and music in MOD and OGG formats are supported
|
|
|
|
|
when packaged in Blorb container files or optionally from individual files.")
|
|
|
|
|
(home-page "http://frotz.sourceforge.net")
|
|
|
|
|
(license license:gpl2+))))
|
2018-12-21 03:28:07 +01:00
|
|
|
|
|
2020-06-14 12:50:34 +02:00
|
|
|
|
(define-public frozen-bubble
|
|
|
|
|
;; Last official release is very outdated (2010). Use latest commit (2017).
|
|
|
|
|
(let ((commit "d6a029110ad6ab9e4960052e175addc98807fb7e")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "frozen-bubble")
|
|
|
|
|
(version (git-version "2.2.1" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/kthakore/frozen-bubble.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1rfrcym5lf4qac2qdklikb1ywijyxypq298azzxahy461dadl6cx"))))
|
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; Build process needs to create files in the "server"
|
|
|
|
|
;; directory.
|
|
|
|
|
(add-after 'unpack 'fix-permissions
|
|
|
|
|
(lambda _
|
|
|
|
|
(for-each make-file-writable
|
|
|
|
|
(find-files "server" "." #:directories? #t))))
|
|
|
|
|
;; By default, build stops at warnings.
|
|
|
|
|
(add-after 'unpack 'prevent-build-error
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "inc/My/Builder.pm"
|
|
|
|
|
(("-Werror") ""))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'install-desktop-file-and-icons
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((share (string-append (assoc-ref outputs "out") "/share"))
|
|
|
|
|
(hicolor (string-append share "/icons/hicolor")))
|
|
|
|
|
;; Create desktop entry.
|
|
|
|
|
(make-desktop-entry-file
|
|
|
|
|
(string-append share "/applications/" ,name ".desktop")
|
|
|
|
|
#:name "Frozen Bubble"
|
|
|
|
|
#:comment "Frozen Bubble arcade game"
|
|
|
|
|
#:exec ,name
|
|
|
|
|
#:icon ,name
|
|
|
|
|
#:categories '("Game" "ArcadeGame"))
|
|
|
|
|
;; Add icons.
|
|
|
|
|
(with-directory-excursion "share/icons"
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (size)
|
|
|
|
|
(let* ((dim (string-append size "x" size))
|
|
|
|
|
(dir (string-append hicolor "/" dim "/apps")))
|
|
|
|
|
(mkdir-p dir)
|
|
|
|
|
(copy-file
|
|
|
|
|
(string-append "frozen-bubble-icon-" dim ".png")
|
|
|
|
|
(string-append dir "/frozen-bubble.png"))))
|
|
|
|
|
'("16" "32" "48" "64"))))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'wrap-perl-libs
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(perl5lib (getenv "PERL5LIB")))
|
|
|
|
|
(for-each (lambda (prog)
|
|
|
|
|
(wrap-program (string-append out "/" prog)
|
|
|
|
|
`("PERL5LIB" ":" prefix
|
|
|
|
|
(,(string-append perl5lib ":" out
|
|
|
|
|
"/lib/perl5/site_perl")))))
|
|
|
|
|
(find-files "bin" ".")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl-alien-sdl" ,perl-alien-sdl)
|
|
|
|
|
("perl-capture-tiny" ,perl-capture-tiny)
|
|
|
|
|
("perl-locale-maketext-lexicon" ,perl-locale-maketext-lexicon)
|
|
|
|
|
("perl-module-build" ,perl-module-build)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glib" ,glib)
|
|
|
|
|
("perl-compress-bzip2" ,perl-compress-bzip2)
|
|
|
|
|
("perl-file-sharedir" ,perl-file-sharedir)
|
|
|
|
|
("perl-file-slurp" ,perl-file-slurp)
|
|
|
|
|
("perl-file-which" ,perl-file-which)
|
|
|
|
|
("perl-ipc-system-simple" ,perl-ipc-system-simple)
|
|
|
|
|
("perl-sdl" ,perl-sdl)
|
|
|
|
|
("sdl" ,(sdl-union (list sdl sdl-image sdl-mixer sdl-pango sdl-ttf)))))
|
|
|
|
|
(home-page "http://frozen-bubble.org/")
|
|
|
|
|
(synopsis "Puzzle with bubbles")
|
|
|
|
|
(description
|
|
|
|
|
"Frozen-Bubble is a clone of the popular Puzzle Bobble game, in which
|
|
|
|
|
you attempt to shoot bubbles into groups of the same color to cause them to
|
|
|
|
|
pop.
|
|
|
|
|
|
|
|
|
|
Players compete as penguins and must use the arrow keys to aim a colored
|
|
|
|
|
bubble at groups of bubbles. The objective is to clear all the bubbles off
|
|
|
|
|
the screen before a bubble passes below a line at the bottom.
|
|
|
|
|
|
|
|
|
|
It features 100 single-player levels, a two-player mode, music and striking
|
|
|
|
|
graphics. A level editor is also included to allow players to create and play
|
|
|
|
|
their own levels.")
|
|
|
|
|
(license license:gpl2))))
|
|
|
|
|
|
2018-12-21 03:28:07 +01:00
|
|
|
|
(define-public libmanette
|
|
|
|
|
(package
|
|
|
|
|
(name "libmanette")
|
2020-05-20 20:02:46 +02:00
|
|
|
|
(version "0.2.4")
|
2018-12-21 03:28:07 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-03-29 03:55:02 +01:00
|
|
|
|
(uri (string-append "mirror://gnome/sources/libmanette/"
|
2018-12-21 03:28:07 +01:00
|
|
|
|
(version-major+minor version) "/"
|
2019-03-29 03:55:02 +01:00
|
|
|
|
"libmanette-" version ".tar.xz"))
|
2018-12-21 03:28:07 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-05-20 20:02:46 +02:00
|
|
|
|
"1xrc6rh73v5w3kbkflzv1yg8sbxk4wf06hfk95raxhxlssza9q2g"))))
|
2018-12-21 03:28:07 +01:00
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("glib" ,glib "bin") ; for glib-compile-resources
|
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("vala" ,vala)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libevdev" ,libevdev)
|
|
|
|
|
("libgudev" ,libgudev)))
|
|
|
|
|
(home-page "https://wiki.gnome.org/Apps/Games")
|
|
|
|
|
(synopsis "Game controller library")
|
|
|
|
|
(description "Libmanette is a small GObject library giving you simple
|
|
|
|
|
access to game controllers. It supports the de-facto standard gamepads as
|
|
|
|
|
defined by the W3C standard Gamepad specification or as implemented by the SDL
|
|
|
|
|
GameController.")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2018-12-21 06:16:56 +01:00
|
|
|
|
|
|
|
|
|
(define-public quadrapassel
|
|
|
|
|
(package
|
|
|
|
|
(name "quadrapassel")
|
2019-07-29 20:25:09 +02:00
|
|
|
|
(version "3.32.0")
|
2018-12-21 06:16:56 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2019-03-29 03:56:06 +01:00
|
|
|
|
(uri (string-append "mirror://gnome/sources/quadrapassel/"
|
2018-12-21 06:16:56 +01:00
|
|
|
|
(version-major+minor version) "/"
|
2019-03-29 03:56:06 +01:00
|
|
|
|
"quadrapassel-" version ".tar.xz"))
|
2018-12-21 06:16:56 +01:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-07-29 20:25:09 +02:00
|
|
|
|
"1zhi1957knz9dm98drn2dh95mr33sdch590yddh1f8r6bzsfjvpy"))))
|
|
|
|
|
(build-system meson-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:glib-or-gtk? #t
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'skip-gtk-update-icon-cache
|
|
|
|
|
;; Don't create 'icon-theme.cache'.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "build-aux/meson_post_install.py"
|
|
|
|
|
(("gtk-update-icon-cache") (which "true")))
|
|
|
|
|
#t)))))
|
2018-12-21 06:16:56 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("desktop-file-utils" ,desktop-file-utils) ;for desktop-file-validate
|
2020-04-04 15:48:44 +02:00
|
|
|
|
("gettext" ,gettext-minimal)
|
2018-12-21 06:16:56 +01:00
|
|
|
|
("glib" ,glib "bin") ;for glib-compile-resources
|
|
|
|
|
("itstool" ,itstool)
|
|
|
|
|
("libxml2" ,libxml2) ;for xmllint
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("vala" ,vala)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("clutter" ,clutter)
|
|
|
|
|
("clutter-gtk" ,clutter-gtk)
|
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
|
("libcanberra" ,libcanberra)
|
|
|
|
|
("libmanette" ,libmanette)
|
|
|
|
|
("librsvg" ,librsvg)))
|
|
|
|
|
(home-page "https://wiki.gnome.org/Apps/Quadrapassel")
|
|
|
|
|
(synopsis "GNOME version of Tetris")
|
|
|
|
|
(description "Quadrapassel comes from the classic falling-block game,
|
|
|
|
|
Tetris. The goal of the game is to create complete horizontal lines of
|
|
|
|
|
blocks, which will disappear. The blocks come in seven different shapes made
|
|
|
|
|
from four blocks each: one straight, two L-shaped, one square, and two
|
|
|
|
|
S-shaped. The blocks fall from the top center of the screen in a random
|
|
|
|
|
order. You rotate the blocks and move them across the screen to drop them in
|
|
|
|
|
complete lines. You score by dropping blocks fast and completing lines. As
|
|
|
|
|
your score gets higher, you level up and the blocks fall faster.")
|
|
|
|
|
(license license:gpl2+)))
|
2019-01-13 10:31:57 +01:00
|
|
|
|
|
|
|
|
|
(define-public endless-sky
|
|
|
|
|
(package
|
|
|
|
|
(name "endless-sky")
|
2020-05-06 19:29:07 +02:00
|
|
|
|
(version "0.9.12")
|
2019-01-13 10:31:57 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/endless-sky/endless-sky")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
2020-05-06 19:29:07 +02:00
|
|
|
|
(base32 "18nkl4s3r5sy3sd9lhbdg9160c7fggklklprx0d5azifc8g6k0wj"))))
|
2019-01-13 10:31:57 +01:00
|
|
|
|
(build-system scons-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:scons ,scons-python2
|
|
|
|
|
#:scons-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:tests? #f ; no tests
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'patch-resource-locations
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "source/Files.cpp"
|
|
|
|
|
(("/usr/local/")
|
|
|
|
|
(string-append (assoc-ref outputs "out") "/")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'patch-scons
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "SConstruct"
|
|
|
|
|
;; Keep environmental variables
|
|
|
|
|
(("Environment\\(\\)")
|
|
|
|
|
"Environment(ENV = os.environ)")
|
|
|
|
|
;; Install into %out/bin
|
|
|
|
|
(("games\"") "bin\""))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glew" ,glew)
|
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
|
|
|
|
("libmad" ,libmad)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("sdl2" ,sdl2)))
|
|
|
|
|
(home-page "https://endless-sky.github.io/")
|
|
|
|
|
(synopsis "2D space trading and combat game")
|
|
|
|
|
(description "Endless Sky is a 2D space trading and combat game. Explore
|
|
|
|
|
other star systems. Earn money by trading, carrying passengers, or completing
|
|
|
|
|
missions. Use your earnings to buy a better ship or to upgrade the weapons and
|
|
|
|
|
engines on your current one. Blow up pirates. Take sides in a civil war. Or
|
|
|
|
|
leave human space behind and hope to find friendly aliens whose culture is more
|
|
|
|
|
civilized than your own.")
|
|
|
|
|
(license (list license:gpl3+
|
|
|
|
|
license:cc-by-sa3.0
|
|
|
|
|
license:cc-by-sa4.0
|
|
|
|
|
license:public-domain))))
|
2018-11-11 00:43:34 +01:00
|
|
|
|
|
|
|
|
|
(define-public stepmania
|
|
|
|
|
(package
|
|
|
|
|
(name "stepmania")
|
|
|
|
|
(version "5.1.0-b2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/stepmania/stepmania.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0a7y9l7xm510vgnpmj1is7p9m6d6yd0fcaxrjcickz295k5w3rdn"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Remove song files, which are licensed under a non-commercial
|
|
|
|
|
;; clause, and a course pointing to them.
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
'("Songs/StepMania 5/Goin' Under"
|
|
|
|
|
"Songs/StepMania 5/MechaTribe Assault"
|
|
|
|
|
"Songs/StepMania 5/Springtime"))
|
|
|
|
|
(for-each delete-file '("Courses/Default/Jupiter.crs"
|
|
|
|
|
"Courses/Default/Jupiter.png"))
|
|
|
|
|
;; Unbundle libpng.
|
|
|
|
|
(substitute* "extern/CMakeLists.txt"
|
|
|
|
|
(("include\\(CMakeProject-png.cmake\\)") ""))
|
|
|
|
|
(delete-file-recursively "extern/libpng")
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;FIXME: couldn't find how to run tests
|
|
|
|
|
#:build-type "Release"
|
|
|
|
|
#:out-of-source? #f ;for the 'install-desktop' phase
|
|
|
|
|
#:configure-flags
|
|
|
|
|
(list "-DWITH_SYSTEM_FFMPEG=1"
|
2019-01-26 18:47:28 +01:00
|
|
|
|
;; SSE instructions are available on Intel systems only.
|
|
|
|
|
,@(if (any (cute string-prefix? <> (or (%current-target-system)
|
|
|
|
|
(%current-system)))
|
|
|
|
|
'("x64_64" "i686"))
|
|
|
|
|
'()
|
|
|
|
|
'("-DWITH_SSE2=NO"))
|
2018-11-11 00:43:34 +01:00
|
|
|
|
;; Configuration cannot find GTK2 without the two following
|
|
|
|
|
;; flags.
|
|
|
|
|
(string-append "-DGTK2_GDKCONFIG_INCLUDE_DIR="
|
|
|
|
|
(assoc-ref %build-inputs "gtk+")
|
|
|
|
|
"/lib/gtk-2.0/include")
|
|
|
|
|
(string-append "-DGTK2_GLIBCONFIG_INCLUDE_DIR="
|
|
|
|
|
(assoc-ref %build-inputs "glib")
|
|
|
|
|
"/lib/glib-2.0/include"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
2019-03-29 14:14:19 +01:00
|
|
|
|
(add-after 'unpack 'ensure-application-files-can-be-found
|
2019-03-29 07:14:17 +01:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2019-03-29 14:14:19 +01:00
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* "src/arch/LoadingWindow/LoadingWindow_Gtk.cpp"
|
|
|
|
|
(("RageFileManagerUtil::sDirOfExecutable \\+ \"/\" \\+ \"GtkModule.so\"")
|
|
|
|
|
(string-append "\"" out
|
|
|
|
|
"/share/stepmania/GtkModule.so\"")))
|
|
|
|
|
(substitute* "src/arch/ArchHooks/ArchHooks_Unix.cpp"
|
|
|
|
|
(("Root = sDirOfExecutable")
|
|
|
|
|
(string-append "Root = \"" out "/share/stepmania/\""))
|
|
|
|
|
(("sDirOfExecutable \\+ \"/(Packages|Songs)\"" _ dir)
|
|
|
|
|
(string-append "\"" out "/share/stepmania/" dir "\"")))
|
|
|
|
|
(substitute* "src/RageFileManager.cpp"
|
|
|
|
|
(("RageFileManagerUtil::sDirOfExecutable \\+ \"/\"")
|
|
|
|
|
(string-append "\"" out "/share/stepmania/\""))))
|
2019-03-29 07:14:17 +01:00
|
|
|
|
#t))
|
2018-11-11 00:43:34 +01:00
|
|
|
|
(add-after 'unpack 'fix-install-subdir
|
|
|
|
|
;; Installation would be done in "%out/stepmania-X.Y", but we
|
|
|
|
|
;; prefer the more common layout "%out/share/stepmania".
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/CMakeLists.txt"
|
|
|
|
|
(("\"stepmania-.*?\"") "\"share/stepmania\""))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'unbundle-libpng
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "src/CMakeLists.txt"
|
|
|
|
|
(("\\$\\{SM_EXTERN_DIR\\}/libpng/include")
|
|
|
|
|
(string-append (assoc-ref inputs "libpng") "/include")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'install-executable
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(exe (string-append out "/share/stepmania/stepmania")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(symlink exe (string-append bin "/stepmania"))
|
|
|
|
|
#t)))
|
|
|
|
|
(add-after 'install-executable 'install-desktop
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(share (string-append out "/share"))
|
|
|
|
|
(applications (string-append share "/applications"))
|
|
|
|
|
(icons (string-append share "/icons")))
|
|
|
|
|
(install-file "stepmania.desktop" applications)
|
|
|
|
|
(mkdir-p icons)
|
|
|
|
|
(copy-recursively "icons" icons)
|
|
|
|
|
#t)))
|
|
|
|
|
;; Move documentation in a more usual place, i.e.,
|
|
|
|
|
;; "%out/share/doc/stepmania/".
|
|
|
|
|
(add-after 'install-desktop 'install-doc
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(share (string-append out "/share")))
|
|
|
|
|
(with-directory-excursion share
|
|
|
|
|
(mkdir-p "doc")
|
|
|
|
|
(symlink "../stepmania/Docs" "doc/stepmania"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("yasm" ,yasm)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
;; Per upstream, StepMania is only guaranteed to work with a very
|
|
|
|
|
;; specific FFmpeg version, which is included in the repository as
|
|
|
|
|
;; a Git submodule. This particular version requirement usually
|
|
|
|
|
;; changes every few years.
|
|
|
|
|
("ffmpeg" ,ffmpeg-for-stepmania)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("glew" ,glew)
|
|
|
|
|
("gtk+" ,gtk+-2)
|
|
|
|
|
("jsoncpp" ,jsoncpp)
|
|
|
|
|
("libpng" ,libpng)
|
2020-01-20 11:28:45 +01:00
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
2018-11-11 00:43:34 +01:00
|
|
|
|
("libmad" ,libmad)
|
|
|
|
|
("libogg" ,libogg)
|
|
|
|
|
("libva" ,libva)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("pcre" ,pcre)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
|
|
|
|
("sdl" ,sdl2)
|
|
|
|
|
("udev" ,eudev)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(synopsis "Advanced rhythm game designed for both home and arcade use")
|
|
|
|
|
(description "StepMania is a dance and rhythm game. It features 3D
|
|
|
|
|
graphics, keyboard and dance pad support, and an editor for creating your own
|
|
|
|
|
steps.
|
|
|
|
|
|
|
|
|
|
This package provides the core application, but no song is shipped. You need
|
|
|
|
|
to download and install them in @file{$HOME/.stepmania-X.Y/Songs} directory.")
|
|
|
|
|
(home-page "https://www.stepmania.com")
|
|
|
|
|
(license license:expat)))
|
|
|
|
|
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(define-public btanks
|
2019-03-10 14:01:49 +01:00
|
|
|
|
(package
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(name "btanks")
|
2019-03-10 14:01:49 +01:00
|
|
|
|
(version "0.9.8083")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/btanks/btanks-source/"
|
|
|
|
|
"btanks-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0ha35kxc8xlbg74wsrbapfgxvcrwy6psjkqi7c6adxs55dmcxliz"))))
|
|
|
|
|
(build-system scons-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; there are none
|
|
|
|
|
#:scons ,scons-python2
|
|
|
|
|
#:scons-flags (list (string-append "prefix=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'replace-removed-scons-syntax
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "SConstruct"
|
|
|
|
|
(("Options") "Variables")
|
|
|
|
|
(("opts.Add\\(BoolOption.*") "opts.Add('gcc_visibility', 'gcc visibility', 'true')")
|
|
|
|
|
(("opts.Add\\(EnumOption.*") "opts.Add('mode', 'build mode', 'release')"))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'set-paths 'set-sdl-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "CPATH"
|
|
|
|
|
(string-append (assoc-ref inputs "sdl")
|
2019-07-15 19:46:40 +02:00
|
|
|
|
"/include/SDL:"
|
|
|
|
|
(or (getenv "CPATH") "")))
|
2019-03-10 14:01:49 +01:00
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'fix-compilation-errors
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "mrt/base_file.h"
|
|
|
|
|
(("#include <string>" m)
|
|
|
|
|
(string-append m "\n#include <sys/types.h>")))
|
|
|
|
|
(substitute* '("engine/sl08/sl08.h"
|
|
|
|
|
"engine/sl08/sl08.py")
|
|
|
|
|
(("signal = NULL") "signal = 0")
|
|
|
|
|
(("object\\(NULL\\)") "object(0)")
|
|
|
|
|
(("func\\(NULL\\)") "func(0)")
|
|
|
|
|
((" connect\\(signal_ref\\)")
|
|
|
|
|
" this->connect(signal_ref)"))
|
|
|
|
|
(substitute* "math/range_list.h"
|
|
|
|
|
((" lower_bound\\(value\\)")
|
|
|
|
|
" this->lower_bound(value)")
|
|
|
|
|
((" erase\\(i\\)")
|
|
|
|
|
" this->erase(i)"))
|
|
|
|
|
(substitute* "clunk/source.cpp"
|
|
|
|
|
(("using namespace clunk" m)
|
|
|
|
|
(string-append "# define pow10f(x) exp10f(x)\n" m)))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'find-lua
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "engine/SConscript"
|
|
|
|
|
(("lua5.1") "lua-5.1")
|
|
|
|
|
(("bt_libs.append\\(lua\\)")
|
|
|
|
|
"bt_libs.append(\"lua\")"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("expat" ,expat)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("libsmpeg" ,libsmpeg-with-sdl1)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("lua51" ,lua-5.1)
|
|
|
|
|
("sdl" ,(sdl-union (list sdl
|
|
|
|
|
sdl-mixer
|
|
|
|
|
sdl-image
|
|
|
|
|
sdl-ttf)))
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("zip" ,zip)))
|
|
|
|
|
(home-page "http://btanks.sourceforge.net")
|
|
|
|
|
(synopsis "Multiplayer tank battle game")
|
2019-03-26 13:43:35 +01:00
|
|
|
|
(description "Battle Tanks (also known as \"btanks\") is a funny battle
|
|
|
|
|
game, where you can choose one of three vehicles and eliminate your enemy
|
|
|
|
|
using the whole arsenal of weapons. It has original cartoon-like graphics and
|
|
|
|
|
cool music, it’s fun and dynamic, it has several network modes for deathmatch
|
|
|
|
|
and cooperative.")
|
2019-03-10 14:01:49 +01:00
|
|
|
|
;; Some parts (e.g. mrt/b64.cpp) are LGPLv2.1+, but the whole package is
|
|
|
|
|
;; released under GPLv2 or later. It comes with extra exceptions for the
|
|
|
|
|
;; developers.
|
|
|
|
|
(license (list license:gpl2+ license:lgpl2.1+))))
|
2019-03-10 10:20:01 +01:00
|
|
|
|
|
|
|
|
|
(define-public slingshot
|
|
|
|
|
(package
|
|
|
|
|
(name "slingshot")
|
|
|
|
|
(version "0.9")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/ryanakca/slingshot.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"19m8b6nsi786bc6gmkp185mwri3r5y249gjmqd5qsc23nnfhgrs1"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:python ,python-2))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python-pygame" ,python2-pygame)))
|
|
|
|
|
(home-page "https://github.com/ryanakca/slingshot")
|
|
|
|
|
(synopsis "Simple 2D shooting strategy game set in space")
|
|
|
|
|
(description "Slingshot is a two-dimensional strategy game where two
|
|
|
|
|
players attempt to shoot one another through a section of space populated by
|
|
|
|
|
planets. The main feature of the game is that the shots, once fired, are
|
|
|
|
|
affected by the gravity of the planets.")
|
|
|
|
|
(license license:gpl2+)))
|
2019-03-10 10:55:55 +01:00
|
|
|
|
|
|
|
|
|
(define-public 4dtris
|
|
|
|
|
(package
|
|
|
|
|
(name "4dtris")
|
|
|
|
|
(version "0.4.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://launchpad.net/4dtris/"
|
|
|
|
|
(version-major+minor version)
|
|
|
|
|
"/" version "/+download/4dtris_"
|
|
|
|
|
version ".orig.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1nfkhcm0l89jyw8yr65na97g4l385zhjf7whkyg47c3v5sdqq2g7"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-install-directories
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* "Makefile.in"
|
|
|
|
|
(("bindir = /usr/games")
|
|
|
|
|
(string-append "bindir = " out "/bin"))
|
|
|
|
|
(("/usr/share/applications")
|
|
|
|
|
(string-append out "/share/applications"))
|
|
|
|
|
(("/usr/share/games/4dtris")
|
|
|
|
|
(string-append out "/share/4dtris"))))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'set-paths 'set-sdl-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "CPATH"
|
|
|
|
|
(string-append (assoc-ref inputs "sdl")
|
2019-07-15 19:46:40 +02:00
|
|
|
|
"/include/SDL:"
|
|
|
|
|
(or (getenv "CPATH") "")))
|
2019-03-10 10:55:55 +01:00
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("fontconfig" ,fontconfig)
|
|
|
|
|
("freeglut" ,freeglut)
|
|
|
|
|
("sdl" ,(sdl-union (list sdl sdl-ttf)))))
|
|
|
|
|
(home-page "https://launchpad.net/4dtris/")
|
|
|
|
|
(synopsis "4D Tetris")
|
|
|
|
|
(description "4D-TRIS is an alteration of the well-known Tetris game. The
|
|
|
|
|
game field is extended to 4D space, which has to filled up by the gamer with
|
|
|
|
|
4D hyper cubes.")
|
|
|
|
|
(license license:gpl3)))
|
|
|
|
|
|
2019-03-16 20:19:13 +01:00
|
|
|
|
(define-public arx-libertatis
|
|
|
|
|
(package
|
|
|
|
|
(name "arx-libertatis")
|
|
|
|
|
(version "1.1.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://arx-libertatis.org/files/arx-libertatis-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0hjfxlsmp8wwqr06snv2dlly2s79ra0d9aw49gkp6rn8m50b9bc2"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(outputs '("out" "installer"))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; No tests.
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-install-helper-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((p7zip (assoc-ref inputs "p7zip"))
|
|
|
|
|
(innoextract (assoc-ref inputs "innoextract"))
|
|
|
|
|
(wget (assoc-ref inputs "wget"))
|
|
|
|
|
(zenity (assoc-ref inputs "zenity")))
|
|
|
|
|
(substitute* "scripts/arx-install-data"
|
|
|
|
|
(("have innoextract")
|
|
|
|
|
(string-append "have " innoextract "/bin/innoextract"))
|
|
|
|
|
(("then innoextract")
|
|
|
|
|
(string-append "then " innoextract "/bin/innoextract"))
|
|
|
|
|
(("else innoextract")
|
|
|
|
|
(string-append "else " innoextract "/bin/innoextract"))
|
|
|
|
|
(("for _extract_zip_sz in 7za 7z")
|
|
|
|
|
(string-append "for _extract_zip_sz in " p7zip "/bin/7za"))
|
|
|
|
|
(("else if have 7z")
|
|
|
|
|
(string-append "else if have " p7zip "/bin/7za"))
|
|
|
|
|
(("7z x -tiso")
|
|
|
|
|
(string-append p7zip "/bin/7z x -tiso"))
|
|
|
|
|
(("if have wget")
|
|
|
|
|
(string-append "if have " wget "/bin/wget"))
|
|
|
|
|
(("wget -O")
|
|
|
|
|
(string-append wget "/bin/wget -O"))
|
|
|
|
|
(("for backend in \\$preferred zenity")
|
|
|
|
|
(string-append "for backend in $preferred " zenity "/bin/zenity"))
|
|
|
|
|
(("zenity +--title")
|
|
|
|
|
(string-append zenity "/bin/zenity --title"))
|
|
|
|
|
(("^zenity\\)")
|
|
|
|
|
(string-append zenity "/bin/zenity)"))))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'move-installer
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(installer (assoc-ref outputs "installer")))
|
|
|
|
|
(mkdir-p (string-append installer "/bin"))
|
|
|
|
|
(rename-file (string-append out "/bin/arx-install-data")
|
|
|
|
|
(string-append installer "/bin/arx-install-data"))))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("sdl" ,sdl) ; Switch to sdl2 in >1.1.2.
|
|
|
|
|
("mesa" ,mesa) ; Switch to libepoxy in >1.1.2.
|
|
|
|
|
("glew" ,glew)
|
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("zlib" ,zlib)
|
|
|
|
|
("boost" ,boost)
|
|
|
|
|
("glm" ,glm)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
;; The following are only needed by the arx-install-data script.
|
|
|
|
|
("p7zip" ,p7zip) ; Install-helper uses it to extract ISO and .cab archives.
|
|
|
|
|
("zenity" ,zenity) ; GUI for install-helper.
|
|
|
|
|
("wget" ,wget) ; Used by the install-helper to download the patch.
|
|
|
|
|
;; The install-helper needs it to extract the patch.
|
|
|
|
|
("innoextract" ,innoextract)))
|
|
|
|
|
(home-page "https://arx-libertatis.org/")
|
|
|
|
|
(synopsis "Port of Arx Fatalis, a first-person role-playing game")
|
2019-10-12 14:54:21 +02:00
|
|
|
|
(description "Arx Libertatis is a cross-platform port of Arx Fatalis, a 2002
|
|
|
|
|
first-person role-playing game / dungeon crawler developed by Arkane Studios.
|
|
|
|
|
This port however does not include the game data, so you need to obtain a copy
|
|
|
|
|
of the original Arx Fatalis or its demo to play Arx Libertatis. Arx Fatalis
|
|
|
|
|
features crafting, melee and ranged combat, as well as a unique casting system
|
|
|
|
|
where the player draws runes in real time to effect the desired spell.")
|
2019-03-16 20:19:13 +01:00
|
|
|
|
(license license:gpl3+)))
|
2019-03-15 23:04:15 +01:00
|
|
|
|
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(define-public edgar
|
2019-03-15 23:04:15 +01:00
|
|
|
|
(package
|
2019-04-30 02:02:39 +02:00
|
|
|
|
(name "edgar")
|
2020-05-21 22:10:51 +02:00
|
|
|
|
(version "1.33")
|
2019-03-15 23:04:15 +01:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri
|
|
|
|
|
(string-append "https://github.com/riksweeney/edgar/releases/download/"
|
|
|
|
|
version "/edgar-" version "-1.tar.gz"))
|
|
|
|
|
(sha256
|
2020-05-21 22:10:51 +02:00
|
|
|
|
(base32 "1mbx7dvizdca4g1blcv3bdh6yxd13k47rkya4rdzg0nvvz24m175"))))
|
2019-03-15 23:04:15 +01:00
|
|
|
|
(build-system gnu-build-system)
|
2019-04-17 00:42:16 +02:00
|
|
|
|
(arguments '(#:tests? #f ; there are no tests
|
2019-03-15 23:04:15 +01:00
|
|
|
|
#:make-flags
|
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out"))
|
|
|
|
|
(string-append "BIN_DIR=" (assoc-ref %outputs "out") "/bin/"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-before 'build 'fix-env
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
2019-04-17 00:42:16 +02:00
|
|
|
|
(setenv "CPATH"
|
|
|
|
|
(string-append (assoc-ref inputs "sdl2-union")
|
2019-07-15 19:46:40 +02:00
|
|
|
|
"/include/SDL2:"
|
|
|
|
|
(or (getenv "CPATH") "")))
|
2019-03-15 23:04:15 +01:00
|
|
|
|
#t)))))
|
2019-04-17 00:42:16 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("sdl2-union" ,(sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf)))
|
|
|
|
|
("zlib" ,zlib)))
|
2019-03-15 23:04:15 +01:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)
|
2020-04-04 15:48:44 +02:00
|
|
|
|
("gnu-gettext" ,gettext-minimal)
|
2019-03-15 23:04:15 +01:00
|
|
|
|
("libtool" ,libtool)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(synopsis "2d action platformer game")
|
|
|
|
|
(description "The Legend of Edgar is a 2D platform game with a persistent world.
|
|
|
|
|
When Edgar's father fails to return home after venturing out one dark and stormy night,
|
|
|
|
|
Edgar fears the worst: he has been captured by the evil sorcerer who lives in
|
|
|
|
|
a fortress beyond the forbidden swamp.")
|
|
|
|
|
(home-page "https://www.parallelrealities.co.uk/games/edgar/")
|
|
|
|
|
(license license:gpl2+)))
|
2019-03-26 13:43:47 +01:00
|
|
|
|
|
2019-03-29 01:26:07 +01:00
|
|
|
|
(define-public openclonk
|
|
|
|
|
(package
|
|
|
|
|
(name "openclonk")
|
|
|
|
|
(version "8.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://www.openclonk.org/builds/release/" version "/"
|
|
|
|
|
"openclonk-" version "-src.tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0imkqjp8lww5p0cnqf4k4mb2v682mnsas63qmiz17rspakr7fxik"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags '("-DAudio_TK=OpenAL")
|
|
|
|
|
#:test-target "tests"
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'prepare-gmock
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(mkdir "gmock")
|
|
|
|
|
(copy-recursively (assoc-ref inputs "googlemock") "gmock")
|
|
|
|
|
(substitute* "tests/CMakeLists.txt"
|
|
|
|
|
(("/usr/src/gmock")
|
|
|
|
|
(string-append (getcwd) "/gmock/googlemock"))
|
|
|
|
|
(("/usr/src/gtest")
|
|
|
|
|
(string-append (getcwd) "/gmock/googletest"))
|
|
|
|
|
(("PATH_SUFFIXES \"src\" \"gtest\"")
|
|
|
|
|
"PATH_SUFFIXES \"src\""))
|
|
|
|
|
#t))
|
2019-11-28 15:10:30 +01:00
|
|
|
|
(add-after 'unpack 'adjust-backward-cpp-includes
|
|
|
|
|
(lambda _
|
|
|
|
|
;; XXX: The bundled backward-cpp exports a CMake "interface"
|
|
|
|
|
;; that includes external libraries such as libdl from glibc.
|
|
|
|
|
;; By default, CMake interface includes are treated as "system
|
|
|
|
|
;; headers", and GCC behaves poorly when glibc is passed as a
|
|
|
|
|
;; system header (causing #include_next failures).
|
|
|
|
|
|
|
|
|
|
;; Here we prevent targets that consume the Backward::Backward
|
|
|
|
|
;; interface from treating it as "system includes".
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("target_link_libraries\\((.+) Backward::Backward\\)" all target)
|
|
|
|
|
(string-append "set_property(TARGET " target " PROPERTY "
|
|
|
|
|
"NO_SYSTEM_FROM_IMPORTED true)\n"
|
|
|
|
|
all)))
|
|
|
|
|
#t))
|
2019-03-29 01:26:07 +01:00
|
|
|
|
(add-after 'unpack 'add-libiberty
|
|
|
|
|
;; Build fails upon linking executables without this.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "thirdparty/backward-cpp/BackwardConfig.cmake"
|
|
|
|
|
(("set\\(LIBBFD_LIBRARIES (.*?)\\)" _ libraries)
|
|
|
|
|
(string-append "set(LIBBFD_LIBRARIES " libraries " iberty)")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'add-libiberty 'lax-freealut-requirement
|
|
|
|
|
;; TODO: We provide freealut 1.1.0, but pkg-config somehow detects
|
|
|
|
|
;; it as 1.0.1. Force minimal version.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "cmake/FindAudio.cmake"
|
|
|
|
|
(("freealut>=1.1.0") "freealut>=1.0.1"))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'lax-freealut-requirement 'fix-directories
|
|
|
|
|
;; Prefer "$out/share/openclonk" over
|
|
|
|
|
;; "$out/share/games/openclonk". Also install "openclonk"
|
|
|
|
|
;; binary in "bin/", not "games/".
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
|
(("share/games/openclonk") "share/openclonk")
|
|
|
|
|
(("TARGETS openclonk DESTINATION games")
|
|
|
|
|
"TARGETS openclonk DESTINATION bin"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("googlemock" ,(package-source googletest))
|
|
|
|
|
("googletest" ,googletest)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("freealut" ,freealut)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("glew" ,glew)
|
|
|
|
|
("libiberty" ,libiberty)
|
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
|
|
|
|
("libogg" ,libogg)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("miniupnpc" ,miniupnpc)
|
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("readline" ,readline)
|
|
|
|
|
("sdl" ,sdl2)
|
|
|
|
|
("tinyxml" ,tinyxml)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "https://www.openclonk.org/")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Multiplayer action game where you control small and nimble humanoids")
|
|
|
|
|
(description "OpenClonk is a multiplayer action/tactics/skill game. It is
|
|
|
|
|
often referred to as a mixture of The Settlers and Worms. In a simple 2D
|
2019-11-28 15:12:41 +01:00
|
|
|
|
antfarm-style landscape, the player controls a crew of Clonks, small but
|
2019-03-29 01:26:07 +01:00
|
|
|
|
robust humanoid beings. The game encourages free play but the normal goal is
|
|
|
|
|
to either exploit valuable resources from the earth by building a mine or
|
|
|
|
|
fight each other on an arena-like map.")
|
|
|
|
|
;; Software as a whole is licensed under ISC, artwork under CC-BY.
|
|
|
|
|
(license (list license:isc license:cc-by3.0))))
|
2019-03-30 23:50:25 +01:00
|
|
|
|
|
|
|
|
|
(define-public flare-engine
|
|
|
|
|
(package
|
|
|
|
|
(name "flare-engine")
|
2019-07-30 22:39:33 +02:00
|
|
|
|
(version "1.11")
|
2019-03-30 23:50:25 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/flareteam/flare-engine.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-07-30 22:39:33 +02:00
|
|
|
|
"1mqr1s72p5bdh4kq2a8hg72dk8lwnddicjnd2cdp1sbfa9lmjym8"))))
|
2019-03-30 23:50:25 +01:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no test
|
|
|
|
|
#:configure-flags '("-DBINDIR=bin" "-DDATADIR=share/flare")))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("hicolor-icon-theme" ,hicolor-icon-theme)
|
|
|
|
|
("python" ,python-wrapper)
|
|
|
|
|
("sdl" ,(sdl-union (list sdl2 sdl2-image sdl2-mixer sdl2-ttf)))))
|
|
|
|
|
(home-page "http://www.flarerpg.org/")
|
|
|
|
|
(synopsis "Action Roleplaying Engine")
|
|
|
|
|
(description "Flare (Free Libre Action Roleplaying Engine) is a simple
|
|
|
|
|
game engine built to handle a very specific kind of game: single-player 2D
|
|
|
|
|
action RPGs.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
|
|
|
|
(define-public flare-game
|
|
|
|
|
(package
|
|
|
|
|
(name "flare-game")
|
2019-07-30 22:47:44 +02:00
|
|
|
|
(version "1.11")
|
2019-03-30 23:50:25 +01:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/flareteam/flare-game.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-07-30 22:47:44 +02:00
|
|
|
|
"0bd5g7sd89a9176ilr408hdqzdfv4j7wj0idd685c1n6s01c3h6p"))))
|
2019-03-30 23:50:25 +01:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no test
|
|
|
|
|
#:configure-flags '("-DDATADIR=share/flare")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; Flare expects the mods to be located in the same folder.
|
|
|
|
|
;; Yet, "default" mod is in the engine, whereas the others
|
|
|
|
|
;; are in the current package. Merge everything here with
|
|
|
|
|
;; a symlink.
|
|
|
|
|
(add-after 'install 'add-default-mod
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(mods (string-append out "/share/flare/mods")))
|
|
|
|
|
(with-directory-excursion mods
|
|
|
|
|
(symlink (string-append (assoc-ref inputs "flare-engine")
|
|
|
|
|
"/share/flare/mods/default")
|
|
|
|
|
"default")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'install-executable
|
|
|
|
|
;; The package only provides assets for the game, the
|
|
|
|
|
;; executable coming from "flare-engine". Since more than
|
|
|
|
|
;; one game may use the engine, we create a new executable,
|
|
|
|
|
;; "flare-game", which launches the engine with appropriate
|
|
|
|
|
;; parameters.
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bash (string-append (assoc-ref inputs "bash")
|
|
|
|
|
"/bin/bash"))
|
|
|
|
|
(flare (string-append (assoc-ref inputs "flare-engine")
|
|
|
|
|
"/bin/flare"))
|
|
|
|
|
(script (string-append out "/bin/flare-game")))
|
|
|
|
|
(mkdir-p (dirname script))
|
|
|
|
|
(call-with-output-file script
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(format port
|
|
|
|
|
"#!~a
|
|
|
|
|
exec ~a --data-path=~a/share/flare --mods=empyrean_campaign~%"
|
|
|
|
|
bash
|
|
|
|
|
flare
|
|
|
|
|
out)))
|
|
|
|
|
(chmod script #o755))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("flare-engine" ,flare-engine)))
|
|
|
|
|
(home-page "http://www.flarerpg.org/")
|
|
|
|
|
(synopsis "Fantasy action RPG using the FLARE engine")
|
|
|
|
|
(description "Flare is a single-player 2D action RPG with
|
|
|
|
|
fast-paced action and a dark fantasy style.")
|
|
|
|
|
(license license:cc-by-sa3.0)))
|
2019-04-01 21:36:44 +02:00
|
|
|
|
|
|
|
|
|
(define-public meritous
|
|
|
|
|
(package
|
|
|
|
|
(name "meritous")
|
|
|
|
|
(version "1.5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.com/meritous/meritous.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0n5jm4g0arjllgqmd2crv8h02i6hs3hlh1zyc7ng7yfpg1mbd8p8"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no test
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
(string-append "prefix=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-after 'unpack 'fix-sdl-path
|
|
|
|
|
;; XXX: For some reason, `sdl-config' reports stand-alone SDL
|
|
|
|
|
;; directory, not SDL-union provided as an input to the package.
|
|
|
|
|
;; We force the latter with "--prefix=" option.
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("sdl-config" command)
|
|
|
|
|
(string-append command " --prefix=" (assoc-ref inputs "sdl"))))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'fix-crash
|
|
|
|
|
;; XXX: Songs are not present in the repository, due to licensing
|
|
|
|
|
;; issues. Yet, the game tries to load them, and, since it cannot
|
|
|
|
|
;; find them, crashes. Users cannot add them back, the store being
|
|
|
|
|
;; read-only, so we turn off background music altogether.
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "src/audio.c"
|
|
|
|
|
(("PlayBackgroundMusic\\(new_track\\);" all)
|
|
|
|
|
(string-append "// " all)))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("intltool" ,intltool)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("sdl" ,(sdl-union (list sdl sdl-image sdl-mixer)))
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "https://gitlab.com/meritous/meritous")
|
|
|
|
|
(synopsis "Action-adventure dungeon crawl game")
|
|
|
|
|
(description "Far below the surface of the planet is a place of limitless
|
|
|
|
|
power. Those that seek to control such a utopia will soon bring an end to
|
|
|
|
|
themselves. Seeking an end to the troubles that plague him, PSI user Merit
|
|
|
|
|
journeys into the hallowed Orcus Dome in search of answers.
|
|
|
|
|
|
|
|
|
|
Meritous is a action-adventure game with simple controls but a challenge to
|
|
|
|
|
find a balance of power versus recovery time during real-time battles. Set in
|
|
|
|
|
a procedurally generated world, the player can explore thousands of rooms in
|
|
|
|
|
search of powerful artifacts, tools to help them, and to eventually free the
|
|
|
|
|
Orcus Dome from evil.")
|
|
|
|
|
(license license:gpl3+)))
|
2019-04-13 11:06:09 +02:00
|
|
|
|
|
|
|
|
|
(define-public marble-marcher
|
|
|
|
|
(let ((commit "e580460a0c3826f9b28ab404607942a8ecb625d7")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "marble-marcher")
|
|
|
|
|
(version (git-version "0" revision commit))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/HackerPoet/MarbleMarcher.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0jjv832hl1v170n6gryp2sr3lgqndi9ab841qvgqk68bks8701mx"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; there are none
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'embed-asset-directory
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((assets (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/share/marble-marcher/assets/")))
|
|
|
|
|
;; Some of the files we're patching are
|
|
|
|
|
;; ISO-8859-1-encoded, so choose it as the default
|
|
|
|
|
;; encoding so the byte encoding is preserved.
|
|
|
|
|
(with-fluids ((%default-port-encoding #f))
|
|
|
|
|
(substitute* "src/Resource.rc"
|
|
|
|
|
(("../assets/icon.ico")
|
|
|
|
|
(string-append assets "icon.ico")))
|
|
|
|
|
(substitute* "src/Res.h"
|
|
|
|
|
(("assets/") assets))))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(assets (string-append out "/share/marble-marcher/assets"))
|
|
|
|
|
(bin (string-append out "/bin/")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(mkdir-p assets)
|
|
|
|
|
(copy-recursively "../source/assets" assets)
|
|
|
|
|
(install-file "MarbleMarcher" bin))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("eigen" ,eigen)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("sfml" ,sfml)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "https://codeparade.itch.io/marblemarcher")
|
|
|
|
|
(synopsis "Guide a marble across fractal landscapes")
|
|
|
|
|
(description "Marble Marcher is a video game that uses a fractal physics
|
|
|
|
|
engine and fully procedural rendering to produce beautiful and unique
|
|
|
|
|
gameplay. The game is played on the surface of evolving fractals. The goal
|
|
|
|
|
of the game is to get your marble to the flag as quickly as possible. But be
|
|
|
|
|
careful not to fall off the level or get crushed by the fractal! There are 24
|
|
|
|
|
levels to unlock.")
|
|
|
|
|
;; Code is under GPLv2+, assets are under CC-BY-SA 3.0 and OFL 1.1.
|
|
|
|
|
(license (list license:gpl2+
|
|
|
|
|
license:silofl1.1
|
|
|
|
|
license:cc-by-sa3.0)))))
|
2019-04-14 14:44:42 +02:00
|
|
|
|
|
2019-04-14 14:45:28 +02:00
|
|
|
|
;; This must be updated together with flightgear.
|
2019-04-14 14:44:42 +02:00
|
|
|
|
(define simgear
|
|
|
|
|
(package
|
|
|
|
|
(name "simgear")
|
|
|
|
|
(version "2018.3.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/flightgear/release-"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
"simgear-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1941ay8rngz4vwsx37bbpxr48hpcvcbj3xw1hy264lq4qnl99c68"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Skip tests that require internet access.
|
|
|
|
|
(invoke "ctest" "-E" "(http|dns)"))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost-for-mysql) ; fails with 1.69
|
|
|
|
|
("curl" ,curl)
|
|
|
|
|
("expat" ,expat)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("openscenegraph" ,openscenegraph-3.4)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "https://home.flightgear.org/")
|
|
|
|
|
(synopsis "Libraries for 3D simulations and games")
|
|
|
|
|
(description "SimGear is a set of libraries designed to be used as
|
|
|
|
|
building blocks for quickly assembling 3D simulations, games, and
|
|
|
|
|
visualization applications. SimGear is developed by the FlightGear project
|
|
|
|
|
and also provides the base for the FlightGear Flight Simulator.")
|
|
|
|
|
(license license:lgpl2.0+)))
|
2019-04-14 14:45:28 +02:00
|
|
|
|
|
|
|
|
|
(define-public flightgear
|
|
|
|
|
(package
|
|
|
|
|
(name "flightgear")
|
|
|
|
|
(version (package-version simgear))
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/flightgear/release-"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
"flightgear-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0lzy524cjzs8vldcjcc750bgg5c4mq9fkymxxxzqf68ilc4d1jss"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; There are some bundled libraries.
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
'("3rdparty/sqlite3/"))
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list "-DSYSTEM_SQLITE=ON"
|
|
|
|
|
(string-append "-DFG_DATA_DIR="
|
|
|
|
|
(assoc-ref %outputs "out")
|
|
|
|
|
"/share/flightgear"))
|
|
|
|
|
;; TODO: test cannot be run because the "run_test_suite" executable
|
|
|
|
|
;; does not seem to be built.
|
|
|
|
|
#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'wrap-executable
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(wrap-program (string-append out "/bin/fgfs")
|
|
|
|
|
`("QT_PLUGIN_PATH" ":" prefix
|
|
|
|
|
,(map (lambda (label)
|
|
|
|
|
(string-append (assoc-ref inputs label)
|
|
|
|
|
"/lib/qt5/plugins"))
|
|
|
|
|
'("qtbase" "qtdeclarative" "qtsvg")))
|
|
|
|
|
`("QML2_IMPORT_PATH" ":" prefix
|
|
|
|
|
,(map (lambda (label)
|
|
|
|
|
(string-append (assoc-ref inputs label)
|
|
|
|
|
"/lib/qt5/qml"))
|
|
|
|
|
'("qtdeclarative" "qtsvg"))))
|
|
|
|
|
#t)))
|
|
|
|
|
(add-after 'install 'install-data
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((share (string-append (assoc-ref outputs "out") "/share/flightgear")))
|
|
|
|
|
(mkdir-p share)
|
|
|
|
|
(with-directory-excursion share
|
|
|
|
|
(invoke "tar" "xf" (assoc-ref inputs "flightgear-data")
|
|
|
|
|
"--strip-components=1")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost-for-mysql) ; same as simgear
|
|
|
|
|
("dbus" ,dbus)
|
|
|
|
|
("eudev" ,eudev)
|
|
|
|
|
("freeglut" ,freeglut)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("glew" ,glew)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("openscenegraph" ,openscenegraph-3.4)
|
|
|
|
|
("plib" ,plib)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtsvg" ,qtsvg)
|
|
|
|
|
("simgear" ,simgear)
|
|
|
|
|
("speexdsp" ,speexdsp)
|
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("cppunit" ,cppunit)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("qttools" ,qttools)
|
|
|
|
|
("flightgear-data"
|
|
|
|
|
,(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/flightgear/release-"
|
|
|
|
|
(version-major+minor version) "/"
|
|
|
|
|
"FlightGear-" version "-data.tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0h4npa7gqpf5fw6pv2bpw0wbwr7fa2vhia21cjbigfgd75x82zi7"))))))
|
|
|
|
|
(home-page "https://home.flightgear.org/")
|
|
|
|
|
(synopsis "Flight simulator")
|
|
|
|
|
(description "The goal of the FlightGear project is to create a
|
|
|
|
|
sophisticated flight simulator framework for use in research or academic
|
|
|
|
|
environments, pilot training, as an industry engineering tool, for DIY-ers to
|
|
|
|
|
pursue their favorite interesting flight simulation idea, and last but
|
|
|
|
|
certainly not least as a fun, realistic, and challenging desktop flight
|
|
|
|
|
simulator.")
|
|
|
|
|
(license license:gpl2+)))
|
2019-04-23 14:25:52 +02:00
|
|
|
|
|
|
|
|
|
(define-public jumpnbump
|
|
|
|
|
(package
|
|
|
|
|
(name "jumpnbump")
|
2019-10-03 00:36:35 +02:00
|
|
|
|
(version "1.61")
|
2019-04-23 14:25:52 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://gitlab.com/LibreGames/jumpnbump.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-10-03 00:36:35 +02:00
|
|
|
|
"12lwl5sl5n009nb83r8l4lakb9286csqdf1ynpmwwydy17giqsdp"))))
|
2019-04-23 14:25:52 +02:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
|
|
|
|
#:tests? #f ;no test
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure) ;no configure script
|
|
|
|
|
(add-after 'unpack 'fix-sdl-path
|
|
|
|
|
;; XXX: For some reason, `sdl2-config' reports stand-alone SDL
|
|
|
|
|
;; directory, not SDL-union provided as an input to the package.
|
|
|
|
|
;; We force the latter with "--prefix=" option.
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("sdl2-config" command)
|
|
|
|
|
(string-append command " --prefix=" (assoc-ref inputs "sdl"))))
|
|
|
|
|
#t)))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("bzip2" ,bzip2)
|
|
|
|
|
("sdl" ,(sdl-union (list sdl2 sdl2-mixer sdl2-net)))
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gettext" ,gettext-minimal))) ;for msgfmt
|
|
|
|
|
(home-page "https://gitlab.com/LibreGames/jumpnbump")
|
|
|
|
|
(synopsis "Multiplayer platform game with bunnies")
|
|
|
|
|
(description "You, as a bunny, have to jump on your opponents to make them
|
|
|
|
|
explode. It is a true multiplayer game; you cannot play this alone. You can
|
|
|
|
|
play with up to four players simultaneously. It has network support.")
|
|
|
|
|
(license license:gpl2+)))
|
2019-04-24 09:52:52 +02:00
|
|
|
|
|
|
|
|
|
(define-public hedgewars
|
|
|
|
|
(package
|
|
|
|
|
(name "hedgewars")
|
2019-11-17 23:12:54 +01:00
|
|
|
|
(version "1.0.0")
|
2019-04-24 09:52:52 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://www.hedgewars.org/download/releases/"
|
|
|
|
|
"hedgewars-src-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2019-11-17 23:12:54 +01:00
|
|
|
|
"0nqm9w02m0xkndlsj6ys3wr0ik8zc14zgilq7k6fwjrf3zk385i1"))))
|
2019-04-24 09:52:52 +02:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; XXX: Engine is built as Pascal source code, requiring Free Pascal
|
|
|
|
|
;; Compiler, which we haven't packaged yet. With the flag below, we use
|
|
|
|
|
;; a Pascal to C translator and Clang instead.
|
|
|
|
|
`(#:configure-flags (list "-DBUILD_ENGINE_C=ON")
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'check
|
2019-11-17 23:12:54 +01:00
|
|
|
|
(lambda _ (invoke "ctest"))))))
|
2019-04-24 09:52:52 +02:00
|
|
|
|
(inputs
|
|
|
|
|
`(("ffmpeg" ,ffmpeg)
|
|
|
|
|
("freeglut" ,freeglut)
|
|
|
|
|
("ghc-entropy" ,ghc-entropy)
|
|
|
|
|
("ghc-hslogger" ,ghc-hslogger)
|
|
|
|
|
("ghc-network" ,ghc-network)
|
|
|
|
|
("ghc-random" ,ghc-random)
|
|
|
|
|
("ghc-regex-tdfa" ,ghc-regex-tdfa)
|
|
|
|
|
("ghc-sandi" ,ghc-sandi)
|
|
|
|
|
("ghc-sha" ,ghc-sha)
|
|
|
|
|
("ghc-utf8-string" ,ghc-utf8-string)
|
|
|
|
|
("ghc-vector" ,ghc-vector)
|
|
|
|
|
("ghc-zlib" ,ghc-zlib)
|
|
|
|
|
("glew" ,glew)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("lua" ,lua-5.1)
|
|
|
|
|
("physfs" ,physfs)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("sdl" ,(sdl-union
|
|
|
|
|
(list sdl2 sdl2-mixer sdl2-net sdl2-ttf sdl2-image)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("clang" ,clang)
|
|
|
|
|
("ghc" ,ghc)
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("qttools" ,qttools)))
|
|
|
|
|
(home-page "https://hedgewars.org/")
|
|
|
|
|
(synopsis "Turn-based artillery game featuring fighting hedgehogs")
|
|
|
|
|
(description
|
|
|
|
|
"Hedgewars is a turn based strategy, artillery, action and comedy game,
|
|
|
|
|
featuring the antics of pink hedgehogs with attitude as they battle from the
|
|
|
|
|
depths of hell to the depths of space.
|
|
|
|
|
|
|
|
|
|
As commander, it's your job to assemble your crack team of hedgehog soldiers
|
|
|
|
|
and bring the war to your enemy.")
|
|
|
|
|
;; Software as a whole is licensed under GPL-2 terms. Artwork and
|
|
|
|
|
;; scripts are distributed under various terms.
|
|
|
|
|
(license (list license:gpl2
|
|
|
|
|
license:bsd-2 license:bsd-3 license:cc-by3.0 license:cc0
|
|
|
|
|
license:expat license:fdl1.3+ license:public-domain
|
|
|
|
|
license:zlib))))
|
2019-05-13 23:11:11 +02:00
|
|
|
|
|
|
|
|
|
(define-public harmonist
|
|
|
|
|
(package
|
|
|
|
|
(name "harmonist")
|
2020-01-08 04:02:57 +01:00
|
|
|
|
(version "0.3.0")
|
2019-05-13 23:11:11 +02:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://git.tuxfamily.org/harmonist/harmonist.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2020-01-08 04:02:57 +01:00
|
|
|
|
"146wiyanag0zqj6fhyll2sw6sydnnll8mgxhhqf9sjqsl2rx4s5r"))))
|
2019-05-13 23:11:11 +02:00
|
|
|
|
(build-system go-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:import-path "git.tuxfamily.org/harmonist/harmonist"))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("go-github.com-nsf-termbox-go" ,go-github.com-nsf-termbox-go)))
|
|
|
|
|
(home-page "https://harmonist.tuxfamily.org/")
|
|
|
|
|
(synopsis "Stealth coffee-break roguelike game")
|
|
|
|
|
(description "Harmonist: Dayoriah Clan Infiltration is a stealth
|
|
|
|
|
coffee-break roguelike game. The game has a heavy focus on tactical
|
|
|
|
|
positioning, light and noise mechanisms, making use of various terrain types
|
|
|
|
|
and cones of view for monsters. Aiming for a replayable streamlined experience,
|
|
|
|
|
the game avoids complex inventory management and character building, relying
|
|
|
|
|
on items and player adaptability for character progression.")
|
|
|
|
|
(license license:isc)))
|
2019-05-15 22:32:50 +02:00
|
|
|
|
|
2019-06-18 18:11:24 +02:00
|
|
|
|
(define-public harmonist-tk
|
|
|
|
|
(package
|
|
|
|
|
(inherit harmonist)
|
|
|
|
|
(name "harmonist-tk")
|
|
|
|
|
(arguments
|
|
|
|
|
(append
|
|
|
|
|
(package-arguments harmonist)
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'build
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "go" "install" "-v" "-x" "--tags" "tk"
|
|
|
|
|
"git.tuxfamily.org/harmonist/harmonist")))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "go" "test" "--tags" "tk"
|
|
|
|
|
"git.tuxfamily.org/harmonist/harmonist")))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("go-github.com-nsf-gothic" ,go-github.com-nsf-gothic)))))
|
|
|
|
|
|
2019-05-15 22:32:50 +02:00
|
|
|
|
(define-public drascula
|
|
|
|
|
(package
|
|
|
|
|
(name "drascula")
|
|
|
|
|
(version "1.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/scummvm/extras/"
|
|
|
|
|
"Drascula_%20The%20Vampire%20Strikes%20Back/"
|
|
|
|
|
"drascula-" version ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1pj29rpb754sn6a56f8brfv6f2m1p5qgaqik7d68pfi2bb5zccdp"))))
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils)
|
|
|
|
|
(ice-9 match))
|
|
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(share (string-append out "/share/drascula"))
|
|
|
|
|
(scummvm (assoc-ref %build-inputs "scummvm")))
|
|
|
|
|
;; Install data.
|
|
|
|
|
(let ((unzip (string-append (assoc-ref %build-inputs "unzip")
|
|
|
|
|
"/bin/unzip"))
|
|
|
|
|
(doc (string-append out "/share/doc/" ,name "-" ,version)))
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (input)
|
|
|
|
|
(invoke unzip
|
|
|
|
|
"-j"
|
|
|
|
|
(assoc-ref %build-inputs input)
|
|
|
|
|
"-x" "__MACOSX")
|
|
|
|
|
;; Every input provides "readme.txt", and we want to
|
|
|
|
|
;; preserve them all. Therefore we rename them first.
|
|
|
|
|
(match input
|
|
|
|
|
("drascula-int"
|
|
|
|
|
(rename-file "readme.txt" "readme-international.txt"))
|
|
|
|
|
("drascula-audio"
|
|
|
|
|
(rename-file "readme.txt" "readme-audio.txt"))
|
|
|
|
|
(_ #f))
|
|
|
|
|
;; Install documentation.
|
|
|
|
|
(for-each (lambda (f) (install-file f doc))
|
|
|
|
|
(find-files "." "\\.(txt|doc)$"))
|
|
|
|
|
;; Install data.
|
|
|
|
|
(for-each (lambda (f) (install-file f share))
|
|
|
|
|
(find-files "." "\\.(ogg|00[0-9])$")))
|
|
|
|
|
'("drascula-audio" "drascula-int" "source")))
|
|
|
|
|
;; Create standalone executable.
|
|
|
|
|
(let* ((bin (string-append out "/bin"))
|
|
|
|
|
(executable (string-append bin "/drascula"))
|
|
|
|
|
(bash (string-append (assoc-ref %build-inputs "bash")
|
|
|
|
|
"/bin/bash")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(with-output-to-file executable
|
|
|
|
|
(lambda ()
|
|
|
|
|
(format #t "#!~a~%" bash)
|
|
|
|
|
(format #t
|
|
|
|
|
"exec ~a/bin/scummvm --path=~a drascula~%"
|
|
|
|
|
scummvm share)))
|
|
|
|
|
(chmod executable #o755))
|
|
|
|
|
;; Create desktop file. There is no dedicated icon for the
|
|
|
|
|
;; game, so we borrow SCUMMVM's.
|
|
|
|
|
(let ((apps (string-append out "/share/applications")))
|
|
|
|
|
(mkdir-p apps)
|
2019-05-27 09:05:15 +02:00
|
|
|
|
(make-desktop-entry-file
|
|
|
|
|
(string-append apps "/drascula.desktop")
|
|
|
|
|
#:name "Drascula: The Vampire Strikes Back"
|
|
|
|
|
#:generic-name "Drascula"
|
|
|
|
|
#:exec (string-append out "/bin/drascula")
|
|
|
|
|
#:icon (string-append scummvm "/share/icons/hicolor/scalable/apps/scummvm.svg")
|
|
|
|
|
#:categories '("AdventureGame" "Game" "RolePlaying")
|
|
|
|
|
#:keywords '("game" "adventure" "roleplaying" "2D" "fantasy")
|
|
|
|
|
#:comment '((#f "Classic 2D point and click adventure game")
|
|
|
|
|
("de" "Klassisches 2D-Abenteuerspiel in Zeigen-und-Klicken-Manier")
|
|
|
|
|
("fr" "Jeu classique d'aventure pointer-et-cliquer en 2D")
|
|
|
|
|
("it" "Gioco classico di avventura punta e clicca 2D"))))
|
2019-05-15 22:32:50 +02:00
|
|
|
|
#t))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("bash" ,bash)
|
|
|
|
|
("unzip" ,unzip)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("scummvm" ,scummvm)
|
|
|
|
|
("drascula-int"
|
|
|
|
|
,(let ((version "1.1"))
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/scummvm/extras/"
|
|
|
|
|
"Drascula_%20The%20Vampire%20Strikes%20Back/"
|
|
|
|
|
"drascula-int-" version ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"12236i7blamal92p1i8dgp3nhp2yicics4whsl63v682bj999n14")))))
|
|
|
|
|
("drascula-audio"
|
|
|
|
|
,(let ((version "2.0"))
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/scummvm/extras/"
|
|
|
|
|
"Drascula_%20The%20Vampire%20Strikes%20Back/"
|
|
|
|
|
"drascula-audio-" version ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"00g4izmsqzxb8ry1vhfx6jrygl58lvlij09nw01ds4zddsiznsky")))))))
|
|
|
|
|
(home-page "https://www.scummvm.org")
|
|
|
|
|
(synopsis "Classic 2D point and click adventure game")
|
|
|
|
|
(description "Drascula: The Vampire Strikes Back is a classic humorous 2D
|
|
|
|
|
point and click adventure game.
|
|
|
|
|
|
|
|
|
|
In Drascula you play the role of John Hacker, a British estate agent, that
|
|
|
|
|
gets to meet a gorgeous blond girl who is kidnapped by the notorious vampire
|
|
|
|
|
Count Drascula and embark on a fun yet dangerous quest to rescue her.
|
|
|
|
|
Unfortunately, Hacker is not aware of Drascula's real ambitions: DOMINATING
|
|
|
|
|
the World and demonstrating that he is even more evil than his brother Vlad.")
|
|
|
|
|
;; Drascula uses a BSD-like license.
|
|
|
|
|
(license (license:non-copyleft "file:///readme.txt"))))
|
2019-06-05 22:03:19 +02:00
|
|
|
|
|
2019-12-30 02:43:59 +01:00
|
|
|
|
(define (make-lure-package name language hash)
|
|
|
|
|
(package
|
|
|
|
|
(name name)
|
|
|
|
|
(version "1.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://sourceforge/scummvm/extras/"
|
|
|
|
|
"Lure%20of%20the%20Temptress/"
|
|
|
|
|
name "-" version ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 hash))))
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(share (string-append out "/share"))
|
2020-02-10 14:03:15 +01:00
|
|
|
|
(data (string-append share "/" ,name "/" ,language))
|
2019-12-30 02:43:59 +01:00
|
|
|
|
(apps (string-append share "/applications"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(executable (string-append bin "/" ,name))
|
|
|
|
|
(scummvm (assoc-ref %build-inputs "scummvm")))
|
|
|
|
|
(let ((unzip (string-append (assoc-ref %build-inputs "unzip")
|
|
|
|
|
"/bin/unzip")))
|
|
|
|
|
(invoke unzip "-j" (assoc-ref %build-inputs "source")))
|
2020-02-10 14:03:15 +01:00
|
|
|
|
(let ((doc (string-append share "/doc/" ,name "-" ,version)))
|
2019-12-30 02:43:59 +01:00
|
|
|
|
(for-each (lambda (f) (install-file f doc))
|
|
|
|
|
(find-files "." "\\.(txt|PDF|pdf)$")))
|
|
|
|
|
(for-each (lambda (f) (install-file f data))
|
|
|
|
|
(find-files "." "\\.(vga|VGA)$"))
|
|
|
|
|
;; Build the executable.
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(let ((bash (assoc-ref %build-inputs "bash")))
|
|
|
|
|
(with-output-to-file executable
|
|
|
|
|
(lambda ()
|
|
|
|
|
(format #t "#!~a/bin/bash~%" bash)
|
|
|
|
|
(format #t "exec ~a/bin/scummvm -q ~a -p ~a lure~%"
|
|
|
|
|
scummvm ,language data))))
|
|
|
|
|
(chmod executable #o755)
|
|
|
|
|
;; Create desktop file. There is no dedicated
|
|
|
|
|
;; icon for the game, so we borrow SCUMMVM's.
|
|
|
|
|
(mkdir-p apps)
|
|
|
|
|
(with-output-to-file (string-append apps "/" ,name ".desktop")
|
|
|
|
|
(lambda _
|
|
|
|
|
(format #t
|
|
|
|
|
"[Desktop Entry]~@
|
|
|
|
|
Name=Lure of the Temptress~@
|
|
|
|
|
GenericName=Lure~@
|
|
|
|
|
Exec=~a~@
|
|
|
|
|
Icon=~a/share/icons/hicolor/scalable/apps/scummvm.svg~@
|
|
|
|
|
Categories=AdventureGame;Game;RolePlaying;~@
|
|
|
|
|
Keywords=game;adventure;roleplaying;2D,fantasy;~@
|
|
|
|
|
Comment=Classic 2D point and click adventure game~@
|
|
|
|
|
Comment[de]=klassisches 2D-Abenteuerspiel in Zeigen-und-Klicken-Manier~@
|
|
|
|
|
Comment[fr]=Jeu classique d'aventure pointer-et-cliquer en 2D~@
|
|
|
|
|
Comment[it]=Gioco classico di avventura punta e clicca 2D~@
|
|
|
|
|
Type=Application~%"
|
|
|
|
|
executable scummvm)))
|
|
|
|
|
#t))))
|
|
|
|
|
(native-inputs
|
2020-02-10 14:03:15 +01:00
|
|
|
|
`(("unzip" ,unzip)))
|
2019-12-30 02:43:59 +01:00
|
|
|
|
(inputs
|
2020-02-10 14:03:15 +01:00
|
|
|
|
`(("bash" ,bash)
|
|
|
|
|
("scummvm" ,scummvm)))
|
2019-12-30 02:43:59 +01:00
|
|
|
|
(home-page "https://www.scummvm.org")
|
|
|
|
|
(synopsis "2D point and click fantasy adventure game")
|
|
|
|
|
(description
|
|
|
|
|
"Lure of the Temptress is a classic 2D point and click adventure game.
|
|
|
|
|
|
|
|
|
|
You are Diermot, an unwilling hero who'd prefer a quiet life, and are, to all
|
|
|
|
|
intents and purposes, a good man. After decades of unrest the King has united
|
|
|
|
|
the warring factions in his kingdom and all his lands are at peace, except
|
|
|
|
|
a remote region around a town called Turnvale. A revolt has recently taken
|
|
|
|
|
place in Turnvale, a revolt orchestrated by an apprentice sorceress called
|
|
|
|
|
Selena, the titular temptress. The king calls together his finest horsemen
|
|
|
|
|
and heads off (with you in tow) to Turnvale just to witness how hellish
|
|
|
|
|
mercenary monsters called Skorl are invading the town.
|
|
|
|
|
|
|
|
|
|
The king's men are defeated, the king is killed and you fall of your horse and
|
|
|
|
|
bang your head heavily on the ground. You have been *unconscious for a while
|
|
|
|
|
when you realize that you are in a dingy cell guarded by a not so friendly
|
|
|
|
|
Skorl. Maybe it would be an idea to try and escape...")
|
|
|
|
|
(license (license:non-copyleft "file:///README"))))
|
|
|
|
|
|
|
|
|
|
(define-public lure
|
|
|
|
|
(make-lure-package
|
|
|
|
|
"lure" "en" "0201i70qcs1m797kvxjx3ygkhg6kcl5yf49sihba2ga8l52q45zk"))
|
|
|
|
|
|
|
|
|
|
(define-public lure-de
|
|
|
|
|
(make-lure-package
|
|
|
|
|
"lure-de" "de" "0sqq7h5llml6rv85x0bfv4bgzwhs4c82p4w4zmfcaab6cjlad0sy"))
|
|
|
|
|
|
|
|
|
|
(define-public lure-es
|
|
|
|
|
(make-lure-package
|
|
|
|
|
"lure-es" "es" "1dvv5znvlsakw6w5r16calv9jkgw27aymgybsf4q22lcmpxbj1lk"))
|
|
|
|
|
|
|
|
|
|
(define-public lure-fr
|
|
|
|
|
(make-lure-package
|
|
|
|
|
"lure-fr" "fr" "1y51jjb7f8023832g44vd1jsb6ni85586pi2n5hjg9qjk6gi90r9"))
|
|
|
|
|
|
|
|
|
|
(define-public lure-it
|
|
|
|
|
(make-lure-package
|
|
|
|
|
"lure-it" "it" "1ks6n39r1cllisrrh6pcr39swsdv7ng3gx5c47vaw71zzfr70hjj"))
|
|
|
|
|
|
2020-02-11 00:11:09 +01:00
|
|
|
|
(define (make-queen-package name file-prefix release language hash)
|
|
|
|
|
(package
|
|
|
|
|
(name name)
|
|
|
|
|
(version release)
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/scummvm/extras/"
|
|
|
|
|
"Flight%20of%20the%20Amazon%20Queen/"
|
|
|
|
|
file-prefix release ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 hash))))
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(share (string-append out "/share"))
|
|
|
|
|
(data (string-append share "/" ,name))
|
|
|
|
|
(apps (string-append share "/applications"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(executable (string-append bin "/" ,name))
|
|
|
|
|
(scummvm (assoc-ref %build-inputs "scummvm")))
|
|
|
|
|
(let ((unzip (string-append (assoc-ref %build-inputs "unzip")
|
|
|
|
|
"/bin/unzip")))
|
|
|
|
|
(invoke unzip "-j" (assoc-ref %build-inputs "source")))
|
|
|
|
|
(let ((doc (string-append share "/doc/" ,name "-" ,version)))
|
|
|
|
|
(install-file "readme.txt" doc))
|
|
|
|
|
(install-file "queen.1c" data)
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(let ((bash (assoc-ref %build-inputs "bash")))
|
|
|
|
|
(with-output-to-file executable
|
|
|
|
|
(lambda ()
|
|
|
|
|
(format #t "#!~a/bin/bash~%" bash)
|
|
|
|
|
(format #t "exec ~a/bin/scummvm -q fr -p ~a queen~%"
|
|
|
|
|
scummvm data))))
|
|
|
|
|
(chmod executable #o755)
|
|
|
|
|
;; Create desktop file. There is no dedicated
|
|
|
|
|
;; icon for the game, so we borrow SCUMMVM's.
|
|
|
|
|
(mkdir-p apps)
|
|
|
|
|
(with-output-to-file (string-append apps "/" ,name ".desktop")
|
|
|
|
|
(lambda _
|
|
|
|
|
(format #t
|
|
|
|
|
"[Desktop Entry]~@
|
|
|
|
|
Name=Flight of the Amazon Queen~@
|
|
|
|
|
GenericName=Queen~@
|
|
|
|
|
Comment=Embark on a quest to rescue a kidnapped princess and in the process, discover the true sinister intentions of a suspiciously located Lederhosen company~@
|
|
|
|
|
Comment[de]=Begib dich auf ein Abenteuer, um eine entführte Prinzessin zu retten und entdecke die wahren, finsteren Absichten eines verdächtig erscheinenden Lederhosen-Unternehmens~@
|
|
|
|
|
Type=Application~@
|
|
|
|
|
Exec=~a~@
|
|
|
|
|
Icon=~a/share/icons/hicolor/scalable/apps/scummvm.svg~@
|
|
|
|
|
Categories=AdventureGame;Game;RolePlaying;~@
|
|
|
|
|
Keywords=adventure;game;roleplaying;fantasy;~%"
|
|
|
|
|
executable scummvm))))
|
|
|
|
|
#t)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("unzip" ,unzip)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("bash" ,bash)
|
|
|
|
|
("scummvm" ,scummvm)))
|
|
|
|
|
(home-page "https://www.scummvm.org/")
|
|
|
|
|
(synopsis "Classic 2D point and click adventure game")
|
|
|
|
|
(description "Flight of the Amazon Queen is a 2D point-and-click
|
|
|
|
|
adventure game set in the 1940s.
|
|
|
|
|
|
|
|
|
|
You assume the role of Joe King, a pilot for hire who is given the job
|
|
|
|
|
of flying Faye Russell (a famous movie star) into the Amazon jungle
|
|
|
|
|
for a photo shoot. Of course, things never go according to plans.
|
|
|
|
|
After an unfortunate turn of events they find themselves stranded in
|
|
|
|
|
the heart of the Amazon jungle, where Joe will embark on a quest to
|
|
|
|
|
rescue a kidnapped princess and in the process, discover the true
|
|
|
|
|
sinister intentions of a suspiciously located Lederhosen company. In
|
|
|
|
|
a rich 2D environment, Joe will cross paths with a variety of unlikely
|
|
|
|
|
jungle inhabitants including, but not limited to, a tribe of Amazon
|
|
|
|
|
women and 6-foot-tall pygmies.")
|
|
|
|
|
(license (license:non-copyleft "file:///readme.txt"))))
|
|
|
|
|
|
|
|
|
|
(define-public queen
|
|
|
|
|
(make-queen-package
|
|
|
|
|
"queen" "FOTAQ_Talkie-" "1.1" "en"
|
|
|
|
|
"1a6q71q1dl9vvw2qqsxk5h1sv0gaqy6236zr5905w2is01gdsp52"))
|
|
|
|
|
|
|
|
|
|
(define-public queen-de
|
|
|
|
|
(make-queen-package
|
|
|
|
|
"queen-de" "FOTAQ_Ger_talkie-" "1.0" "de"
|
|
|
|
|
"13vn43x7214vyprlpqabvv71k890nff3d6fjscflr1ll7acjca3f"))
|
|
|
|
|
|
|
|
|
|
(define-public queen-fr
|
|
|
|
|
(make-queen-package
|
|
|
|
|
"queen-fr" "FOTAQ_Fr_Talkie_" "1.0" "fr"
|
|
|
|
|
"0hq5g4qrkcwm2kn5i4kv4hijs9hi7bw9xl1vrwd1l69qqn30crwy"))
|
|
|
|
|
|
|
|
|
|
(define-public queen-it
|
|
|
|
|
(make-queen-package
|
|
|
|
|
"queen-it" "FOTAQ_It_Talkie_" "1.0" "it"
|
|
|
|
|
"1h76y70lrpzfjkm53n4nr364nhyka54vbz9r7sadzyzl7c7ilv4d"))
|
|
|
|
|
|
2020-02-12 15:34:13 +01:00
|
|
|
|
(define-public sky
|
|
|
|
|
(package
|
|
|
|
|
(name "sky")
|
|
|
|
|
(version "1.2") ;1.3 is floppy version
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/scummvm/extras/"
|
|
|
|
|
"Beneath%20a%20Steel%20Sky/"
|
|
|
|
|
"bass-cd-" version ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "14s5jz67kavm8l15gfm5xb7pbpn8azrv460mlxzzvdpa02a9n82k"))))
|
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder
|
|
|
|
|
(begin
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
(let* ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(share (string-append out "/share"))
|
|
|
|
|
(data (string-append share "/" ,name))
|
|
|
|
|
(apps (string-append share "/applications"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(executable (string-append bin "/" ,name))
|
|
|
|
|
(scummvm (assoc-ref %build-inputs "scummvm")))
|
|
|
|
|
(let ((unzip (string-append (assoc-ref %build-inputs "unzip")
|
|
|
|
|
"/bin/unzip")))
|
|
|
|
|
(invoke unzip "-j" (assoc-ref %build-inputs "source")))
|
|
|
|
|
(let ((doc (string-append share "/doc/bass-" ,version)))
|
|
|
|
|
(install-file "readme.txt" doc))
|
|
|
|
|
(for-each (lambda (f) (install-file f data))
|
|
|
|
|
(find-files "." "^sky\\."))
|
|
|
|
|
;; Build the executable.
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(let ((bash (assoc-ref %build-inputs "bash")))
|
|
|
|
|
(with-output-to-file executable
|
|
|
|
|
(lambda ()
|
|
|
|
|
(format #t "#!~a/bin/bash~%" bash)
|
|
|
|
|
(format #t "exec ~a/bin/scummvm -p ~a sky~%" scummvm data))))
|
|
|
|
|
(chmod executable #o755)
|
|
|
|
|
;; Create desktop file. There is no dedicated
|
|
|
|
|
;; icon for the game, so we borrow SCUMMVM's.
|
|
|
|
|
(mkdir-p apps)
|
|
|
|
|
(with-output-to-file (string-append apps "/" ,name ".desktop")
|
|
|
|
|
(lambda _
|
|
|
|
|
(format #t
|
|
|
|
|
"[Desktop Entry]~@
|
|
|
|
|
Name=Beneath a Steel Sky~@
|
|
|
|
|
GenericName=Bass~@
|
|
|
|
|
Exec=~a~@
|
|
|
|
|
Icon=~a/share/icons/hicolor/scalable/apps/scummvm.svg~@
|
|
|
|
|
Categories=AdventureGame;Game;RolePlaying;~@
|
|
|
|
|
Keywords=adventure;game;roleplaying;cyberpunk;~@
|
|
|
|
|
Comment=A science-fiction adventure game set in a bleak post-apocalyptic vision of the future~@
|
|
|
|
|
Comment[de]=Ein Science-Fiction-Abenteuerspiel \
|
|
|
|
|
angesiedelt in einer düsteren, postapokalyptischen Vision der Zukunft~@
|
|
|
|
|
Type=Application~%"
|
|
|
|
|
executable scummvm)))
|
|
|
|
|
#t))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("unzip" ,unzip)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("bash" ,bash)
|
|
|
|
|
("scummvm" ,scummvm)))
|
|
|
|
|
(home-page "https://www.scummvm.org/")
|
|
|
|
|
(synopsis "Classic 2D point an click science-fiction adventure game")
|
|
|
|
|
(description
|
|
|
|
|
"Beneath a Steel Sky is a science-fiction thriller set in a bleak
|
|
|
|
|
post-apocalyptic vision of the future. It revolves around Union City,
|
|
|
|
|
where selfishness, rivalry, and corruption by its citizens seems to be
|
|
|
|
|
all too common, those who can afford it live underground, away from
|
|
|
|
|
the pollution and social problems which are plaguing the city.
|
|
|
|
|
|
|
|
|
|
You take on the role of Robert Foster, an outcast of sorts from the
|
|
|
|
|
city since a boy who was raised in a remote environment outside of
|
|
|
|
|
Union City simply termed ``the gap''. Robert's mother took him away
|
|
|
|
|
from Union City as a child on their way to ``Hobart'' but the
|
|
|
|
|
helicopter crashed on its way. Unfortunately, Robert's mother died,
|
|
|
|
|
but he survived and was left to be raised by a local tribe from the
|
|
|
|
|
gap.
|
|
|
|
|
|
|
|
|
|
Years later, Union City security drops by and abducts Robert, killing
|
|
|
|
|
his tribe in the process; upon reaching the city the helicopter taking
|
|
|
|
|
him there crashes with him escaping, high upon a tower block in the
|
|
|
|
|
middle of the city. He sets out to discover the truth about his past,
|
|
|
|
|
and to seek vengeance for the killing of his tribe.")
|
|
|
|
|
(license (license:non-copyleft "file:///readme.txt"))))
|
|
|
|
|
|
2019-06-05 22:03:19 +02:00
|
|
|
|
(define-public gnurobots
|
|
|
|
|
(package
|
|
|
|
|
(name "gnurobots")
|
|
|
|
|
(version "1.2.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/gnurobots/gnurobots-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"07gi3lsmbzzsjambgixj6xy79lh22km84z7bnzgwzxdy806lyvwb"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glib" ,glib)
|
|
|
|
|
("gtk+" ,gtk+-2)
|
|
|
|
|
("vte" ,vte/gtk+-2)
|
|
|
|
|
("readline" ,readline)
|
|
|
|
|
("guile" ,guile-1.8)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags
|
|
|
|
|
(list
|
|
|
|
|
;; Do not abort build on "deprecated-declarations" warnings.
|
|
|
|
|
"CFLAGS=-Wno-error=deprecated-declarations"
|
|
|
|
|
;; Find readline headers in sub-directory.
|
|
|
|
|
(string-append "READLINE_CFLAGS=-I"
|
|
|
|
|
(assoc-ref %build-inputs "readline")
|
|
|
|
|
"/include/readline/"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'install-doc
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(install-file "doc/Robots-HOWTO"
|
|
|
|
|
(string-append (assoc-ref outputs "out")
|
|
|
|
|
"/share/doc/gnurobots-"
|
|
|
|
|
,version))
|
|
|
|
|
#t)))))
|
|
|
|
|
(home-page "https://www.gnu.org/software/gnurobots/")
|
|
|
|
|
(synopsis "Program a little robot and watch it explore a world")
|
|
|
|
|
(description
|
|
|
|
|
"GNU Robots is a game in which you program a robot to explore a world
|
|
|
|
|
full of enemies that can hurt it, obstacles and food to be eaten. The goal of
|
|
|
|
|
the game is to stay alive and collect prizes. The robot program conveniently
|
|
|
|
|
may be written in a plain text file in the Scheme programming language.")
|
|
|
|
|
(license license:gpl3+)))
|
2019-06-02 01:03:08 +02:00
|
|
|
|
|
|
|
|
|
(define-public ri-li
|
|
|
|
|
(package
|
|
|
|
|
(name "ri-li")
|
|
|
|
|
(version "2.0.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/ri-li/"
|
|
|
|
|
"Ri-li%20Linux_Unix/Ri-li%20V" version "/"
|
|
|
|
|
"Ri-li-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1gcdsgnnbbn1mb1hkpwniv3fhkaj1nn8gq33v5c16q3wqchcq77p"))
|
|
|
|
|
;; Taken from
|
|
|
|
|
;; <https://github.com/NixOS/nixpkgs/blob/master/pkgs/games/rili/moderinze_cpp.patch>.
|
|
|
|
|
;; It doesn't build otherwise.
|
|
|
|
|
(patches (search-patches "ri-li-modernize_cpp.patch"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; Remove "gentoo" subdirectory from Makefile, as it is
|
|
|
|
|
;; missing a make file and generates a build failure.
|
|
|
|
|
(add-after 'configure 'fix-build
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
((" gentoo") ""))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'install-desktop-file
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(apps (string-append out "/share/applications"))
|
|
|
|
|
(pixmaps (string-append out "/share/pixmaps")))
|
|
|
|
|
(for-each (lambda (f) (install-file f pixmaps))
|
|
|
|
|
(find-files "data" "\\.(png|ico)$"))
|
|
|
|
|
(mkdir-p apps)
|
|
|
|
|
(with-output-to-file (string-append apps "/ri-li.desktop")
|
|
|
|
|
(lambda _
|
|
|
|
|
(format #t
|
|
|
|
|
"[Desktop Entry]~@
|
|
|
|
|
Name=Ri-li~@
|
|
|
|
|
Exec=~a/bin/Ri_li~@
|
|
|
|
|
Icon=~a/Ri-li-icon-32x32.png~@
|
|
|
|
|
Categories=Game;ArcadeGame;~@
|
|
|
|
|
Keywords=toy;train;wooden;snake-like;engine;~@
|
|
|
|
|
Comment=a toy simulator game~@
|
|
|
|
|
Comment[de]=Ein Spiel mit einem kleinen Zug~@
|
|
|
|
|
Comment[fr]=un jeu de petit train~@
|
|
|
|
|
Comment[ro_RO]=un joc cu un tren de jucărie~@
|
|
|
|
|
Terminal=false~@
|
|
|
|
|
Type=Application~%"
|
|
|
|
|
out pixmaps))))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install-desktop-file 'remove-spurious-files
|
|
|
|
|
;; Delete redundant files already installed somewhere else.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(for-each delete-file
|
|
|
|
|
(find-files (string-append out "/share/Ri-li")
|
|
|
|
|
"\\.(png|ico)|COPYING"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("sdl" ,(sdl-union (list sdl sdl-mixer)))))
|
|
|
|
|
(home-page "http://www.ri-li.org")
|
|
|
|
|
(synopsis "Toy train simulation game")
|
|
|
|
|
(description "Ri-li is a game in which you drive a wooden toy
|
|
|
|
|
steam locomotive across many levels and collect all the coaches to
|
|
|
|
|
win.")
|
|
|
|
|
;; The project is dual-licensed GPL2+ and GPL3+.
|
|
|
|
|
(license (list license:gpl2+ license:gpl3+))))
|
2019-06-14 02:48:43 +02:00
|
|
|
|
|
|
|
|
|
(define-public freeorion
|
|
|
|
|
(package
|
|
|
|
|
(name "freeorion")
|
2020-02-16 21:03:38 +01:00
|
|
|
|
(version "0.4.9")
|
2019-06-14 02:48:43 +02:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
2020-02-16 21:03:38 +01:00
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/freeorion/freeorion/releases/"
|
|
|
|
|
"download/v" version "/FreeOrion_v" version
|
|
|
|
|
"_2020-02-02.db53471_Source.tar.gz"))
|
2019-06-14 02:48:43 +02:00
|
|
|
|
(sha256
|
2020-02-16 21:03:38 +01:00
|
|
|
|
(base32 "1qfnqkysagh8dw26plk229qh17mv4prjxs6qhfyczrmrrakb72an"))
|
2019-06-14 02:48:43 +02:00
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; There are some bundled fonts.
|
|
|
|
|
(for-each delete-file-recursively '("default/data/fonts"))
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ;no test
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'unbundle-fonts
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(let ((roboto-dir (string-append (assoc-ref inputs "font-roboto")
|
|
|
|
|
"/share/fonts/truetype/")))
|
|
|
|
|
(substitute* "UI/ClientUI.cpp"
|
2019-06-17 17:37:04 +02:00
|
|
|
|
(("\\(GetRootDataDir.*?Roboto-(Bold|Regular)\\.ttf\"\\)\\.string\\(\\)\\);"
|
2019-06-14 02:48:43 +02:00
|
|
|
|
all type)
|
2019-06-17 17:37:04 +02:00
|
|
|
|
(string-append "\"" roboto-dir "Roboto-" type ".ttf\");")))
|
2019-06-14 02:48:43 +02:00
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("boost_signals" ,boost-signals2)
|
|
|
|
|
("font-dejavu" ,font-dejavu)
|
|
|
|
|
("font-roboto" ,font-google-roboto)
|
|
|
|
|
("freetype2" ,freetype)
|
|
|
|
|
("glew" ,glew)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("libogg" ,libogg)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("python2" ,python-2.7)
|
|
|
|
|
("sdl2" ,sdl2)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "https://www.freeorion.org/index.php/Main_Page")
|
|
|
|
|
(synopsis "Turn-based space empire and galactic conquest computer game")
|
|
|
|
|
(description
|
|
|
|
|
"FreeOrion is a turn-based space empire and galactic conquest (4X)
|
|
|
|
|
computer game being designed and built by the FreeOrion project. Control an
|
|
|
|
|
empire with the goal of exploring the galaxy, expanding your territory,
|
|
|
|
|
exploiting the resources, and exterminating rival alien empires. FreeOrion is
|
|
|
|
|
inspired by the tradition of the Master of Orion games, but is not a clone or
|
|
|
|
|
remake of that series or any other game.")
|
|
|
|
|
;; Source code is released under gpl2. Artwork, music and sounds, and
|
|
|
|
|
;; in-game text are released under cc-by-sa3.0. Game content scripts are
|
|
|
|
|
;; released under both gpl2 and cc-by-sa3.0. Bundled Gigi library is
|
|
|
|
|
;; released under lgpl2.1+.
|
|
|
|
|
(license (list license:gpl2 license:cc-by-sa3.0 license:lgpl2.1+))))
|
2019-06-05 18:11:20 +02:00
|
|
|
|
|
|
|
|
|
(define-public leela-zero
|
|
|
|
|
(package
|
|
|
|
|
(name "leela-zero")
|
|
|
|
|
(version "0.17")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/leela-zero/leela-zero.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"17px5iny8mql5c01bymcli7zfssswkzvb2i8gnsmjcck6i2n8srl"))
|
|
|
|
|
(patches (search-patches "leela-zero-gtest.patch"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("googletest" ,googletest)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("ocl-icd" ,ocl-icd)
|
|
|
|
|
("openblas" ,openblas)
|
|
|
|
|
("opencl-headers" ,opencl-headers)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags '("-DUSE_BLAS=YES")
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-before 'configure 'fix-tests
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((home (getcwd)))
|
|
|
|
|
(setenv "HOME" home)
|
|
|
|
|
(substitute* "src/tests/gtests.cpp"
|
|
|
|
|
(("\\.\\./src/tests/0k\\.txt")
|
|
|
|
|
(string-append home "/src/tests/0k.txt"))
|
|
|
|
|
(("cfg_gtp_mode = true;")
|
|
|
|
|
"cfg_gtp_mode = true; cfg_cpu_only = true;")))
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "./tests"))))))
|
|
|
|
|
(home-page "https://github.com/leela-zero/leela-zero")
|
|
|
|
|
(synopsis "Program playing the game of Go")
|
|
|
|
|
(description
|
|
|
|
|
"Leela-zero is a Go engine with no human-provided knowledge, modeled after
|
|
|
|
|
the AlphaGo Zero paper. The current best network weights file for the engine
|
|
|
|
|
can be downloaded from @url{https://zero.sjeng.org/best-network}.")
|
|
|
|
|
(license license:gpl3+)))
|
2019-11-24 16:17:09 +01:00
|
|
|
|
|
|
|
|
|
(define-public q5go
|
|
|
|
|
(package
|
|
|
|
|
(name "q5go")
|
|
|
|
|
(version "1.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/bernds/q5Go.git")
|
|
|
|
|
(commit (string-append "q5go-" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1gdlfqcqkqv7vph3qwq78d0qz6dhmdsranxq9bmixiisbzkqby31"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)
|
|
|
|
|
("qtmultimedia" ,qtmultimedia)
|
|
|
|
|
("qtsvg" ,qtsvg)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-configure-script
|
|
|
|
|
(lambda _
|
|
|
|
|
;; Bypass the unavailable qtchooser program.
|
|
|
|
|
(substitute* "configure"
|
|
|
|
|
(("test -z \"QTCHOOSER\"")
|
|
|
|
|
"false")
|
|
|
|
|
(("qtchooser -run-tool=(.*) -qt=qt5" _ command)
|
|
|
|
|
command))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'unpack 'fix-paths
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* '("src/pics/Makefile.in"
|
|
|
|
|
"src/translations/Makefile.in")
|
|
|
|
|
(("\\$\\(datadir\\)/qGo/")
|
|
|
|
|
"$(datadir)/q5go/"))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'install-desktop-file
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(apps (string-append out "/share/applications"))
|
|
|
|
|
(pics (string-append out "/share/q5go/pics")))
|
|
|
|
|
(delete-file-recursively (string-append out "/share/applnk"))
|
|
|
|
|
(delete-file-recursively (string-append out "/share/mimelnk"))
|
|
|
|
|
(install-file "../source/src/pics/Bowl.ico" pics)
|
|
|
|
|
(mkdir-p apps)
|
|
|
|
|
(with-output-to-file (string-append apps "/q5go.desktop")
|
|
|
|
|
(lambda _
|
|
|
|
|
(format #t
|
|
|
|
|
"[Desktop Entry]~@
|
|
|
|
|
Name=q5go~@
|
|
|
|
|
Exec=~a/bin/q5go~@
|
|
|
|
|
Icon=~a/Bowl.ico~@
|
|
|
|
|
Categories=Game;~@
|
|
|
|
|
Comment=Game of Go~@
|
|
|
|
|
Comment[de]=Spiel des Go~@
|
|
|
|
|
Comment[eo]=Goo~@
|
|
|
|
|
Comment[es]=Juego de Go~@
|
|
|
|
|
Comment[fr]=Jeu de Go~@
|
|
|
|
|
Comment[ja]=囲碁~@
|
|
|
|
|
Comment[ko]=바둑~@
|
|
|
|
|
Comment[zh]=围棋~@
|
|
|
|
|
Terminal=false~@
|
|
|
|
|
Type=Application~%"
|
|
|
|
|
out pics))))
|
|
|
|
|
#t)))))
|
|
|
|
|
(synopsis "Qt GUI to play the game of Go")
|
|
|
|
|
(description
|
|
|
|
|
"This a tool for Go players which performs the following functions:
|
|
|
|
|
@itemize
|
|
|
|
|
@item SGF editor,
|
|
|
|
|
@item Analysis frontend for Leela Zero (or compatible engines),
|
|
|
|
|
@item GTP interface (to play against an engine),
|
|
|
|
|
@item IGS client (to play on the internet),
|
|
|
|
|
@item Export games to a variety of formats.
|
|
|
|
|
@end itemize")
|
|
|
|
|
(home-page "https://github.com/bernds/q5Go")
|
|
|
|
|
(license license:gpl2+)))
|
2017-03-16 11:37:19 +01:00
|
|
|
|
|
|
|
|
|
(define-public ktuberling
|
|
|
|
|
(package
|
|
|
|
|
(name "ktuberling")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/ktuberling-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1qdf4q6wjh1lnlqw5c8z4rpj9w5vbyjfri1dah6yjm3mwppbc12j"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("perl" ,perl)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcompletion" ,kcompletion)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("kdelibs4support" ,kdelibs4support)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kwidgetsaddons" ,kwidgetsaddons)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtmultimedia" ,qtmultimedia)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtsvg" ,qtsvg)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Stamp drawing toy")
|
|
|
|
|
(description "KTuberling is a drawing toy intended for small children and
|
|
|
|
|
adults who remain young at heart. The game has no winner; the only purpose is
|
|
|
|
|
to make the funniest faces you can. Several activites are possible, e.g.:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Give the potato a funny face, clothes, and other goodies
|
|
|
|
|
@item Build a small town, complete with school, zoo, and fire department
|
|
|
|
|
@item Create a fantastic moonscape with spaceships and aliens
|
|
|
|
|
@item Top a pizza
|
|
|
|
|
@end itemize
|
|
|
|
|
|
|
|
|
|
KTuberling can speak the name of each the object in several languages,
|
|
|
|
|
to assist in learning basic vocabulary.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2019-11-22 16:32:35 +01:00
|
|
|
|
|
|
|
|
|
(define-public picmi
|
|
|
|
|
(package
|
|
|
|
|
(name "picmi")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/picmi-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0z9mpmv49w914gqdx274brdzl6d1bz9j9nkvbwgmr3iq1ba49m3f"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("kdeclarative" ,kdeclarative)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kio" ,kio)
|
|
|
|
|
("knewstuff" ,knewstuff)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtsvg" ,qtsvg)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Number logic game")
|
|
|
|
|
(description "Picmi is a number logic game in which cells in a grid have
|
|
|
|
|
to be colored or left blank according to numbers given at the side of the
|
|
|
|
|
grid. The aim is to reveal a hidden picture.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2017-03-16 11:37:21 +01:00
|
|
|
|
|
|
|
|
|
(define-public kolf
|
|
|
|
|
(package
|
|
|
|
|
(name "kolf")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/kolf-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "06sfd0llr5cc3zf1vrpcxgw9bm009ky7y8822kynic9ipcd4z1hw"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcompletion" ,kcompletion)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kio" ,kio)
|
|
|
|
|
("kwidgetsaddons" ,kwidgetsaddons)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("ktextwidgets" ,ktextwidgets)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Miniature golf game")
|
|
|
|
|
(description "Kolf is a miniature golf game for one to ten players. The
|
|
|
|
|
game is played from an overhead view, with a short bar representing the golf
|
|
|
|
|
club. Kolf features many different types of objects, such as water hazards,
|
|
|
|
|
slopes, sand traps, and black holes (warps), among others.
|
|
|
|
|
|
|
|
|
|
Features are:
|
|
|
|
|
@itemize
|
|
|
|
|
@item Single and Multi-player (up to ten players) modes
|
|
|
|
|
@item High scores table
|
|
|
|
|
@item Dynamic courses
|
|
|
|
|
@item Third-party courses
|
|
|
|
|
@item Course editor
|
|
|
|
|
@end itemize
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
|
2019-11-22 19:21:32 +01:00
|
|
|
|
|
|
|
|
|
(define-public libkmahjongg
|
|
|
|
|
(package
|
|
|
|
|
(name "libkmahjongg")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/"
|
|
|
|
|
version "/src/libkmahjongg-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0rdimk11hrc8qrmiv26z0ddjzi1k6806c0rfskx4cwmildmh6zgx"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kauth" ,kauth)
|
|
|
|
|
("kcompletion" ,kcompletion)
|
|
|
|
|
;("kconfig" ,kconfig)
|
|
|
|
|
("kcodecs" ,kcodecs)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kwidgetsaddons" ,kwidgetsaddons)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtsvg" ,qtsvg)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Shared library for kmahjongg and kshisen")
|
|
|
|
|
(description "Shared library and common files for kmahjongg, kshisen and
|
|
|
|
|
other Mah Jongg like games.")
|
|
|
|
|
(license (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
|
2019-11-22 19:32:16 +01:00
|
|
|
|
|
|
|
|
|
(define-public kmahjongg
|
|
|
|
|
(package
|
|
|
|
|
(name "kmahjongg")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/"
|
|
|
|
|
version "/src/kmahjongg-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "08na845h0nhmfrszdmvfq5y1dy7kgbrlzjp0f5snvbbf7w44ci6p"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcompletion" ,kcompletion)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("kdeclarative" ,kdeclarative)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("knewstuff" ,knewstuff)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("libkmahjongg" ,libkmahjongg)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtsvg" ,qtsvg)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Tile laying patience")
|
|
|
|
|
(description "In KMahjongg the tiles are scrambled and staked on top of
|
|
|
|
|
each other to resemble a certain shape. The player is then expected to remove
|
|
|
|
|
all the tiles off the game board by locating each tile's matching pair.
|
|
|
|
|
|
|
|
|
|
A variety of tile layouts are included, as well as an editor to create new
|
|
|
|
|
layouts.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
|
2017-03-16 11:37:23 +01:00
|
|
|
|
|
|
|
|
|
(define-public kshisen
|
|
|
|
|
(package
|
|
|
|
|
(name "kshisen")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/"
|
|
|
|
|
version "/src/kshisen-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1bq5m48af4h5apfp3bfsp76nlpv6h5sc0gd544zv7cgpfznz1sds"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
;("perl" ,perl)
|
|
|
|
|
;("pkg-config" ,pkg-config)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kauth" ,kauth)
|
|
|
|
|
("kcompletion" ,kcompletion)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("libkmahjongg" ,libkmahjongg)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Shisen-Sho solitaire game")
|
|
|
|
|
(description "KShisen is a solitaire-like game played using the standard
|
|
|
|
|
set of Mahjong tiles. Unlike Mahjong however, KShisen has only one layer of
|
|
|
|
|
scrambled tiles
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license license:gpl2+)))
|
2019-11-22 19:12:36 +01:00
|
|
|
|
|
|
|
|
|
(define-public kajongg
|
|
|
|
|
(package
|
|
|
|
|
(name "kajongg")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/"
|
|
|
|
|
version "/src/kajongg-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0ql6p5zifdpdf65r7ki9ml123azpwwk9x3x8r9ij6xhjnf7p7x6w"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
;("perl" ,perl)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kconfig" ,kconfig)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("libkmahjongg" ,libkmahjongg)
|
|
|
|
|
("python" ,python)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtsvg" ,qtsvg)))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("python-twisted" ,python-twisted)
|
|
|
|
|
("python-pyqt" ,python-pyqt)))
|
|
|
|
|
;; FIXME: Need to wrap PYTHONPATH
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Classical Mah Jongg game for 4 players")
|
|
|
|
|
(description "Kajongg is the ancient Chinese board game for 4 players.
|
|
|
|
|
|
|
|
|
|
If you are looking for the Mah Jongg solitaire please use the application
|
|
|
|
|
kmahjongg.
|
|
|
|
|
|
|
|
|
|
Kajongg can be used in two different ways: Scoring a manual game where you
|
|
|
|
|
play as always and use Kajongg for the computation of scores and for
|
|
|
|
|
bookkeeping. Or you can use Kajongg to play against any combination of other
|
|
|
|
|
human players or computer players.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2019-11-22 20:49:38 +01:00
|
|
|
|
|
|
|
|
|
(define-public kbreakout
|
|
|
|
|
(package
|
|
|
|
|
(name "kbreakout")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/kbreakout-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0gwzx1z9mxrjlcjzglg8cxkyd6900whcar3b5j9laxxarc6xhj8w"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcompletion" ,kcompletion)
|
|
|
|
|
("kconfig" ,kconfig)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kwidgetsaddons" ,kwidgetsaddons)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Breakout like game")
|
|
|
|
|
(description "KBreakout is similar to the classics breakout and xboing,
|
|
|
|
|
featuring a number of added graphical enhancements and effects. You control a
|
|
|
|
|
paddle at the bottom of the playing-field, and must destroy bricks at the top
|
|
|
|
|
by bouncing balls against them.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2019-11-22 20:58:55 +01:00
|
|
|
|
|
|
|
|
|
(define-public kmines
|
|
|
|
|
(package
|
|
|
|
|
(name "kmines")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/kmines-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0ac3za36lh8hpx6mqfic9amwmzhzhzplm9hg3pw12gxl5a9mvfsf"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcompletion" ,kcompletion)
|
|
|
|
|
("kconfig" ,kconfig)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("ktextwidgets" ,ktextwidgets)
|
|
|
|
|
("kwidgetsaddons" ,kwidgetsaddons)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Classical mine sweeper game")
|
|
|
|
|
(description "KMines is a classic Minesweeper game. The idea is to
|
|
|
|
|
uncover all the squares without blowing up any mines. When a mine is blown
|
|
|
|
|
up, the game is over.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2019-11-22 21:10:58 +01:00
|
|
|
|
|
|
|
|
|
(define-public konquest
|
|
|
|
|
(package
|
|
|
|
|
(name "konquest")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/"
|
|
|
|
|
version "/src/konquest-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "02gjxskhi10a1sqh3skcild8zria7wncz1a4sbz7ax1p851q76k1"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcompletion" ,kcompletion)
|
|
|
|
|
("kconfig" ,kconfig)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("kguiaddons" ,kguiaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kwidgetsaddons" ,kwidgetsaddons)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtsvg" ,qtsvg)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Simple turn-based strategy game")
|
|
|
|
|
(description "Konquest is the KDE version of Gnu-Lactic Konquest. Players
|
|
|
|
|
conquer other planets by sending ships to them. The goal is to build an
|
|
|
|
|
interstellar empire and ultimately conquer all other player's planets. The
|
|
|
|
|
game can be played with up to nine empires, commanded either by the computer
|
|
|
|
|
or by puny earthlings.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2019-11-22 21:23:42 +01:00
|
|
|
|
|
|
|
|
|
(define-public kbounce
|
|
|
|
|
(package
|
|
|
|
|
(name "kbounce")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/"
|
|
|
|
|
version "/src/kbounce-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "02rfv0qzz5cmyfx8f56a45hbm9gsp6m3dcy8ajwx88rw5wpbrr11"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcompletion" ,kcompletion)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kio" ,kio)
|
|
|
|
|
("kwidgetsaddons" ,kwidgetsaddons)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtsvg" ,qtsvg)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Jezzball arcade game")
|
|
|
|
|
(description "KBounce is a single player arcade game with the elements of
|
|
|
|
|
puzzle. It is played on a field, surrounded by wall, with two or more balls
|
|
|
|
|
bouncing around within the walls. The object of the game is to build new
|
|
|
|
|
walls to decrease the size of the active field.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
|
2019-11-22 21:33:32 +01:00
|
|
|
|
|
|
|
|
|
(define-public kblocks
|
|
|
|
|
(package
|
|
|
|
|
(name "kblocks")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/"
|
|
|
|
|
version "/src/kblocks-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0qrm0dihzhkxsq9l49ndzms802x6jn92vvabb2zf2q9z593m69cx"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcompletion" ,kcompletion)
|
|
|
|
|
("kconfig" ,kconfig)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kwidgetsaddons" ,kwidgetsaddons)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtsvg" ,qtsvg)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Single player falling blocks puzzle game")
|
|
|
|
|
(description "KBlocks is the classic Tetris-like falling blocks game.
|
|
|
|
|
|
|
|
|
|
The idea is to stack the falling blocks to create horizontal lines without any
|
|
|
|
|
gaps. When a line is completed it is removed, and more space is available in
|
|
|
|
|
the play area. When there is not enough space for blocks to fall, the game is
|
|
|
|
|
over.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2019-11-22 21:46:19 +01:00
|
|
|
|
|
|
|
|
|
(define-public ksudoku
|
|
|
|
|
(package
|
|
|
|
|
(name "ksudoku")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/"
|
|
|
|
|
version "/src/ksudoku-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0rcscz91hilm7l3am5w02n0n8l7xhi4l0n4sskznh68kblw0ggw2"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("karchive", karchive)
|
|
|
|
|
("kconfig" ,kconfig)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kguiaddons" ,kguiaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kiconthemes" ,kiconthemes)
|
|
|
|
|
("kio" ,kio)
|
|
|
|
|
("kwidgetsaddons" ,kwidgetsaddons)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtsvg" ,qtsvg)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Sudoku puzzle game and solver")
|
|
|
|
|
(description "KSudoku is a Sudoku game and solver, supporting a range of
|
|
|
|
|
2D and 3D Sudoku variants. In addition to playing Sudoku, it can print Sudoku
|
|
|
|
|
puzzle sheets and find the solution to any Sudoku puzzle.
|
|
|
|
|
|
|
|
|
|
The word Sudoku means \"single number in an allotted place\" in Japanese.
|
|
|
|
|
These are the basic rules: Every Sudoku is a square divided into 3x3
|
|
|
|
|
subsquares with 3x3 cells each.
|
|
|
|
|
|
|
|
|
|
Some cells are filled with a number at the beginning. The remaining ones are
|
|
|
|
|
to be filled by the player using numbers from 1 to 9, without repeating a
|
|
|
|
|
number twice on each column, row or subsquare (each of them must contain only
|
|
|
|
|
one 1, one 2, one 3, and so on). The game requires logic and patience.
|
|
|
|
|
Solving takes usually 10 to 30 minutes, depending on puzzle level, your skill
|
|
|
|
|
and experience.
|
|
|
|
|
|
|
|
|
|
The numerals in Sudoku puzzles are used for convenience (for example in 16x16
|
|
|
|
|
board we use letters): arithmetic relationships between numbers are
|
|
|
|
|
irrelevant.
|
|
|
|
|
|
|
|
|
|
This program supports also 16x16 games with numbers from 1 to 16 and 256
|
|
|
|
|
cells with 16 cols, rows and subsquares!
|
|
|
|
|
|
|
|
|
|
More information at http://en.wikipedia.org/wiki/Sudoku
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2019-11-22 22:01:52 +01:00
|
|
|
|
|
|
|
|
|
(define-public klines
|
|
|
|
|
(package
|
|
|
|
|
(name "klines")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/klines-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1g1f46jp0rb8gpqkgcf915ydpsscn1sxk3gjvm8bcqgx9ddq59xa"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcompletion" ,kcompletion)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kwidgetsaddons" ,kwidgetsaddons)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Place 5 equal pieces together, but wait, there are 3 new ones")
|
|
|
|
|
(description "KLines is a simple but highly addictive one player game.
|
|
|
|
|
|
|
|
|
|
The player has to move the colored balls around the game board, gathering them
|
|
|
|
|
into the lines of the same color by five. Once the line is complete it is
|
|
|
|
|
removed from the board, therefore freeing precious space. In the same time
|
|
|
|
|
the new balls keep arriving by three after each move, filling up the game
|
|
|
|
|
board.
|
|
|
|
|
|
|
|
|
|
KLines is a single-player game where the player removes colored balls from the
|
|
|
|
|
board by arranging them into lines of five or more. However, every time the
|
|
|
|
|
player moves a ball, three more balls are added to the board.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2019-11-22 22:09:20 +01:00
|
|
|
|
|
|
|
|
|
(define-public kgoldrunner
|
|
|
|
|
(package
|
|
|
|
|
(name "kgoldrunner")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version "/src/kgoldrunner-"
|
|
|
|
|
version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "16rcvq796r3asz4v4ap75xvwnxd3dd2nsq5r9vxvzl6rrf1w9bj4"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcompletion" ,kcompletion)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kio" ,kio)
|
|
|
|
|
("kwidgetsaddons" ,kwidgetsaddons)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Action and puzzle solving game")
|
|
|
|
|
(description "KGoldrunner is an action game where the hero runs through a
|
|
|
|
|
maze, climbs stairs, dig holes and dodges enemies in order to collect all the
|
|
|
|
|
gold nuggets and escape to the next level. Your enemies are also after the
|
|
|
|
|
gold. Worse still, they are after you!.
|
|
|
|
|
|
|
|
|
|
KGoldrunner is a fast-paced platform game where the player must navigate a
|
|
|
|
|
maze while collecting gold nuggets and avoiding enemies. A variety of level
|
|
|
|
|
packs are included, as well as an editor to create new levels.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2019-11-22 23:23:53 +01:00
|
|
|
|
|
|
|
|
|
(define-public kdiamond
|
|
|
|
|
(package
|
|
|
|
|
(name "kdiamond")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/kdiamond-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1v5yb9hb26lk277zhw8d37ks829yfqr5anzx1qhms44gca5kqhva"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcompletion", kcompletion)
|
|
|
|
|
("kconfig" ,kconfig)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("knotifications" ,knotifications)
|
|
|
|
|
("knotifyconfig" ,knotifyconfig)
|
|
|
|
|
("kwidgetsaddons" ,kwidgetsaddons)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Three-in-a-row game")
|
|
|
|
|
(description "KDiamond is a three-in-a-row game like Bejeweled. It
|
|
|
|
|
features unlimited fun with randomly generated games and five difficulty
|
|
|
|
|
levels with varying number of diamond colors and board sizes.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2019-11-22 23:33:32 +01:00
|
|
|
|
|
|
|
|
|
(define-public kfourinline
|
|
|
|
|
(package
|
|
|
|
|
(name "kfourinline")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/kfourinline-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1vprs6dc1ccn3g6k594i9s94xy4b91vzlqjysyc6fqcq2fs54ny3"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcompletion" ,kcompletion)
|
|
|
|
|
("kconfig" ,kconfig)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdelibs4support" ,kdelibs4support)
|
|
|
|
|
("kdnssd" ,kdnssd)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtsvg" ,qtsvg)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Place 4 pieces in a row")
|
|
|
|
|
(description "KFourInLine is a board game for two players based on the
|
|
|
|
|
Connect-Four game.
|
|
|
|
|
|
|
|
|
|
KFourInLine is a game where two players take turns dropping pieces into a
|
|
|
|
|
grid, the winner being the first to place four pieces in a line.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
|
2019-11-22 23:40:08 +01:00
|
|
|
|
|
|
|
|
|
(define-public kblackbox
|
|
|
|
|
(package
|
|
|
|
|
(name "kblackbox")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/kblackbox-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1x42sfpf75c6mavwkc7g7dm11y9s5dpj8igphly5kvm0pajqby0n"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("karchive" ,karchive)
|
|
|
|
|
("kcompletion" ,kcompletion)
|
|
|
|
|
("kconfig" ,kconfig)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("ktextwidgets" ,ktextwidgets)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtsvg" ,qtsvg)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Find atoms in a grid by shooting electrons")
|
|
|
|
|
(description "KBlackbox is a game of hide and seek played on a grid of
|
|
|
|
|
boxes where the computer has hidden several balls. The position of the hidden
|
|
|
|
|
balls can be deduced by shooting beams into the box
|
|
|
|
|
|
|
|
|
|
KBlackBox is a game of hide and seek played on an grid of boxes, where the
|
|
|
|
|
player shoots rays into the grid to deduce the positions of hidden objects.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2019-11-22 23:55:16 +01:00
|
|
|
|
|
|
|
|
|
(define-public knetwalk
|
|
|
|
|
(package
|
|
|
|
|
(name "knetwalk")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/knetwalk-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1i340salzgqdw8y33wrrydmpgx3pvwf5wrbljlh67cjf6s4csx7d"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcompletion" ,kcompletion)
|
|
|
|
|
("kconfig" ,kconfig)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("ktextwidgets" ,ktextwidgets)
|
|
|
|
|
("kwidgetsaddons" ,kwidgetsaddons)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Turn the board pieces to get all computers connected")
|
|
|
|
|
(description "KNetWalk is a small game where you have to build up a
|
|
|
|
|
computer network by rotating the wires to connect the terminals to the server.
|
|
|
|
|
When the network is build, a highscore-list comes up where competitions can be
|
|
|
|
|
fought out.
|
|
|
|
|
|
|
|
|
|
KNetwalk is a puzzle game where the player arranges sections of wire to
|
|
|
|
|
connect all the computers on the board.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2019-11-23 00:02:57 +01:00
|
|
|
|
|
|
|
|
|
(define-public bomber
|
|
|
|
|
(package
|
|
|
|
|
(name "bomber")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/bomber-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1lvzd0mzgq25akvwvkm57l3plm65k731v2i1ahakn985bb5gc3is"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcompletiom" ,kcompletion)
|
|
|
|
|
("kconfig" ,kconfig)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Arcade bombing game")
|
|
|
|
|
(description "Bomber is a single player arcade game.
|
|
|
|
|
|
|
|
|
|
The player is invading various cities in a plane that is decreasing in height.
|
|
|
|
|
The goal of the game is to destroy all the buildings and advance to the next
|
|
|
|
|
level. Each level gets a bit harder by increasing the speed of the plane and
|
|
|
|
|
the height of the buildings.
|
|
|
|
|
|
|
|
|
|
Bomber is a game where you fly a spaceship and attempt to bomb the buildings
|
|
|
|
|
below you. Each pass the spaceship makes, it gets lower and lower. If you've
|
|
|
|
|
not destroyed a building in your path, you will crash into it.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2019-11-23 00:16:16 +01:00
|
|
|
|
|
|
|
|
|
(define-public granatier
|
|
|
|
|
(package
|
|
|
|
|
(name "granatier")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/granatier-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "141qmdinz7ikbbrs8dq6cap3nl22sl7pw62r80pf3xxwn2q4phpa"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcompletion" ,kcompletion)
|
|
|
|
|
("kconfig" ,kconfig)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("knewstuff" ,knewstuff)
|
|
|
|
|
("kwidgetsaddons" ,kwidgetsaddons)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtsvg" ,qtsvg)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Bomberman clone")
|
|
|
|
|
(description "Granatier is a clone of the classic Bomberman game,
|
|
|
|
|
inspired by the work of the Clanbomber clone.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2019-11-23 00:29:56 +01:00
|
|
|
|
|
|
|
|
|
(define-public ksirk
|
|
|
|
|
(package
|
|
|
|
|
(name "ksirk")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/ksirk-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1b1wixs2hp5qnvdygfwa3kvy0kn94ysa4ifmx90q6r3yfr2lpfca"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcrash" ,kcrash)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kiconthemes" ,kiconthemes)
|
|
|
|
|
("kio" ,kio)
|
|
|
|
|
("knewstuff" ,knewstuff)
|
|
|
|
|
("kwallet" ,kwallet)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("phonon" ,phonon)
|
|
|
|
|
("qca" ,qca)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtsvg" ,qtsvg)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Computerized version of the well known strategy board game
|
|
|
|
|
'Risk'")
|
|
|
|
|
(description "KsirK is a multi-player network-enabled game. The goal of
|
|
|
|
|
the game is simply to conquer the world by attacking your neighbors with your
|
|
|
|
|
armies.
|
|
|
|
|
|
|
|
|
|
At the beginning of the game, countries are distributed to all the players.
|
|
|
|
|
Each country contains one army represented by an infantryman. Each player has
|
|
|
|
|
some armies to distribute to his countries. On each turn, each player can
|
|
|
|
|
attack his neighbours, eventually conquering one or more countries. At the
|
|
|
|
|
end of each turn, some bonus armies are distributed to the players in function
|
|
|
|
|
of the number of countries they own. The winner is the player that conquered
|
|
|
|
|
all the world.
|
|
|
|
|
|
|
|
|
|
Features:
|
|
|
|
|
@itemize
|
|
|
|
|
@item Support for 1-6 human or computer players
|
|
|
|
|
@item Multi-player gaming over a network
|
|
|
|
|
@item You can easily create new skins with SVG graphics and the skin editor
|
|
|
|
|
@item Hot New Stuff support. You can easily download and install new skins
|
|
|
|
|
@end itemize
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
|
2019-11-23 00:42:56 +01:00
|
|
|
|
|
|
|
|
|
(define-public palapeli
|
|
|
|
|
(package
|
|
|
|
|
(name "palapeli")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/palapeli-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1g91ydbc0x2y2gn3lcb5w03mn7k78l5bq4cb1s59kx6yjbflv3pw"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("karchive" ,karchive)
|
|
|
|
|
("kcompletion" ,kcompletion)
|
|
|
|
|
("kconfig" ,kconfig)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kio" ,kio)
|
|
|
|
|
("kitemviews" ,kitemviews)
|
|
|
|
|
("knotifications" ,knotifications)
|
|
|
|
|
("kservice" ,kservice)
|
|
|
|
|
("kwidgetsaddons" ,kwidgetsaddons)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtsvg" ,qtsvg)
|
|
|
|
|
("shared-mime-info" ,shared-mime-info)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Jigsaw puzzle game")
|
|
|
|
|
(description "Palapeli is a jigsaw puzzle game. Unlike other games in
|
|
|
|
|
that genre, you are not limited to aligning pieces on imaginary grids. The
|
|
|
|
|
pieces are freely moveable. Also, Palapeli features real persistency, i.e.
|
|
|
|
|
everything you do is saved on your disk immediately.
|
|
|
|
|
|
|
|
|
|
Palapeli is the Finnish word for jigsaw puzzle.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license license:gpl2+)))
|
2019-11-23 01:00:20 +01:00
|
|
|
|
|
|
|
|
|
(define-public kiriki
|
|
|
|
|
(package
|
|
|
|
|
(name "kiriki")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/kiriki-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1xg25dj95g81dc5l7k47am4j52abrwwfx4h73lvsbn4lc8lfmshw"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcompletion" ,kcompletion)
|
|
|
|
|
("kconfig" ,kconfig)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kiconthemes" ,kiconthemes)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Yahtzee dice game")
|
|
|
|
|
(description "Kiriki is an addictive and fun dice game, designed to be
|
|
|
|
|
played by as many as six players.
|
|
|
|
|
|
|
|
|
|
Participants have to collect points by rolling five dice for up to three times
|
|
|
|
|
per single turn to make combinations with the highest score.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2019-11-23 01:08:06 +01:00
|
|
|
|
|
|
|
|
|
(define-public kigo
|
|
|
|
|
(package
|
|
|
|
|
(name "kigo")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/kigo-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "00l5gcbi8xyj9c1lngkrddka3a4m4cd78prfplrpq32ma9xq681f"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kconfig" ,kconfig)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kio" ,kio)
|
|
|
|
|
("knewstuff", knewstuff)
|
|
|
|
|
("ktextwidgets" ,ktextwidgets)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtsvg" ,qtsvg)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Go board game")
|
|
|
|
|
(description "Kigo is an open-source implementation of the popular Go
|
|
|
|
|
game.
|
|
|
|
|
|
|
|
|
|
Go is a strategic board game for two players. It is also known as
|
|
|
|
|
igo (Japanese), weiqi or wei ch'i (Chinese) or baduk (Korean). Go is noted
|
|
|
|
|
for being rich in strategic complexity despite its simple rules. The game is
|
|
|
|
|
played by two players who alternately place black and white stones (playing
|
|
|
|
|
pieces, now usually made of glass or plastic) on the vacant intersections of a
|
|
|
|
|
grid of 19x19 lines (9x9 or 13x13 for easier games).
|
|
|
|
|
|
|
|
|
|
You also need to install a go engine, e.g. @code{gnugo}.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license license:gpl3+)))
|
2019-11-23 01:21:56 +01:00
|
|
|
|
|
|
|
|
|
(define-public kubrick
|
|
|
|
|
(package
|
|
|
|
|
(name "kubrick")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/kubrick-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0ma8wja4rqlsmsr8cyicfpkwlgqva4450ls4c0ql53p0kabf04gx"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glu" ,glu)
|
|
|
|
|
("kconfig" ,kconfig)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kio" ,kio)
|
|
|
|
|
("kwidgetsaddons" ,kwidgetsaddons)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtsvg" ,qtsvg)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Game based on Rubik's Cube")
|
|
|
|
|
(description "Kubrick is a game based on the Rubik's Cube puzzle.
|
|
|
|
|
|
|
|
|
|
The cube sizes range from 2x2x2 up to 6x6x6, or you can play with irregular
|
|
|
|
|
\"bricks\" such as 5x3x2 or \"mats\" such as 6x4x1 or 2x2x1. The game has a
|
|
|
|
|
selection of puzzles at several levels of difficulty, as well as demos of
|
|
|
|
|
pretty patterns and solution moves, or you can make up your own puzzles. The
|
|
|
|
|
game has unlimited undo, redo, save and reload capabilities.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2019-11-23 01:32:37 +01:00
|
|
|
|
|
|
|
|
|
(define-public lskat
|
|
|
|
|
(package
|
|
|
|
|
(name "lskat")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/lskat-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1qk5hd27zb42pbcxq5wyzz62nj5f0qdmgy54r9rnk92pzzzk94s9"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcompletion" ,kcompletion)
|
|
|
|
|
("kconfig" ,kconfig)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kguiaddons" ,kguiaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kwidgetsaddons" ,kwidgetsaddons)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtsvg" ,qtsvg)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Lieutnant Skat card game")
|
|
|
|
|
(description "Lieutnant Skat (from German \"Offiziersskat\") is a fun and
|
|
|
|
|
engaging card game for two players, where the second player is either live
|
|
|
|
|
opponent, or a built in artificial intelligence.
|
|
|
|
|
|
|
|
|
|
Lieutnant Skat is a simplified variant of the Skat card game for two players.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
|
2019-11-23 18:03:16 +01:00
|
|
|
|
|
|
|
|
|
(define-public kapman
|
|
|
|
|
(package
|
|
|
|
|
(name "kapman")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/kapman-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "03pq38caam30q4bw14c045kayw2d87xq1yaa3s2jkrylylfq3p0f"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcompletion" ,kcompletion)
|
|
|
|
|
("kconfig" ,kconfig)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtsvg" ,qtsvg)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Pac-Man clone")
|
|
|
|
|
(description "Kapman is a clone of the well known game Pac-Man.
|
|
|
|
|
|
|
|
|
|
You must run through the maze to eat all pills without being captured by a
|
|
|
|
|
ghost. By eating an energizer, Kapman gets the ability to eat ghosts for a
|
|
|
|
|
few seconds. When a stage is cleared of pills and energizer the player is
|
|
|
|
|
taken to the next stage with slightly increased game speed
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2019-11-23 18:13:21 +01:00
|
|
|
|
|
|
|
|
|
(define-public kspaceduel
|
|
|
|
|
(package
|
|
|
|
|
(name "kspaceduel")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/kspaceduel-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1hppni0ihs7psc0dly5rxyy2a38nzhlig9yfyhi3lkh36z05pql8"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcompletion" ,kcompletion)
|
|
|
|
|
("kconfig" ,kconfig)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtsvg" ,qtsvg)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Two player game with shooting spaceships flying around a sun")
|
|
|
|
|
(description "KSpaceduel is a space battle game for one or two players,
|
|
|
|
|
where two ships fly around a star in a struggle to be the only survivor.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2019-11-23 18:27:43 +01:00
|
|
|
|
|
|
|
|
|
(define-public bovo
|
|
|
|
|
(package
|
|
|
|
|
(name "bovo")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/bovo-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0dbpng0w52nahmx7brsll66zw23ql1g6pcvn2k4g2lnvxch0i59g"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcompletion" ,kcompletion)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtsvg" ,qtsvg)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Classic pen and paper game: five in a line")
|
|
|
|
|
(description "Bovo is a Gomoku (from Japanese 五目並べ - lit. \"five
|
|
|
|
|
points\") like game for two players, where the opponents alternate in placing
|
|
|
|
|
their respective pictogram on the game board. The winner is the first to
|
|
|
|
|
complete a line of five markers. (Also known as: Connect Five, Five in a row,
|
|
|
|
|
X and O, Naughts and Crosses)
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2019-11-23 18:47:50 +01:00
|
|
|
|
|
|
|
|
|
(define-public killbots
|
|
|
|
|
(package
|
|
|
|
|
(name "killbots")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/killbots-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1qi86q7diw7glkp9v33yim9nhz2da4balbxa1hjrdgjdv8zdbxbm"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcompletion" ,kcompletion)
|
|
|
|
|
("kconfig" ,kconfig)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kwidgetsaddons" ,kwidgetsaddons)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Port of the classic BSD console game robots")
|
|
|
|
|
(description "Killbots is a simple game of evading killer robots.
|
|
|
|
|
|
|
|
|
|
Who created the robots and why they have been programmed to destroy, no one
|
|
|
|
|
knows. All that is known is that the robots are numerous and their sole
|
|
|
|
|
objective is to destroy you. Fortunately for you, their creator has focused
|
|
|
|
|
on quantity rather than quality and as a result the robots are severely
|
|
|
|
|
lacking in intelligence. Your superior wit and a fancy teleportation device
|
|
|
|
|
are your only weapons against the never-ending stream of mindless automatons.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2019-11-23 18:54:40 +01:00
|
|
|
|
|
|
|
|
|
(define-public ksnakeduel
|
|
|
|
|
(package
|
|
|
|
|
(name "ksnakeduel")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/ksnakeduel-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0mprrnpax8pv7ab36zwhvdfj8id52w8g6x76nnj8qvkdlkjiqdnn"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcompletion" ,kcompletion)
|
|
|
|
|
("kconfig" ,kconfig)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("kguiaddons" ,kguiaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtsvg" ,qtsvg)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Snake race played against the computer")
|
|
|
|
|
(description "KSnakeDuel is a fast action game where you steer a snake
|
|
|
|
|
which has to eat food. While eating the snake grows. But once a player
|
|
|
|
|
collides with the other snake or the wall the game is lost. This becomes of
|
|
|
|
|
course more and more difficult the longer the snakes grow.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2019-11-23 19:09:07 +01:00
|
|
|
|
|
|
|
|
|
(define-public kollision
|
|
|
|
|
(package
|
|
|
|
|
(name "kollision")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/kollision-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1p7qrn3d0ybpvc9k6k5wzj54dsrp1rqh39844maz0ay2fhvmch12"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcompletion" ,kcompletion)
|
|
|
|
|
("kconfig" ,kconfig)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kwidgetsaddons" ,kwidgetsaddons)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Simple ball dodging game")
|
|
|
|
|
(description "In Kollision you use mouse to control a small blue ball in a
|
|
|
|
|
closed space environment filled with small red balls, which move about
|
|
|
|
|
chaotically. Your goal is to avoid touching any of those red balls with your
|
|
|
|
|
blue one, because the moment you do the game will be over. The longer you can
|
|
|
|
|
stay in game the higher will your score be.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2019-11-23 19:21:07 +01:00
|
|
|
|
|
|
|
|
|
(define-public knavalbattle
|
|
|
|
|
(package
|
|
|
|
|
(name "knavalbattle")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/knavalbattle-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0sdfjplqkb30x2mvh66pkzay6vn5px87779sh2s8lpl6fcw0v9g4"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kauth" ,kauth)
|
|
|
|
|
("kcompletion" ,kcompletion)
|
|
|
|
|
("kconfig" ,kconfig)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("kdnssd" ,kdnssd)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("ktextwidgets" ,ktextwidgets)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Battleship board game with built-in game server")
|
|
|
|
|
(description "KBattleship is a Battle Ship game for KDE.
|
|
|
|
|
|
|
|
|
|
Ships are placed on a board which represents the sea. Players try to hit each
|
|
|
|
|
others ships in turns without knowing where they are placed. The first player
|
|
|
|
|
to destroy all ships wins the game.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2019-11-23 19:32:50 +01:00
|
|
|
|
|
|
|
|
|
(define-public kreversi
|
|
|
|
|
(package
|
|
|
|
|
(name "kreversi")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/kreversi-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0b6q8df2bawgnrswhq59z37axad0q3zpvvzxdds7sz1lw505xw9h"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kconfig" ,kconfig)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("kdeclarative" ,kdeclarative)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kiconthemes" ,kiconthemes)
|
|
|
|
|
("kio" ,kio)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtsvg" ,qtsvg)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Old reversi board game, also known as othello")
|
|
|
|
|
(description "KReversi is a simple one player strategy game played
|
|
|
|
|
against the computer.
|
|
|
|
|
|
|
|
|
|
If a player's piece is captured by an opposing player, that piece is turned
|
|
|
|
|
over to reveal the color of that player. A winner is declared when one player
|
|
|
|
|
has more pieces of his own color on the board and there are no more possible
|
|
|
|
|
moves.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2019-11-23 19:38:26 +01:00
|
|
|
|
|
|
|
|
|
(define-public ksquares
|
|
|
|
|
(package
|
|
|
|
|
(name "ksquares")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/ksquares-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0hv8hls5s627lys08nnw72rfzsafj3dmp49mh2afzmh6lgk9h5vy"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kcompletion" ,kcompletion)
|
|
|
|
|
("kconfig" ,kconfig)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kwidgetsaddons" ,kwidgetsaddons)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Dots and Boxes game")
|
|
|
|
|
(description "KSquares is an implementation of the popular paper based
|
|
|
|
|
game Squares. Two players take turns connecting dots on a grid to complete
|
|
|
|
|
squares, the player with the most squares wins.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
|
2019-11-23 19:44:55 +01:00
|
|
|
|
|
|
|
|
|
(define-public kjumpingcube
|
|
|
|
|
(package
|
|
|
|
|
(name "kjumpingcube")
|
|
|
|
|
(version "19.08.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://kde/stable/applications/" version
|
|
|
|
|
"/src/kjumpingcube-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0d67zqkf2xffjkj671gl2n6nj6jajyn6rgqqj5i6gm500mqi9rm1"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("extra-cmake-modules" ,extra-cmake-modules)
|
|
|
|
|
("kdoctools" ,kdoctools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("kconfig" ,kconfig)
|
|
|
|
|
("kconfigwidgets" ,kconfigwidgets)
|
|
|
|
|
("kcoreaddons" ,kcoreaddons)
|
|
|
|
|
("kcrash" ,kcrash)
|
|
|
|
|
("kdbusaddons" ,kdbusaddons)
|
|
|
|
|
("ki18n" ,ki18n)
|
|
|
|
|
("kio" ,kio)
|
|
|
|
|
("kwidgetsaddons" ,kwidgetsaddons)
|
|
|
|
|
("kxmlgui" ,kxmlgui)
|
|
|
|
|
("libkdegames" ,libkdegames)
|
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
|
("qtdeclarative" ,qtdeclarative)
|
|
|
|
|
("qtsvg" ,qtsvg)))
|
|
|
|
|
(home-page "https://games.kde.org/")
|
|
|
|
|
(synopsis "Simple tactical game for number-crunchers")
|
|
|
|
|
(description "KJumpingcube is a simple tactical game for one or two
|
|
|
|
|
players, played on a grid of numbered squares. Each turn, players compete for
|
|
|
|
|
control of the board by capturing or adding to one square.
|
|
|
|
|
|
|
|
|
|
This package is part of the KDE games module.")
|
|
|
|
|
(license (list license:gpl2+ license:fdl1.2+))))
|
2020-01-05 02:20:35 +01:00
|
|
|
|
|
|
|
|
|
(define-public xmoto
|
2020-06-22 00:40:10 +02:00
|
|
|
|
(package
|
|
|
|
|
(name "xmoto")
|
|
|
|
|
(version "0.6.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/xmoto/xmoto.git")
|
|
|
|
|
(commit version)))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "00f5ha79lfa2iiaz66wl0hl5dapa1l15qdr7m7knzi0ll7j6z66n"))
|
|
|
|
|
(modules '((guix build utils)
|
|
|
|
|
(ice-9 ftw)
|
|
|
|
|
(srfi srfi-1)))
|
|
|
|
|
;; XXX: Remove some bundled libraries. Guix provides Chipmunk, but
|
|
|
|
|
;; it appears to be incompatible with the (older) one bundled.
|
|
|
|
|
(snippet
|
|
|
|
|
`(begin
|
|
|
|
|
(let ((keep '("chipmunk" "glad" "md5sum")))
|
|
|
|
|
(with-directory-excursion "vendor"
|
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
|
(lset-difference string=?
|
|
|
|
|
(scandir ".")
|
|
|
|
|
(cons* "." ".." keep))))
|
|
|
|
|
(substitute* "src/CMakeLists.txt"
|
|
|
|
|
(("add_subdirectory\\(.*?/vendor/(.+?)\".*" line library)
|
|
|
|
|
(if (member library keep) line ""))))
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ;no test
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-hard-coded-directory
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(substitute* "src/common/VFileIO.cpp"
|
|
|
|
|
(("/usr/share")
|
|
|
|
|
(string-append (assoc-ref outputs "out") "/share")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'build 'set-SDL
|
|
|
|
|
;; Set correct environment for SDL.
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "CPATH"
|
|
|
|
|
(string-append
|
|
|
|
|
(assoc-ref inputs "sdl") "/include/SDL:"
|
|
|
|
|
(or (getenv "CPATH") "")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'unbundle-fonts
|
|
|
|
|
;; Unbundle DejaVuSans TTF files.
|
|
|
|
|
(lambda* (#:key outputs inputs #:allow-other-keys)
|
|
|
|
|
(let ((font-dir (string-append (assoc-ref inputs "font-dejavu")
|
|
|
|
|
"/share/fonts/truetype/"))
|
|
|
|
|
(target-dir (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/share/xmoto/Textures/Fonts/")))
|
|
|
|
|
(for-each (lambda (f)
|
|
|
|
|
(let ((font (string-append font-dir f))
|
|
|
|
|
(target (string-append target-dir f)))
|
|
|
|
|
(delete-file target)
|
|
|
|
|
(symlink font target)))
|
|
|
|
|
'("DejaVuSans.ttf" "DejaVuSansMono.ttf"))
|
|
|
|
|
#t))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gettext" ,gettext-minimal)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("bzip2" ,bzip2)
|
|
|
|
|
("curl" ,curl)
|
|
|
|
|
("font-dejavu" ,font-dejavu)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("libjpeg" ,libjpeg-turbo)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libxdg-basedir" ,libxdg-basedir)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("lua" ,lua-5.1)
|
|
|
|
|
("ode" ,ode)
|
|
|
|
|
("sdl" ,(sdl-union (list sdl sdl-mixer sdl-net sdl-ttf)))
|
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(home-page "https://xmoto.tuxfamily.org/")
|
|
|
|
|
(synopsis "2D motocross platform game")
|
|
|
|
|
(description
|
|
|
|
|
"X-Moto is a challenging 2D motocross platform game, where
|
2020-06-21 00:45:08 +02:00
|
|
|
|
physics play an all important role in the gameplay. You need to
|
|
|
|
|
control your bike to its limit, if you want to have a chance finishing
|
|
|
|
|
the more difficult challenges.")
|
2020-06-22 00:40:10 +02:00
|
|
|
|
(license (list license:gpl2+ ;whole project
|
|
|
|
|
license:bsd-3 ;vendor/md5sum
|
|
|
|
|
license:lgpl2.1+
|
|
|
|
|
license:expat))))
|
2020-02-09 15:31:24 +01:00
|
|
|
|
|
|
|
|
|
(define-public eboard
|
|
|
|
|
(package
|
|
|
|
|
(name "eboard")
|
|
|
|
|
(version "1.1.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/fbergo/eboard.git")
|
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1z4pwpqyvxhlda99h6arh2rjk90fbms9q29fqizjblrdn01dlxn1"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("perl" ,perl)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gtk+" ,gtk+-2)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("gstreamer" ,gstreamer)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(make-file-writable "eboard-config")
|
|
|
|
|
(setenv "CC" "gcc")
|
|
|
|
|
(invoke "./configure"
|
|
|
|
|
(string-append "--prefix=" (assoc-ref outputs "out")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'install 'make-required-directories
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(mkdir-p (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/share/eboard"))
|
|
|
|
|
#t)))))
|
|
|
|
|
(synopsis "Graphical user interface to play chess")
|
|
|
|
|
(description
|
|
|
|
|
"Eboard is a chess board interface for ICS (Internet Chess Servers)
|
|
|
|
|
and chess engines.")
|
|
|
|
|
(home-page "https://www.bergo.eng.br/eboard/")
|
|
|
|
|
(license license:gpl2+)))
|
2020-02-10 14:06:31 +01:00
|
|
|
|
|
|
|
|
|
(define-public chessx
|
|
|
|
|
(package
|
|
|
|
|
(name "chessx")
|
|
|
|
|
(version "1.5.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/chessx/chessx/"
|
|
|
|
|
version "/chessx-" version ".tgz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "09rqyra28w3z9ldw8sx07k5ap3sjlli848p737maj7c240rasc6i"))))
|
|
|
|
|
(build-system qt-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("qttools" ,qttools)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("qtbase" ,qtbase)
|
|
|
|
|
("qtmultimedia" ,qtmultimedia)
|
|
|
|
|
("qtsvg" ,qtsvg)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'fix-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(substitute* "chessx.pro"
|
|
|
|
|
(("\\$\\$\\[QT_INSTALL_BINS\\]/lrelease")
|
|
|
|
|
(string-append (assoc-ref inputs "qttools") "/bin/lrelease")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'fix-paths 'make-qt-deterministic
|
|
|
|
|
(lambda _
|
|
|
|
|
(setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1")
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'configure
|
|
|
|
|
(lambda _
|
|
|
|
|
(invoke "qmake")
|
|
|
|
|
#t))
|
|
|
|
|
(replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(install-file "release/chessx" (string-append out "/bin"))
|
|
|
|
|
(install-file "unix/chessx.desktop"
|
|
|
|
|
(string-append out "/share/applications")))
|
|
|
|
|
#t)))))
|
|
|
|
|
(synopsis "Chess game database")
|
|
|
|
|
(description
|
|
|
|
|
"ChessX is a chess database. With ChessX you can operate on your
|
|
|
|
|
collection of chess games in many ways: browse, edit, add, organize, analyze,
|
|
|
|
|
etc. You can also play games on FICS or against an engine.")
|
|
|
|
|
(home-page "http://chessx.sourceforge.net/")
|
|
|
|
|
(license license:gpl2+)))
|
2020-02-10 14:59:58 +01:00
|
|
|
|
|
|
|
|
|
(define-public stockfish
|
|
|
|
|
(package
|
|
|
|
|
(name "stockfish")
|
|
|
|
|
(version "11")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/official-stockfish/Stockfish.git")
|
|
|
|
|
(commit (string-append "sf_" version))))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "12mppipinymj8s1ipq9a7is453vncly49c32ym9wvyklsgyxfzlk"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:make-flags (list "-C" "src"
|
|
|
|
|
"build"
|
|
|
|
|
(string-append "PREFIX="
|
|
|
|
|
(assoc-ref %outputs "out"))
|
|
|
|
|
(string-append "ARCH="
|
|
|
|
|
,(match (%current-system)
|
|
|
|
|
("x86_64-linux" "x86-64")
|
|
|
|
|
("i686-linux" "x86-32")
|
|
|
|
|
("aarch64-linux" "general-64")
|
|
|
|
|
("armhf-linux" "armv7")
|
|
|
|
|
("mips64el-linux" "general-64")
|
|
|
|
|
(_ "general-32"))))
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))))
|
|
|
|
|
(synopsis "Strong chess engine")
|
|
|
|
|
(description
|
|
|
|
|
"Stockfish is a very strong chess engines. It is much stronger than the
|
|
|
|
|
best human chess grandmasters. It can be used with UCI-compatible GUIs like
|
|
|
|
|
ChessX.")
|
|
|
|
|
(home-page "https://stockfishchess.org/")
|
|
|
|
|
(license license:gpl3+)))
|
2020-03-13 21:31:40 +01:00
|
|
|
|
|
|
|
|
|
(define-public barrage
|
|
|
|
|
(package
|
|
|
|
|
(name "barrage")
|
|
|
|
|
(version "1.0.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/lgames/barrage/"
|
|
|
|
|
"barrage-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0139wxyrir10cbkvkjn548xgmp84wax8mfwk80yxbxlcdamrg257"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("hicolor-icon-theme" ,hicolor-icon-theme)
|
|
|
|
|
("sdl" ,sdl)
|
|
|
|
|
("sdl-mixer" ,sdl-mixer)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
(list
|
|
|
|
|
(string-append "CFLAGS="
|
|
|
|
|
"-I" (assoc-ref %build-inputs "sdl-mixer")
|
|
|
|
|
"/include/SDL"))))
|
|
|
|
|
(home-page "http://lgames.sourceforge.net/Barrage/")
|
|
|
|
|
(synopsis "Violent point-and-click shooting game with nice effects")
|
|
|
|
|
(description
|
|
|
|
|
"Barrage is a rather destructive action game that puts you on a shooting
|
|
|
|
|
range with the objective to hit as many dummy targets as possible within
|
|
|
|
|
3 minutes. You control a gun that may either fire small or large grenades at
|
|
|
|
|
soldiers, jeeps and tanks. The gameplay is simple but it is not that easy to
|
|
|
|
|
get high scores.")
|
|
|
|
|
(license license:gpl2+)))
|
2020-03-26 15:55:02 +01:00
|
|
|
|
|
2020-06-15 21:56:36 +02:00
|
|
|
|
(define-public burgerspace
|
|
|
|
|
(package
|
|
|
|
|
(name "burgerspace")
|
|
|
|
|
(version "1.9.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://perso.b2b2c.ca/~sarrazip/dev/"
|
|
|
|
|
"burgerspace-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1005a04rbn4lzjrpfg0m394k2mfaji63fm2qhdqdsxila8a6kjbv"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("flatzebra" ,flatzebra)))
|
|
|
|
|
(home-page "http://perso.b2b2c.ca/~sarrazip/dev/burgerspace.html")
|
|
|
|
|
(synopsis "Avoid evil foodstuffs and make burgers")
|
|
|
|
|
(description
|
|
|
|
|
"This is a clone of the classic game BurgerTime. In it, you play
|
|
|
|
|
the part of a chef who must create burgers by stepping repeatedly on
|
|
|
|
|
the ingredients until they fall into place. And to make things more
|
|
|
|
|
complicated, you also must avoid evil animate food items while
|
|
|
|
|
performing this task, with nothing but your trusty pepper shaker to
|
|
|
|
|
protect you.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2020-03-26 15:55:02 +01:00
|
|
|
|
(define-public 7kaa
|
|
|
|
|
(package
|
|
|
|
|
(name "7kaa")
|
|
|
|
|
(version "2.15.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/the3dfxdude/7kaa/"
|
|
|
|
|
"releases/download/v" version "/"
|
|
|
|
|
"7kaa-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0blj47mcsfw1sn3465j6iham8m6ki07iggnq4q8nnaqnryx710jc"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gettext" ,gettext-minimal)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("curl" ,curl)
|
|
|
|
|
("enet" ,enet)
|
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("sdl2" ,sdl2)))
|
|
|
|
|
(home-page "https://7kfans.com/")
|
|
|
|
|
(synopsis "Seven Kingdoms Ancient Adversaries: real-time strategy game")
|
|
|
|
|
(description
|
|
|
|
|
"Seven Kingdoms, designed by Trevor Chan, brings a blend of Real-Time
|
|
|
|
|
Strategy with the addition of trade, diplomacy, and espionage. The game
|
|
|
|
|
enables players to compete against up to six other kingdoms allowing players
|
|
|
|
|
to conquer opponents by defeating them in war (with troops or machines),
|
|
|
|
|
capturing their buildings with spies, or offering opponents money for their
|
|
|
|
|
kingdom.")
|
|
|
|
|
(license license:gpl2+)))
|
2020-03-31 19:31:30 +02:00
|
|
|
|
|
|
|
|
|
(define-public neverball
|
|
|
|
|
;; Git version is 6-years younger than latest release.
|
|
|
|
|
(let ((commit "760a25d32a5fb0661b99426d4ddcb9ac9f3d1644")
|
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "neverball")
|
|
|
|
|
(version (git-version "1.6.0" revision commit))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Neverball/neverball.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0bwh67df3lyf33bv710y25l3frjdd34j9b7gsjadwxviz6r1vpj5"))
|
|
|
|
|
(file-name (git-file-name name version))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
'(begin
|
|
|
|
|
;; Octocat seems to be non-free. Oddly, Debian doesn't strip it.
|
|
|
|
|
(delete-file-recursively "data/ball/octocat")
|
|
|
|
|
#t))))
|
|
|
|
|
(build-system copy-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:install-plan
|
|
|
|
|
'(("neverball" "bin/")
|
|
|
|
|
("neverputt" "bin/")
|
|
|
|
|
("mapc" "bin/")
|
|
|
|
|
("data" "share/games/neverball/")
|
|
|
|
|
("locale" "share/")
|
|
|
|
|
("dist/" "share/games/neverball" #:include ("neverball_replay.png"
|
|
|
|
|
"neverlogos.svg"
|
|
|
|
|
"svg readme.txt"))
|
|
|
|
|
("dist/" "share/applications" #:include ("neverball.desktop"
|
|
|
|
|
"neverputt.desktop"))
|
|
|
|
|
("dist/neverball_16.png"
|
|
|
|
|
"/share/icons/hicolor/16x16/apps/neverball.png")
|
|
|
|
|
("dist/neverball_24.png"
|
|
|
|
|
"/share/icons/hicolor/24x24/apps/neverball.png")
|
|
|
|
|
("dist/neverball_32.png"
|
|
|
|
|
"/share/icons/hicolor/32x32/apps/neverball.png")
|
|
|
|
|
("dist/neverball_48.png"
|
|
|
|
|
"/share/icons/hicolor/48x48/apps/neverball.png")
|
|
|
|
|
("dist/neverball_64.png"
|
|
|
|
|
"/share/icons/hicolor/64x64/apps/neverball.png")
|
|
|
|
|
("dist/neverball_128.png"
|
|
|
|
|
"/share/icons/hicolor/128x128/apps/neverball.png")
|
|
|
|
|
("dist/neverball_256.png"
|
|
|
|
|
"/share/icons/hicolor/256x256/apps/neverball.png")
|
|
|
|
|
("dist/neverball_512.png"
|
|
|
|
|
"/share/icons/hicolor/512x512/apps/neverball.png")
|
|
|
|
|
("dist/neverputt_16.png"
|
|
|
|
|
"/share/icons/hicolor/16x16/apps/neverputt.png")
|
|
|
|
|
("dist/neverputt_24.png"
|
|
|
|
|
"/share/icons/hicolor/24x24/apps/neverputt.png")
|
|
|
|
|
("dist/neverputt_32.png"
|
|
|
|
|
"/share/icons/hicolor/32x32/apps/neverputt.png")
|
|
|
|
|
("dist/neverputt_48.png"
|
|
|
|
|
"/share/icons/hicolor/48x48/apps/neverputt.png")
|
|
|
|
|
("dist/neverputt_64.png"
|
|
|
|
|
"/share/icons/hicolor/64x64/apps/neverputt.png")
|
|
|
|
|
("dist/neverputt_128.png"
|
|
|
|
|
"/share/icons/hicolor/128x128/apps/neverputt.png")
|
|
|
|
|
("dist/neverputt_256.png"
|
|
|
|
|
"/share/icons/hicolor/256x256/apps/neverputt.png")
|
|
|
|
|
("dist/neverputt_512.png"
|
|
|
|
|
"/share/icons/hicolor/512x512/apps/neverputt.png")
|
|
|
|
|
("dist/" "share/man/man1" #:include ("mapc.1"))
|
|
|
|
|
("dist/" "share/man/man6" #:include ("neverball.6" "neverputt.6"))
|
|
|
|
|
("doc/" "share/doc/neverball")
|
|
|
|
|
("README.md" "share/doc/neverball/"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'install 'build
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(sdl (assoc-ref inputs "sdl")))
|
|
|
|
|
(invoke "make" "-j" (number->string (parallel-job-count))
|
|
|
|
|
"--environment-overrides"
|
|
|
|
|
"CC=gcc" "BUILD=release"
|
|
|
|
|
(string-append "DATADIR="
|
|
|
|
|
out
|
|
|
|
|
"/share/games/neverball/data")
|
|
|
|
|
(string-append "LOCALEDIR=" out "/share/locale")
|
|
|
|
|
(string-append "SDL_CPPFLAGS=-I"
|
|
|
|
|
sdl
|
|
|
|
|
"/include/SDL2/")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-after 'install 'fix-some-broken-fonts
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out")))
|
|
|
|
|
(wrap-program (string-append out "/bin/neverball")
|
|
|
|
|
`("LANG" = ("en_US.utf8")))
|
|
|
|
|
(wrap-program (string-append out "/bin/neverputt")
|
|
|
|
|
`("LANG" = ("en_US.utf8"))))
|
|
|
|
|
#t)))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gettext" ,gettext-minimal))) ;for msgfmt
|
|
|
|
|
(inputs
|
2020-04-08 13:00:50 +02:00
|
|
|
|
`(("libjpeg" ,libjpeg-turbo)
|
2020-03-31 19:31:30 +02:00
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("physfs" ,physfs)
|
|
|
|
|
("sdl" ,(sdl-union (list sdl2 sdl2-ttf)))))
|
|
|
|
|
(home-page "https://neverball.org/")
|
|
|
|
|
(synopsis "3D floor-tilting game")
|
|
|
|
|
(description
|
|
|
|
|
"In the grand tradition of Marble Madness and Super Monkey Ball,
|
|
|
|
|
Neverball has you guide a rolling ball through dangerous territory. Balance
|
|
|
|
|
on narrow bridges, navigate mazes, ride moving platforms, and dodge pushers
|
|
|
|
|
and shovers to get to the goal. Race against the clock to collect coins to
|
|
|
|
|
earn extra balls. Also included is Neverputt, which is a 3D miniature golf
|
|
|
|
|
game.") ;thanks to Debian for description
|
|
|
|
|
(license license:gpl2+))))
|