2014-12-15 11:50:18 +01:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
;;; Copyright © 2014 Tomáš Čech <sleep_walker@suse.cz>
|
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 18:23:27 +01:00
|
|
|
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
|
2018-03-11 21:46:30 +01:00
|
|
|
;;; Copyright © 2015, 2018 Ludovic Courtès <ludo@gnu.org>
|
2018-07-05 20:47:24 +02:00
|
|
|
;;; Copyright © 2015, 2018 Alex Kost <alezost@gmail.com>
|
2017-03-27 02:00:42 +02:00
|
|
|
;;; Copyright © 2015, 2016, 2017 David Thompson <davet@gnu.org>
|
2019-01-01 09:20:18 +01:00
|
|
|
;;; Copyright © 2016, 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
|
2017-08-28 04:27:56 +02:00
|
|
|
;;; Copyright © 2016, 2017 Kei Kebreau <kkebreau@posteo.net>
|
2018-06-20 02:59:23 +02:00
|
|
|
;;; Copyright © 2016, 2018 Ricardo Wurmus <rekado@elephly.net>
|
2018-07-05 17:06:02 +02:00
|
|
|
;;; Copyright © 2016, 2017, 2018 Julian Graham <joolean@gmail.com>
|
2019-02-15 05:34:09 +01:00
|
|
|
;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
|
2017-08-11 18:56:28 +02:00
|
|
|
;;; Copyright © 2017 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
|
2017-09-07 13:59:47 +02:00
|
|
|
;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com>
|
2017-09-13 18:36:12 +02:00
|
|
|
;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
|
2019-04-01 09:42:04 +02:00
|
|
|
;;; Copyright © 2017, 2019 Rutger Helling <rhelling@mykolab.com>
|
2018-03-15 11:38:48 +01:00
|
|
|
;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
|
2019-03-24 13:56:16 +01:00
|
|
|
;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
|
2014-12-15 11:50:18 +01:00
|
|
|
;;;
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
(define-module (gnu packages game-development)
|
2015-01-19 21:12:52 +01:00
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2014-12-15 11:50:18 +01:00
|
|
|
#:use-module (guix packages)
|
|
|
|
#:use-module (guix download)
|
2016-01-29 22:17:45 +01:00
|
|
|
#:use-module (guix git-download)
|
2019-03-24 13:56:16 +01:00
|
|
|
#:use-module (guix svn-download)
|
2017-06-06 00:47:16 +02:00
|
|
|
#:use-module (guix utils)
|
2014-12-15 11:50:18 +01:00
|
|
|
#:use-module (guix build-system cmake)
|
2015-01-19 21:12:52 +01:00
|
|
|
#:use-module (guix build-system gnu)
|
2016-07-30 20:32:49 +02:00
|
|
|
#:use-module (guix build-system python)
|
2017-11-17 10:17:46 +01:00
|
|
|
#:use-module (guix build-system scons)
|
2015-01-19 21:12:52 +01:00
|
|
|
#:use-module (gnu packages)
|
2018-01-16 21:49:22 +01:00
|
|
|
#:use-module (gnu packages audio)
|
2017-08-05 17:56:29 +02:00
|
|
|
#:use-module (gnu packages autotools)
|
2017-06-18 19:45:17 +02:00
|
|
|
#:use-module (gnu packages boost)
|
2018-01-16 21:49:22 +01:00
|
|
|
#:use-module (gnu packages compression)
|
2016-01-29 22:17:45 +01:00
|
|
|
#:use-module (gnu packages curl)
|
gnu: Update module imports for asciidoc and doxygen.
This is a followup to commit 0573a923def01e54bf104e0015ade44ab42f694f.
* gnu/packages/algebra.scm, gnu/packages/bioinformatics.scm,
gnu/packages/fcitx.scm, gnu/packages/fish.scm,
gnu/packages/freedesktop.scm, gnu/packages/game-development.scm,
gnu/packages/gcc.scm, gnu/packages/graphics.scm, gnu/packages/image.scm,
gnu/packages/kodi.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/messaging.scm,
gnu/packages/mpd.scm, gnu/packages/music.scm, gnu/packages/rdf.scm,
gnu/packages/serialization.scm, gnu/packages/version-control.scm,
gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/xdisorg.scm,
gnu/packages/xiph.scm: Change imports of (gnu packages asciidoc) or
(gnu packages doxygen) to (gnu packages documentation).
2016-05-13 02:18:15 +02:00
|
|
|
#:use-module (gnu packages documentation)
|
2018-01-15 23:21:20 +01:00
|
|
|
#:use-module (gnu packages fltk)
|
2017-08-11 18:56:28 +02:00
|
|
|
#:use-module (gnu packages fonts)
|
2016-06-20 00:56:56 +02:00
|
|
|
#:use-module (gnu packages fontutils)
|
2017-06-05 21:22:01 +02:00
|
|
|
#:use-module (gnu packages freedesktop)
|
2016-06-20 00:56:56 +02:00
|
|
|
#:use-module (gnu packages fribidi)
|
gnu: Move dbm databases to new module.
* gnu/packages/databases.scm (gdbm, bdb, bdb-5.3): Move from here...
* gnu/packages/dbm.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/audio.scm,
gnu/packages/avahi.scm,
gnu/packages/backup.scm,
gnu/packages/cobol.scm,
gnu/packages/cyrus-sasl.scm,
gnu/packages/databases.scm,
gnu/packages/finance.scm,
gnu/packages/game-development.scm,
gnu/packages/gnome.scm,
gnu/packages/guile.scm,
gnu/packages/ibus.scm,
gnu/packages/kerberos.scm,
gnu/packages/linux.scm,
gnu/packages/mail.scm,
gnu/packages/man.scm,
gnu/packages/nvi.scm,
gnu/packages/openldap.scm,
gnu/packages/package-management.scm,
gnu/packages/php.scm,
gnu/packages/pulseaudio.scm,
gnu/packages/python.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/sawfish.scm: Update module references.
2019-01-16 14:48:47 +01:00
|
|
|
#:use-module (gnu packages dbm)
|
2018-01-16 21:49:22 +01:00
|
|
|
#:use-module (gnu packages gl)
|
2015-09-29 05:08:30 +02:00
|
|
|
#:use-module (gnu packages glib)
|
2018-01-16 21:49:22 +01:00
|
|
|
#:use-module (gnu packages gnome)
|
2015-09-29 05:08:30 +02:00
|
|
|
#:use-module (gnu packages gnunet)
|
2017-08-11 18:56:28 +02:00
|
|
|
#:use-module (gnu packages graphics)
|
|
|
|
#:use-module (gnu packages graphviz)
|
2018-01-16 21:49:22 +01:00
|
|
|
#:use-module (gnu packages gtk)
|
2015-09-29 05:08:30 +02:00
|
|
|
#:use-module (gnu packages guile)
|
2018-01-16 21:49:22 +01:00
|
|
|
#:use-module (gnu packages image)
|
|
|
|
#:use-module (gnu packages linux)
|
|
|
|
#:use-module (gnu packages lua)
|
2017-08-05 17:56:29 +02:00
|
|
|
#:use-module (gnu packages m4)
|
2018-01-16 21:49:22 +01:00
|
|
|
#:use-module (gnu packages mp3)
|
2015-09-29 05:08:30 +02:00
|
|
|
#:use-module (gnu packages multiprecision)
|
2016-07-30 20:32:49 +02:00
|
|
|
#:use-module (gnu packages music)
|
2015-09-29 05:08:30 +02:00
|
|
|
#:use-module (gnu packages ncurses)
|
2018-01-16 21:49:22 +01:00
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
#:use-module (gnu packages pulseaudio)
|
2016-07-30 20:32:49 +02:00
|
|
|
#:use-module (gnu packages python)
|
gnu: Separate Python core packages from the rest.
* gnu/packages/python.scm: Move hundreds of package definitions from here...
* gnu/packages/python-xyz.scm: ...to this new module.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/ada.scm,
gnu/packages/admin.scm,
gnu/packages/android.scm,
gnu/packages/audio.scm,
gnu/packages/backup.scm,
gnu/packages/benchmark.scm,
gnu/packages/bioinformatics.scm,
gnu/packages/bittorrent.scm,
gnu/packages/calendar.scm,
gnu/packages/check.scm,
gnu/packages/chemistry.scm,
gnu/packages/cluster.scm,
gnu/packages/compression.scm,
gnu/packages/connman.scm,
gnu/packages/crypto.scm,
gnu/packages/cups.scm,
gnu/packages/databases.scm,
gnu/packages/dav.scm,
gnu/packages/direct-connect.scm,
gnu/packages/disk.scm,
gnu/packages/django.scm,
gnu/packages/dlang.scm,
gnu/packages/docker.scm,
gnu/packages/ebook.scm,
gnu/packages/elf.scm,
gnu/packages/emacs.scm,
gnu/packages/emulators.scm,
gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm,
gnu/packages/finance.scm,
gnu/packages/fltk.scm,
gnu/packages/fontutils.scm,
gnu/packages/freedesktop.scm,
gnu/packages/game-development.scm,
gnu/packages/games.scm,
gnu/packages/geo.scm,
gnu/packages/gl.scm,
gnu/packages/glib.scm,
gnu/packages/gnome.scm,
gnu/packages/gnupg.scm,
gnu/packages/gnuzilla.scm,
gnu/packages/graph.scm,
gnu/packages/graphics.scm,
gnu/packages/graphviz.scm,
gnu/packages/gtk.scm,
gnu/packages/ham-radio.scm,
gnu/packages/image-processing.scm,
gnu/packages/image-viewers.scm,
gnu/packages/image.scm,
gnu/packages/irc.scm,
gnu/packages/jrnl.scm,
gnu/packages/julia.scm,
gnu/packages/kde-frameworks.scm,
gnu/packages/key-mon.scm,
gnu/packages/libffi.scm,
gnu/packages/libreoffice.scm,
gnu/packages/libusb.scm,
gnu/packages/lirc.scm,
gnu/packages/logging.scm,
gnu/packages/machine-learning.scm,
gnu/packages/mail.scm,
gnu/packages/mate.scm,
gnu/packages/maths.scm,
gnu/packages/medical.scm,
gnu/packages/messaging.scm,
gnu/packages/monitoring.scm,
gnu/packages/mp3.scm,
gnu/packages/mpd.scm,
gnu/packages/music.scm,
gnu/packages/networking.scm,
gnu/packages/nutrition.scm,
gnu/packages/openldap.scm,
gnu/packages/openstack.scm,
gnu/packages/package-management.scm,
gnu/packages/password-utils.scm,
gnu/packages/patchutils.scm,
gnu/packages/pdf.scm,
gnu/packages/photo.scm,
gnu/packages/polkit.scm,
gnu/packages/protobuf.scm,
gnu/packages/python-crypto.scm,
gnu/packages/python-web.scm,
gnu/packages/qt.scm,
gnu/packages/rdf.scm,
gnu/packages/ruby.scm,
gnu/packages/search.scm,
gnu/packages/selinux.scm,
gnu/packages/serialization.scm,
gnu/packages/shells.scm,
gnu/packages/simulation.scm,
gnu/packages/ssh.scm,
gnu/packages/statistics.scm,
gnu/packages/storage.scm,
gnu/packages/sync.scm,
gnu/packages/terminals.scm,
gnu/packages/textutils.scm,
gnu/packages/time.scm,
gnu/packages/tls.scm,
gnu/packages/tor.scm,
gnu/packages/tryton.scm,
gnu/packages/version-control.scm,
gnu/packages/video.scm,
gnu/packages/virtualization.scm,
gnu/packages/vpn.scm,
gnu/packages/web-browsers.scm,
gnu/packages/web.scm,
gnu/packages/wicd.scm,
gnu/packages/xdisorg.scm,
gnu/packages/xorg.scm: Update module references.
2019-01-15 14:21:30 +01:00
|
|
|
#:use-module (gnu packages python-xyz)
|
2015-01-19 21:12:52 +01:00
|
|
|
#:use-module (gnu packages qt)
|
2018-01-16 21:49:22 +01:00
|
|
|
#:use-module (gnu packages sdl)
|
2018-07-14 15:19:07 +02:00
|
|
|
#:use-module (gnu packages stb)
|
2018-06-20 02:59:23 +02:00
|
|
|
#:use-module (gnu packages texinfo)
|
2018-01-16 21:49:22 +01:00
|
|
|
#:use-module (gnu packages tls)
|
2016-07-30 20:32:49 +02:00
|
|
|
#:use-module (gnu packages video)
|
2016-01-29 22:17:45 +01:00
|
|
|
#:use-module (gnu packages xdisorg)
|
2015-11-14 20:00:20 +01:00
|
|
|
#:use-module (gnu packages xiph)
|
2017-09-07 13:59:47 +02:00
|
|
|
#:use-module (gnu packages xml)
|
2018-01-16 21:49:22 +01:00
|
|
|
#:use-module (gnu packages xorg))
|
2014-12-15 11:50:18 +01:00
|
|
|
|
|
|
|
(define-public bullet
|
|
|
|
(package
|
|
|
|
(name "bullet")
|
2019-01-03 14:44:11 +01:00
|
|
|
(version "2.88")
|
2014-12-15 11:50:18 +01:00
|
|
|
(source (origin
|
2019-01-03 14:44:11 +01:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/bulletphysics/bullet3/")
|
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name name version))
|
2014-12-15 11:50:18 +01:00
|
|
|
(sha256
|
|
|
|
(base32
|
2019-01-03 14:44:11 +01:00
|
|
|
"00qkif245yj7n2f262bgjaxv1bz3wmmcsfnjgy3qpzvlpzpns5z8"))
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
'(begin
|
|
|
|
(for-each delete-file (find-files "build3" "premake*"))
|
|
|
|
(with-directory-excursion "examples/ThirdPartyLibs"
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
'("Gwen" "clsocket" "enet" "glad" "imgui"
|
|
|
|
"lua-5.2.3" "midi" "minizip" "openvr"
|
|
|
|
"optionalX11" "serial" "zlib")))
|
|
|
|
;; These need files from ThirdPartyLibs
|
|
|
|
(substitute* "Extras/CMakeLists.txt"
|
|
|
|
(("BulletRobotics") "")
|
|
|
|
(("obj2sdf") ""))
|
|
|
|
;; Tests fail on linking, cannot find -lBussIK
|
|
|
|
(substitute* "test/CMakeLists.txt"
|
|
|
|
((" InverseDynamics")
|
|
|
|
"../examples/ThirdPartyLibs/BussIK InverseDynamics"))
|
|
|
|
; (("SharedMemory") ""))
|
|
|
|
#t))))
|
2014-12-15 11:50:18 +01:00
|
|
|
(build-system cmake-build-system)
|
2016-11-06 07:44:21 +01:00
|
|
|
(arguments
|
2019-01-03 14:44:11 +01:00
|
|
|
'(#:configure-flags (list "-DBUILD_SHARED_LIBS=ON"
|
|
|
|
"-DBUILD_CPU_DEMOS=OFF"
|
|
|
|
"-DBUILD_OPENGL3_DEMOS=OFF"
|
|
|
|
"-DBUILD_BULLET2_DEMOS=OFF"
|
|
|
|
(string-append "-DCMAKE_CXX_FLAGS=-fPIC "
|
|
|
|
(or (getenv "CXXFLAGS") "")))
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'remove-failing-tests
|
|
|
|
;; These tests fail specifically after removing 3rd party code
|
|
|
|
(lambda _
|
|
|
|
(substitute* "test/SharedMemory/CMakeLists.txt"
|
|
|
|
(("ADD_TEST") "# ADD_TEST"))
|
|
|
|
(substitute* "test/InverseDynamics/CMakeLists.txt"
|
|
|
|
(("ADD_TEST\\(Test_BulletInverseForward")
|
|
|
|
"# ADD_TEST(Test_BulletInverseForward"))
|
|
|
|
#t)))))
|
2016-11-06 07:44:21 +01:00
|
|
|
(inputs
|
|
|
|
`(("glu" ,glu)
|
|
|
|
("libx11" ,libx11)
|
|
|
|
("mesa" ,mesa)))
|
2018-01-16 22:08:48 +01:00
|
|
|
(home-page "https://pybullet.org/wordpress/")
|
2014-12-15 11:50:18 +01:00
|
|
|
(synopsis "3D physics engine library")
|
|
|
|
(description
|
|
|
|
"Bullet is a physics engine library usable for collision detection. It
|
|
|
|
is used in some video games and movies.")
|
2015-01-19 21:12:52 +01:00
|
|
|
(license license:zlib)))
|
|
|
|
|
2017-03-18 21:21:31 +01:00
|
|
|
(define-public deutex
|
|
|
|
(package
|
|
|
|
(name "deutex")
|
2018-08-14 14:56:16 +02:00
|
|
|
(version "5.1.2")
|
2017-03-18 21:21:31 +01:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://github.com/Doom-Utils/" name
|
2017-08-06 19:44:12 +02:00
|
|
|
"/releases/download/v" version "/"
|
|
|
|
name "-" version ".tar.xz"))
|
2017-03-18 21:21:31 +01:00
|
|
|
(sha256
|
|
|
|
(base32
|
2018-08-14 14:56:16 +02:00
|
|
|
"1rj3w4xa0n4jixy4j7p6gbclylbgxvhdnji7xnkydrqii9rxnbp4"))))
|
2017-03-18 21:21:31 +01:00
|
|
|
(build-system gnu-build-system)
|
2017-08-06 19:44:12 +02:00
|
|
|
(native-inputs `(("asciidoc" ,asciidoc)))
|
2017-03-18 21:21:31 +01:00
|
|
|
(home-page "https://github.com/Doom-Utils/deutex")
|
|
|
|
(synopsis "WAD file composer for Doom and related games")
|
|
|
|
(description
|
|
|
|
"DeuTex is a wad composer for Doom, Heretic, Hexen and Strife. It can be
|
|
|
|
used to extract the lumps of a wad and save them as individual files.
|
|
|
|
Conversely, it can also build a wad from separate files. When extracting a
|
|
|
|
lump to a file, it does not just copy the raw data, it converts it to an
|
|
|
|
appropriate format (such as PPM for graphics, Sun audio for samples, etc.).
|
|
|
|
Conversely, when it reads files for inclusion in pwads, it does the necessary
|
|
|
|
conversions (for example, from PPM to Doom picture format). In addition,
|
|
|
|
DeuTex has functions such as merging wads, etc.")
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
2017-06-18 19:45:17 +02:00
|
|
|
(define-public grfcodec
|
|
|
|
(package
|
|
|
|
(name "grfcodec")
|
|
|
|
(version "6.0.6")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://binaries.openttd.org/extra/"
|
|
|
|
name "/" version "/" name "-" version
|
|
|
|
"-source.tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"08admgnpqcsifpicbm56apgv360fxapqpbbsp10qyk8i22w1ivsk"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f ; no check target
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
(replace 'install ; no install target
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(bin (string-append out "/bin"))
|
|
|
|
(doc (string-append out "/share/doc"))
|
|
|
|
(man (string-append out "/share/man/man1")))
|
|
|
|
(for-each (lambda (file)
|
|
|
|
(install-file file bin))
|
|
|
|
'("grfcodec" "grfid" "grfstrip" "nforenum"))
|
|
|
|
(install-file "COPYING" doc)
|
|
|
|
(with-directory-excursion "docs"
|
|
|
|
(for-each (lambda (file)
|
|
|
|
(install-file (string-append file ".txt") doc))
|
|
|
|
'("auto_correct" "commands" "grf" "grfcodec" "grftut"
|
|
|
|
"readme" "readme.rpn"))
|
|
|
|
(for-each (lambda (file)
|
|
|
|
(install-file file man))
|
|
|
|
(find-files "." "\\.1"))))
|
|
|
|
#t)))))
|
|
|
|
(inputs
|
|
|
|
`(("boost" ,boost)
|
|
|
|
("libpng" ,libpng)
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
(synopsis "GRF development tools")
|
|
|
|
(description
|
2017-06-22 18:36:55 +02:00
|
|
|
"The @dfn{Graphics Resource File} (GRF) development tools are a set of
|
2017-06-18 19:45:17 +02:00
|
|
|
tools for developing (New)GRFs. It includes a number of smaller programs, each
|
|
|
|
with a specific task:
|
|
|
|
@enumerate
|
|
|
|
@item @code{grfcodec} decodes and encodes GRF files for OpenTTD.
|
|
|
|
@item @code{grfid} extracts the so-called \"GRF ID\" from a GRF.
|
|
|
|
@item @code{grfstrip} strips all sprites from a GRF.
|
|
|
|
@item @code{nforenum} checks NFO code for errors, making corrections when
|
|
|
|
necessary.
|
|
|
|
@end enumerate")
|
|
|
|
(home-page "http://dev.openttdcoop.org/projects/grfcodec")
|
|
|
|
;; GRFCodec, GRFID, and GRFStrip are exclusively under the GPL2.
|
|
|
|
;; NFORenum is under the GPL2+.
|
|
|
|
;; The MD5 implementation contained in GRFID is under the zlib license.
|
|
|
|
(license (list license:gpl2 license:gpl2+ license:zlib))))
|
|
|
|
|
2017-09-13 18:36:12 +02:00
|
|
|
(define-public catcodec
|
|
|
|
(package
|
|
|
|
(name "catcodec")
|
|
|
|
(version "1.0.5")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://binaries.openttd.org/extra/catcodec/"
|
|
|
|
version "/catcodec-" version "-source.tar.xz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"1qg0c2i4p29sxj0q6qp2jynlrzm5pphz2xhcjqlxa69ycrnlxzs7"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ; no tests
|
|
|
|
#:make-flags (list (string-append "prefix=" %output))
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
(delete 'configure))))
|
|
|
|
(home-page "http://dev.openttdcoop.org/projects/catcodec")
|
|
|
|
(synopsis "Encode/decode OpenTTD sounds")
|
|
|
|
(description "catcodec encodes and decodes sounds for OpenTTD. These
|
|
|
|
sounds are not much more than some metadata (description and filename) and raw
|
|
|
|
PCM data.")
|
|
|
|
(license license:gpl2)))
|
|
|
|
|
2015-09-29 05:08:30 +02:00
|
|
|
(define-public gzochi
|
|
|
|
(package
|
|
|
|
(name "gzochi")
|
2018-07-05 17:06:02 +02:00
|
|
|
(version "0.12")
|
2015-09-29 05:08:30 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://savannah/gzochi/gzochi-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2018-07-05 17:06:02 +02:00
|
|
|
"0h8yvk7154kd8zdfa9nqy73blrjq2x19kv305jcnwlmm09vvss59"))))
|
2015-09-29 05:08:30 +02:00
|
|
|
(build-system gnu-build-system)
|
2018-04-30 19:12:34 +02:00
|
|
|
(arguments
|
|
|
|
'(#:phases (modify-phases %standard-phases
|
|
|
|
(add-before 'build 'no-Werror
|
|
|
|
(lambda _
|
|
|
|
;; Don't abort builds due to things like GLib
|
|
|
|
;; deprecation warnings.
|
|
|
|
(substitute* (find-files "." "^Makefile\\.in$")
|
|
|
|
(("-Werror") ""))
|
|
|
|
#t)))))
|
2015-09-29 05:08:30 +02:00
|
|
|
(native-inputs `(("pkgconfig" ,pkg-config)))
|
|
|
|
(inputs `(("bdb" ,bdb)
|
|
|
|
("glib" ,glib)
|
2018-04-30 19:13:38 +02:00
|
|
|
("guile" ,guile-2.2)
|
2015-09-29 05:08:30 +02:00
|
|
|
("libmicrohttpd" ,libmicrohttpd)
|
|
|
|
("ncurses" ,ncurses)
|
|
|
|
("sdl" ,sdl)
|
|
|
|
("zlib" ,zlib)))
|
gnu: Use HTTPS for supported nongnu.org home pages.
* gnu/packages/acl.scm (acl)[home-page]: Use HTTPS.
* gnu/packages/admin.scm (dmidecode)[home-page]: Likewise.
* gnu/packages/attr.scm (attr)[home-page]: Likewise.
* gnu/packages/audio.scm (lash)[home-page]: Likewise.
* gnu/packages/avr.scm (avr-libc)[home-page]: Likewise.
* gnu/packages/backup.scm (rdiff-backup, libchop)[home-page]: Likewise.
* gnu/packages/compression.scm (fastjar, lzip, lziprecover, atool)
(lunzip, clzip, lzlib, plzip)[home-page]: Likewise.
* gnu/packages/emacs.scm (geiser, bbdb, m17n-lib, m17n-lib)[home-page]:
Likewise.
* gnu/packages/flashing-tools.scm (avrdude)[home-page]: Likewise.
* gnu/packages/fontutils.scm (libotf)[home-page]: Likewise.
* gnu/packages/game-development.scm (gzochi)[home-page]: Likewise.
* gnu/packages/games.scm (enigma)[home-page]: Likewise.
* gnu/packages/gsasl.scm (libntlm)[home-page]: Likewise.
* gnu/packages/gtk.scm (guile-cairo)[home-page]: Likewise.
* gnu/packages/guile.scm (guile-reader, guile-lib, guile-json)
(guile-redis, g-wrap)[home-page]: Likewise.
* gnu/packages/libunwind.scm (libunwind)[home-page]: Likewise.
* gnu/packages/lout.scm (lout)[home-page]: Likewise.
* gnu/packages/mpd.scm (sonata)[home-page]: Likewise.
* gnu/packages/networking.scm (quagga)[home-page]: Likewise.
* gnu/packages/ratpoison.scm (ratpoison)[home-page]: Likewise.
* gnu/packages/skribilo.scm (skribilo)[home-page]: Likewise.
* gnu/packages/telephony.scm (exosip)[home-page]: Likewise.
* gnu/packages/texinfo.scm (texi2html)[home-page]: Likewise.
* gnu/packages/xdisorg.scm (xbindkeys)[home-page]: Likewise.
2018-02-16 04:20:44 +01:00
|
|
|
(home-page "https://www.nongnu.org/gzochi/")
|
2015-09-29 05:08:30 +02:00
|
|
|
(synopsis "Scalable middleware for multiplayer games")
|
|
|
|
(description
|
|
|
|
"gzochi is a framework for developing massively multiplayer online games.
|
|
|
|
A server container provides services to deployed games, which are written in
|
|
|
|
Guile Scheme, that abstract and simplify some of the most challenging and
|
|
|
|
error-prone aspects of online game development: Concurrency, data persistence,
|
|
|
|
and network communications. A very thin client library can be embedded to
|
|
|
|
provide connectivity for client applications written in any language.")
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
2017-06-18 19:44:43 +02:00
|
|
|
(define-public nml
|
|
|
|
(package
|
|
|
|
(name "nml")
|
2018-07-05 02:25:41 +02:00
|
|
|
(version "0.4.5")
|
2017-06-18 19:44:43 +02:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://bundles.openttdcoop.org/nml/releases/"
|
|
|
|
version "/nml-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2018-07-05 02:25:41 +02:00
|
|
|
"1pmvvm3sgnpngfa7884mqhq3fwdjh9sr0ca07ypnidcg0y341w53"))))
|
2017-06-18 19:44:43 +02:00
|
|
|
(build-system python-build-system)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("python-pillow" ,python-pillow)
|
|
|
|
("python-ply" ,python-ply)))
|
2018-07-05 02:26:11 +02:00
|
|
|
(home-page "https://dev.openttdcoop.org/projects/nml")
|
2017-06-18 19:44:43 +02:00
|
|
|
(synopsis "NML compiler")
|
|
|
|
(description
|
2017-06-22 18:32:22 +02:00
|
|
|
"@dfn{NewGRF Meta Language} (NML) is a python-based compiler, capable of
|
2017-06-18 19:44:43 +02:00
|
|
|
compiling NML files (along with their associated language, sound and graphic
|
|
|
|
files) into @file{.grf} and/or @file{.nfo} files.")
|
|
|
|
(license license:gpl2+)))
|
|
|
|
|
2017-05-10 18:27:42 +02:00
|
|
|
(define-public python-sge-pygame
|
|
|
|
(package
|
|
|
|
(name "python-sge-pygame")
|
2017-08-31 16:13:36 +02:00
|
|
|
(version "1.5.1")
|
2017-05-10 18:27:42 +02:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2017-10-20 00:00:42 +02:00
|
|
|
(uri (string-append "mirror://savannah/stellarengine/"
|
|
|
|
(version-major+minor version) "/sge-pygame-"
|
|
|
|
version ".tar.gz"))
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
2017-05-10 18:27:42 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2017-08-31 16:13:36 +02:00
|
|
|
"1rl3xjzh78sl0sq3xl8rl7cgp9v9v3h7s2pfwn7nj1vrmffzkcpd"))))
|
2017-05-10 18:27:42 +02:00
|
|
|
(build-system python-build-system)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("python-pygame" ,python-pygame)
|
2017-06-22 22:37:43 +02:00
|
|
|
("python-six" ,python-six)
|
|
|
|
("python-uniseg" ,python-uniseg)))
|
2017-05-10 18:27:42 +02:00
|
|
|
(home-page "http://stellarengine.nongnu.org")
|
|
|
|
(synopsis "2D game engine for Python")
|
|
|
|
(description
|
|
|
|
"The SGE Game Engine (\"SGE\", pronounced like \"Sage\") is a
|
2018-04-14 18:35:35 +02:00
|
|
|
general-purpose 2D game engine. It takes care of several details for you so
|
2017-05-10 18:27:42 +02:00
|
|
|
you can focus on the game itself. This makes more rapid game development
|
|
|
|
possible, and it also makes the SGE easy to learn.")
|
|
|
|
(license license:lgpl3+)))
|
|
|
|
|
|
|
|
(define-public python2-sge-pygame
|
|
|
|
(package-with-python2 python-sge-pygame))
|
|
|
|
|
2017-05-10 19:18:11 +02:00
|
|
|
(define-public python-tmx
|
|
|
|
(package
|
|
|
|
(name "python-tmx")
|
2017-08-31 16:14:12 +02:00
|
|
|
(version "1.10")
|
2017-05-10 19:18:11 +02:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
2017-06-06 00:47:16 +02:00
|
|
|
(uri (string-append "mirror://savannah/python-tmx/"
|
|
|
|
(version-major+minor version) "/tmx-"
|
2017-05-10 19:18:11 +02:00
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2017-08-31 16:14:12 +02:00
|
|
|
"073q0prg1nzlkga2b45vhscz374206qh4x68ccg00mxxwagn64z0"))))
|
2017-05-10 19:18:11 +02:00
|
|
|
(build-system python-build-system)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("python-six" ,python-six)))
|
|
|
|
(home-page "http://python-tmx.nongnu.org")
|
|
|
|
(synopsis "Python library for the @code{Tiled} TMX format")
|
|
|
|
(description
|
|
|
|
"Python TMX reads and writes the @code{Tiled} TMX format in a simple way.
|
|
|
|
This is useful for map editors or generic level editors, and it's also useful
|
|
|
|
for using a map editor or generic level editor like Tiled to edit your game's
|
|
|
|
levels.")
|
|
|
|
(license (list license:asl2.0
|
|
|
|
;; Documentation (only available in the source tarball) is
|
|
|
|
;; under the CC0 license.
|
|
|
|
license:cc0))))
|
|
|
|
|
|
|
|
(define-public python2-tmx
|
|
|
|
(let ((python2-tmx (package-with-python2 python-tmx)))
|
|
|
|
(package
|
|
|
|
(inherit python2-tmx)
|
|
|
|
(propagated-inputs
|
|
|
|
`(("python2-pathlib" ,python2-pathlib)
|
|
|
|
,@(package-propagated-inputs python2-tmx))))))
|
|
|
|
|
2017-05-31 23:56:33 +02:00
|
|
|
(define-public python-xsge
|
|
|
|
(package
|
|
|
|
(name "python-xsge")
|
2018-07-27 05:30:14 +02:00
|
|
|
(version "2018.02.26")
|
2017-05-31 23:56:33 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2017-06-28 02:28:06 +02:00
|
|
|
(uri (string-append "mirror://savannah/xsge/xsge/xsge-"
|
2017-05-31 23:56:33 +02:00
|
|
|
version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2018-07-27 05:30:14 +02:00
|
|
|
"0bx93hgf7cgdw2gsygbh59y8vpw37pgsa279rajw3fkdpl8vrc40"))))
|
2017-05-31 23:56:33 +02:00
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
;; xSGE's setup.py script does not support one of the Python build
|
|
|
|
;; system's default flags, "--single-version-externally-managed".
|
|
|
|
(replace 'install
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
2018-07-27 05:30:14 +02:00
|
|
|
(invoke "python" "setup.py" "install"
|
|
|
|
(string-append "--prefix=" (assoc-ref outputs "out"))
|
|
|
|
"--root=/"))))
|
2017-05-31 23:56:33 +02:00
|
|
|
#:tests? #f)) ; no check target
|
|
|
|
(propagated-inputs
|
|
|
|
`(("python-sge-pygame" ,python-sge-pygame)
|
|
|
|
("python-pygame" ,python-pygame)
|
|
|
|
("python-six" ,python-six)
|
|
|
|
("python-tmx" ,python-tmx)))
|
|
|
|
(home-page "http://xsge.nongnu.org")
|
|
|
|
(synopsis "Extensions for the SGE Game Engine")
|
|
|
|
(description
|
|
|
|
"xSGE is a collection of modules that make doing certain tasks with the SGE
|
|
|
|
Game Engine easier. In addition to SGE's conveniences, the user has access to a
|
|
|
|
GUI toolkit, lighting and physics frameworks and @code{Tiled} TMX format
|
|
|
|
support.")
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
|
|
(define-public python2-xsge
|
|
|
|
(package-with-python2 python-xsge))
|
|
|
|
|
2015-01-19 21:12:52 +01:00
|
|
|
(define-public tiled
|
|
|
|
(package
|
|
|
|
(name "tiled")
|
2019-03-24 13:36:30 +01:00
|
|
|
(version "1.2.3")
|
2015-01-19 21:12:52 +01:00
|
|
|
(source (origin
|
2018-11-11 13:18:27 +01:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/bjorn/tiled.git")
|
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
2015-01-19 21:12:52 +01:00
|
|
|
(sha256
|
|
|
|
(base32
|
2019-03-24 13:36:30 +01:00
|
|
|
"1nfyigfkl10n9r82p1qxhpr09jn2kwalh9n5r209bcaj8dxspph8"))))
|
2015-01-19 21:12:52 +01:00
|
|
|
(build-system gnu-build-system)
|
2017-05-25 10:00:04 +02:00
|
|
|
(inputs
|
|
|
|
`(("qtbase" ,qtbase)
|
|
|
|
("qtsvg" ,qtsvg)
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
(native-inputs
|
|
|
|
`(("qttools" ,qttools)))
|
2015-01-19 21:12:52 +01:00
|
|
|
(arguments
|
|
|
|
'(#:phases
|
2016-03-01 12:34:12 +01:00
|
|
|
(modify-phases %standard-phases
|
|
|
|
(replace 'configure
|
2017-05-25 10:00:04 +02:00
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
(substitute* "translations/translations.pro"
|
|
|
|
(("LRELEASE =.*")
|
|
|
|
(string-append "LRELEASE = "
|
|
|
|
(assoc-ref inputs "qttools")
|
|
|
|
"/bin/lrelease\n")))
|
2016-03-01 12:34:12 +01:00
|
|
|
(let ((out (assoc-ref outputs "out")))
|
2018-07-27 06:16:31 +02:00
|
|
|
(invoke "qmake"
|
|
|
|
(string-append "PREFIX=" out))))))))
|
2015-01-19 21:12:52 +01:00
|
|
|
(home-page "http://www.mapeditor.org/")
|
|
|
|
(synopsis "Tile map editor")
|
|
|
|
(description
|
|
|
|
"Tiled is a general purpose tile map editor. It is meant to be used for
|
|
|
|
editing maps of any tile-based game, be it an RPG, a platformer or a Breakout
|
|
|
|
clone.")
|
|
|
|
|
|
|
|
;; As noted in 'COPYING', part of it is under GPLv2+, while the rest is
|
|
|
|
;; under BSD-2.
|
|
|
|
(license license:gpl2+)))
|
2015-04-26 22:38:43 +02:00
|
|
|
|
|
|
|
(define-public sfml
|
|
|
|
(package
|
|
|
|
(name "sfml")
|
2018-10-25 04:23:31 +02:00
|
|
|
(version "2.5.1")
|
2015-04-26 22:38:43 +02:00
|
|
|
(source (origin
|
2018-10-25 04:20:27 +02:00
|
|
|
(method git-fetch)
|
2015-09-20 10:07:00 +02:00
|
|
|
;; Do not fetch the archives from
|
|
|
|
;; http://mirror0.sfml-dev.org/files/ because files there seem
|
|
|
|
;; to be changed in place.
|
2018-10-25 04:20:27 +02:00
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/SFML/SFML.git")
|
|
|
|
(commit version)))
|
|
|
|
(file-name (git-file-name name version))
|
2015-04-26 22:38:43 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2018-10-25 04:23:31 +02:00
|
|
|
"0abr8ri2ssfy9ylpgjrr43m6rhrjy03wbj9bn509zqymifvq5pay"))
|
2018-07-14 15:19:07 +02:00
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
'(begin
|
|
|
|
;; Ensure system libraries are used.
|
|
|
|
(delete-file-recursively "extlibs")
|
|
|
|
#t))))
|
2015-04-26 22:38:43 +02:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
2016-10-16 20:07:09 +02:00
|
|
|
'(#:configure-flags
|
2018-07-14 15:08:12 +02:00
|
|
|
(list "-DSFML_INSTALL_PKGCONFIG_FILES=TRUE"
|
|
|
|
"-DSFML_OS_PKGCONFIG_DIR=lib/pkgconfig")
|
2016-10-16 20:07:09 +02:00
|
|
|
#:tests? #f)) ; no tests
|
2018-07-14 15:08:12 +02:00
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2015-04-26 22:38:43 +02:00
|
|
|
(inputs
|
|
|
|
`(("mesa" ,mesa)
|
|
|
|
("glew" ,glew)
|
|
|
|
("libx11" ,libx11)
|
2015-07-31 17:55:29 +02:00
|
|
|
("xcb-util-image" ,xcb-util-image)
|
2015-04-26 22:38:43 +02:00
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
("eudev" ,eudev)
|
|
|
|
("libjpeg" ,libjpeg)
|
2018-07-14 15:19:07 +02:00
|
|
|
("libsndfile" ,libsndfile)
|
|
|
|
("stb-image" ,stb-image)
|
|
|
|
("stb-image-write" ,stb-image-write)))
|
2018-07-14 15:08:12 +02:00
|
|
|
(propagated-inputs
|
|
|
|
;; In Requires.private of pkg-config files.
|
|
|
|
`(("flac" ,flac)
|
|
|
|
("freetype" ,freetype)
|
|
|
|
("libvorbis" ,libvorbis)
|
2015-04-26 22:38:43 +02:00
|
|
|
("openal" ,openal)))
|
2017-04-16 01:53:14 +02:00
|
|
|
(home-page "https://www.sfml-dev.org")
|
2015-04-26 22:38:43 +02:00
|
|
|
(synopsis "Simple and Fast Multimedia Library")
|
|
|
|
(description
|
|
|
|
"SFML provides a simple interface to the various computer components,
|
|
|
|
to ease the development of games and multimedia applications. It is composed
|
|
|
|
of five modules: system, window, graphics, audio and network.")
|
|
|
|
(license license:zlib)))
|
2015-05-19 01:14:01 +02:00
|
|
|
|
|
|
|
(define-public sfxr
|
|
|
|
(package
|
|
|
|
(name "sfxr")
|
|
|
|
(version "1.2.1")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "http://www.drpetter.se/files/sfxr-sdl-1.2.1.tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0dfqgid6wzzyyhc0ha94prxax59wx79hqr25r6if6by9cj4vx4ya"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:phases (modify-phases %standard-phases
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
(add-before 'build 'patch-makefile
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
(substitute* "Makefile"
|
|
|
|
(("\\$\\(DESTDIR\\)/usr") out))
|
|
|
|
(substitute* "main.cpp"
|
|
|
|
(("/usr/share")
|
|
|
|
(string-append out "/share")))
|
|
|
|
#t))))
|
|
|
|
#:tests? #f)) ; no tests
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
("desktop-file-utils" ,desktop-file-utils)))
|
|
|
|
(inputs
|
|
|
|
`(("sdl" ,sdl)
|
|
|
|
("gtk+" ,gtk+)))
|
|
|
|
(synopsis "Simple sound effect generator")
|
|
|
|
(description "Sfxr is a tool for quickly generating simple sound effects.
|
|
|
|
Originally created for use in video game prototypes, it can generate random
|
|
|
|
sounds from presets such as \"explosion\" or \"powerup\".")
|
|
|
|
(home-page "http://www.drpetter.se/project_sfxr.html")
|
|
|
|
(license license:expat)))
|
2015-10-04 18:49:24 +02:00
|
|
|
|
|
|
|
(define-public physfs
|
|
|
|
(package
|
|
|
|
(name "physfs")
|
2019-03-24 13:52:43 +01:00
|
|
|
(version "3.0.2")
|
2015-10-04 18:49:24 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
2017-04-16 01:53:14 +02:00
|
|
|
"https://icculus.org/physfs/downloads/physfs-"
|
2015-10-04 18:49:24 +02:00
|
|
|
version ".tar.bz2"))
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-03-24 13:52:43 +01:00
|
|
|
"0qzqz4r88gvd8m7sh2z5hvqcr0jfr4wb2f77c19xycyn0rigfk9h"))))
|
2015-10-04 18:49:24 +02:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
2018-07-14 12:47:32 +02:00
|
|
|
'(#:tests? #f ; no check target
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'patch-CMakeLists.txt
|
|
|
|
(lambda _
|
|
|
|
(substitute* "CMakeLists.txt"
|
|
|
|
;; XXX: For some reason CMakeLists.txt disables
|
|
|
|
;; RUNPATH manipulation when the compiler is GCC.
|
|
|
|
(("CMAKE_COMPILER_IS_GNUCC") "FALSE"))
|
|
|
|
#t)))))
|
2015-10-04 18:49:24 +02:00
|
|
|
(inputs
|
|
|
|
`(("zlib" ,zlib)))
|
|
|
|
(native-inputs
|
|
|
|
`(("doxygen" ,doxygen)))
|
2017-04-16 01:53:14 +02:00
|
|
|
(home-page "https://icculus.org/physfs")
|
2015-10-04 18:49:24 +02:00
|
|
|
(synopsis "File system abstraction library")
|
|
|
|
(description
|
|
|
|
"PhysicsFS is a library to provide abstract access to various archives.
|
|
|
|
It is intended for use in video games. For security, no file writing done
|
|
|
|
through the PhysicsFS API can leave a defined @emph{write directory}. For
|
|
|
|
file reading, a @emph{search path} with archives and directories is defined,
|
|
|
|
and it becomes a single, transparent hierarchical file system. So archive
|
|
|
|
files can be accessed in the same way as you access files directly on a disk,
|
|
|
|
and it makes it easy to ship a new archive that will override a previous
|
|
|
|
archive on a per-file basis.")
|
|
|
|
(license license:zlib)))
|
2015-11-14 20:00:20 +01:00
|
|
|
|
|
|
|
(define-public love
|
|
|
|
(package
|
|
|
|
(name "love")
|
2018-05-03 17:53:11 +02:00
|
|
|
(version "11.1")
|
2015-11-14 20:00:20 +01:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://bitbucket.org/rude/love/downloads/"
|
|
|
|
"love-" version "-linux-src.tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2018-05-08 12:44:35 +02:00
|
|
|
"1pkwiszmjs0xrwk0wqbc5cp9108b1y8gwsid0gqk1s0x09q9lpmw"))))
|
2015-11-14 20:00:20 +01:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
|
|
|
`(("devil" ,devil)
|
|
|
|
("freetype" ,freetype)
|
|
|
|
("libmodplug" ,libmodplug)
|
2016-01-02 03:30:21 +01:00
|
|
|
("libtheora" ,libtheora)
|
2015-11-14 20:00:20 +01:00
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
("luajit" ,luajit)
|
|
|
|
("mesa" ,mesa)
|
|
|
|
("mpg123" ,mpg123)
|
|
|
|
("openal" ,openal)
|
|
|
|
("physfs" ,physfs)
|
|
|
|
("sdl2" ,sdl2)
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
(synopsis "2D game framework for Lua")
|
|
|
|
(description "LÖVE is a framework for making 2D games in the Lua
|
|
|
|
programming language.")
|
|
|
|
(home-page "https://love2d.org/")
|
|
|
|
(license license:zlib)))
|
2016-01-29 22:08:12 +01:00
|
|
|
|
|
|
|
(define-public allegro-4
|
|
|
|
(package
|
|
|
|
(name "allegro")
|
2019-02-15 05:34:09 +01:00
|
|
|
(version "4.4.3")
|
2016-01-29 22:08:12 +01:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2017-06-03 22:33:27 +02:00
|
|
|
(uri (string-append "https://github.com/liballeg/allegro5/"
|
|
|
|
"releases/download/" version "/allegro-"
|
|
|
|
version ".tar.gz"))
|
2016-01-29 22:08:12 +01:00
|
|
|
(sha256
|
|
|
|
(base32
|
2019-02-15 05:34:09 +01:00
|
|
|
"1d5ws3ihvpa6f4qc6a6drq31pajw6bblxifr4kcxzqj9br1nw28y"))))
|
2016-01-29 22:08:12 +01:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'patch-build-system
|
|
|
|
(lambda _
|
|
|
|
;; Build addons as shared libraries. Trying to set ADDON_LINKAGE
|
|
|
|
;; via a command line option doesn't work because it is
|
|
|
|
;; unconditionally clobbered in the build script.
|
|
|
|
(substitute* '("CMakeLists.txt")
|
|
|
|
(("ADDON_LINKAGE STATIC")
|
|
|
|
"ADDON_LINKAGE SHARED"))
|
|
|
|
#t)))))
|
|
|
|
(inputs
|
|
|
|
`(("glu" ,glu)
|
|
|
|
("libpng" ,libpng)
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
("mesa" ,mesa)
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
(synopsis "Game programming library")
|
|
|
|
(description "Allegro is a library mainly aimed at video game and
|
|
|
|
multimedia programming. It handles common, low-level tasks such as creating
|
|
|
|
windows, accepting user input, loading data, drawing images, playing sounds,
|
|
|
|
etc.")
|
|
|
|
(home-page "http://liballeg.org")
|
|
|
|
(license license:giftware)))
|
2016-01-29 22:17:45 +01:00
|
|
|
|
2016-07-18 22:14:09 +02:00
|
|
|
(define-public allegro
|
|
|
|
(package
|
|
|
|
(name "allegro")
|
2018-07-27 20:23:43 +02:00
|
|
|
(version "5.2.4.0")
|
2016-07-18 22:14:09 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2017-06-03 22:33:27 +02:00
|
|
|
(uri (string-append "https://github.com/liballeg/allegro5/releases"
|
|
|
|
"/download/" version "/allegro-"
|
2018-07-27 20:23:43 +02:00
|
|
|
version ".tar.gz"))
|
2018-12-12 11:04:54 +01:00
|
|
|
(patches (search-patches
|
2019-01-01 09:22:34 +01:00
|
|
|
"allegro-mesa-18.2.5-and-later.patch"))
|
2016-07-18 22:14:09 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2018-07-27 20:23:43 +02:00
|
|
|
"1w9a5yqi5q03b2qvmx5ff90paz0xbr9cy7i7f0xiqa65ava66q9l"))))
|
2016-07-18 22:14:09 +02:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments `(#:tests? #f)) ; there are no tests
|
|
|
|
(inputs
|
|
|
|
;; FIXME: Add the following optional inputs: xinput2, opensl, dumb
|
|
|
|
`(("flac" ,flac)
|
|
|
|
("freetype" ,freetype)
|
|
|
|
("glu" ,glu)
|
|
|
|
("gtk" ,gtk+-2)
|
|
|
|
("libjpeg" ,libjpeg)
|
|
|
|
("libpng" ,libpng)
|
|
|
|
("libtheora" ,libtheora)
|
|
|
|
("libvorbis" ,libvorbis)
|
|
|
|
("libxcursor" ,libxcursor)
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
("mesa" ,mesa)
|
|
|
|
("openal" ,openal)
|
|
|
|
("physfs" ,physfs)
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
(synopsis "Game programming library")
|
|
|
|
(description "Allegro is a library mainly aimed at video game and
|
|
|
|
multimedia programming. It handles common, low-level tasks such as creating
|
|
|
|
windows, accepting user input, loading data, drawing images, playing sounds,
|
|
|
|
etc.")
|
|
|
|
(home-page "http://liballeg.org")
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
2016-07-18 22:14:37 +02:00
|
|
|
(define-public allegro-5.0
|
|
|
|
(package (inherit allegro)
|
|
|
|
(name "allegro")
|
|
|
|
(version "5.0.11")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2017-06-03 22:33:27 +02:00
|
|
|
(uri (string-append "https://github.com/liballeg/allegro5/releases"
|
|
|
|
"/download/" version "/allegro-"
|
|
|
|
(if (equal? "0" (string-take-right version 1))
|
|
|
|
(string-drop-right version 2)
|
|
|
|
version)
|
|
|
|
".tar.gz"))
|
2019-01-01 09:22:34 +01:00
|
|
|
(patches (search-patches
|
|
|
|
"allegro-mesa-18.2.5-and-later.patch"))
|
2016-07-18 22:14:37 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0cd51qrh97jrr0xdmnivqgwljpmizg8pixsgvc4blqqlaz4i9zj9"))))))
|
|
|
|
|
2016-01-29 22:17:45 +01:00
|
|
|
(define-public aseprite
|
|
|
|
(package
|
|
|
|
(name "aseprite")
|
2017-03-26 08:50:08 +02:00
|
|
|
(version "1.1.7") ; After 1.1.7 the source is no longer distributed under the GPL.
|
2017-03-26 07:08:27 +02:00
|
|
|
;; TODO: Unbundle third party software.
|
2016-01-29 22:17:45 +01:00
|
|
|
(source (origin
|
2017-03-26 07:08:27 +02:00
|
|
|
(method url-fetch/zipbomb)
|
|
|
|
(uri (string-append "https://github.com/aseprite/aseprite"
|
|
|
|
"/releases/download/v" version
|
|
|
|
"/Aseprite-v" version "-Source.zip"))
|
2016-01-29 22:17:45 +01:00
|
|
|
(sha256
|
|
|
|
(base32
|
2017-03-26 08:50:08 +02:00
|
|
|
"1plss4i1lfxcznv9p0pip1bkhj7ipw7jlhsh5avd6dzw079l4nvv"))))
|
2016-01-29 22:17:45 +01:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:configure-flags
|
|
|
|
;; Use shared libraries instead of building bundled source.
|
|
|
|
(list "-DWITH_WEBP_SUPPORT=1"
|
|
|
|
"-DUSE_SHARED_CURL=1"
|
|
|
|
"-DUSE_SHARED_GIFLIB=1"
|
|
|
|
"-DUSE_SHARED_JPEGLIB=1"
|
|
|
|
"-DUSE_SHARED_ZLIB=1"
|
|
|
|
"-DUSE_SHARED_LIBPNG=1"
|
|
|
|
"-DUSE_SHARED_LIBLOADPNG=1"
|
|
|
|
"-DUSE_SHARED_LIBWEBP=1"
|
|
|
|
"-DUSE_SHARED_TINYXML=1"
|
|
|
|
"-DUSE_SHARED_PIXMAN=1"
|
|
|
|
"-DUSE_SHARED_FREETYPE=1"
|
|
|
|
"-DUSE_SHARED_ALLEGRO4=1"
|
|
|
|
"-DENABLE_UPDATER=0" ; no auto-updates
|
|
|
|
(string-append "-DFREETYPE_INCLUDE_DIR="
|
|
|
|
(assoc-ref %build-inputs "freetype")
|
2016-05-12 03:28:14 +02:00
|
|
|
"/include/freetype2"))))
|
2016-01-29 22:17:45 +01:00
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
;; TODO: Use a patched Allegro 4 that supports window resizing. This
|
|
|
|
;; patched version is bundled with Aseprite, but the patches should be
|
|
|
|
;; extracted and applied on top of a standalone Allegro 4 package.
|
|
|
|
(inputs
|
|
|
|
`(("allegro" ,allegro-4)
|
|
|
|
("curl" ,curl)
|
|
|
|
("freetype" ,freetype)
|
|
|
|
("giflib" ,giflib)
|
|
|
|
("libjpeg" ,libjpeg)
|
|
|
|
("libpng" ,libpng)
|
|
|
|
("libwebp" ,libwebp)
|
|
|
|
("libx11" ,libx11)
|
|
|
|
("libxext" ,libxext)
|
|
|
|
("libxxf86vm" ,libxxf86vm)
|
|
|
|
("pixman" ,pixman)
|
|
|
|
("tinyxml" ,tinyxml)
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
(synopsis "Animated sprite editor and pixel art tool")
|
|
|
|
(description "Aseprite is a tool for creating 2D pixel art for video
|
|
|
|
games. In addition to basic pixel editing features, Aseprite can assist in
|
|
|
|
the creation of animations, tiled graphics, texture atlases, and more.")
|
2017-04-16 01:53:14 +02:00
|
|
|
(home-page "https://www.aseprite.org/")
|
2016-01-29 22:17:45 +01:00
|
|
|
(license license:gpl2+)))
|
2016-04-12 18:47:26 +02:00
|
|
|
|
|
|
|
(define-public qqwing
|
|
|
|
(package
|
|
|
|
(name "qqwing")
|
|
|
|
(version "1.3.4")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append
|
|
|
|
"https://qqwing.com/"
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0bw0papyqjg22z6irf36gs54y8236wa37b6gyn2h1spy65n76lqp"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
(home-page "https://qqwing.com/")
|
|
|
|
(synopsis "Sudoku puzzle solver and generator")
|
|
|
|
(description
|
|
|
|
"QQWing is a Sudoku puzzle generator and solver.
|
|
|
|
It offers the following features:
|
|
|
|
@enumerate
|
|
|
|
@item Can solve 1000 puzzles in 1 second and generate 1000 puzzles in 25 seconds.
|
|
|
|
@item Uses logic. Uses as many solve techniques as possible when solving
|
|
|
|
puzzles rather than guessing.
|
|
|
|
@item Rates puzzles. Most generators don't give an indication of the difficulty
|
|
|
|
of a Sudoku puzzle. QQwing does.
|
|
|
|
@item Can print solve instructions for any puzzle.
|
|
|
|
@item Customizable output style, including a CSV style that is easy to
|
|
|
|
import into a database.
|
|
|
|
@end enumerate")
|
|
|
|
(license license:gpl2+)))
|
2016-06-20 00:56:56 +02:00
|
|
|
|
|
|
|
(define-public quesoglc
|
|
|
|
(package
|
|
|
|
(name "quesoglc")
|
|
|
|
(version "0.7.2")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://sourceforge/" name "/" version "/"
|
|
|
|
name "-" version "-free.tar.bz2"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"08ddhywdy2qg17m592ng3yr0p1ih96irg8wg729g75hsxxq9ipks"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
|
|
|
(inputs `(("fontconfig" ,fontconfig)
|
|
|
|
("freeglute" ,freeglut)
|
|
|
|
("fribidi" ,fribidi)
|
|
|
|
("glew" ,glew)))
|
|
|
|
(home-page "http://quesoglc.sourceforge.net")
|
|
|
|
(synopsis "Implementation of the OpenGL Character Renderer (GLC)")
|
|
|
|
(description
|
|
|
|
"The OpenGL Character Renderer (GLC) is a state machine that provides
|
|
|
|
OpenGL programs with character rendering services via an application programming
|
|
|
|
interface (API).")
|
|
|
|
(license (list license:expat license:lgpl2.1+))))
|
2016-07-30 20:32:49 +02:00
|
|
|
|
|
|
|
(define-public python-pygame
|
|
|
|
(package
|
|
|
|
(name "python-pygame")
|
2019-03-15 20:57:17 +01:00
|
|
|
(version "1.9.4")
|
2016-07-30 20:32:49 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
2017-02-21 18:53:19 +01:00
|
|
|
(uri (pypi-uri "pygame" version))
|
2016-07-30 20:32:49 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2019-03-15 20:57:17 +01:00
|
|
|
"1dn0nb86jl7yr8709cncxdr0yrmviqakw7zx3g8jbbwrr60if3bh"))))
|
2016-07-30 20:32:49 +02:00
|
|
|
(build-system python-build-system)
|
|
|
|
(arguments
|
2019-03-15 20:57:17 +01:00
|
|
|
`(#:tests? #f ; tests require pygame to be installed first
|
2016-07-30 20:32:49 +02:00
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
;; Set the paths to the dependencies manually because
|
|
|
|
;; the configure script does not allow passing them as
|
|
|
|
;; parameters. This also means we can skip the configure
|
|
|
|
;; phase.
|
|
|
|
(add-before 'build 'set-library-paths
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
(let ((sdl-ref (assoc-ref inputs "sdl"))
|
|
|
|
(font-ref (assoc-ref inputs "sdl-ttf"))
|
|
|
|
(image-ref (assoc-ref inputs "sdl-image"))
|
|
|
|
(mixer-ref (assoc-ref inputs "sdl-mixer"))
|
|
|
|
(smpeg-ref (assoc-ref inputs "libsmpeg"))
|
|
|
|
(png-ref (assoc-ref inputs "libpng"))
|
|
|
|
(jpeg-ref (assoc-ref inputs "libjpeg"))
|
2017-02-21 18:53:19 +01:00
|
|
|
(freetype-ref (assoc-ref inputs "freetype"))
|
2016-07-30 20:32:49 +02:00
|
|
|
(v4l-ref (assoc-ref inputs "v4l-utils"))
|
|
|
|
(out-ref (assoc-ref outputs "out")))
|
|
|
|
(substitute* "Setup.in"
|
|
|
|
(("SDL = -I/usr/include/SDL")
|
|
|
|
(string-append "SDL = -I" sdl-ref "/include/SDL -I.")))
|
|
|
|
(substitute* "Setup.in"
|
|
|
|
(("FONT = -lSDL_ttf")
|
|
|
|
(string-append "FONT = -I" font-ref "/include/SDL -L"
|
2019-03-15 20:57:17 +01:00
|
|
|
font-ref "/lib -lSDL_ttf")))
|
2016-07-30 20:32:49 +02:00
|
|
|
(substitute* "Setup.in"
|
|
|
|
(("IMAGE = -lSDL_image")
|
|
|
|
(string-append "IMAGE = -I" image-ref "/include/SDL -L"
|
2019-03-15 20:57:17 +01:00
|
|
|
image-ref "/lib -lSDL_image")))
|
2016-07-30 20:32:49 +02:00
|
|
|
(substitute* "Setup.in"
|
|
|
|
(("MIXER = -lSDL_mixer")
|
|
|
|
(string-append "MIXER = -I" mixer-ref "/include/SDL -L"
|
2019-03-15 20:57:17 +01:00
|
|
|
mixer-ref "/lib -lSDL_mixer")))
|
2016-07-30 20:32:49 +02:00
|
|
|
(substitute* "Setup.in"
|
|
|
|
(("SMPEG = -lsmpeg")
|
|
|
|
(string-append "SMPEG = -I" smpeg-ref "/include/smpeg -L"
|
2019-03-15 20:57:17 +01:00
|
|
|
smpeg-ref "/lib -lsmpeg")))
|
2016-07-30 20:32:49 +02:00
|
|
|
(substitute* "Setup.in"
|
|
|
|
(("PNG = -lpng")
|
|
|
|
(string-append "PNG = -I" png-ref "/include -L"
|
2019-03-15 20:57:17 +01:00
|
|
|
png-ref "/lib -lpng")))
|
2016-07-30 20:32:49 +02:00
|
|
|
(substitute* "Setup.in"
|
|
|
|
(("JPEG = -ljpeg")
|
|
|
|
(string-append "JPEG = -I" jpeg-ref "/include -L"
|
|
|
|
jpeg-ref "/lib -ljpeg")))
|
2017-02-21 18:53:19 +01:00
|
|
|
|
|
|
|
(substitute* "Setup.in"
|
|
|
|
(("FREETYPE = -lfreetype")
|
|
|
|
(string-append "FREETYPE = -I" freetype-ref "/include/freetype2 -L"
|
|
|
|
freetype-ref "/lib -lfreetype")))
|
|
|
|
|
2016-07-30 20:32:49 +02:00
|
|
|
(substitute* "Setup.in"
|
|
|
|
(("^pypm") "#pypm"))
|
|
|
|
;; Create a path to a header file provided by v4l-utils.
|
|
|
|
(system* "mkdir" "linux")
|
|
|
|
(system* "ln" "--symbolic"
|
|
|
|
(string-append v4l-ref "/include/libv4l1-videodev.h")
|
|
|
|
"linux/videodev.h")
|
|
|
|
(system* "ln" "--symbolic" "Setup.in" "Setup")))))))
|
|
|
|
(inputs
|
2017-02-21 18:53:19 +01:00
|
|
|
`(("freetype" ,freetype)
|
|
|
|
("sdl" ,sdl)
|
2016-07-30 20:32:49 +02:00
|
|
|
("sdl-image" ,sdl-image)
|
|
|
|
("sdl-mixer" ,sdl-mixer)
|
|
|
|
("sdl-ttf" ,sdl-ttf)
|
|
|
|
("sdl-gfx" ,sdl-gfx)
|
|
|
|
("libjpeg" ,libjpeg)
|
|
|
|
("libpng" ,libpng)
|
|
|
|
("libX11" ,libx11)
|
|
|
|
("libsmpeg" ,libsmpeg)
|
|
|
|
("portmidi" ,portmidi)
|
|
|
|
("v4l-utils" ,v4l-utils)))
|
2017-04-16 01:53:14 +02:00
|
|
|
(home-page "https://www.pygame.org")
|
2016-07-30 20:32:49 +02:00
|
|
|
(synopsis "SDL wrapper for Python")
|
|
|
|
(description "Pygame is a set of Python modules designed for writing games.
|
|
|
|
Pygame adds functionality on top of the excellent SDL library. This allows you
|
|
|
|
to create fully featured games and multimedia programs in the python language.")
|
|
|
|
(license (list license:bsd-2
|
|
|
|
;; python numeric license as listed by Debian looks like
|
|
|
|
;; an Expat-style license with a warranty disclaimer for
|
|
|
|
;; the U.S. government and the University of California.
|
|
|
|
license:expat
|
|
|
|
license:lgpl2.0+
|
|
|
|
license:lgpl2.1+
|
|
|
|
license:gpl3+
|
|
|
|
license:psfl
|
|
|
|
license:public-domain
|
|
|
|
license:lgpl2.1+))))
|
2017-02-21 18:53:19 +01:00
|
|
|
|
|
|
|
(define-public python2-pygame
|
|
|
|
(package-with-python2 python-pygame))
|
2017-03-27 02:00:42 +02:00
|
|
|
|
|
|
|
(define-public grafx2
|
|
|
|
(package
|
|
|
|
(name "grafx2")
|
|
|
|
(version "2.4")
|
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
;; XXX: There is no URL that contains the version. :(
|
|
|
|
(uri "http://pulkomandy.tk/projects/GrafX2/downloads/21")
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"0svsy6rqmdj11b400c242i2ixihyz0hds0dgicqz6g6dcgmcl62q"))))
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(delete 'configure) ; no configure script
|
|
|
|
(add-before 'build 'change-to-src-directory
|
|
|
|
(lambda _
|
|
|
|
(chdir "src")
|
|
|
|
#t)))
|
|
|
|
#:make-flags
|
|
|
|
;; SDL header files are referenced without the preceeding "SDL/".
|
|
|
|
(list (string-append "CFLAGS=-I"
|
|
|
|
(assoc-ref %build-inputs "sdl-union")
|
|
|
|
"/include/SDL")
|
|
|
|
(string-append "prefix="
|
|
|
|
(assoc-ref %outputs "out")))
|
|
|
|
#:tests? #f)) ; no check target
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
|
|
|
`(("libpng" ,libpng)
|
|
|
|
("lua" ,lua-5.1)
|
|
|
|
("sdl-union" ,(sdl-union (list sdl sdl-image sdl-ttf)))))
|
|
|
|
(synopsis "Bitmap paint program")
|
|
|
|
(description "GrafX2 is a bitmap paint program inspired by the Amiga
|
2017-03-28 01:15:37 +02:00
|
|
|
programs Deluxe Paint and Brilliance. Specializing in 256-color drawing, it
|
2017-03-27 02:00:42 +02:00
|
|
|
includes a very large number of tools and effects that make it particularly
|
|
|
|
suitable for pixel art, game graphics, and generally any detailed graphics
|
|
|
|
painted with a mouse.")
|
|
|
|
(home-page "http://pulkomandy.tk/projects/GrafX2")
|
|
|
|
(license license:gpl2))) ; GPLv2 only
|
2017-08-05 17:56:29 +02:00
|
|
|
|
|
|
|
(define-public ois
|
|
|
|
(package
|
|
|
|
(name "ois")
|
2019-02-22 00:49:38 +01:00
|
|
|
(version "1.5")
|
2017-08-05 17:56:29 +02:00
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/wgois/OIS.git")
|
2019-02-22 00:49:38 +01:00
|
|
|
(commit (string-append "v" version))))
|
|
|
|
(file-name (git-file-name name version))
|
2017-08-05 17:56:29 +02:00
|
|
|
(sha256
|
2019-02-22 00:49:38 +01:00
|
|
|
(base32 "0g8krgq5bdx2rw7ig0xva4kqv4x815672i7z6lljp3n8847wmypa"))))
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f)) ; no test suite
|
2017-08-05 17:56:29 +02:00
|
|
|
(inputs
|
2019-02-22 00:49:38 +01:00
|
|
|
`(("libx11" ,libx11)))
|
2017-08-05 17:56:29 +02:00
|
|
|
(synopsis "Object Oriented Input System")
|
|
|
|
(description
|
|
|
|
"Cross Platform Object Oriented Input Lib System is a cross platform,
|
|
|
|
simple solution for using all kinds of Input Devices (Keyboards, Mice,
|
|
|
|
Joysticks, etc) and feedback devices (e.g. force feedback). Meant to be very
|
|
|
|
robust and compatible with many systems and operating systems.")
|
|
|
|
(home-page "https://github.com/wgois/OIS")
|
|
|
|
(license license:zlib)))
|
2017-08-11 18:56:28 +02:00
|
|
|
|
|
|
|
(define-public mygui
|
|
|
|
(package
|
|
|
|
(name "mygui")
|
|
|
|
(version "3.2.2")
|
|
|
|
(source
|
|
|
|
(origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri
|
|
|
|
(string-append "https://github.com/MyGUI/" name
|
|
|
|
"/archive/MyGUI" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
|
|
|
"13x7cydmj7gjmsg702sqjbfi53z265iv6j7binv3r6a7ibndfa0a"))))
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f ; No test target
|
|
|
|
#:configure-flags
|
|
|
|
(list "-DMYGUI_INSTALL_DOCS=TRUE"
|
|
|
|
(string-append "-DOGRE_INCLUDE_DIR="
|
|
|
|
(assoc-ref %build-inputs "ogre")
|
|
|
|
"/include/OGRE"))))
|
|
|
|
(native-inputs
|
|
|
|
`(("boost" ,boost)
|
|
|
|
("doxygen" ,doxygen)
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
|
|
|
`(("font-dejavu" ,font-dejavu)
|
|
|
|
("freetype" ,freetype)
|
|
|
|
("graphviz" ,graphviz)
|
|
|
|
("libx11" ,libx11)
|
|
|
|
("ogre" ,ogre)
|
|
|
|
("ois" ,ois)))
|
|
|
|
(synopsis "Fast, flexible and simple GUI")
|
|
|
|
(description
|
|
|
|
"MyGUI is a library for creating Graphical User Interfaces (GUIs) for games
|
|
|
|
and 3D applications. The main goals of mygui are: speed, flexibility and ease
|
|
|
|
of use.")
|
|
|
|
(home-page "http://mygui.info/")
|
|
|
|
(license license:expat)))
|
2017-08-12 16:19:41 +02:00
|
|
|
|
|
|
|
(define-public openmw
|
|
|
|
(package
|
|
|
|
(name "openmw")
|
2019-04-01 09:42:04 +02:00
|
|
|
(version "0.45.0")
|
2017-08-12 16:19:41 +02:00
|
|
|
(source
|
|
|
|
(origin
|
2018-08-27 17:30:01 +02:00
|
|
|
(method url-fetch)
|
|
|
|
(uri
|
|
|
|
(string-append "https://github.com/OpenMW/openmw/archive/"
|
2019-03-24 14:26:29 +01:00
|
|
|
"openmw-" version ".tar.gz"))
|
2017-08-12 16:19:41 +02:00
|
|
|
(sha256
|
|
|
|
(base32
|
2019-04-01 09:42:04 +02:00
|
|
|
"0r0wgvv1faan8z8lbply8lks4hcnppifjrcz04l5zvq6yiqzjg5n"))))
|
2017-08-12 16:19:41 +02:00
|
|
|
(build-system cmake-build-system)
|
|
|
|
(arguments
|
|
|
|
`(#:tests? #f ; No test target
|
|
|
|
#:configure-flags
|
|
|
|
(list "-DDESIRED_QT_VERSION=5")))
|
|
|
|
(native-inputs
|
|
|
|
`(("boost" ,boost)
|
|
|
|
("doxygen" ,doxygen)
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
(inputs
|
|
|
|
`(("bullet" ,bullet)
|
|
|
|
("ffmpeg" ,ffmpeg)
|
|
|
|
("libxt" ,libxt)
|
|
|
|
("mygui" ,mygui)
|
|
|
|
("openal" ,openal)
|
|
|
|
("openscenegraph" ,openscenegraph)
|
|
|
|
("qtbase" ,qtbase)
|
|
|
|
("sdl" ,sdl2)
|
|
|
|
("unshield" ,unshield)))
|
2017-11-08 15:41:41 +01:00
|
|
|
(synopsis "Re-implementation of the RPG Morrowind engine")
|
2017-08-12 16:19:41 +02:00
|
|
|
(description
|
2017-11-08 15:41:41 +01:00
|
|
|
"OpenMW is a game engine which reimplements and extends the one that runs
|
|
|
|
the 2002 open-world RPG Morrowind. The engine comes with its own editor,
|
|
|
|
called OpenMW-CS which allows the user to edit or create their own original
|
|
|
|
games.")
|
2017-08-12 16:19:41 +02:00
|
|
|
(home-page "https://openmw.org")
|
2018-08-27 17:30:01 +02:00
|
|
|
(license license:gpl3)))
|
2017-09-07 13:59:47 +02:00
|
|
|
|
|
|
|
(define-public godot
|
|
|
|
(package
|
|
|
|
(name "godot")
|
2018-10-11 22:31:08 +02:00
|
|
|
(version "3.0.6")
|
2017-09-07 13:59:47 +02:00
|
|
|
(source (origin
|
2018-07-01 23:51:21 +02:00
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/godotengine/godot")
|
|
|
|
(commit (string-append version "-stable"))))
|
|
|
|
(file-name (git-file-name name version))
|
2017-09-07 13:59:47 +02:00
|
|
|
(sha256
|
2018-01-30 01:21:21 +01:00
|
|
|
(base32
|
2018-10-11 22:31:08 +02:00
|
|
|
"0g64h0x8dlv6aa9ggfcidk2mknkfl5li7z1phcav8aqp9srj8avf"))
|
2018-03-15 11:38:48 +01:00
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
'(begin
|
|
|
|
;; Drop libraries that we take from Guix. Note that some
|
|
|
|
;; of these may be modified; see "thirdparty/README.md".
|
|
|
|
(with-directory-excursion "thirdparty"
|
|
|
|
(for-each delete-file-recursively
|
|
|
|
'("freetype"
|
|
|
|
"libogg"
|
|
|
|
"libpng"
|
|
|
|
"libtheora"
|
|
|
|
"libvorbis"
|
|
|
|
"libvpx"
|
|
|
|
"libwebp"
|
|
|
|
"openssl"
|
|
|
|
"opus"
|
|
|
|
"zlib"))
|
|
|
|
#t)))))
|
2017-11-17 10:17:46 +01:00
|
|
|
(build-system scons-build-system)
|
2017-09-07 13:59:47 +02:00
|
|
|
(arguments
|
2017-11-17 10:17:46 +01:00
|
|
|
`(#:scons ,scons-python2
|
|
|
|
#:scons-flags (list "platform=x11"
|
2018-01-20 19:59:06 +01:00
|
|
|
,@(if (string-prefix? "aarch64" (or (%current-target-system)
|
|
|
|
(%current-system)))
|
|
|
|
`("CCFLAGS=-DNO_THREADS")
|
|
|
|
'())
|
2017-11-17 10:17:46 +01:00
|
|
|
;; Avoid using many of the bundled libs.
|
|
|
|
;; Note: These options can be found in the SConstruct file.
|
|
|
|
"builtin_freetype=no"
|
|
|
|
"builtin_glew=no"
|
|
|
|
"builtin_libmpdec=no"
|
|
|
|
"builtin_libogg=no"
|
|
|
|
"builtin_libpng=no"
|
|
|
|
"builtin_libtheora=no"
|
|
|
|
"builtin_libvorbis=no"
|
2018-03-15 11:38:48 +01:00
|
|
|
"builtin_libvpx=no"
|
2017-11-17 10:17:46 +01:00
|
|
|
"builtin_libwebp=no"
|
|
|
|
"builtin_openssl=no"
|
|
|
|
"builtin_opus=no"
|
|
|
|
"builtin_zlib=no")
|
|
|
|
#:tests? #f ; There are no tests
|
2017-09-07 13:59:47 +02:00
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'scons-use-env
|
|
|
|
(lambda _
|
|
|
|
;; Scons does not use the environment variables by default,
|
|
|
|
;; but this substitution makes it do so.
|
|
|
|
(substitute* "SConstruct"
|
|
|
|
(("env_base = Environment\\(tools=custom_tools\\)")
|
|
|
|
(string-append
|
|
|
|
"env_base = Environment(tools=custom_tools)\n"
|
|
|
|
"env_base = Environment(ENV=os.environ)")))
|
|
|
|
#t))
|
|
|
|
(replace 'install
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(bin (string-append out "/bin")))
|
|
|
|
(with-directory-excursion "bin"
|
|
|
|
(if (file-exists? "godot.x11.tools.64")
|
|
|
|
(rename-file "godot.x11.tools.64" "godot")
|
|
|
|
(rename-file "godot.x11.tools.32" "godot"))
|
2018-02-27 02:01:44 +01:00
|
|
|
(install-file "godot" bin))
|
|
|
|
#t)))
|
2017-09-07 13:59:47 +02:00
|
|
|
(add-after 'install 'install-godot-desktop
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let* ((out (assoc-ref outputs "out"))
|
|
|
|
(desktop (string-append out "/share/applications"))
|
|
|
|
(icon-dir (string-append out "/share/pixmaps")))
|
|
|
|
(rename-file "icon.png" "godot.png")
|
|
|
|
(install-file "godot.png" icon-dir)
|
2018-02-27 02:01:44 +01:00
|
|
|
(mkdir-p desktop)
|
2017-09-07 13:59:47 +02:00
|
|
|
(with-output-to-file
|
|
|
|
(string-append desktop "/godot.desktop")
|
|
|
|
(lambda _
|
|
|
|
(format #t
|
|
|
|
"[Desktop Entry]~@
|
|
|
|
Name=godot~@
|
|
|
|
Comment=The godot game engine~@
|
|
|
|
Exec=~a/bin/godot~@
|
|
|
|
TryExec=~@*~a/bin/godot~@
|
|
|
|
Icon=godot~@
|
|
|
|
Type=Application~%"
|
|
|
|
out)))
|
|
|
|
#t))))))
|
2017-11-17 10:17:46 +01:00
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
2017-09-07 13:59:47 +02:00
|
|
|
(inputs `(("alsa-lib" ,alsa-lib)
|
|
|
|
("freetype" ,freetype)
|
|
|
|
("glew" ,glew)
|
|
|
|
("glu" ,glu)
|
|
|
|
("libtheora" ,libtheora)
|
|
|
|
("libvorbis" ,libvorbis)
|
2018-03-15 11:38:48 +01:00
|
|
|
("libvpx" ,libvpx)
|
2017-09-07 13:59:47 +02:00
|
|
|
("libwebp" ,libwebp)
|
|
|
|
("libx11" ,libx11)
|
|
|
|
("libxcursor" ,libxcursor)
|
2018-01-30 01:21:21 +01:00
|
|
|
("libxi" ,libxi)
|
2017-09-07 13:59:47 +02:00
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
("mesa" ,mesa)
|
|
|
|
("openssl" ,openssl)
|
|
|
|
("opusfile" ,opusfile)
|
2017-11-17 10:17:46 +01:00
|
|
|
("pulseaudio" ,pulseaudio)))
|
2017-09-07 13:59:47 +02:00
|
|
|
(home-page "https://godotengine.org/")
|
|
|
|
(synopsis "Advanced 2D and 3D game engine")
|
|
|
|
(description
|
|
|
|
"Godot is an advanced multi-platform game engine written in C++. If
|
|
|
|
features design tools such as a visual editor, can import 3D models and
|
|
|
|
provide high-quality 3D rendering, it contains an animation editor, and can be
|
|
|
|
scripted in a Python-like language.")
|
|
|
|
(license license:expat)))
|
2018-01-15 23:21:20 +01:00
|
|
|
|
|
|
|
(define-public eureka
|
|
|
|
(package
|
|
|
|
(name "eureka")
|
2019-03-15 20:40:39 +01:00
|
|
|
(version "1.24")
|
2018-01-15 23:21:20 +01:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "mirror://sourceforge/eureka-editor/Eureka/"
|
|
|
|
version "/eureka-"
|
|
|
|
;; version without dots e.g 1.21 => 121
|
|
|
|
(string-join (string-split version #\.) "")
|
|
|
|
"-source.tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-03-15 20:40:39 +01:00
|
|
|
"1x4idjniz9sma3j9ss6ni7fafmz22zs2jnpsqw4my9rsnmra5d9v"))))
|
2018-01-15 23:21:20 +01:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:tests? #f
|
|
|
|
#:make-flags
|
|
|
|
(let ((out (assoc-ref %outputs "out")))
|
|
|
|
(list (string-append "PREFIX=" out)))
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(delete 'configure)
|
|
|
|
(add-before 'build 'prepare-install-directories
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(let ((out (assoc-ref outputs "out")))
|
|
|
|
(mkdir-p (string-append out "/bin"))
|
|
|
|
(mkdir-p (string-append out "/share"))
|
|
|
|
|
|
|
|
(with-fluids ((%default-port-encoding #f))
|
|
|
|
(substitute* "./src/main.cc"
|
|
|
|
(("/usr/local") out)))
|
|
|
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
(("-o root") ""))))))))
|
|
|
|
(inputs `(("mesa" ,mesa)
|
|
|
|
("libxft" ,libxft)
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
("libfontconfig" ,fontconfig)
|
|
|
|
("libjpeg" ,libjpeg)
|
|
|
|
("libpng" ,libpng)
|
|
|
|
("fltk" ,fltk)
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
|
|
|
("xdg-utils" ,xdg-utils)))
|
|
|
|
(synopsis "Doom map editor")
|
|
|
|
(description "Eureka is a map editor for the classic DOOM games, and a few
|
|
|
|
related games such as Heretic and Hexen. It comes with a 3d preview mode and
|
|
|
|
a 2D editor view.")
|
|
|
|
(home-page "http://eureka-editor.sourceforge.net/")
|
|
|
|
(license license:gpl2+)))
|
2018-06-20 02:59:23 +02:00
|
|
|
|
|
|
|
(define-public guile-chickadee
|
|
|
|
(package
|
|
|
|
(name "guile-chickadee")
|
2018-10-03 15:32:49 +02:00
|
|
|
(version "0.3.0")
|
2018-06-20 02:59:23 +02:00
|
|
|
(source (origin
|
|
|
|
(method url-fetch)
|
|
|
|
(uri (string-append "https://files.dthompson.us/chickadee/"
|
|
|
|
"chickadee-" version ".tar.gz"))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2018-10-03 15:32:49 +02:00
|
|
|
"0jl223dybsj5gvs7z4q60gnafj1b7kgi5mx0kj58m5knrp8qwg5h"))))
|
2018-06-20 02:59:23 +02:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
2018-10-03 15:32:49 +02:00
|
|
|
'(#:make-flags '("GUILE_AUTO_COMPILE=0")
|
|
|
|
#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-before 'configure 'patch-godir
|
|
|
|
(lambda _
|
|
|
|
;; Install compiled '.go' files into the site directory.
|
|
|
|
(substitute* "Makefile.in"
|
|
|
|
(("/ccache") "/site-ccache")))))))
|
2018-06-20 02:59:23 +02:00
|
|
|
(propagated-inputs
|
|
|
|
`(("guile-opengl" ,guile-opengl)
|
|
|
|
("guile-sdl2" ,guile-sdl2)))
|
|
|
|
(inputs
|
|
|
|
`(("guile" ,guile-2.2)))
|
|
|
|
(native-inputs
|
|
|
|
`(("pkg-config" ,pkg-config)
|
|
|
|
("texinfo" ,texinfo)))
|
|
|
|
(home-page "https://dthompson.us/projects/chickadee.html")
|
|
|
|
(synopsis "Game development toolkit for Guile Scheme with SDL2 and OpenGL")
|
|
|
|
(description "Chickadee is a game development toolkit for Guile Scheme
|
|
|
|
built on top of SDL2 and OpenGL. Chickadee aims to provide all the features
|
|
|
|
that parenthetically inclined game developers need to make 2D (and eventually
|
|
|
|
3D) games in Scheme, such as:
|
|
|
|
|
|
|
|
@enumerate
|
|
|
|
@item extensible, fixed-timestep game loop
|
|
|
|
@item OpenGL-based rendering engine
|
|
|
|
@item keyboard, mouse, controller input
|
|
|
|
@item REPL-driven development model
|
|
|
|
@end enumerate\n")
|
|
|
|
(license license:gpl3+)))
|
2019-03-24 13:56:16 +01:00
|
|
|
|
|
|
|
(define-public bennu-game-development
|
|
|
|
(package
|
|
|
|
(name "bennu-game-development")
|
|
|
|
(version "348")
|
|
|
|
(source (origin
|
|
|
|
(method svn-fetch)
|
|
|
|
(uri (svn-reference
|
|
|
|
(url "http://svn.code.sf.net/p/bennugd/code")
|
|
|
|
(revision (string->number version))))
|
|
|
|
(file-name (string-append name "-" version))
|
|
|
|
(sha256
|
|
|
|
(base32
|
2019-03-24 15:05:56 +01:00
|
|
|
"0wpzsbh4zi3931493dnyl5ffmh1b7fj2sx3mzrq304z9zs4d6lqq"))
|
|
|
|
(modules '((guix build utils)))
|
|
|
|
(snippet
|
|
|
|
'(begin
|
|
|
|
(delete-file-recursively "3rdparty") #t))))
|
2019-03-24 13:56:16 +01:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments
|
|
|
|
'(#:phases
|
|
|
|
(modify-phases %standard-phases
|
2019-03-24 15:07:07 +01:00
|
|
|
(add-after 'unpack 'patch-configure-to-use-openssl
|
2019-03-24 13:56:16 +01:00
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
(chdir "core")
|
|
|
|
(delete-file "configure")
|
|
|
|
(substitute* "configure.in"
|
|
|
|
(("i\\*86\\)")
|
2019-03-24 15:07:07 +01:00
|
|
|
"*)
|
2019-03-24 13:56:16 +01:00
|
|
|
COMMON_CFLAGS=\"$COMMON_CFLAGS -DUSE_OPENSSL\"
|
|
|
|
COMMON_LDFLAGS=\"$COMMON_LDFLAGS\"
|
|
|
|
LIBSSL=\"crypto\"
|
|
|
|
USE_OPENSSL=yes
|
|
|
|
;;
|
|
|
|
|
2019-03-24 15:07:07 +01:00
|
|
|
i*86)"))
|
|
|
|
#t)))))
|
2019-03-24 13:56:16 +01:00
|
|
|
(inputs `(("openssl" ,openssl)
|
|
|
|
("zlib" ,zlib)))
|
|
|
|
(native-inputs `(("pkg-config" ,pkg-config)
|
|
|
|
("autoconf" ,autoconf)
|
|
|
|
("automake" ,automake)
|
|
|
|
("libtool" ,libtool)))
|
|
|
|
(synopsis "Programming language to create games")
|
|
|
|
(description "Bennu Game Development, also known as bennudg, is a
|
|
|
|
programming language tailored at game development. It is the successor of
|
|
|
|
Fenix.")
|
|
|
|
(home-page "https://sourceforge.net/projects/bennugd/")
|
|
|
|
(license license:zlib)))
|
2019-03-24 14:00:32 +01:00
|
|
|
|
|
|
|
(define-public bennu-game-development-modules
|
|
|
|
(package
|
|
|
|
(inherit bennu-game-development)
|
|
|
|
(name "bennu-game-development-modules")
|
|
|
|
(arguments
|
|
|
|
'(#:phases
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
(add-after 'unpack 'patch-conflicting-definitions
|
|
|
|
(lambda _
|
|
|
|
(with-fluids ((%default-port-encoding #f))
|
|
|
|
(substitute* "core/include/fmath.h"
|
|
|
|
(("extern fixed fmul\\( int x, int y \\);") "")
|
|
|
|
(("extern fixed fdiv\\( int x, int y \\);") "")))
|
|
|
|
(chdir "modules"))))))
|
|
|
|
(inputs `(("zlib" ,zlib)
|
|
|
|
("libpng" ,libpng)
|
|
|
|
("openssl" ,openssl)
|
|
|
|
("sdl-mixer" ,sdl-mixer)
|
|
|
|
("bennu-game-development" ,bennu-game-development)))
|
|
|
|
(synopsis "Modules for the Bennu Game Developement programming language")
|
|
|
|
(description "This package contains a collection of modules for the Bennu
|
|
|
|
Game Developement programming language, from CD handling through SDL to
|
|
|
|
joystick support.")))
|