2013-12-28 02:19:43 -05:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
|
;;; Copyright © 2013 John Darrington <jmd@gnu.org>
|
2016-05-15 18:32:36 -04:00
|
|
|
|
;;; Copyright © 2014, 2015, 2016 David Thompson <dthompson2@worcester.edu>
|
2016-02-01 00:22:38 -05:00
|
|
|
|
;;; Copyright © 2014, 2015, 2016 Eric Bavier <bavier@member.fsf.org>
|
2014-07-01 08:44:04 -04:00
|
|
|
|
;;; Copyright © 2014 Cyrill Schenkel <cyrill.schenkel@gmail.com>
|
2014-11-10 17:47:00 -05:00
|
|
|
|
;;; Copyright © 2014 Sylvain Beucler <beuc@beuc.net>
|
gnu: Move 'which' to (gnu packages base).
* gnu/packages/which.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Remove it.
* gnu/packages/base.scm (which): New variable.
* gnu/packages/aspell.scm, gnu/packages/audio.scm,
gnu/packages/autogen.scm, gnu/packages/cdrom.scm,
gnu/packages/compression.scm, gnu/packages/datamash.scm,
gnu/packages/games.scm, gnu/packages/glib.scm,
gnu/packages/gnu-pw-mgr.scm, gnu/packages/gnutls.scm,
gnu/packages/gps.scm, gnu/packages/guile.scm,
gnu/packages/java.scm, gnu/packages/libevent.scm,
gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/node.scm, gnu/packages/ntp.scm,
gnu/packages/orpheus.scm, gnu/packages/pciutils.scm,
gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/sawfish.scm,
gnu/packages/scheme.scm, gnu/packages/ssh.scm,
gnu/packages/statistics.scm, gnu/packages/texlive.scm,
gnu/packages/wdiff.scm: Adjust accordingly.
2015-03-04 11:21:21 -05:00
|
|
|
|
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
|
2016-05-28 23:09:11 -04:00
|
|
|
|
;;; Copyright © 2014, 2015, 2016 Sou Bunnbu <iyzsong@gmail.com>
|
2015-10-21 18:37:53 -04:00
|
|
|
|
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
|
2016-03-05 12:40:00 -05:00
|
|
|
|
;;; Copyright © 2015, 2016 Andreas Enge <andreas@enge.fr>
|
2015-02-19 19:47:55 -05:00
|
|
|
|
;;; Copyright © 2015 David Hashe <david.hashe@dhashe.com>
|
2015-04-27 00:40:40 -04:00
|
|
|
|
;;; Copyright © 2015 Christopher Allan Webber <cwebber@dustycloud.org>
|
2015-08-31 04:09:40 -04:00
|
|
|
|
;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
|
2016-01-18 14:31:12 -05:00
|
|
|
|
;;; Copyright © 2015, 2016 Alex Kost <alezost@gmail.com>
|
2015-10-19 09:24:45 -04:00
|
|
|
|
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
|
2015-11-01 18:38:01 -05:00
|
|
|
|
;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
|
2016-02-15 20:07:04 -05:00
|
|
|
|
;;; Copyright © 2016 Rodger Fox <thylakoid@openmailbox.org>
|
2016-02-29 15:20:16 -05:00
|
|
|
|
;;; Copyright © 2016 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
|
2016-03-03 06:41:08 -05:00
|
|
|
|
;;; Copyright © 2016 Nils Gillmann <niasterisk@grrlz.net>
|
2016-04-12 21:50:36 -04:00
|
|
|
|
;;; Copyright © 2016 Albin Söderqvist <albin@fripost.org>
|
2016-05-18 09:58:47 -04:00
|
|
|
|
;;; Copyright © 2016 Kei Kebreau <kei@openmailbox.org>
|
2016-05-05 19:25:45 -04:00
|
|
|
|
;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
|
2016-06-15 05:02:16 -04:00
|
|
|
|
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
|
2013-12-28 02:19:43 -05: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 01:58:55 -04:00
|
|
|
|
#:use-module (ice-9 match)
|
2014-11-16 12:56:12 -05:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
|
#:use-module (guix utils)
|
2013-12-28 02:19:43 -05:00
|
|
|
|
#:use-module (guix packages)
|
|
|
|
|
#:use-module (guix download)
|
2015-08-31 04:09:40 -04:00
|
|
|
|
#:use-module (guix git-download)
|
2015-10-19 09:24:45 -04:00
|
|
|
|
#:use-module (guix svn-download)
|
2014-06-13 00:54:44 -04:00
|
|
|
|
#:use-module (gnu packages)
|
2015-11-18 23:17:02 -05:00
|
|
|
|
#:use-module (gnu packages algebra)
|
2015-10-19 09:24:45 -04:00
|
|
|
|
#:use-module (gnu packages autotools)
|
2015-11-01 13:38:53 -05:00
|
|
|
|
#:use-module (gnu packages backup)
|
2014-09-06 14:03:12 -04:00
|
|
|
|
#:use-module (gnu packages base)
|
2014-10-13 06:33:39 -04:00
|
|
|
|
#:use-module (gnu packages admin)
|
2015-03-05 13:51:02 -05:00
|
|
|
|
#:use-module (gnu packages audio)
|
2016-02-15 20:07:04 -05:00
|
|
|
|
#:use-module (gnu packages avahi)
|
2014-06-13 00:54:44 -04:00
|
|
|
|
#:use-module (gnu packages boost)
|
2015-08-31 04:09:40 -04:00
|
|
|
|
#:use-module (gnu packages fribidi)
|
|
|
|
|
#:use-module (gnu packages game-development)
|
2013-12-28 02:19:43 -05:00
|
|
|
|
#:use-module (gnu packages gettext)
|
|
|
|
|
#:use-module (gnu packages gl)
|
2013-12-30 13:33:53 -05:00
|
|
|
|
#:use-module (gnu packages glib)
|
2013-12-28 02:19:43 -05:00
|
|
|
|
#:use-module (gnu packages gnome)
|
|
|
|
|
#:use-module (gnu packages gtk)
|
|
|
|
|
#:use-module (gnu packages guile)
|
2013-12-30 13:33:53 -05:00
|
|
|
|
#:use-module (gnu packages libcanberra)
|
2015-04-27 00:40:40 -04:00
|
|
|
|
#:use-module (gnu packages libunwind)
|
2015-10-16 09:00:06 -04:00
|
|
|
|
#:use-module (gnu packages haskell)
|
2015-08-31 04:09:40 -04:00
|
|
|
|
#:use-module (gnu packages mp3)
|
2016-04-12 21:50:36 -04:00
|
|
|
|
#:use-module (gnu packages icu4c)
|
gnu: Consolidate libjpeg, libpng, and libtiff into one module.
* gnu/packages/image.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add image.scm and remove libjpeg.scm,
libpng.scm, and libtiff.scm.
* gnu/packages/libjpeg.scm, gnu/packages/libpng.scm, gnu/packages/libtiff.scm:
Delete files.
* gnu/packages/emacs.scm gnu/packages/games.scm, gnu/packages/gd.scm,
gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
gnu/packages/gnustep.scm, gnu/packages/gnuzilla.scm,
gnu/packages/graphviz.scm, gnu/packages/gtk.scm,
gnu/packages/imagemagick.scm, gnu/packages/inkscape.scm,
gnu/packages/netpbm.scm, gnu/packages/pdf.scm, gnu/packages/plotutils.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm, gnu/packages/scheme.scm,
gnu/packages/sdl.scm, gnu/packages/slim.scm, gnu/packages/tcl.scm,
gnu/packages/texlive.scm, gnu/packages/video.scm, gnu/packages/xiph.scm,
gnu/packages/xorg.scm: Use (gnu packages image) module.
2014-06-25 08:39:02 -04:00
|
|
|
|
#:use-module (gnu packages image)
|
2014-07-01 08:44:04 -04:00
|
|
|
|
#:use-module (gnu packages ncurses)
|
2013-12-30 13:33:53 -05:00
|
|
|
|
#:use-module (gnu packages python)
|
|
|
|
|
#:use-module (gnu packages readline)
|
2013-12-28 02:19:43 -05:00
|
|
|
|
#:use-module (gnu packages xorg)
|
|
|
|
|
#:use-module (gnu packages pkg-config)
|
gnu: Consolidate databases in (gnu packages databases).
* gnu/packages/databases.scm: New file, with the contents of the
following deleted files.
* gnu/packages/mysql.scm, gnu/packages/postgresql.scm,
gnu/packages/recutils.scm, gnu/packages/sqlite.scm,
gnu/packages/bdb.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/apl.scm, gnu/packages/dc.scm, gnu/packages/games.scm,
gnu/packages/gnunet.scm, gnu/packages/linux.scm, gnu/packages/mail.scm,
gnu/packages/mpd.scm, gnu/packages/nvi.scm, gnu/packages/openldap.scm,
gnu/packages/package-management.scm, gnu/packages/python.scm,
gnu/packages/qt.scm, gnu/packages/rdf.scm,
gnu/packages/version-control.scm: Adjust to new module name.
2014-09-08 11:48:03 -04:00
|
|
|
|
#:use-module (gnu packages databases)
|
2014-04-30 20:36:32 -04:00
|
|
|
|
#:use-module (gnu packages sdl)
|
2014-07-12 13:42:13 -04:00
|
|
|
|
#:use-module (gnu packages texinfo)
|
2014-11-10 17:47:00 -05:00
|
|
|
|
#:use-module (gnu packages check)
|
2016-03-05 12:40:00 -05:00
|
|
|
|
#:use-module (gnu packages fonts)
|
2014-11-10 17:47:00 -05:00
|
|
|
|
#:use-module (gnu packages fontutils)
|
2015-07-28 21:48:34 -04:00
|
|
|
|
#:use-module (gnu packages gstreamer)
|
2014-11-10 18:05:20 -05:00
|
|
|
|
#:use-module (gnu packages bash)
|
2014-11-12 07:28:51 -05:00
|
|
|
|
#:use-module (gnu packages perl)
|
2014-11-13 09:50:57 -05:00
|
|
|
|
#:use-module (gnu packages qt)
|
|
|
|
|
#:use-module (gnu packages compression)
|
2014-07-18 23:19:30 -04:00
|
|
|
|
#:use-module (gnu packages pulseaudio)
|
|
|
|
|
#:use-module (gnu packages linux)
|
2014-11-16 12:56:12 -05:00
|
|
|
|
#:use-module (gnu packages zip)
|
2014-09-05 14:46:44 -04:00
|
|
|
|
#:use-module (gnu packages xiph)
|
|
|
|
|
#:use-module (gnu packages curl)
|
|
|
|
|
#:use-module (gnu packages lua)
|
2015-01-16 06:53:00 -05:00
|
|
|
|
#:use-module (gnu packages video)
|
|
|
|
|
#:use-module (gnu packages xml)
|
2015-04-27 00:40:40 -04:00
|
|
|
|
#:use-module (gnu packages tcl)
|
2015-08-13 05:48:43 -04:00
|
|
|
|
#:use-module (gnu packages fribidi)
|
2016-05-11 12:24:53 -04:00
|
|
|
|
#:use-module (gnu packages xdisorg)
|
2014-09-06 14:03:12 -04:00
|
|
|
|
#:use-module (guix build-system trivial)
|
2014-11-10 18:05:20 -05:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2015-10-16 09:00:06 -04:00
|
|
|
|
#:use-module (guix build-system haskell)
|
2014-07-18 23:19:30 -04:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2014-11-10 18:05:20 -05:00
|
|
|
|
#:use-module (guix build-system trivial))
|
2013-12-28 02:19:43 -05:00
|
|
|
|
|
2013-12-30 13:33:53 -05:00
|
|
|
|
(define-public gnubg
|
|
|
|
|
(package
|
|
|
|
|
(name "gnubg")
|
|
|
|
|
(version "1.02")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://files.gnubg.org/media/sources/gnubg-release-"
|
|
|
|
|
version ".000-sources." "tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"015mvjk2iw1cg1kxwxfnvp2rxb9cylf6yc39i30fdy414k07zkky"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("glib" ,glib)
|
|
|
|
|
("readline" ,readline)
|
|
|
|
|
("gtk+" ,gtk+-2)
|
|
|
|
|
("mesa" ,mesa)
|
2014-12-26 00:43:05 -05:00
|
|
|
|
("glu" ,glu)
|
2013-12-30 13:33:53 -05:00
|
|
|
|
("gtkglext" ,gtkglext)
|
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
|
("libcanberra" ,libcanberra)))
|
|
|
|
|
(native-inputs `(("python-2" ,python-2)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
2014-12-28 11:57:16 -05:00
|
|
|
|
(home-page "http://gnubg.org")
|
2013-12-30 13:33:53 -05:00
|
|
|
|
(synopsis "Backgammon game")
|
|
|
|
|
(description "The GNU backgammon application 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 12:56:12 -05:00
|
|
|
|
(license license:gpl3+)))
|
2013-12-30 13:33:53 -05:00
|
|
|
|
|
2013-12-28 02:19:43 -05:00
|
|
|
|
(define-public gnubik
|
|
|
|
|
(package
|
|
|
|
|
(name "gnubik")
|
2015-05-12 22:28:49 -04:00
|
|
|
|
(version "2.4.2")
|
2013-12-28 02:19:43 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/gnubik/gnubik-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-05-12 22:28:49 -04:00
|
|
|
|
"0mhpfnxzbns0wfrsjv5vafqr34770rbvkmdzxk0x0aq67hb3zyl5"))))
|
2013-12-28 02:19:43 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("gtk+" ,gtk+-2)
|
|
|
|
|
("mesa" ,mesa)
|
2014-12-26 00:43:47 -05:00
|
|
|
|
("glu" ,glu)
|
2013-12-28 02:19:43 -05:00
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("guile" ,guile-2.0)
|
|
|
|
|
("gtkglext" ,gtkglext)))
|
|
|
|
|
(native-inputs `(("gettext" ,gnu-gettext)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "https://www.gnu.org/software/gnubik/")
|
2014-01-21 18:22:16 -05: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 02:19:43 -05: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 09:31:31 -04:00
|
|
|
|
You may even apply photos to the faces instead of colors. The game is
|
2013-12-28 02:19:43 -05:00
|
|
|
|
scriptable with Guile.")
|
2014-11-16 12:56:12 -05:00
|
|
|
|
(license license:gpl3+)))
|
2014-04-30 20:36:32 -04:00
|
|
|
|
|
|
|
|
|
(define-public abbaye
|
|
|
|
|
(package
|
|
|
|
|
(name "abbaye")
|
|
|
|
|
(version "1.13")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
gnu: Adjust formatting as recommended by 'guix lint'.
* gnu/packages/aidc.scm (barcode, qrencode),
gnu/packages/bash.scm (bash, bash-completion),
gnu/packages/busybox.scm (busybox),
gnu/packages/cdrom.scm (cdparanoia),
gnu/packages/cmake.scm (cmake),
gnu/packages/conkeror.scm (conkeror),
gnu/packages/cook.scm (cook),
gnu/packages/curl.scm (curl),
gnu/packages/docbook.scm (docbook-xsl),
gnu/packages/enlightenment.scm (enlightenment),
gnu/packages/games.scm (abbaye),
gnu/packages/geeqie.scm (exiv2),
gnu/packages/gimp.scm (gegl),
gnu/packages/gl.scm (glu, freeglut, ftgl),
gnu/packages/glib.scm (glib),
gnu/packages/gnome.scm (orbit2, gconf, geocode-glib),
gnu/packages/gstreamer.scm (gstreamer, gst-plugins-base),
gnu/packages/linux.scm (util-linux),
gnu/packages/lisp.scm (gcl, ecl),
gnu/packages/maths.scm (gnuplot, hdf5),
gnu/packages/ssh.scm (dropbear),
gnu/packages/web.scm (json-c): Remove tabulations and trailing
white spaces or reformat to fit within 80 columns.
* gnu/packages/audio.scm (aubio),
gnu/packages/emacs.scm (emacs-s),
gnu/packages/engineering.scm (geda-gaf),
gnu/packages/games.scm (dosbox),
gnu/packages/gnome.scm (gusb),
gnu/packages/gtk.scm (gtk+),
gnu/packages/guile.scm (guile-wisp),
gnu/packages/hurd.scm (hurd-headers),
gnu/packages/wm.scm (i3-wm): Adjust synopsis or description.
2015-11-13 09:50:36 -05:00
|
|
|
|
(uri (string-append "http://abbaye-for-linux.googlecode.com/files/"
|
|
|
|
|
"abbaye-for-linux-src-" version ".tar.gz"))
|
2014-04-30 20:36:32 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1wgvckgqa2084rbskxif58wbb83xbas8s1i8s7d57xbj08ryq8rk"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:modules ((ice-9 match)
|
|
|
|
|
(guix build gnu-build-system)
|
|
|
|
|
(guix build utils))
|
2015-10-10 03:45:04 -04:00
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'set-paths 'set-sdl-paths
|
2015-10-10 03:47:15 -04:00
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(setenv "CPATH"
|
|
|
|
|
(string-append (assoc-ref inputs "sdl-union")
|
|
|
|
|
"/include/SDL"))))
|
2015-10-10 03:45:04 -04:00
|
|
|
|
(add-after 'patch-source-shebangs 'patch-makefile
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
;; Replace /usr with package output directory.
|
|
|
|
|
(for-each (lambda (file)
|
|
|
|
|
(substitute* file
|
|
|
|
|
(("/usr") (assoc-ref outputs "out"))))
|
|
|
|
|
'("makefile" "src/pantallas.c" "src/comun.h"))))
|
|
|
|
|
(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-04-30 20:36:32 -04:00
|
|
|
|
#:tests? #f)) ;; No check target.
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
2015-10-10 03:47:15 -04:00
|
|
|
|
(inputs `(("sdl-union" ,(sdl-union))))
|
2014-04-30 20:36:32 -04:00
|
|
|
|
(home-page "http://code.google.com/p/abbaye-for-linux/")
|
|
|
|
|
(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.")
|
2014-11-16 12:56:12 -05:00
|
|
|
|
(license license:gpl3+)))
|
2014-06-13 00:54:44 -04:00
|
|
|
|
|
|
|
|
|
(define-public pingus
|
|
|
|
|
(package
|
|
|
|
|
(name "pingus")
|
|
|
|
|
(version "0.7.6")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://pingus.googlecode.com/files/pingus-"
|
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0q34d2k6anzqvb0mf67x85q92lfx9jr71ry13dlp47jx0x9i573m"))
|
2016-04-08 08:18:13 -04:00
|
|
|
|
(patches (search-patches "pingus-sdl-libs-config.patch"))))
|
2014-06-13 00:54:44 -04:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
|
|
|
|
("scons" ,scons)))
|
|
|
|
|
(inputs `(("sdl" ,sdl)
|
|
|
|
|
("sdl-image" ,sdl-image)
|
|
|
|
|
("sdl-mixer" ,sdl-mixer)
|
|
|
|
|
("mesa" ,mesa)
|
2014-12-26 00:51:56 -05:00
|
|
|
|
("glu" ,glu)
|
2014-06-13 00:54:44 -04:00
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("boost" ,boost)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ;no check target
|
|
|
|
|
#:phases
|
|
|
|
|
(alist-delete
|
|
|
|
|
'configure
|
|
|
|
|
(alist-replace
|
|
|
|
|
'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(zero? (system* "make" "install"
|
|
|
|
|
(string-append "PREFIX="
|
|
|
|
|
(assoc-ref outputs "out")))))
|
|
|
|
|
%standard-phases))))
|
|
|
|
|
(home-page "http://pingus.seul.org/welcome.html")
|
|
|
|
|
(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 12:56:12 -05:00
|
|
|
|
(license license:gpl3+)))
|
2014-06-27 04:33:08 -04:00
|
|
|
|
|
|
|
|
|
(define-public talkfilters
|
|
|
|
|
(package
|
|
|
|
|
(name "talkfilters")
|
|
|
|
|
(version "2.3.8")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.hyperrealm.com/" name "/"
|
2015-03-14 13:22:25 -04:00
|
|
|
|
name "-" version ".tar.gz"))
|
2014-06-27 04:33:08 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32 "19nc5vq4bnkjvhk8srqddzhcs93jyvpm9r6lzjzwc1mgf08yg0a6"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "http://www.gnu.org/software/talkfilters")
|
|
|
|
|
(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 12:56:12 -05:00
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2014-07-01 08:44:04 -04:00
|
|
|
|
(define-public cmatrix
|
|
|
|
|
(package
|
|
|
|
|
(name "cmatrix")
|
|
|
|
|
(version "1.2a")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.asty.org/cmatrix/dist/cmatrix-" version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0k06fw2n8nzp1pcdynhajp5prba03gfgsbj91bknyjr5xb5fd9hz"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(alist-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"))
|
|
|
|
|
(zero?
|
|
|
|
|
(system* "./configure"
|
|
|
|
|
(string-append "--prefix=" out)))))
|
|
|
|
|
%standard-phases)))
|
|
|
|
|
(inputs `(("ncurses" ,ncurses)))
|
2014-12-28 11:57:16 -05:00
|
|
|
|
(home-page "http://www.asty.org/cmatrix")
|
2014-07-01 08:44:04 -04: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 12:56:12 -05:00
|
|
|
|
(license license:gpl2+)))
|
2014-07-12 13:42:13 -04:00
|
|
|
|
|
|
|
|
|
(define-public chess
|
|
|
|
|
(package
|
|
|
|
|
(name "chess")
|
2015-10-17 15:46:42 -04:00
|
|
|
|
(version "6.2.2")
|
2014-07-12 13:42:13 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/chess/gnuchess-" version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-10-17 15:46:42 -04:00
|
|
|
|
"1a41ag03q66pwy3pjrmbxxjpzi9fcaiiaiywd7m9v25mxqac2xkp"))))
|
2014-07-12 13:42:13 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2014-12-28 11:57:16 -05:00
|
|
|
|
(home-page "http://www.gnu.org/software/chess")
|
2014-07-12 13:42:13 -04: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.")
|
2014-11-16 12:56:12 -05:00
|
|
|
|
(license license:gpl3+)))
|
2014-07-12 13:42:13 -04:00
|
|
|
|
|
2014-11-10 18:05:20 -05:00
|
|
|
|
(define freedink-engine
|
2014-11-10 17:47:00 -05:00
|
|
|
|
(package
|
|
|
|
|
(name "freedink-engine")
|
|
|
|
|
(version "108.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/freedink/freedink-" version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"08c51imfjfcydm7h0va09z8qfw5nc837bi2x754ni2z737hb5kw2"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments `(#:configure-flags '("--disable-embedded-resources")))
|
|
|
|
|
(native-inputs `(("gettext" ,gnu-gettext)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs `(("sdl" ,sdl)
|
|
|
|
|
("sdl-image" ,sdl-image)
|
|
|
|
|
("sdl-mixer" ,sdl-mixer)
|
|
|
|
|
("sdl-ttf" ,sdl-ttf)
|
|
|
|
|
("sdl-gfx" ,sdl-gfx)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("check" ,check)))
|
|
|
|
|
(home-page "http://www.gnu.org/software/freedink/")
|
|
|
|
|
(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 12:56:12 -05:00
|
|
|
|
(license license:gpl3+)))
|
2014-11-10 17:47:00 -05:00
|
|
|
|
|
2014-11-10 18:05:20 -05:00
|
|
|
|
(define freedink-data
|
2014-11-10 17:47:00 -05:00
|
|
|
|
(package
|
|
|
|
|
(name "freedink-data")
|
|
|
|
|
(version "1.08.20140901")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/freedink/freedink-data-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"04f1aa8gfz30qkgv7chjz5n1s8v5hbqs01h2113cq1ylm3isd5sp"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (alist-delete 'configure (alist-delete 'check %standard-phases))
|
|
|
|
|
#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))))
|
|
|
|
|
(home-page "http://www.gnu.org/software/freedink/")
|
|
|
|
|
(synopsis "Game data for GNU Freedink")
|
|
|
|
|
(description
|
|
|
|
|
"This package contains the game data of GNU Freedink.")
|
2014-11-16 12:56:12 -05:00
|
|
|
|
(license license:gpl3+)))
|
2014-11-10 17:47:00 -05:00
|
|
|
|
|
|
|
|
|
;; TODO: Add freedink-dfarc when there's a wxWidgets package.
|
|
|
|
|
|
2014-11-10 18:05:20 -05: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"))
|
|
|
|
|
(chmod port #o777)))))
|
|
|
|
|
#:modules ((guix build utils))))
|
|
|
|
|
(inputs `(("engine" ,freedink-engine)
|
|
|
|
|
("data" ,freedink-data)
|
|
|
|
|
("bash" ,bash)))
|
|
|
|
|
(native-inputs '())))
|
|
|
|
|
|
2014-07-12 13:42:13 -04:00
|
|
|
|
(define-public xboard
|
|
|
|
|
(package
|
|
|
|
|
(name "xboard")
|
2016-06-09 01:59:50 -04:00
|
|
|
|
(version "4.9.0")
|
2014-07-12 13:42:13 -04:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://gnu/xboard/xboard-" version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-06-09 01:59:50 -04:00
|
|
|
|
"1av6r3s5vyclwf3c9i1pkr2442ryrf4ixhhf2i44a4j1xyhlp5jb"))))
|
2014-07-12 13:42:13 -04:00
|
|
|
|
(build-system gnu-build-system)
|
2016-06-09 01:59:50 -04:00
|
|
|
|
(inputs
|
|
|
|
|
`(("gtk+" ,gtk+-2)
|
|
|
|
|
("librsvg" ,librsvg)))
|
2014-07-12 13:42:13 -04:00
|
|
|
|
(native-inputs `(("texinfo" ,texinfo)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(home-page "http://www.gnu.org/software/xboard")
|
|
|
|
|
(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 12:56:12 -05:00
|
|
|
|
(license license:gpl3+)))
|
2014-10-13 06:33:39 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(define-public xboing
|
|
|
|
|
(package
|
|
|
|
|
(name "xboing")
|
|
|
|
|
(version "2.4")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.techrescue.org/xboing/xboing"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "16m2si8wmshxpifk861vhpqviqxgcg8bxj6wfw8hpnm4r2w9q0b7"))))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f
|
|
|
|
|
#:phases
|
|
|
|
|
(alist-replace
|
2015-03-14 13:22:25 -04:00
|
|
|
|
'configure
|
2014-10-13 06:33:39 -04:00
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2015-03-14 13:22:25 -04:00
|
|
|
|
|
|
|
|
|
(substitute* "Imakefile"
|
2014-10-13 06:33:39 -04:00
|
|
|
|
(("XPMINCLUDE[\t ]*= -I/usr/X11/include/X11")
|
|
|
|
|
(string-append "XPMINCLUDE = -I" (assoc-ref %build-inputs "libxpm")
|
|
|
|
|
"/include/X11")))
|
2015-03-14 13:22:25 -04:00
|
|
|
|
|
|
|
|
|
(substitute* "Imakefile"
|
2014-10-13 06:33:39 -04:00
|
|
|
|
(("XBOING_DIR = \\.") "XBOING_DIR=$(PROJECTROOT)"))
|
2015-03-14 13:22:25 -04:00
|
|
|
|
|
2014-10-13 06:33:39 -04:00
|
|
|
|
;; FIXME: HIGH_SCORE_FILE should be set to somewhere writeable
|
2015-03-14 13:22:25 -04:00
|
|
|
|
|
|
|
|
|
(zero? (system* "xmkmf" "-a"
|
|
|
|
|
(string-append "-DProjectRoot="
|
2014-10-13 06:33:39 -04:00
|
|
|
|
(assoc-ref outputs "out")))))
|
|
|
|
|
(alist-replace 'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(and
|
|
|
|
|
(zero? (system* "make" "install.man"))
|
|
|
|
|
(zero? (system* "make" "install"))))
|
|
|
|
|
%standard-phases))))
|
|
|
|
|
(inputs `(("libx11" ,libx11)
|
|
|
|
|
("libxext" ,libxext)
|
|
|
|
|
("libxpm" ,libxpm)))
|
|
|
|
|
(native-inputs `(("imake" ,imake)
|
|
|
|
|
("inetutils" ,inetutils)
|
|
|
|
|
("makedepend" ,makedepend)))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "http://www.techrescue.org/xboing")
|
|
|
|
|
(synopsis "Ball and paddle game")
|
|
|
|
|
(description "XBoing is a blockout type game where you have a paddle which
|
|
|
|
|
you control to bounce a ball around the game zone destroying blocks with a
|
gnu: Some cleanup based on lint checkers.
* gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/algebra.scm,
gnu/packages/apr.scm, gnu/packages/avahi.scm, gnu/packages/backup.scm,
gnu/packages/base.scm, gnu/packages/calcurse.scm, gnu/packages/cdrom.scm,
gnu/packages/check.scm, gnu/packages/compression.scm, gnu/packages/cook.scm,
gnu/packages/crypto.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm,
gnu/packages/cyrus-sasl.scm, gnu/packages/databases.scm,
gnu/packages/doxygen.scm, gnu/packages/dwm.scm, gnu/packages/elf.scm,
gnu/packages/emacs.scm, gnu/packages/feh.scm, gnu/packages/file.scm,
gnu/packages/fish.scm, gnu/packages/flex.scm, gnu/packages/fltk.scm,
gnu/packages/fontutils.scm, gnu/packages/games.scm, gnu/packages/gcal.scm,
gnu/packages/gcc.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
gnu/packages/gimp.scm, gnu/packages/gl.scm, gnu/packages/glib.scm,
gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm,
gnu/packages/gperf.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm,
gnu/packages/gtk.scm, gnu/packages/guile-wm.scm, gnu/packages/guile.scm,
gnu/packages/hurd.scm, gnu/packages/icu4c.scm, gnu/packages/image.scm,
gnu/packages/imagemagick.scm, gnu/packages/irssi.scm, gnu/packages/kde.scm,
gnu/packages/libdaemon.scm, gnu/packages/libevent.scm,
gnu/packages/libidn.scm, gnu/packages/libusb.scm, gnu/packages/linux.scm,
gnu/packages/lout.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm,
gnu/packages/lua.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm,
gnu/packages/mp3.scm, gnu/packages/netpbm.scm, gnu/packages/noweb.scm,
gnu/packages/ocaml.scm, gnu/packages/openssl.scm, gnu/packages/pcre.scm,
gnu/packages/pdf.scm, gnu/packages/pkg-config.scm,
gnu/packages/pretty-print.scm, gnu/packages/python.scm, gnu/packages/qt.scm,
gnu/packages/rsync.scm, gnu/packages/scheme.scm, gnu/packages/scrot.scm,
gnu/packages/sdl.scm, gnu/packages/skribilo.scm, gnu/packages/ssh.scm,
gnu/packages/stalonetray.scm, gnu/packages/tcl.scm, gnu/packages/tcsh.scm,
gnu/packages/telephony.scm, gnu/packages/texlive.scm, gnu/packages/tor.scm,
gnu/packages/valgrind.scm, gnu/packages/version-control.scm,
gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
gnu/packages/web.scm, gnu/packages/wordnet.scm, gnu/packages/xiph.scm,
gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/zile.scm,
gnu/packages/zip.scm, gnu/packages/zsh.scm [synopsis, description]: Adjust
according to lint checkers.
* gnu/packages/fltk.scm (fltk)[source]: Wrap long line in uri.
* /gnu/packages/xiph.scm (libogg, libtheora, vorbis-tools)[source]: Same.
2014-10-24 00:46:59 -04:00
|
|
|
|
proton ball. Each block carries a different point value. The more blocks you
|
|
|
|
|
destroy, the better your score. The person with the highest score wins.")
|
2014-11-16 12:56:12 -05:00
|
|
|
|
(license (license:x11-style "file://COPYING"
|
|
|
|
|
"Very similar to the X11 licence."))))
|
2014-11-12 07:28:51 -05: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>.
|
|
|
|
|
'(for-each (lambda (file)
|
|
|
|
|
(substitute* file
|
|
|
|
|
(("ncursesw/ncurses.h")
|
|
|
|
|
"ncurses.h")))
|
|
|
|
|
(find-files "." "configure$|\\.c$")))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("ncurses" ,ncurses)
|
|
|
|
|
("perl" ,perl)))
|
|
|
|
|
(home-page "http://www.gnu.org/software/gtypist/")
|
|
|
|
|
(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 12:56:12 -05:00
|
|
|
|
(license license:gpl3+)))
|
2014-11-13 09:50:57 -05:00
|
|
|
|
|
2014-11-16 12:56:12 -05:00
|
|
|
|
(define-public irrlicht
|
|
|
|
|
(package
|
|
|
|
|
(name "irrlicht")
|
|
|
|
|
(version "1.8.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://sourceforge/irrlicht/Irrlicht%20SDK/"
|
|
|
|
|
(version-major+minor version)
|
|
|
|
|
"/" version "/irrlicht-" version ".zip"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0yz9lvsc8aqk8wj4rnpanxrw90gqpwn9w5hxp94r8hnm2q0vjjw1"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (alist-cons-after
|
|
|
|
|
'unpack 'fix-build-env
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("INSTALL_DIR = /usr/local/lib")
|
|
|
|
|
(string-append "INSTALL_DIR = " out "/lib")))
|
|
|
|
|
;; The Makefile assumes these directories exist.
|
|
|
|
|
(mkdir-p (string-append out "/lib"))
|
|
|
|
|
(mkdir-p (string-append out "/include"))))
|
|
|
|
|
(alist-replace
|
|
|
|
|
'unpack
|
|
|
|
|
(lambda* (#:key source #:allow-other-keys)
|
|
|
|
|
(and (zero? (system* "unzip" source))
|
|
|
|
|
;; The actual source is buried a few directories deep.
|
|
|
|
|
(chdir "irrlicht-1.8.1/source/Irrlicht/")))
|
2014-12-26 15:48:26 -05:00
|
|
|
|
(alist-cons-after
|
|
|
|
|
'unpack 'apply-patch/mesa-10-fix
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(zero? (system* "patch" "--force" "-p3" "-i"
|
|
|
|
|
(assoc-ref inputs "patch/mesa-10-fix"))))
|
|
|
|
|
;; No configure script
|
|
|
|
|
(alist-delete 'configure %standard-phases))))
|
2014-11-16 12:56:12 -05:00
|
|
|
|
#:tests? #f ; no check target
|
|
|
|
|
#:make-flags '("CC=gcc" "sharedlib")))
|
|
|
|
|
(native-inputs
|
2014-12-26 15:48:26 -05:00
|
|
|
|
`(("patch/mesa-10-fix" ,(search-patch "irrlicht-mesa-10.patch"))
|
|
|
|
|
("unzip" ,unzip)))
|
2014-11-16 12:56:12 -05:00
|
|
|
|
(inputs
|
2014-12-26 15:48:26 -05:00
|
|
|
|
`(("mesa" ,mesa)
|
|
|
|
|
("glu" ,glu)))
|
2014-11-16 12:56:12 -05: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 14:03:12 -04:00
|
|
|
|
|
2015-08-31 04:09:40 -04: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 07:29:52 -04:00
|
|
|
|
(let ((commit "c855d044094a1d92317e38935d81ba938946132e")
|
2015-08-31 04:09:40 -04:00
|
|
|
|
(revision "1"))
|
|
|
|
|
(package
|
|
|
|
|
(name "mars")
|
2016-06-02 07:29:52 -04:00
|
|
|
|
(version (string-append "0.7.5." revision "." (string-take commit 7) ))
|
2015-08-31 04:09:40 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/thelaui/M.A.R.S..git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(file-name (string-append name "-" version))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1r4c5gap1z2zsv4yjd34qriqkxaq4lb4rykapyzkkdf4g36lc3nh"))
|
2016-04-08 08:18:13 -04:00
|
|
|
|
(patches (search-patches "mars-sfml-2.3.patch"
|
|
|
|
|
"mars-install.patch"))))
|
2015-08-31 04:09:40 -04: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)))
|
|
|
|
|
(home-page "http://marsshooter.org")
|
|
|
|
|
(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 14:03:12 -04:00
|
|
|
|
(define minetest-data
|
|
|
|
|
(package
|
|
|
|
|
(name "minetest-data")
|
2016-05-15 18:32:36 -04:00
|
|
|
|
(version "0.4.14")
|
2014-09-06 14:03:12 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/minetest/minetest_game/archive/"
|
|
|
|
|
version ".tar.gz"))
|
gnu: Add 'file-name' fields for github source tarballs without a name.
* gnu/packages/aarddict.scm (aarddict), gnu/packages/algebra.scm (arb),
gnu/packages/audio.scm (jack-2, lvtk),
gnu/packages/bioinformatics.scm (bedops, bedtools, bowtie),
gnu/packages/game-development.scm (tiled),
gnu/packages/games.scm (minetest-data, minetest, retroarch),
gnu/packages/jrnl.scm (jrnl), gnu/packages/kde.scm (qjson),
gnu/packages/libevent.scm (libuv), gnu/packages/linux.scm (pflask),
gnu/packages/mail.scm (offlineimap, libetpan),
gnu/packages/maths.scm (arpack-ng), gnu/packages/ninja.scm (ninja),
gnu/packages/nutrition.scm (gourmet),
gnu/packages/python.scm (python-cairocffi), gnu/packages/rdf.scm (lrdf),
gnu/packages/ruby.scm (ruby-i18n), gnu/packages/sxiv.scm (sxiv): Add
'file-name' field to origin.
2015-02-27 12:23:27 -05:00
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2014-09-06 14:03:12 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-05-15 18:32:36 -04:00
|
|
|
|
"11fzdh4icx2yvjfz1skdql0d0wxpzdr006k993v33x72s0q2ig7f"))))
|
2014-09-06 14:03:12 -04:00
|
|
|
|
(build-system trivial-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("source" ,source)
|
|
|
|
|
("tar" ,tar)
|
|
|
|
|
("gzip" ,(@ (gnu packages compression) gzip))))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((guix build utils))
|
|
|
|
|
#:builder (begin
|
|
|
|
|
(use-modules (guix build utils))
|
|
|
|
|
(let ((tar (string-append (assoc-ref %build-inputs "tar")
|
|
|
|
|
"/bin/tar"))
|
|
|
|
|
(install-dir (string-append
|
|
|
|
|
%output
|
|
|
|
|
"/share/minetest/games/minetest_game"))
|
|
|
|
|
(path (string-append (assoc-ref %build-inputs
|
|
|
|
|
"gzip")
|
|
|
|
|
"/bin")))
|
|
|
|
|
(setenv "PATH" path)
|
|
|
|
|
(system* tar "xvf" (assoc-ref %build-inputs "source"))
|
|
|
|
|
(chdir (string-append "minetest_game-" ,version))
|
|
|
|
|
(mkdir-p install-dir)
|
|
|
|
|
(copy-recursively "." install-dir)))))
|
|
|
|
|
(synopsis "Main game data for the Minetest game engine")
|
|
|
|
|
(description
|
|
|
|
|
"Game data for the Minetest infinite-world block sandox game.")
|
|
|
|
|
(home-page "http://minetest.net")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2014-09-05 14:46:44 -04:00
|
|
|
|
|
|
|
|
|
(define-public minetest
|
|
|
|
|
(package
|
|
|
|
|
(name "minetest")
|
2016-05-15 18:32:36 -04:00
|
|
|
|
(version "0.4.14")
|
2014-09-05 14:46:44 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/minetest/minetest/archive/"
|
|
|
|
|
version ".tar.gz"))
|
gnu: Add 'file-name' fields for github source tarballs without a name.
* gnu/packages/aarddict.scm (aarddict), gnu/packages/algebra.scm (arb),
gnu/packages/audio.scm (jack-2, lvtk),
gnu/packages/bioinformatics.scm (bedops, bedtools, bowtie),
gnu/packages/game-development.scm (tiled),
gnu/packages/games.scm (minetest-data, minetest, retroarch),
gnu/packages/jrnl.scm (jrnl), gnu/packages/kde.scm (qjson),
gnu/packages/libevent.scm (libuv), gnu/packages/linux.scm (pflask),
gnu/packages/mail.scm (offlineimap, libetpan),
gnu/packages/maths.scm (arpack-ng), gnu/packages/ninja.scm (ninja),
gnu/packages/nutrition.scm (gourmet),
gnu/packages/python.scm (python-cairocffi), gnu/packages/rdf.scm (lrdf),
gnu/packages/ruby.scm (ruby-i18n), gnu/packages/sxiv.scm (sxiv): Add
'file-name' field to origin.
2015-02-27 12:23:27 -05:00
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2014-09-05 14:46:44 -04:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-05-15 18:32:36 -04:00
|
|
|
|
"0m3hhk5icx4y4gd970z7ya2013fq4vvqbjljmck62ik03baf8g90"))))
|
2014-09-05 14:46:44 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
2015-03-14 13:22:25 -04:00
|
|
|
|
'(#:configure-flags
|
|
|
|
|
(list "-DRUN_IN_PLACE=0"
|
|
|
|
|
"-DENABLE_FREETYPE=1"
|
|
|
|
|
"-DENABLE_GETTEXT=1"
|
|
|
|
|
(string-append "-DIRRLICHT_INCLUDE_DIR="
|
|
|
|
|
(assoc-ref %build-inputs "irrlicht")
|
|
|
|
|
"/include/irrlicht")
|
|
|
|
|
(string-append "-DCURL_INCLUDE_DIR="
|
|
|
|
|
(assoc-ref %build-inputs "curl")
|
|
|
|
|
"/include/curl"))
|
2014-09-05 14:46:44 -04:00
|
|
|
|
#:tests? #f)) ; no check target
|
|
|
|
|
(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 17:22:08 -05:00
|
|
|
|
(files '("share/minetest/games")))))
|
2014-09-05 14:46:44 -04:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("irrlicht" ,irrlicht)
|
|
|
|
|
("libpng" ,libpng)
|
2015-03-14 13:43:47 -04:00
|
|
|
|
("libjpeg" ,libjpeg)
|
2014-09-05 14:46:44 -04:00
|
|
|
|
("libxxf86vm" ,libxxf86vm)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("libogg" ,libogg)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("freetype" ,(@ (gnu packages fontutils) freetype))
|
|
|
|
|
("curl" ,curl)
|
|
|
|
|
("luajit" ,luajit)
|
|
|
|
|
("gettext" ,gnu-gettext)
|
|
|
|
|
("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.")
|
|
|
|
|
(home-page "http://minetest.net")
|
|
|
|
|
(license license:lgpl2.1+)))
|
2014-11-18 10:58:02 -05: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
|
|
|
|
|
(alist-replace
|
|
|
|
|
'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(inc (string-append out "/include")))
|
|
|
|
|
(mkdir-p inc)
|
|
|
|
|
(for-each
|
|
|
|
|
(lambda (file)
|
|
|
|
|
(copy-file file (string-append inc "/" file)))
|
|
|
|
|
'("glk.h" "glkstart.h" "gi_blorb.h" "gi_dispa.h" "Make.glkterm"))
|
|
|
|
|
(mkdir (string-append out "/lib"))
|
|
|
|
|
(copy-file "libglkterm.a" (string-append out "/lib/libglkterm.a"))))
|
|
|
|
|
(alist-delete 'configure %standard-phases))))
|
|
|
|
|
(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,
|
|
|
|
|
using the curses.h library for screen control.")
|
|
|
|
|
(license (license:fsf-free "file://README"))))
|
|
|
|
|
|
|
|
|
|
(define-public glulxe
|
|
|
|
|
(package
|
|
|
|
|
(name "glulxe")
|
|
|
|
|
(version "0.5.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.ifarchive.org/if-archive/programming/"
|
|
|
|
|
"glulx/interpreters/glulxe/glulxe-052.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"19iw6kl8ncqcy9pv4gsqfh3xsa1n94zd234rqavvmxccnf3nj19g"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("glk" ,glkterm)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; no check target
|
|
|
|
|
#: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
|
|
|
|
|
(alist-replace
|
|
|
|
|
'install
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((bin (string-append (assoc-ref outputs "out") "/bin")))
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(copy-file "glulxe" (string-append bin "/glulxe"))))
|
|
|
|
|
(alist-delete 'configure %standard-phases))))
|
|
|
|
|
(home-page "http://www.eblong.com/zarf/glulx/")
|
|
|
|
|
(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
|
|
|
|
|
reference interpreter, using Glk API.")
|
|
|
|
|
(license (license:fsf-free "file://README"))))
|
2015-01-16 06:53:00 -05:00
|
|
|
|
|
2015-05-21 08:13:41 -04:00
|
|
|
|
(define-public fizmo
|
|
|
|
|
(package
|
|
|
|
|
(name "fizmo")
|
|
|
|
|
(version "0.7.9")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://christoph-ender.de/fizmo/source/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1w7cgyjrhgkadjrazijzhq7zh0pl5bfc6wl7mdpgh020y4kp46d7"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:configure-flags
|
|
|
|
|
(let ((libjpeg (assoc-ref %build-inputs "libjpeg"))
|
|
|
|
|
(ncurses (assoc-ref %build-inputs "ncurses")))
|
|
|
|
|
(list (string-append "jpeg_CFLAGS=-I" libjpeg "/include")
|
|
|
|
|
(string-append "jpeg_LIBS=-ljpeg")
|
|
|
|
|
(string-append "ncursesw_CFLAGS=-I" ncurses "/include")
|
|
|
|
|
(string-append "ncursesw_LIBS=-lncursesw")))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libjpeg" ,libjpeg)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("libsndfile" ,libsndfile)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
|
("sdl" ,sdl)))
|
|
|
|
|
(home-page "https://christoph-ender.de/fizmo/")
|
|
|
|
|
(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 08:16:07 -04:00
|
|
|
|
interactive fiction, also known as text adventures, which were implemented
|
2015-05-21 08:13:41 -04:00
|
|
|
|
either by Infocom or created using the Inform compiler.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2015-01-16 06:53:00 -05:00
|
|
|
|
(define-public retroarch
|
|
|
|
|
(package
|
|
|
|
|
(name "retroarch")
|
2016-05-28 23:09:11 -04:00
|
|
|
|
(version "1.3.4")
|
2015-01-16 06:53:00 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2015-07-23 09:11:34 -04:00
|
|
|
|
(uri (string-append "https://github.com/libretro/RetroArch/archive/v"
|
2015-01-16 06:53:00 -05:00
|
|
|
|
version ".tar.gz"))
|
gnu: Add 'file-name' fields for github source tarballs without a name.
* gnu/packages/aarddict.scm (aarddict), gnu/packages/algebra.scm (arb),
gnu/packages/audio.scm (jack-2, lvtk),
gnu/packages/bioinformatics.scm (bedops, bedtools, bowtie),
gnu/packages/game-development.scm (tiled),
gnu/packages/games.scm (minetest-data, minetest, retroarch),
gnu/packages/jrnl.scm (jrnl), gnu/packages/kde.scm (qjson),
gnu/packages/libevent.scm (libuv), gnu/packages/linux.scm (pflask),
gnu/packages/mail.scm (offlineimap, libetpan),
gnu/packages/maths.scm (arpack-ng), gnu/packages/ninja.scm (ninja),
gnu/packages/nutrition.scm (gourmet),
gnu/packages/python.scm (python-cairocffi), gnu/packages/rdf.scm (lrdf),
gnu/packages/ruby.scm (ruby-i18n), gnu/packages/sxiv.scm (sxiv): Add
'file-name' field to origin.
2015-02-27 12:23:27 -05:00
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2015-01-16 06:53:00 -05:00
|
|
|
|
(sha256
|
2016-05-28 23:09:11 -04:00
|
|
|
|
(base32 "077v1sj000y3csjw9vradba3k2aknvg5k8521z8aya6q987klwx5"))))
|
2015-01-16 06:53:00 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; no tests
|
|
|
|
|
#:phases
|
|
|
|
|
(alist-replace
|
|
|
|
|
'configure
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "qb/qb.libs.sh"
|
|
|
|
|
(("/bin/true") (which "true")))
|
|
|
|
|
(zero? (system*
|
|
|
|
|
"./configure"
|
|
|
|
|
(string-append "--prefix=" %output)
|
|
|
|
|
(string-append "--global-config-dir=" %output "/etc"))))
|
|
|
|
|
%standard-phases)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("ffmpeg" ,ffmpeg)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
|
("libxkbcommon" ,libxkbcommon)
|
|
|
|
|
("libxml2" ,libxml2)
|
|
|
|
|
("libxv" ,libxv)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
|
|
|
|
("python" ,python)
|
|
|
|
|
("sdl" ,sdl2)
|
|
|
|
|
("udev" ,eudev)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(home-page "http://www.libretro.com/")
|
|
|
|
|
(synopsis "Reference frontend for the libretro API")
|
|
|
|
|
(description
|
|
|
|
|
"Libretro is a simple but powerful development interface that allows for
|
|
|
|
|
the easy creation of emulators, games and multimedia applications that can plug
|
|
|
|
|
straight into any libretro-compatible frontend. RetroArch is the official
|
|
|
|
|
reference frontend for the libretro API, currently used by most as a modular
|
|
|
|
|
multi-system game/emulator system.")
|
|
|
|
|
(license license:gpl3+)))
|
2015-02-19 19:47:55 -05: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 17:12:16 -05:00
|
|
|
|
(synopsis "Play the game of Go")
|
2015-07-16 05:14:13 -04: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).")
|
2015-02-19 19:47:55 -05:00
|
|
|
|
(home-page "http://www.gnu.org/software/gnugo/")
|
|
|
|
|
(license license:gpl3+)))
|
2015-04-27 00:40:40 -04:00
|
|
|
|
|
|
|
|
|
(define-public extremetuxracer
|
|
|
|
|
(package
|
|
|
|
|
(name "extremetuxracer")
|
|
|
|
|
(version "0.6.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://downloads.sourceforge.net/project/extremetuxracer/releases/"
|
|
|
|
|
version "/etr-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0fl9pwkywqnsmgr6plfj9zb05xrdnl5xb2hcmbjk7ap9l4cjfca4"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("freetype" ,freetype)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("libice" ,libice)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("sdl" ,sdl)
|
|
|
|
|
("sdl-mixer" ,sdl-mixer)
|
|
|
|
|
("sdl-image" ,sdl-image)
|
|
|
|
|
("libsm" ,libsm)
|
|
|
|
|
("libunwind" ,libunwind)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxext" ,libxext)
|
|
|
|
|
("libxi" ,libxi)
|
|
|
|
|
("libxmu" ,libxmu)
|
|
|
|
|
("libxt" ,libxt)
|
|
|
|
|
("tcl" ,tcl)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'configure 'patch-makefile
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("CXXFLAGS =") "CXXFLAGS = ${CFLAGS}")))))))
|
|
|
|
|
(synopsis "High speed arctic racing game based on Tux Racer")
|
|
|
|
|
;; Snarfed straight from Debian
|
|
|
|
|
(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.")
|
|
|
|
|
(home-page "http://sourceforge.net/projects/extremetuxracer/")
|
|
|
|
|
(license license:gpl2+)))
|
2015-05-15 02:01:29 -04: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
|
|
|
|
|
(lambda _ (setenv "LIBS" "-lm"))))))
|
|
|
|
|
(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 08:37:28 -05:00
|
|
|
|
("mesa" ,mesa)
|
2015-05-15 02:01:29 -04: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 05:48:43 -04:00
|
|
|
|
|
|
|
|
|
(define-public wesnoth
|
|
|
|
|
(package
|
|
|
|
|
(name "wesnoth")
|
2016-05-05 19:25:45 -04:00
|
|
|
|
(version "1.12.5")
|
2015-08-13 05:48:43 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/wesnoth/"
|
|
|
|
|
name "-" version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-05-05 19:25:45 -04:00
|
|
|
|
"07d8ms9ayswg2g530p0zwmz3d77zv68l6nmc718iq9sbv90av6jr"))))
|
2015-08-13 05:48:43 -04:00
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f ; no check target
|
|
|
|
|
#:configure-flags
|
|
|
|
|
;; XXX: Failed to compile with '-Werror=old-style-cast'.
|
|
|
|
|
;; boost/mpl/assert.hpp:313:58: error:
|
|
|
|
|
;; use of old-style cast [-Werror=old-style-cast]
|
|
|
|
|
;; [...]
|
|
|
|
|
;; cc1plus: all warnings being treated as errors
|
|
|
|
|
'("-DENABLE_STRICT_COMPILATION=OFF")))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("gettext" ,gnu-gettext)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("dbus" ,dbus)
|
|
|
|
|
("fribidi" ,fribidi)
|
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
|
("pango" ,pango)
|
|
|
|
|
("sdl-image" ,sdl-image)
|
|
|
|
|
("sdl-mixer" ,sdl-mixer)
|
|
|
|
|
("sdl-net" ,sdl-net)
|
|
|
|
|
("sdl-ttf" ,sdl-ttf)))
|
|
|
|
|
(home-page "http://www.wesnoth.org/")
|
|
|
|
|
(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-28 21:48:34 -04:00
|
|
|
|
|
2015-10-19 09:24:45 -04:00
|
|
|
|
(define-public dosbox
|
|
|
|
|
(package
|
|
|
|
|
(name "dosbox")
|
|
|
|
|
(version "0.74.svn3947")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method svn-fetch)
|
|
|
|
|
(uri (svn-reference
|
|
|
|
|
(url "http://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk/")
|
|
|
|
|
(revision 3947)))
|
2015-10-22 05:22:36 -04:00
|
|
|
|
(file-name (string-append name "-" version "-checkout"))
|
2015-10-19 09:24:45 -04:00
|
|
|
|
;; Use SVN head, since the last release (2010) is incompatible
|
|
|
|
|
;; with GCC 4.8+ (see
|
|
|
|
|
;; <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624976>).
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1p918j6090d1nkvgq7ifvmn506zrdmyi32y7p3ms40d5ssqjg8fj"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
2015-10-21 18:37:53 -04:00
|
|
|
|
(add-after
|
|
|
|
|
'unpack 'autogen.sh
|
2015-10-19 09:24:45 -04:00
|
|
|
|
(lambda _
|
|
|
|
|
(zero? (system* "sh" "autogen.sh")))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
|
("automake" ,automake)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("sdl" ,sdl)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("zlib" ,zlib)
|
|
|
|
|
("alsa-lib" ,alsa-lib)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("mesa" ,mesa)))
|
|
|
|
|
(home-page "http://www.dosbox.com")
|
gnu: Adjust formatting as recommended by 'guix lint'.
* gnu/packages/aidc.scm (barcode, qrencode),
gnu/packages/bash.scm (bash, bash-completion),
gnu/packages/busybox.scm (busybox),
gnu/packages/cdrom.scm (cdparanoia),
gnu/packages/cmake.scm (cmake),
gnu/packages/conkeror.scm (conkeror),
gnu/packages/cook.scm (cook),
gnu/packages/curl.scm (curl),
gnu/packages/docbook.scm (docbook-xsl),
gnu/packages/enlightenment.scm (enlightenment),
gnu/packages/games.scm (abbaye),
gnu/packages/geeqie.scm (exiv2),
gnu/packages/gimp.scm (gegl),
gnu/packages/gl.scm (glu, freeglut, ftgl),
gnu/packages/glib.scm (glib),
gnu/packages/gnome.scm (orbit2, gconf, geocode-glib),
gnu/packages/gstreamer.scm (gstreamer, gst-plugins-base),
gnu/packages/linux.scm (util-linux),
gnu/packages/lisp.scm (gcl, ecl),
gnu/packages/maths.scm (gnuplot, hdf5),
gnu/packages/ssh.scm (dropbear),
gnu/packages/web.scm (json-c): Remove tabulations and trailing
white spaces or reformat to fit within 80 columns.
* gnu/packages/audio.scm (aubio),
gnu/packages/emacs.scm (emacs-s),
gnu/packages/engineering.scm (geda-gaf),
gnu/packages/games.scm (dosbox),
gnu/packages/gnome.scm (gusb),
gnu/packages/gtk.scm (gtk+),
gnu/packages/guile.scm (guile-wisp),
gnu/packages/hurd.scm (hurd-headers),
gnu/packages/wm.scm (i3-wm): Adjust synopsis or description.
2015-11-13 09:50:36 -05:00
|
|
|
|
(synopsis "X86 emulator with CGA/EGA/VGA/etc. graphics and sound")
|
2015-10-19 09:24:45 -04:00
|
|
|
|
(description "DOSBox is a DOS-emulator that uses the SDL library. DOSBox
|
|
|
|
|
also emulates CPU:286/386 realmode/protected mode, Directory
|
|
|
|
|
FileSystem/XMS/EMS, Tandy/Hercules/CGA/EGA/VGA/VESA graphics, a
|
|
|
|
|
SoundBlaster/Gravis Ultra Sound card for excellent sound compatibility with
|
|
|
|
|
older games.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-07-28 21:48:34 -04:00
|
|
|
|
(define-public gamine
|
|
|
|
|
(package
|
|
|
|
|
(name "gamine")
|
|
|
|
|
(version "1.4")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/gamine-game/"
|
|
|
|
|
"gamine-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1iny959i1kl2ab6z5xi4s66mrvrwcarxyvjfp2k1sx532s8knk8h"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("intltool" ,intltool)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("gstreamer" ,gstreamer)
|
|
|
|
|
("gst-plugins-base" ,gst-plugins-base) ;playbin plugin
|
|
|
|
|
("gst-plugins-good" ,gst-plugins-good) ;for wav playback
|
|
|
|
|
("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-16 09:00:06 -04:00
|
|
|
|
(define-public raincat
|
|
|
|
|
(package
|
|
|
|
|
(name "raincat")
|
|
|
|
|
(version "1.1.1.3")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://hackage.haskell.org/package/Raincat/Raincat-"
|
|
|
|
|
version
|
|
|
|
|
".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1aalh68h6799mv4vyg30zpskl5jkn6x2j1jza7p4lrflyifxzar8"))))
|
|
|
|
|
(build-system haskell-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
|
|
|
|
|
("ghc-mtl" ,ghc-mtl)
|
|
|
|
|
("ghc-random" ,ghc-random)
|
|
|
|
|
("ghc-glut" ,ghc-glut)
|
|
|
|
|
("ghc-opengl" ,ghc-opengl)
|
|
|
|
|
("ghc-sdl" ,ghc-sdl)
|
|
|
|
|
("ghc-sdl-image" ,ghc-sdl-image)
|
|
|
|
|
("ghc-sdl-mixer" ,ghc-sdl-mixer)))
|
|
|
|
|
(home-page "http://raincat.bysusanlin.com/")
|
|
|
|
|
(synopsis "Puzzle game with a cat in lead role")
|
|
|
|
|
(description "Project Raincat is a game developed by Carnegie Mellon
|
|
|
|
|
students through GCS during the Fall 2008 semester. Raincat features game
|
|
|
|
|
play inspired from classics Lemmings and The Incredible Machine. The project
|
|
|
|
|
proved to be an excellent learning experience for the programmers. Everything
|
|
|
|
|
is programmed in Haskell.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2015-10-04 13:34:48 -04:00
|
|
|
|
(define-public manaplus
|
|
|
|
|
(package
|
|
|
|
|
(name "manaplus")
|
2016-06-05 05:12:35 -04:00
|
|
|
|
(version "1.6.6.4")
|
2015-10-04 13:34:48 -04:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://repo.manaplus.org/manaplus/download/"
|
|
|
|
|
version "/manaplus-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-06-05 05:12:35 -04:00
|
|
|
|
"00sdw2mspdhrqvz0vl6jbnhiclj7vmvyjih9qf8dbkfw2s921ybc"))))
|
2015-10-04 13:34:48 -04: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)
|
|
|
|
|
("physfs" ,physfs)
|
|
|
|
|
("sdl-union" ,(sdl-union))))
|
|
|
|
|
(home-page "http://manaplus.org")
|
|
|
|
|
(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 13:38:53 -05:00
|
|
|
|
|
2015-11-01 18:38:01 -05:00
|
|
|
|
(define-public mupen64plus-core
|
|
|
|
|
(package
|
|
|
|
|
(name "mupen64plus-core")
|
|
|
|
|
(version "2.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/mupen64plus/mupen64plus-core/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0dg2hksm5qni2hcha93k7n4fqr92888p946f7phb0ndschzfh9kk"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("freetype" ,freetype)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("sdl2" ,sdl2)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; The mupen64plus build system has no configure phase.
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
;; Makefile is in a subdirectory.
|
|
|
|
|
(add-before
|
|
|
|
|
'build 'cd-to-project-dir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "projects/unix"))))
|
|
|
|
|
#:make-flags (let ((out (assoc-ref %outputs "out")))
|
|
|
|
|
(list "all" (string-append "PREFIX=" out)))
|
|
|
|
|
;; There are no tests.
|
|
|
|
|
#:tests? #f))
|
2015-11-12 11:25:40 -05:00
|
|
|
|
;; As per the Makefile (in projects/unix/Makefile):
|
2015-11-12 09:52:04 -05:00
|
|
|
|
(supported-systems '("i686-linux" "x86_64-linux"))
|
2015-11-01 18:38:01 -05:00
|
|
|
|
(home-page "http://www.mupen64plus.org/")
|
|
|
|
|
(synopsis "Nintendo 64 emulator core library")
|
|
|
|
|
(description
|
|
|
|
|
"Mupen64Plus is a cross-platform plugin-based Nintendo 64 (N64) emulator
|
|
|
|
|
which is capable of accurately playing many games. This package contains the
|
|
|
|
|
core library.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-11-01 18:38:13 -05:00
|
|
|
|
(define-public mupen64plus-audio-sdl
|
|
|
|
|
(package
|
|
|
|
|
(name "mupen64plus-audio-sdl")
|
|
|
|
|
(version "2.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/mupen64plus/mupen64plus-audio-sdl/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0ss6w92n2rpfnazhg9lbq0nvs3fqx93nliz3k3wjxdlx4dpi7h3a"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("mupen64plus-core" ,mupen64plus-core)
|
|
|
|
|
("sdl2" ,sdl2)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; The mupen64plus build system has no configure phase.
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
;; Makefile is in a subdirectory.
|
|
|
|
|
(add-before
|
|
|
|
|
'build 'cd-to-project-dir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "projects/unix"))))
|
|
|
|
|
#:make-flags
|
|
|
|
|
(let ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(m64p (assoc-ref %build-inputs "mupen64plus-core")))
|
|
|
|
|
(list "all"
|
|
|
|
|
(string-append "PREFIX=" out)
|
|
|
|
|
(string-append "APIDIR=" m64p "/include/mupen64plus")))
|
|
|
|
|
;; There are no tests.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(home-page "http://www.mupen64plus.org/")
|
|
|
|
|
(synopsis "Mupen64Plus SDL input plugin")
|
|
|
|
|
(description
|
|
|
|
|
"Mupen64Plus is a cross-platform plugin-based Nintendo 64 (N64) emulator
|
|
|
|
|
which is capable of accurately playing many games. This package contains the
|
|
|
|
|
SDL audio plugin.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-11-01 18:38:28 -05:00
|
|
|
|
(define-public mupen64plus-input-sdl
|
|
|
|
|
(package
|
|
|
|
|
(name "mupen64plus-input-sdl")
|
|
|
|
|
(version "2.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/mupen64plus/mupen64plus-input-sdl/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "11sj5dbalp2nrlmki34vy7wy28vc175pnnkdk65p8599hnyq37ri"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("which" ,which)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("mupen64plus-core" ,mupen64plus-core)
|
|
|
|
|
("sdl2" ,sdl2)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; The mupen64plus build system has no configure phase.
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
;; Makefile is in a subdirectory.
|
|
|
|
|
(add-before
|
|
|
|
|
'build 'cd-to-project-dir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "projects/unix"))))
|
|
|
|
|
#:make-flags
|
|
|
|
|
(let ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(m64p (assoc-ref %build-inputs "mupen64plus-core")))
|
|
|
|
|
(list "all"
|
|
|
|
|
(string-append "PREFIX=" out)
|
|
|
|
|
(string-append "APIDIR=" m64p "/include/mupen64plus")))
|
|
|
|
|
;; There are no tests.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(home-page "http://www.mupen64plus.org/")
|
|
|
|
|
(synopsis "Mupen64Plus SDL input plugin")
|
|
|
|
|
(description
|
|
|
|
|
"Mupen64Plus is a cross-platform plugin-based Nintendo 64 (N64) emulator
|
|
|
|
|
which is capable of accurately playing many games. This package contains the
|
|
|
|
|
SDL input plugin.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-11-01 18:38:40 -05:00
|
|
|
|
(define-public mupen64plus-rsp-hle
|
|
|
|
|
(package
|
|
|
|
|
(name "mupen64plus-rsp-hle")
|
|
|
|
|
(version "2.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/mupen64plus/mupen64plus-rsp-hle/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "15h7mgz6xd2zjzm6l3f96sbs8kwr3xvbwzgikhnka79m6c69hsxv"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("mupen64plus-core" ,mupen64plus-core)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; The mupen64plus build system has no configure phase.
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
;; Makefile is in a subdirectory.
|
|
|
|
|
(add-before
|
|
|
|
|
'build 'cd-to-project-dir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "projects/unix"))))
|
|
|
|
|
#:make-flags
|
|
|
|
|
(let ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(m64p (assoc-ref %build-inputs "mupen64plus-core")))
|
|
|
|
|
(list "all"
|
|
|
|
|
(string-append "PREFIX=" out)
|
|
|
|
|
(string-append "APIDIR=" m64p "/include/mupen64plus")))
|
|
|
|
|
;; There are no tests.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(home-page "http://www.mupen64plus.org/")
|
|
|
|
|
(synopsis "Mupen64Plus SDL input plugin")
|
|
|
|
|
(description
|
|
|
|
|
"Mupen64Plus is a cross-platform plugin-based Nintendo 64 (N64) emulator
|
|
|
|
|
which is capable of accurately playing many games. This package contains the
|
|
|
|
|
high-level emulation (HLE) RSP processor plugin.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-11-01 18:38:58 -05:00
|
|
|
|
(define-public mupen64plus-rsp-z64
|
|
|
|
|
(package
|
|
|
|
|
(name "mupen64plus-rsp-z64")
|
|
|
|
|
(version "2.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/mupen64plus/mupen64plus-rsp-z64/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "10jz1w2dhx5slhyk4m8mdqlpsd6cshchslr1fckb2ayzb1ls3ghi"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("mupen64plus-core" ,mupen64plus-core)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; The mupen64plus build system has no configure phase.
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
;; Makefile is in a subdirectory.
|
|
|
|
|
(add-before
|
|
|
|
|
'build 'cd-to-project-dir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "projects/unix"))))
|
|
|
|
|
#:make-flags
|
|
|
|
|
(let ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(m64p (assoc-ref %build-inputs "mupen64plus-core")))
|
|
|
|
|
(list "all"
|
|
|
|
|
(string-append "PREFIX=" out)
|
|
|
|
|
(string-append "APIDIR=" m64p "/include/mupen64plus")))
|
|
|
|
|
;; There are no tests.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(home-page "http://www.mupen64plus.org/")
|
|
|
|
|
(synopsis "Mupen64Plus SDL input plugin")
|
|
|
|
|
(description
|
|
|
|
|
"Mupen64Plus is a cross-platform plugin-based Nintendo 64 (N64) emulator
|
|
|
|
|
which is capable of accurately playing many games. This package contains the
|
|
|
|
|
Z64 RSP processor plugin.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-11-01 18:39:42 -05:00
|
|
|
|
(define-public mupen64plus-video-arachnoid
|
|
|
|
|
(package
|
|
|
|
|
(name "mupen64plus-video-arachnoid")
|
|
|
|
|
(version "2.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/mupen64plus/mupen64plus-video-arachnoid/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0jjwf144rihznm4lnqbhgigxw664v3v32wy94adaa6imk8z6gslh"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("mesa" ,mesa)
|
|
|
|
|
("mupen64plus-core" ,mupen64plus-core)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; The mupen64plus build system has no configure phase.
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
;; Makefile is in a subdirectory.
|
|
|
|
|
(add-before
|
|
|
|
|
'build 'cd-to-project-dir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "projects/unix"))))
|
|
|
|
|
#:make-flags
|
|
|
|
|
(let ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(m64p (assoc-ref %build-inputs "mupen64plus-core")))
|
|
|
|
|
(list "all"
|
|
|
|
|
(string-append "PREFIX=" out)
|
|
|
|
|
(string-append "APIDIR=" m64p "/include/mupen64plus")))
|
|
|
|
|
;; There are no tests.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(home-page "http://www.mupen64plus.org/")
|
|
|
|
|
(synopsis "Mupen64Plus Rice Video plugin")
|
|
|
|
|
(description
|
|
|
|
|
"Mupen64Plus is a cross-platform plugin-based Nintendo 64 (N64) emulator
|
|
|
|
|
which is capable of accurately playing many games. This package contains the
|
|
|
|
|
Arachnoid video plugin.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-11-01 18:39:58 -05:00
|
|
|
|
(define-public mupen64plus-video-glide64
|
|
|
|
|
(package
|
|
|
|
|
(name "mupen64plus-video-glide64")
|
|
|
|
|
(version "2.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/mupen64plus/mupen64plus-video-glide64/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1rm55dbf6xgsq1blbzs6swa2ajv0qkn38acbljj346abnk6s3dla"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("mesa" ,mesa)
|
|
|
|
|
("mupen64plus-core" ,mupen64plus-core)
|
|
|
|
|
("sdl2" ,sdl2)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; The mupen64plus build system has no configure phase.
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
;; Makefile is in a subdirectory.
|
|
|
|
|
(add-before
|
|
|
|
|
'build 'cd-to-project-dir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "projects/unix")))
|
|
|
|
|
;; XXX Should be unnecessary with the next release.
|
|
|
|
|
(add-before
|
|
|
|
|
'build 'use-sdl2
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("SDL_CONFIG = (.*)sdl-config" all prefix)
|
|
|
|
|
(string-append "SDL_CONFIG = " prefix "sdl2-config"))))))
|
|
|
|
|
#:make-flags
|
|
|
|
|
(let ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(m64p (assoc-ref %build-inputs "mupen64plus-core")))
|
|
|
|
|
(list "all"
|
|
|
|
|
(string-append "PREFIX=" out)
|
|
|
|
|
(string-append "APIDIR=" m64p "/include/mupen64plus")))
|
|
|
|
|
;; There are no tests.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(home-page "http://www.mupen64plus.org/")
|
|
|
|
|
(synopsis "Mupen64Plus Rice Video plugin")
|
|
|
|
|
(description
|
|
|
|
|
"Mupen64Plus is a cross-platform plugin-based Nintendo 64 (N64) emulator
|
|
|
|
|
which is capable of accurately playing many games. This package contains the
|
|
|
|
|
Glide64 video plugin.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-11-01 18:40:14 -05:00
|
|
|
|
(define-public mupen64plus-video-glide64mk2
|
|
|
|
|
(package
|
|
|
|
|
(name "mupen64plus-video-glide64mk2")
|
|
|
|
|
(version "2.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/mupen64plus/mupen64plus-video-glide64mk2/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1ihl4q293d6svba26b4mhapjcdg12p90gibz79b4mx423jlcxxj9"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("boost" ,boost)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("mupen64plus-core" ,mupen64plus-core)
|
|
|
|
|
("sdl2" ,sdl2)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; The mupen64plus build system has no configure phase.
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
;; Makefile is in a subdirectory.
|
|
|
|
|
(add-before
|
|
|
|
|
'build 'cd-to-project-dir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "projects/unix"))))
|
|
|
|
|
#:make-flags
|
|
|
|
|
(let ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(m64p (assoc-ref %build-inputs "mupen64plus-core")))
|
|
|
|
|
(list "all"
|
|
|
|
|
(string-append "PREFIX=" out)
|
|
|
|
|
(string-append "APIDIR=" m64p "/include/mupen64plus")))
|
|
|
|
|
;; There are no tests.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(home-page "http://www.mupen64plus.org/")
|
|
|
|
|
(synopsis "Mupen64Plus Rice Video plugin")
|
|
|
|
|
(description
|
|
|
|
|
"Mupen64Plus is a cross-platform plugin-based Nintendo 64 (N64) emulator
|
|
|
|
|
which is capable of accurately playing many games. This package contains the
|
|
|
|
|
Glide64MK2 video plugin.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-11-01 18:40:28 -05:00
|
|
|
|
(define-public mupen64plus-video-rice
|
|
|
|
|
(package
|
|
|
|
|
(name "mupen64plus-video-rice")
|
|
|
|
|
(version "2.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/mupen64plus/mupen64plus-video-rice/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "0rd2scjmh285w61aj3mgx71whg5rqrjbry3cdgicczrnyvf8wdvk"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libpng" ,libpng)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("mupen64plus-core" ,mupen64plus-core)
|
|
|
|
|
("sdl2" ,sdl2)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; The mupen64plus build system has no configure phase.
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
;; Makefile is in a subdirectory.
|
|
|
|
|
(add-before
|
|
|
|
|
'build 'cd-to-project-dir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "projects/unix"))))
|
|
|
|
|
#:make-flags
|
|
|
|
|
(let ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(m64p (assoc-ref %build-inputs "mupen64plus-core")))
|
|
|
|
|
(list "all"
|
|
|
|
|
(string-append "PREFIX=" out)
|
|
|
|
|
(string-append "APIDIR=" m64p "/include/mupen64plus")))
|
|
|
|
|
;; There are no tests.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(home-page "http://www.mupen64plus.org/")
|
|
|
|
|
(synopsis "Mupen64Plus Rice Video plugin")
|
|
|
|
|
(description
|
|
|
|
|
"Mupen64Plus is a cross-platform plugin-based Nintendo 64 (N64) emulator
|
|
|
|
|
which is capable of accurately playing many games. This package contains the
|
|
|
|
|
Rice Video plugin.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-11-01 18:40:40 -05:00
|
|
|
|
(define-public mupen64plus-video-z64
|
|
|
|
|
(package
|
|
|
|
|
(name "mupen64plus-video-z64")
|
|
|
|
|
(version "2.0.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/mupen64plus/mupen64plus-video-z64/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "1x7wsjs5gx2iwx20p4cjcbf696zsjlh31qxmghwv0ifrq8x58s1b"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("glew" ,glew)
|
|
|
|
|
("mupen64plus-core" ,mupen64plus-core)
|
|
|
|
|
("sdl2" ,sdl2)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; The mupen64plus build system has no configure phase.
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
;; Makefile is in a subdirectory.
|
|
|
|
|
(add-before
|
|
|
|
|
'build 'cd-to-project-dir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "projects/unix")))
|
|
|
|
|
;; XXX Should be unnecessary with the next release.
|
|
|
|
|
(add-before
|
|
|
|
|
'build 'use-sdl2
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("SDL_CONFIG = (.*)sdl-config" all prefix)
|
|
|
|
|
(string-append "SDL_CONFIG = " prefix "sdl2-config"))))))
|
|
|
|
|
#:make-flags
|
|
|
|
|
(let ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(m64p (assoc-ref %build-inputs "mupen64plus-core")))
|
|
|
|
|
(list "all"
|
|
|
|
|
(string-append "PREFIX=" out)
|
|
|
|
|
(string-append "APIDIR=" m64p "/include/mupen64plus")))
|
|
|
|
|
;; There are no tests.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(home-page "http://www.mupen64plus.org/")
|
|
|
|
|
(synopsis "Mupen64Plus Z64 video plugin")
|
|
|
|
|
(description
|
|
|
|
|
"Mupen64Plus is a cross-platform plugin-based Nintendo 64 (N64) emulator
|
|
|
|
|
which is capable of accurately playing many games. This package contains the
|
|
|
|
|
Z64 video plugin.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-11-01 18:39:22 -05:00
|
|
|
|
(define-public mupen64plus-ui-console
|
|
|
|
|
(package
|
|
|
|
|
(name "mupen64plus-ui-console")
|
|
|
|
|
(version "2.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/mupen64plus/mupen64plus-ui-console/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32 "04qkpd8ic7xsgnqz7spl00wxdygf79m7d1k8rabbygjk5lg6p8z2"))
|
2016-04-08 08:18:13 -04:00
|
|
|
|
(patches (search-patches "mupen64plus-ui-console-notice.patch"))))
|
2015-11-01 18:39:22 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("which" ,which)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("sdl2" ,sdl2)))
|
|
|
|
|
;; Mupen64Plus supports a single data directory and a single plugin
|
|
|
|
|
;; directory in its configuration, yet we need data and plugin files from
|
|
|
|
|
;; a variety of packages. The best way to deal with this is to install
|
|
|
|
|
;; all packages from which data and plugin files are needed into one's
|
|
|
|
|
;; profile, and point the configuration there. Hence, propagate the most
|
|
|
|
|
;; important packages here to save the user from the bother. The patch
|
|
|
|
|
;; mupen64plus-ui-console-notice also gives users instructions on what
|
|
|
|
|
;; they need to do in order to point the configuration to their profile.
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("mupen64plus-core" ,mupen64plus-core)
|
|
|
|
|
("mupen64plus-audio-sdl" ,mupen64plus-audio-sdl)
|
|
|
|
|
("mupen64plus-input-sdl" ,mupen64plus-input-sdl)
|
|
|
|
|
("mupen64plus-rsp-hle" ,mupen64plus-rsp-hle)
|
|
|
|
|
("mupen64plus-video-glide64" ,mupen64plus-video-glide64)
|
|
|
|
|
("mupen64plus-video-glide64mk2" ,mupen64plus-video-glide64mk2)
|
|
|
|
|
("mupen64plus-video-rice" ,mupen64plus-video-rice)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; The mupen64plus build system has no configure phase.
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
;; Makefile is in a subdirectory.
|
|
|
|
|
(add-before
|
|
|
|
|
'build 'cd-to-project-dir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "projects/unix"))))
|
|
|
|
|
#:make-flags
|
|
|
|
|
(let ((out (assoc-ref %outputs "out"))
|
|
|
|
|
(m64p (assoc-ref %build-inputs "mupen64plus-core")))
|
|
|
|
|
(list "all"
|
|
|
|
|
(string-append "PREFIX=" out)
|
|
|
|
|
(string-append "APIDIR=" m64p "/include/mupen64plus")
|
|
|
|
|
;; Trailing slash matters here.
|
|
|
|
|
(string-append "COREDIR=" m64p "/lib/")))
|
|
|
|
|
;; There are no tests.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(home-page "http://www.mupen64plus.org/")
|
|
|
|
|
(synopsis "Mupen64Plus SDL input plugin")
|
|
|
|
|
(description
|
|
|
|
|
"Mupen64Plus is a cross-platform plugin-based Nintendo 64 (N64) emulator
|
|
|
|
|
which is capable of accurately playing many games. This package contains the
|
|
|
|
|
command line user interface. Installing this package is the easiest way
|
|
|
|
|
towards a working Mupen64Plus for casual users.")
|
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
|
2015-11-01 13:38:53 -05:00
|
|
|
|
(define-public nestopia-ue
|
|
|
|
|
(package
|
|
|
|
|
(name "nestopia-ue")
|
|
|
|
|
(version "1.46.2")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/rdanbrook/nestopia/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"07h49xwvg61dx20rk5p4r3ax2ar5y0ppvm60cqwqljyi9rdfbh7p"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
2015-11-03 10:22:56 -05:00
|
|
|
|
'(begin
|
|
|
|
|
;; We don't need libretro for the GNU/Linux build.
|
|
|
|
|
(delete-file-recursively "libretro")
|
|
|
|
|
;; Use system zlib.
|
|
|
|
|
(delete-file-recursively "source/zlib")
|
|
|
|
|
(substitute* "source/core/NstZlib.cpp"
|
|
|
|
|
(("#include \"../zlib/zlib.h\"") "#include <zlib.h>"))))))
|
2015-11-01 13:38:53 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("ao" ,ao)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
|
("libarchive" ,libarchive)
|
|
|
|
|
("mesa" ,mesa)
|
2015-11-03 10:22:56 -05:00
|
|
|
|
("sdl2" ,sdl2)
|
|
|
|
|
("zlib" ,zlib)))
|
2015-11-01 13:38:53 -05:00
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; The Nestopia build system consists solely of a Makefile.
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
;; XXX Should be unnecessary with the next release.
|
|
|
|
|
(add-before
|
|
|
|
|
'build 'patch-makefile
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("@mkdir \\$@") "@mkdir -p $@")
|
|
|
|
|
(("CC =") "CC ?=")
|
|
|
|
|
(("CXX =") "CXX ?=")
|
|
|
|
|
(("PREFIX =") "PREFIX ?=")
|
|
|
|
|
(("^install:\n$") "install:\n\tmkdir -p $(BINDIR)\n"))))
|
|
|
|
|
(add-before
|
|
|
|
|
'build 'remove-xdg-desktop-menu-call
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("xdg-desktop-menu install .*") "")))))
|
|
|
|
|
#:make-flags (let ((out (assoc-ref %outputs "out")))
|
|
|
|
|
(list "CC=gcc" "CXX=g++" (string-append "PREFIX=" out)))
|
|
|
|
|
;; There are no tests.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(home-page "http://0ldsk00l.ca/nestopia/")
|
|
|
|
|
(synopsis "Nintendo Entertainment System (NES/Famicom) emulator")
|
|
|
|
|
(description
|
|
|
|
|
"Nestopia UE (Undead Edition) is a fork of the Nintendo Entertainment
|
|
|
|
|
System (NES/Famicom) emulator Nestopia, with enhancements from members of the
|
|
|
|
|
emulation community. It provides highly accurate emulation.")
|
|
|
|
|
(license license:gpl2+)))
|
2015-11-18 23:17:02 -05:00
|
|
|
|
|
|
|
|
|
(define-public emulation-station
|
2016-06-02 07:29:52 -04:00
|
|
|
|
(let ((commit "646bede3d9ec0acf0ae378415edac136774a66c5"))
|
|
|
|
|
(package
|
|
|
|
|
(name "emulation-station")
|
|
|
|
|
(version "2.0.1")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method git-fetch) ; no tarball available
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/Aloshi/EmulationStation.git")
|
|
|
|
|
(commit commit))) ; no version tag
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0cm0sq2wri2l9cvab1l0g02za59q7klj0h3p028vr96n6njj4w9v"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:tests? #f)) ; no tests
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("boost" ,boost)
|
|
|
|
|
("curl" ,curl)
|
|
|
|
|
("eigin" ,eigen)
|
|
|
|
|
("freeimage" ,freeimage)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("sdl2" ,sdl2)))
|
|
|
|
|
(synopsis "Video game console emulator front-end")
|
|
|
|
|
(description "EmulationStation provides a graphical front-end to a large
|
2015-11-18 23:17:02 -05:00
|
|
|
|
number of video game console emulators. It features an interface that is
|
|
|
|
|
usable with any game controller that has at least 4 buttons, theming support,
|
|
|
|
|
and a game metadata scraper.")
|
2016-06-02 07:29:52 -04:00
|
|
|
|
(home-page "http://www.emulationstation.org")
|
|
|
|
|
(license license:expat))))
|
2016-02-01 00:22:38 -05:00
|
|
|
|
|
2016-04-12 21:50:36 -04:00
|
|
|
|
(define openttd-engine
|
|
|
|
|
(package
|
|
|
|
|
(name "openttd-engine")
|
|
|
|
|
(version "1.6.0")
|
|
|
|
|
(source
|
|
|
|
|
(origin (method url-fetch)
|
|
|
|
|
(uri (string-append "http://binaries.openttd.org/releases/"
|
|
|
|
|
version "/openttd-" version "-source.tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1cjf9gz7d0sn7893wv9d00q724sxv3d81bgb0c5f5ppz2ssyc4jc"))
|
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; The DOS port contains proprietary software.
|
|
|
|
|
'(delete-file-recursively "os/dos"))))
|
|
|
|
|
(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
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out"))
|
|
|
|
|
(lzo (assoc-ref inputs "lzo")))
|
|
|
|
|
(zero?
|
|
|
|
|
(system* "./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"))))))))
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("allegro" ,allegro-4)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("freetype" ,freetype)
|
|
|
|
|
("icu4c" ,icu4c)
|
|
|
|
|
("libpng" ,libpng)
|
|
|
|
|
("lzo" ,lzo)
|
|
|
|
|
("sdl" ,sdl)
|
|
|
|
|
("xz" ,xz)
|
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
|
(synopsis "Transportation economics simulator")
|
|
|
|
|
(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,
|
|
|
|
|
autoreplace and autoupdate vehicles.")
|
|
|
|
|
(home-page "http://openttd.org/")
|
|
|
|
|
;; 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))))
|
|
|
|
|
|
|
|
|
|
;; TODO Add 'openttd-opengfx' and 'openttd-openmsx' packages and make
|
|
|
|
|
;; 'openttd' a wrapper around them. The engine is playable by itself,
|
|
|
|
|
;; but it asks a user to download graphics if it's not found.
|
|
|
|
|
|
|
|
|
|
(define-public openttd
|
|
|
|
|
(package
|
|
|
|
|
(inherit openttd-engine)
|
|
|
|
|
(name "openttd")))
|
|
|
|
|
|
2016-02-01 00:22:38 -05: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 08:18:13 -04: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 00:22:38 -05: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-15 20:07:04 -05:00
|
|
|
|
|
|
|
|
|
(define-public pioneers
|
|
|
|
|
(package
|
|
|
|
|
(name "pioneers")
|
|
|
|
|
(version "15.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://downloads.sourceforge.net/pio/"
|
|
|
|
|
"pioneers-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"128s718nnraiznbg2rajjqb7cfkdg24hy6spdd9narb4f4dsbbv9"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs `(("gtk+" ,gtk+)
|
|
|
|
|
("librsvg" ,librsvg)
|
|
|
|
|
("avahi" ,avahi)))
|
|
|
|
|
(native-inputs `(("intltool" ,intltool)
|
|
|
|
|
("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-15 21:14:18 -05:00
|
|
|
|
(license license:gpl2+)))
|
2016-02-29 15:20:16 -05:00
|
|
|
|
|
|
|
|
|
(define-public desmume
|
|
|
|
|
(package
|
|
|
|
|
(name "desmume")
|
|
|
|
|
(version "0.9.11")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"mirror://sourceforge/desmume/desmume/"
|
|
|
|
|
version "/desmume-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"15l8wdw3q61fniy3h93d84dnm6s4pyadvh95a0j6d580rjk4pcrs"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
;; Enable support for WiFi and microphone.
|
|
|
|
|
`(#:configure-flags '("--enable-wifi"
|
|
|
|
|
"--enable-openal")))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
|
("intltool" ,intltool)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("zlib" ,zlib)
|
|
|
|
|
("sdl" ,sdl)
|
|
|
|
|
("glib" ,glib)
|
|
|
|
|
("gtk+" ,gtk+-2)
|
|
|
|
|
("glu" ,glu)))
|
|
|
|
|
(home-page "http://desmume.org/")
|
|
|
|
|
(synopsis "Nintendo DS emulator")
|
|
|
|
|
(description
|
|
|
|
|
"DeSmuME is an emulator for the Nintendo DS handheld gaming console.")
|
|
|
|
|
(license license:gpl2)))
|
2016-03-05 12:40:00 -05:00
|
|
|
|
|
|
|
|
|
(define-public einstein
|
|
|
|
|
(package
|
|
|
|
|
(name "einstein")
|
|
|
|
|
(version "2.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://http.debian.net/debian/pool/main/e/"
|
|
|
|
|
"einstein/einstein_2.0.dfsg.2.orig.tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1hxrlv6n8py48j487i6wbb4n4vd55w0na69r7ccmmr9vmrsw5mlk"))
|
2016-04-08 08:18:13 -04:00
|
|
|
|
(patches (search-patches "einstein-build.patch"))))
|
2016-03-05 12:40:00 -05: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 06:41:08 -05:00
|
|
|
|
(define-public powwow
|
|
|
|
|
(package
|
|
|
|
|
(name "powwow")
|
|
|
|
|
(version "1.2.17")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"http://www.hoopajoo.net/static/projects/powwow-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1xmsg2y7qcvj67i9ilnih0mvfxcpni7fzrz343x9rdfnkkzf3pp8"))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("ncurses" ,ncurses)))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(home-page "http://www.hoopajoo.net/projects/powwow.html")
|
|
|
|
|
(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 01:58:55 -04:00
|
|
|
|
|
2016-05-03 15:25:31 -04:00
|
|
|
|
(define-public red-eclipse
|
2016-04-23 01:58:55 -04:00
|
|
|
|
(let ((data-sources
|
|
|
|
|
'(("acerspyro" "0gxxr6nbac918b49x1cp72nw951hqm5m4iyi2shb1612ly384w8q")
|
|
|
|
|
("actors" "1jq9q82m6nx07nwpb5cnpdcwa33jrcgg0j2yir8zk6zpnxdmp0il")
|
|
|
|
|
("appleflap" "1cn41c6xs68l88rmphqh4rlsh6h04xnkkvklxdpqpvvr4zlsmi85")
|
|
|
|
|
("blendbrush" "0wjbgnniirl9arv274m8mpdqbbq7d09g0pq1z9dl56sazmbk5yy0")
|
|
|
|
|
("caustics" "0gxv1pqhi6c27mqi9mwqyfnzv9rq5sva1vgxhb9ljh231rmkdc15")
|
|
|
|
|
("crosshairs" "0vlyhd10mly2qnjpwvss9ani7dg3v2njpf7457ilx7fk9a3hlbkk")
|
|
|
|
|
("elyvisions" "0s0l77rd9fd09imvj05pwcz4bqrn3j8qsw8prv5pi5bqa50mbn19")
|
|
|
|
|
("fonts" "0apn8j9lf43nmnidq1f0azhrr1n896g7si4djbix1bwll6ild0mq")
|
|
|
|
|
("freezurbern" "0y60s3g8v8bl2m6pk2yr9fzl67ymv821x6l2f9hszzydlcjwlscn")
|
|
|
|
|
("john" "1lmwn0r7qpyac2qrnkv9llhsbyzqpgr27hxq2qn1rfbq12fja0ld")
|
|
|
|
|
("jojo" "0sh3ricqlqw868a0mz2n9iw7lhp650pysd2wkcdizhcmw2hlayx9")
|
|
|
|
|
("jwin" "1r459jhxx64j3vdw886ypkm6zg0yg6cr2qark54i1zdskjhp762k")
|
|
|
|
|
("luckystrike" "08xq87crcz0jq45q1g6p8h4xrm1bcqzd019zp7n0f9c3p9j6al91")
|
|
|
|
|
("maps" "1f0hqh8mbd4nzqi4hja4k5f380nszhx8igajg5ini4p9cp39x9vi")
|
|
|
|
|
("mayhem" "1hn9jp64aiz8k6p2nxyg82h2nc8fadgghzhrm26y7i4bz9xwxacm")
|
|
|
|
|
("mikeplus64" "1kj2zznxykgm3f1h1fvd8xzim5f292lyh96l2gj5km1nynzjmaap")
|
|
|
|
|
("misc" "1phmzjs5rmika3568b7jb6ywbsi40r711rhg8cbsflllcp7hdidf")
|
|
|
|
|
("nobiax" "08in9c24m2pq7x371q10ny4q3l1l3zb8m029iypy2lx9gr99i7hm")
|
|
|
|
|
("particles" "0wcd3s6vhrjknffnfqrcpkcqk1r01f1fiz6q7n4srhpdv3i4d6vm")
|
|
|
|
|
("philipk" "1s0kmap8iv5sddanrhycblskj3ywvz9xg2m11f6vnfy108palkga")
|
|
|
|
|
("projectiles" "0xdhrs9rsncd1f88s5igdbfksli7h0irg5jdbj6p2a3rgdzb3gnj")
|
|
|
|
|
("props" "1sbh3a94pmzic78bil0dvdh4fd8s6gh52f77jdram3w0gwv79x3r")
|
|
|
|
|
("skyboxes" "0hy95a6ps0fk4cq8j6pjipk8rnsjna9bm0ly2l373gbshlfg6zgi")
|
|
|
|
|
("sounds" "1pnyd7acm19sj1k1cy9hq3n3dnzzaiak7j5f0h7fikiybq5rdk7b")
|
|
|
|
|
("textures" "0gxfnc4xm0kp3pd7lhd4yy1dqq00g727h21l64nyiw2b2d6n1755")
|
|
|
|
|
("torley" "1cri5mf8ls8mvpn1x1p9hacyg9ibilaiz07gqv2hl2q8ww5xc1s6")
|
|
|
|
|
("trak" "0xyk5z59kn9ym9n5fdcrwhqig6gjcjgnrgi9rqbbai713w9vpsbq")
|
|
|
|
|
("ulukai" "0ziv9c4inmza40mas1w9dp048y6f646x00bs7kqv33hd1snbg3v3")
|
|
|
|
|
("unnamed" "0hm291k9azilnp0m04zhm52vml1rhxk1z4l74v66spbikr6s2zdx")
|
|
|
|
|
("vanities" "1qbc2v67kdrlvq10miw3dfmg3j9w9bq1hgqrzjcbph0l4gra1ndw")
|
|
|
|
|
("vegetation" "13928yw0wflcj620cmp8rqwplaw8508f3j4zi32vxida1ksz6xn0")
|
|
|
|
|
("weapons" "1ghn6nfcnd5lyl8dnj22csldvf9hrb32wjzpab4sjjz3iyv0zmr3")
|
|
|
|
|
("wicked" "0q9badvg6ix5rhl05s83kw2v6a49jpnbkqk4ls89qahaddfagi8g"))))
|
|
|
|
|
(package
|
2016-05-03 12:04:38 -04:00
|
|
|
|
(name "red-eclipse")
|
2016-04-23 01:58:55 -04:00
|
|
|
|
(version "1.5.3")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/red-eclipse/base"
|
|
|
|
|
"/archive/v" version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1y0jv5lz69zisiw8sd5z9a9v21zc83by1sx9b7dly78ngif4gc4l"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no check target
|
|
|
|
|
#:make-flags (list "CC=gcc" "-Csrc"
|
|
|
|
|
(string-append "INSTDIR="
|
|
|
|
|
(assoc-ref %outputs "out") "/bin"))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after 'unpack 'unpack-data
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
(delete-file-recursively "data")
|
|
|
|
|
(mkdir "data")
|
|
|
|
|
(for-each (lambda (name)
|
|
|
|
|
(system* "tar" "-xvf"
|
|
|
|
|
(assoc-ref inputs name)
|
|
|
|
|
"-Cdata"
|
|
|
|
|
"--transform"
|
|
|
|
|
(string-append "s/"
|
|
|
|
|
name "-1.5.3/"
|
|
|
|
|
name "/")))
|
|
|
|
|
(list ,@(map car data-sources)))
|
|
|
|
|
#t))
|
|
|
|
|
(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")
|
|
|
|
|
"/include/SDL"))
|
|
|
|
|
#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"))
|
|
|
|
|
(copy-recursively "data"
|
|
|
|
|
(string-append out "/data")))
|
|
|
|
|
#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)))))
|
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("curl" ,curl)
|
|
|
|
|
("glu" ,glu)
|
|
|
|
|
("sdl-union" ,(sdl-union))
|
|
|
|
|
;; Create origin records for the many separate data packages.
|
|
|
|
|
,@(map (match-lambda
|
|
|
|
|
((name hash)
|
|
|
|
|
(list name
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/red-eclipse/"
|
|
|
|
|
name "/archive/v" version ".tar.gz"))
|
|
|
|
|
(sha256 (base32 hash))
|
|
|
|
|
(file-name (string-append name "-" version
|
|
|
|
|
".tar.gz"))))))
|
|
|
|
|
data-sources)))
|
|
|
|
|
(home-page "http://redeclipse.net/")
|
|
|
|
|
(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
|
|
|
|
|
;; licenses. More details at <http://redeclipse.net/wiki/License>.
|
|
|
|
|
(license (list license:expat
|
|
|
|
|
license:zlib
|
|
|
|
|
license:cc-by-sa3.0
|
|
|
|
|
license:cc-by3.0
|
|
|
|
|
license:cc0)))))
|
2015-11-01 14:45:09 -05:00
|
|
|
|
|
|
|
|
|
(define-public higan
|
|
|
|
|
(package
|
|
|
|
|
(name "higan")
|
2016-06-11 18:28:46 -04:00
|
|
|
|
(version "099")
|
2015-11-01 14:45:09 -05:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
2016-06-09 14:53:02 -04:00
|
|
|
|
"https://gitlab.com/higan/higan/repository/archive.tar.gz?ref=v"
|
|
|
|
|
version))
|
2015-11-01 14:45:09 -05:00
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
2016-06-11 18:28:46 -04:00
|
|
|
|
(base32 "0xlzjqrd308hmg6yjzjkmxkkr9p3w387kf6yxyplb47jcbx2sq4n"))
|
2016-06-09 14:53:02 -04:00
|
|
|
|
(patches (search-patches "higan-remove-march-native-flag.patch"))))
|
2015-11-01 14:45:09 -05:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("alsa-lib" ,alsa-lib)
|
|
|
|
|
("ao" ,ao)
|
|
|
|
|
("eudev" ,eudev)
|
|
|
|
|
("gtk+" ,gtk+-2)
|
|
|
|
|
("gtksourceview-2" ,gtksourceview-2)
|
|
|
|
|
("libxv" ,libxv)
|
|
|
|
|
("mesa" ,mesa)
|
|
|
|
|
("openal" ,openal)
|
|
|
|
|
("pulseaudio" ,pulseaudio)
|
|
|
|
|
("sdl" ,sdl)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases
|
|
|
|
|
(let ((build-phase (assoc-ref %standard-phases 'build))
|
|
|
|
|
(install-phase (assoc-ref %standard-phases 'install)))
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
;; The higan build system has no configure phase.
|
|
|
|
|
(delete 'configure)
|
|
|
|
|
(add-before 'build 'chdir-to-higan
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "higan")))
|
|
|
|
|
(add-before 'install 'create-/share/applications
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
|
;; It seems the author forgot to do this in the Makefile.
|
|
|
|
|
(mkdir-p (string-append out "/share/applications")))))
|
|
|
|
|
(add-after 'install 'chdir-to-icarus
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "../icarus")))
|
|
|
|
|
(add-after 'chdir-to-icarus 'build-icarus build-phase)
|
|
|
|
|
(add-after 'build-icarus 'install-icarus install-phase)
|
|
|
|
|
(add-after 'install-icarus 'wrap-higan-executable
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(higan (string-append bin "/higan"))
|
|
|
|
|
(higan-original (string-append higan "-original"))
|
|
|
|
|
(bash (string-append (assoc-ref inputs "bash")
|
|
|
|
|
"/bin/bash"))
|
|
|
|
|
(coreutils (assoc-ref inputs "coreutils"))
|
|
|
|
|
(mkdir (string-append coreutils "/bin/mkdir"))
|
|
|
|
|
(cp (string-append coreutils "/bin/cp"))
|
|
|
|
|
(cp-r (string-append cp " -r --no-preserve=mode")))
|
|
|
|
|
;; First, have the executable make sure ~/.local/share/higan
|
|
|
|
|
;; contains up to date files. Higan insists on looking there
|
|
|
|
|
;; for these data files.
|
|
|
|
|
(rename-file higan higan-original)
|
|
|
|
|
(with-output-to-file higan
|
|
|
|
|
(lambda ()
|
|
|
|
|
(display
|
|
|
|
|
(string-append
|
|
|
|
|
"#!" bash "\n"
|
|
|
|
|
;; higan doesn't respect $XDG_DATA_HOME
|
|
|
|
|
mkdir " -p ~/.local/share\n"
|
|
|
|
|
cp-r " " out "/share/higan ~/.local/share\n"
|
|
|
|
|
"exec " higan-original))))
|
|
|
|
|
(chmod higan #o555)
|
|
|
|
|
;; Second, make sure higan will find icarus in PATH.
|
|
|
|
|
(wrap-program higan
|
|
|
|
|
`("PATH" ":" prefix (,bin))))))))
|
|
|
|
|
#:make-flags
|
|
|
|
|
(list "compiler=g++"
|
|
|
|
|
(string-append "prefix=" (assoc-ref %outputs "out")))
|
|
|
|
|
;; There is no test suite.
|
|
|
|
|
#:tests? #f))
|
|
|
|
|
(home-page "http://byuu.org/emulation/higan/")
|
|
|
|
|
(synopsis "Nintendo multi-system emulator")
|
|
|
|
|
(description
|
|
|
|
|
"higan (formerly bsnes) is an emulator for multiple Nintendo video game
|
|
|
|
|
consoles, including the Nintendo Entertainment System (NES/Famicom), Super
|
|
|
|
|
Nintendo Entertainment System (SNES/Super Famicom), Game Boy, Game Boy
|
|
|
|
|
Color (GBC), and Game Boy Advance (GBA). It also supports the subsystems
|
|
|
|
|
Super Game Boy, BS-X Satellaview, and Sufami Turbo.")
|
|
|
|
|
;; As noted in these files among more:
|
|
|
|
|
;; - icarus/icarus.cpp
|
|
|
|
|
;; - higan/emulator/emulator.hpp
|
|
|
|
|
(license license:gpl3)))
|
2016-06-15 05:02:16 -04:00
|
|
|
|
|
|
|
|
|
(define-public grue-hunter
|
|
|
|
|
(package
|
|
|
|
|
(name "grue-hunter")
|
|
|
|
|
(version "1.0")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://jxself.org/" name ".tar.gz"))
|
|
|
|
|
(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"))
|
|
|
|
|
(gunzip (string-append (assoc-ref %build-inputs
|
|
|
|
|
"gzip")
|
|
|
|
|
"/bin/gunzip"))
|
|
|
|
|
(tar (string-append (assoc-ref %build-inputs
|
|
|
|
|
"tar")
|
|
|
|
|
"/bin/tar"))
|
|
|
|
|
(out (assoc-ref %outputs "out"))
|
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
|
(doc (string-append out "/share/doc")))
|
|
|
|
|
(begin
|
|
|
|
|
(mkdir out)
|
|
|
|
|
(copy-file tarball "grue-hunter.tar.gz")
|
|
|
|
|
(zero? (system* gunzip "grue-hunter.tar.gz"))
|
|
|
|
|
(zero? (system* tar "xvf" "grue-hunter.tar"))
|
|
|
|
|
|
|
|
|
|
(mkdir-p bin)
|
|
|
|
|
(copy-file "grue-hunter/gh.pl"
|
|
|
|
|
(string-append bin "/grue-hunter"))
|
|
|
|
|
(patch-shebang (string-append bin "/grue-hunter")
|
|
|
|
|
(list perl))
|
|
|
|
|
|
|
|
|
|
(mkdir-p doc)
|
|
|
|
|
(copy-file "grue-hunter/AGPLv3.txt"
|
|
|
|
|
(string-append doc "/grue-hunter")))))))
|
|
|
|
|
(inputs `(("perl" ,perl)
|
|
|
|
|
("tar" ,tar)
|
|
|
|
|
("gzip" ,gzip)
|
|
|
|
|
("tarball" ,source)))
|
|
|
|
|
(home-page "http://jxself.org/grue-hunter.shtml")
|
|
|
|
|
(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+)))
|