Merge branch 'master' into core-updates
[jackhill/guix/guix.git] / gnu / packages / game-development.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2014 Tomáš Čech <sleep_walker@suse.cz>
3 ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
4 ;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
5 ;;; Copyright © 2015 Alex Kost <alezost@gmail.com>
6 ;;; Copyright © 2015, 2016, 2017 David Thompson <davet@gnu.org>
7 ;;; Copyright © 2016, 2017, 2018 Efraim Flashner <efraim@flashner.co.il>
8 ;;; Copyright © 2016, 2017 Kei Kebreau <kkebreau@posteo.net>
9 ;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
10 ;;; Copyright © 2016, 2017 Julian Graham <joolean@gmail.com>
11 ;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
12 ;;; Copyright © 2017 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
13 ;;; Copyright © 2017 Peter Mikkelsen <petermikkelsen10@gmail.com>
14 ;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
15 ;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
16 ;;;
17 ;;; This file is part of GNU Guix.
18 ;;;
19 ;;; GNU Guix is free software; you can redistribute it and/or modify it
20 ;;; under the terms of the GNU General Public License as published by
21 ;;; the Free Software Foundation; either version 3 of the License, or (at
22 ;;; your option) any later version.
23 ;;;
24 ;;; GNU Guix is distributed in the hope that it will be useful, but
25 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
26 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 ;;; GNU General Public License for more details.
28 ;;;
29 ;;; You should have received a copy of the GNU General Public License
30 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
31
32 (define-module (gnu packages game-development)
33 #:use-module ((guix licenses) #:prefix license:)
34 #:use-module (guix packages)
35 #:use-module (guix download)
36 #:use-module (guix git-download)
37 #:use-module (guix utils)
38 #:use-module (guix build-system cmake)
39 #:use-module (guix build-system gnu)
40 #:use-module (guix build-system python)
41 #:use-module (guix build-system scons)
42 #:use-module (gnu packages)
43 #:use-module (gnu packages audio)
44 #:use-module (gnu packages autotools)
45 #:use-module (gnu packages boost)
46 #:use-module (gnu packages compression)
47 #:use-module (gnu packages curl)
48 #:use-module (gnu packages databases)
49 #:use-module (gnu packages documentation)
50 #:use-module (gnu packages fltk)
51 #:use-module (gnu packages fonts)
52 #:use-module (gnu packages fontutils)
53 #:use-module (gnu packages freedesktop)
54 #:use-module (gnu packages fribidi)
55 #:use-module (gnu packages gl)
56 #:use-module (gnu packages glib)
57 #:use-module (gnu packages gnome)
58 #:use-module (gnu packages gnunet)
59 #:use-module (gnu packages graphics)
60 #:use-module (gnu packages graphviz)
61 #:use-module (gnu packages gtk)
62 #:use-module (gnu packages guile)
63 #:use-module (gnu packages image)
64 #:use-module (gnu packages linux)
65 #:use-module (gnu packages lua)
66 #:use-module (gnu packages m4)
67 #:use-module (gnu packages mp3)
68 #:use-module (gnu packages multiprecision)
69 #:use-module (gnu packages music)
70 #:use-module (gnu packages ncurses)
71 #:use-module (gnu packages pkg-config)
72 #:use-module (gnu packages pulseaudio)
73 #:use-module (gnu packages python)
74 #:use-module (gnu packages qt)
75 #:use-module (gnu packages sdl)
76 #:use-module (gnu packages tls)
77 #:use-module (gnu packages video)
78 #:use-module (gnu packages xdisorg)
79 #:use-module (gnu packages xiph)
80 #:use-module (gnu packages xml)
81 #:use-module (gnu packages xorg))
82
83 (define-public bullet
84 (package
85 (name "bullet")
86 (version "2.87")
87 (source (origin
88 (method url-fetch)
89 (uri (string-append "https://github.com/bulletphysics/bullet3/"
90 "archive/" version ".tar.gz"))
91 (file-name (string-append name "-" version ".tar.gz"))
92 (sha256
93 (base32
94 "15azjc1jj8ak9ad7c5sbp9nv5gpqjsa0s9pc0bwy63w490f1b323"))))
95 (build-system cmake-build-system)
96 (arguments
97 '(#:configure-flags (list (string-append
98 "-DBUILD_SHARED_LIBS=ON "
99 "-DCMAKE_CXX_FLAGS=-fPIC "
100 (or (getenv "CXXFLAGS") "")))))
101 (inputs
102 `(("glu" ,glu)
103 ("libx11" ,libx11)
104 ("mesa" ,mesa)))
105 (home-page "https://pybullet.org/wordpress/")
106 (synopsis "3D physics engine library")
107 (description
108 "Bullet is a physics engine library usable for collision detection. It
109 is used in some video games and movies.")
110 (license license:zlib)))
111
112 (define-public deutex
113 (package
114 (name "deutex")
115 (version "5.1.1")
116 (source (origin
117 (method url-fetch)
118 (uri (string-append "https://github.com/Doom-Utils/" name
119 "/releases/download/v" version "/"
120 name "-" version ".tar.xz"))
121 (sha256
122 (base32
123 "0yqzlb3imkdzy8yd7xc69xk9ajf4dhiz3a9ssphyf4c9rcr440wj"))))
124 (build-system gnu-build-system)
125 (native-inputs `(("asciidoc" ,asciidoc)))
126 (home-page "https://github.com/Doom-Utils/deutex")
127 (synopsis "WAD file composer for Doom and related games")
128 (description
129 "DeuTex is a wad composer for Doom, Heretic, Hexen and Strife. It can be
130 used to extract the lumps of a wad and save them as individual files.
131 Conversely, it can also build a wad from separate files. When extracting a
132 lump to a file, it does not just copy the raw data, it converts it to an
133 appropriate format (such as PPM for graphics, Sun audio for samples, etc.).
134 Conversely, when it reads files for inclusion in pwads, it does the necessary
135 conversions (for example, from PPM to Doom picture format). In addition,
136 DeuTex has functions such as merging wads, etc.")
137 (license license:gpl2+)))
138
139 (define-public grfcodec
140 (package
141 (name "grfcodec")
142 (version "6.0.6")
143 (source (origin
144 (method url-fetch)
145 (uri (string-append "http://binaries.openttd.org/extra/"
146 name "/" version "/" name "-" version
147 "-source.tar.xz"))
148 (sha256
149 (base32
150 "08admgnpqcsifpicbm56apgv360fxapqpbbsp10qyk8i22w1ivsk"))))
151 (build-system gnu-build-system)
152 (arguments
153 '(#:tests? #f ; no check target
154 #:phases
155 (modify-phases %standard-phases
156 (delete 'configure) ; no configure script
157 (replace 'install ; no install target
158 (lambda* (#:key outputs #:allow-other-keys)
159 (let* ((out (assoc-ref outputs "out"))
160 (bin (string-append out "/bin"))
161 (doc (string-append out "/share/doc"))
162 (man (string-append out "/share/man/man1")))
163 (for-each (lambda (file)
164 (install-file file bin))
165 '("grfcodec" "grfid" "grfstrip" "nforenum"))
166 (install-file "COPYING" doc)
167 (with-directory-excursion "docs"
168 (for-each (lambda (file)
169 (install-file (string-append file ".txt") doc))
170 '("auto_correct" "commands" "grf" "grfcodec" "grftut"
171 "readme" "readme.rpn"))
172 (for-each (lambda (file)
173 (install-file file man))
174 (find-files "." "\\.1"))))
175 #t)))))
176 (inputs
177 `(("boost" ,boost)
178 ("libpng" ,libpng)
179 ("zlib" ,zlib)))
180 (synopsis "GRF development tools")
181 (description
182 "The @dfn{Graphics Resource File} (GRF) development tools are a set of
183 tools for developing (New)GRFs. It includes a number of smaller programs, each
184 with a specific task:
185 @enumerate
186 @item @code{grfcodec} decodes and encodes GRF files for OpenTTD.
187 @item @code{grfid} extracts the so-called \"GRF ID\" from a GRF.
188 @item @code{grfstrip} strips all sprites from a GRF.
189 @item @code{nforenum} checks NFO code for errors, making corrections when
190 necessary.
191 @end enumerate")
192 (home-page "http://dev.openttdcoop.org/projects/grfcodec")
193 ;; GRFCodec, GRFID, and GRFStrip are exclusively under the GPL2.
194 ;; NFORenum is under the GPL2+.
195 ;; The MD5 implementation contained in GRFID is under the zlib license.
196 (license (list license:gpl2 license:gpl2+ license:zlib))))
197
198 (define-public catcodec
199 (package
200 (name "catcodec")
201 (version "1.0.5")
202 (source
203 (origin
204 (method url-fetch)
205 (uri (string-append "https://binaries.openttd.org/extra/catcodec/"
206 version "/catcodec-" version "-source.tar.xz"))
207 (sha256
208 (base32
209 "1qg0c2i4p29sxj0q6qp2jynlrzm5pphz2xhcjqlxa69ycrnlxzs7"))))
210 (build-system gnu-build-system)
211 (arguments
212 `(#:tests? #f ; no tests
213 #:make-flags (list (string-append "prefix=" %output))
214 #:phases (modify-phases %standard-phases
215 (delete 'configure))))
216 (home-page "http://dev.openttdcoop.org/projects/catcodec")
217 (synopsis "Encode/decode OpenTTD sounds")
218 (description "catcodec encodes and decodes sounds for OpenTTD. These
219 sounds are not much more than some metadata (description and filename) and raw
220 PCM data.")
221 (license license:gpl2)))
222
223 (define-public gzochi
224 (package
225 (name "gzochi")
226 (version "0.11.1")
227 (source (origin
228 (method url-fetch)
229 (uri (string-append "mirror://savannah/gzochi/gzochi-"
230 version ".tar.gz"))
231 (sha256
232 (base32
233 "13j1m92zhxwkaaja3lg5x0h0b28mrrawdzk9d3hd19031akfxwb3"))))
234 (build-system gnu-build-system)
235 (native-inputs `(("pkgconfig" ,pkg-config)))
236 (inputs `(("bdb" ,bdb)
237 ("glib" ,glib)
238 ("guile" ,guile-2.0)
239 ("libmicrohttpd" ,libmicrohttpd)
240 ("ncurses" ,ncurses)
241 ("sdl" ,sdl)
242 ("zlib" ,zlib)))
243 (home-page "http://www.nongnu.org/gzochi/")
244 (synopsis "Scalable middleware for multiplayer games")
245 (description
246 "gzochi is a framework for developing massively multiplayer online games.
247 A server container provides services to deployed games, which are written in
248 Guile Scheme, that abstract and simplify some of the most challenging and
249 error-prone aspects of online game development: Concurrency, data persistence,
250 and network communications. A very thin client library can be embedded to
251 provide connectivity for client applications written in any language.")
252 (license license:gpl3+)))
253
254 (define-public nml
255 (package
256 (name "nml")
257 (version "0.4.4")
258 (source
259 (origin
260 (method url-fetch)
261 (uri (string-append "http://bundles.openttdcoop.org/nml/releases/"
262 version "/nml-" version ".tar.gz"))
263 (sha256
264 (base32
265 "0wk9ls5qyjwkra54rkj1gg94xbwzi7b84a5fh1ma1q7pbimi8rmg"))))
266 (build-system python-build-system)
267 (propagated-inputs
268 `(("python-pillow" ,python-pillow)
269 ("python-ply" ,python-ply)))
270 (home-page "http://dev.openttdcoop.org/projects/nml")
271 (synopsis "NML compiler")
272 (description
273 "@dfn{NewGRF Meta Language} (NML) is a python-based compiler, capable of
274 compiling NML files (along with their associated language, sound and graphic
275 files) into @file{.grf} and/or @file{.nfo} files.")
276 (license license:gpl2+)))
277
278 (define-public python-sge-pygame
279 (package
280 (name "python-sge-pygame")
281 (version "1.5.1")
282 (source
283 (origin
284 (method url-fetch)
285 (uri (string-append "mirror://savannah/stellarengine/"
286 (version-major+minor version) "/sge-pygame-"
287 version ".tar.gz"))
288 (file-name (string-append name "-" version ".tar.gz"))
289 (sha256
290 (base32
291 "1rl3xjzh78sl0sq3xl8rl7cgp9v9v3h7s2pfwn7nj1vrmffzkcpd"))))
292 (build-system python-build-system)
293 (propagated-inputs
294 `(("python-pygame" ,python-pygame)
295 ("python-six" ,python-six)
296 ("python-uniseg" ,python-uniseg)))
297 (home-page "http://stellarengine.nongnu.org")
298 (synopsis "2D game engine for Python")
299 (description
300 "The SGE Game Engine (\"SGE\", pronounced like \"Sage\") is a
301 general-purpose 2D game engine. It takes care of several details fro you so
302 you can focus on the game itself. This makes more rapid game development
303 possible, and it also makes the SGE easy to learn.")
304 (license license:lgpl3+)))
305
306 (define-public python2-sge-pygame
307 (package-with-python2 python-sge-pygame))
308
309 (define-public python-tmx
310 (package
311 (name "python-tmx")
312 (version "1.10")
313 (source
314 (origin
315 (method url-fetch)
316 (uri (string-append "mirror://savannah/python-tmx/"
317 (version-major+minor version) "/tmx-"
318 version ".tar.gz"))
319 (sha256
320 (base32
321 "073q0prg1nzlkga2b45vhscz374206qh4x68ccg00mxxwagn64z0"))))
322 (build-system python-build-system)
323 (propagated-inputs
324 `(("python-six" ,python-six)))
325 (home-page "http://python-tmx.nongnu.org")
326 (synopsis "Python library for the @code{Tiled} TMX format")
327 (description
328 "Python TMX reads and writes the @code{Tiled} TMX format in a simple way.
329 This is useful for map editors or generic level editors, and it's also useful
330 for using a map editor or generic level editor like Tiled to edit your game's
331 levels.")
332 (license (list license:asl2.0
333 ;; Documentation (only available in the source tarball) is
334 ;; under the CC0 license.
335 license:cc0))))
336
337 (define-public python2-tmx
338 (let ((python2-tmx (package-with-python2 python-tmx)))
339 (package
340 (inherit python2-tmx)
341 (propagated-inputs
342 `(("python2-pathlib" ,python2-pathlib)
343 ,@(package-propagated-inputs python2-tmx))))))
344
345 (define-public python-xsge
346 (package
347 (name "python-xsge")
348 (version "2017.06.09")
349 (source (origin
350 (method url-fetch)
351 (uri (string-append "mirror://savannah/xsge/xsge/xsge-"
352 version ".tar.gz"))
353 (sha256
354 (base32
355 "1vy7c2y7ihvmggs93zgfv2h3049s384wid8a5snzrrba8bhbb89p"))))
356 (build-system python-build-system)
357 (arguments
358 '(#:phases
359 (modify-phases %standard-phases
360 ;; xSGE's setup.py script does not support one of the Python build
361 ;; system's default flags, "--single-version-externally-managed".
362 (replace 'install
363 (lambda* (#:key outputs #:allow-other-keys)
364 (zero?
365 (system* "python" "setup.py" "install"
366 (string-append "--prefix=" (assoc-ref outputs "out"))
367 "--root=/")))))
368 #:tests? #f)) ; no check target
369 (propagated-inputs
370 `(("python-sge-pygame" ,python-sge-pygame)
371 ("python-pygame" ,python-pygame)
372 ("python-six" ,python-six)
373 ("python-tmx" ,python-tmx)))
374 (home-page "http://xsge.nongnu.org")
375 (synopsis "Extensions for the SGE Game Engine")
376 (description
377 "xSGE is a collection of modules that make doing certain tasks with the SGE
378 Game Engine easier. In addition to SGE's conveniences, the user has access to a
379 GUI toolkit, lighting and physics frameworks and @code{Tiled} TMX format
380 support.")
381 (license license:gpl3+)))
382
383 (define-public python2-xsge
384 (package-with-python2 python-xsge))
385
386 (define-public tiled
387 (package
388 (name "tiled")
389 (version "1.1.1")
390 (source (origin
391 (method url-fetch)
392 (uri (string-append "https://github.com/bjorn/tiled/archive/v"
393 version ".tar.gz"))
394 (file-name (string-append name "-" version ".tar.gz"))
395 (sha256
396 (base32
397 "102vw13iw1kbjj6h2sm8gl1jfvmqgq0zddd6hdmqagza5b6w32k3"))))
398 (build-system gnu-build-system)
399 (inputs
400 `(("qtbase" ,qtbase)
401 ("qtsvg" ,qtsvg)
402 ("zlib" ,zlib)))
403 (native-inputs
404 `(("qttools" ,qttools)))
405 (arguments
406 '(#:phases
407 (modify-phases %standard-phases
408 (replace 'configure
409 (lambda* (#:key inputs outputs #:allow-other-keys)
410 (substitute* "translations/translations.pro"
411 (("LRELEASE =.*")
412 (string-append "LRELEASE = "
413 (assoc-ref inputs "qttools")
414 "/bin/lrelease\n")))
415 (let ((out (assoc-ref outputs "out")))
416 (system* "qmake"
417 (string-append "PREFIX=" out))))))))
418 (home-page "http://www.mapeditor.org/")
419 (synopsis "Tile map editor")
420 (description
421 "Tiled is a general purpose tile map editor. It is meant to be used for
422 editing maps of any tile-based game, be it an RPG, a platformer or a Breakout
423 clone.")
424
425 ;; As noted in 'COPYING', part of it is under GPLv2+, while the rest is
426 ;; under BSD-2.
427 (license license:gpl2+)))
428
429 (define-public sfml
430 (package
431 (name "sfml")
432 (version "2.3.2")
433 (source (origin
434 (method url-fetch)
435 ;; Do not fetch the archives from
436 ;; http://mirror0.sfml-dev.org/files/ because files there seem
437 ;; to be changed in place.
438 (uri (string-append "https://github.com/SFML/SFML/archive/"
439 version ".tar.gz"))
440 (file-name (string-append name "-" version ".tar.gz"))
441 (sha256
442 (base32
443 "0k2fl5xk3ni2q8bsxl0551inx26ww3w6cp6hssvww0wfjdjcirsm"))))
444 (build-system cmake-build-system)
445 (arguments
446 '(#:configure-flags
447 (list "-DSFML_INSTALL_PKGCONFIG_FILES=TRUE")
448 #:tests? #f)) ; no tests
449 (inputs
450 `(("mesa" ,mesa)
451 ("glew" ,glew)
452 ("flac" ,flac)
453 ("libvorbis" ,libvorbis)
454 ("libx11" ,libx11)
455 ("xcb-util-image" ,xcb-util-image)
456 ("libxrandr" ,libxrandr)
457 ("eudev" ,eudev)
458 ("freetype" ,freetype)
459 ("libjpeg" ,libjpeg)
460 ("libsndfile" ,libsndfile)
461 ("openal" ,openal)))
462 (home-page "https://www.sfml-dev.org")
463 (synopsis "Simple and Fast Multimedia Library")
464 (description
465 "SFML provides a simple interface to the various computer components,
466 to ease the development of games and multimedia applications. It is composed
467 of five modules: system, window, graphics, audio and network.")
468 (license license:zlib)))
469
470 (define-public sfxr
471 (package
472 (name "sfxr")
473 (version "1.2.1")
474 (source (origin
475 (method url-fetch)
476 (uri (string-append "http://www.drpetter.se/files/sfxr-sdl-1.2.1.tar.gz"))
477 (sha256
478 (base32
479 "0dfqgid6wzzyyhc0ha94prxax59wx79hqr25r6if6by9cj4vx4ya"))))
480 (build-system gnu-build-system)
481 (arguments
482 `(#:phases (modify-phases %standard-phases
483 (delete 'configure) ; no configure script
484 (add-before 'build 'patch-makefile
485 (lambda* (#:key outputs #:allow-other-keys)
486 (let ((out (assoc-ref outputs "out")))
487 (substitute* "Makefile"
488 (("\\$\\(DESTDIR\\)/usr") out))
489 (substitute* "main.cpp"
490 (("/usr/share")
491 (string-append out "/share")))
492 #t))))
493 #:tests? #f)) ; no tests
494 (native-inputs
495 `(("pkg-config" ,pkg-config)
496 ("desktop-file-utils" ,desktop-file-utils)))
497 (inputs
498 `(("sdl" ,sdl)
499 ("gtk+" ,gtk+)))
500 (synopsis "Simple sound effect generator")
501 (description "Sfxr is a tool for quickly generating simple sound effects.
502 Originally created for use in video game prototypes, it can generate random
503 sounds from presets such as \"explosion\" or \"powerup\".")
504 (home-page "http://www.drpetter.se/project_sfxr.html")
505 (license license:expat)))
506
507 (define-public physfs
508 (package
509 (name "physfs")
510 (version "2.0.3")
511 (source (origin
512 (method url-fetch)
513 (uri (string-append
514 "https://icculus.org/physfs/downloads/physfs-"
515 version ".tar.bz2"))
516 (file-name (string-append name "-" version ".tar.gz"))
517 (sha256
518 (base32
519 "0sbbyqzqhyf0g68fcvvv20n3928j0x6ik1njmhn1yigvq2bj11na"))))
520 (build-system cmake-build-system)
521 (arguments
522 '(#:tests? #f)) ; no check target
523 (inputs
524 `(("zlib" ,zlib)))
525 (native-inputs
526 `(("doxygen" ,doxygen)))
527 (home-page "https://icculus.org/physfs")
528 (synopsis "File system abstraction library")
529 (description
530 "PhysicsFS is a library to provide abstract access to various archives.
531 It is intended for use in video games. For security, no file writing done
532 through the PhysicsFS API can leave a defined @emph{write directory}. For
533 file reading, a @emph{search path} with archives and directories is defined,
534 and it becomes a single, transparent hierarchical file system. So archive
535 files can be accessed in the same way as you access files directly on a disk,
536 and it makes it easy to ship a new archive that will override a previous
537 archive on a per-file basis.")
538 (license license:zlib)))
539
540 (define-public love
541 (package
542 (name "love")
543 (version "0.10.2")
544 (source (origin
545 (method url-fetch)
546 (uri (string-append "https://bitbucket.org/rude/love/downloads/"
547 "love-" version "-linux-src.tar.gz"))
548 (sha256
549 (base32
550 "11x346pw0gqad8nmkmywzx4xpcbfc3dslbrdw5x94n1i25mk0sxj"))))
551 (build-system gnu-build-system)
552 (native-inputs
553 `(("pkg-config" ,pkg-config)))
554 (inputs
555 `(("devil" ,devil)
556 ("freetype" ,freetype)
557 ("libmodplug" ,libmodplug)
558 ("libtheora" ,libtheora)
559 ("libvorbis" ,libvorbis)
560 ("luajit" ,luajit)
561 ("mesa" ,mesa)
562 ("mpg123" ,mpg123)
563 ("openal" ,openal)
564 ("physfs" ,physfs)
565 ("sdl2" ,sdl2)
566 ("zlib" ,zlib)))
567 (synopsis "2D game framework for Lua")
568 (description "LÖVE is a framework for making 2D games in the Lua
569 programming language.")
570 (home-page "https://love2d.org/")
571 (license license:zlib)))
572
573 (define-public allegro-4
574 (package
575 (name "allegro")
576 (version "4.4.2")
577 (source (origin
578 (method url-fetch)
579 (uri (string-append "https://github.com/liballeg/allegro5/"
580 "releases/download/" version "/allegro-"
581 version ".tar.gz"))
582 (sha256
583 (base32
584 "1p0ghkmpc4kwij1z9rzxfv7adnpy4ayi0ifahlns1bdzgmbyf88v"))))
585 (build-system cmake-build-system)
586 (arguments
587 '(#:phases
588 (modify-phases %standard-phases
589 (add-after 'unpack 'patch-build-system
590 (lambda _
591 ;; Build addons as shared libraries. Trying to set ADDON_LINKAGE
592 ;; via a command line option doesn't work because it is
593 ;; unconditionally clobbered in the build script.
594 (substitute* '("CMakeLists.txt")
595 (("ADDON_LINKAGE STATIC")
596 "ADDON_LINKAGE SHARED"))
597 #t)))))
598 (inputs
599 `(("glu" ,glu)
600 ("libpng" ,libpng)
601 ("libvorbis" ,libvorbis)
602 ("mesa" ,mesa)
603 ("zlib" ,zlib)))
604 (synopsis "Game programming library")
605 (description "Allegro is a library mainly aimed at video game and
606 multimedia programming. It handles common, low-level tasks such as creating
607 windows, accepting user input, loading data, drawing images, playing sounds,
608 etc.")
609 (home-page "http://liballeg.org")
610 (license license:giftware)))
611
612 (define-public allegro
613 (package
614 (name "allegro")
615 (version "5.2.2.0")
616 (source (origin
617 (method url-fetch)
618 (uri (string-append "https://github.com/liballeg/allegro5/releases"
619 "/download/" version "/allegro-"
620 (if (equal? "0" (string-take-right version 1))
621 (string-drop-right version 2)
622 version)
623 ".tar.gz"))
624 (sha256
625 (base32
626 "1z4lrrlmn471wb7vzbd9iw7g379vj0k964vy1s64hcvv5bhvk1g2"))))
627 (build-system cmake-build-system)
628 (arguments `(#:tests? #f)) ; there are no tests
629 (inputs
630 ;; FIXME: Add the following optional inputs: xinput2, opensl, dumb
631 `(("flac" ,flac)
632 ("freetype" ,freetype)
633 ("glu" ,glu)
634 ("gtk" ,gtk+-2)
635 ("libjpeg" ,libjpeg)
636 ("libpng" ,libpng)
637 ("libtheora" ,libtheora)
638 ("libvorbis" ,libvorbis)
639 ("libxcursor" ,libxcursor)
640 ("libxinerama" ,libxinerama)
641 ("libxrandr" ,libxrandr)
642 ("mesa" ,mesa)
643 ("openal" ,openal)
644 ("physfs" ,physfs)
645 ("zlib" ,zlib)))
646 (native-inputs
647 `(("pkg-config" ,pkg-config)))
648 (synopsis "Game programming library")
649 (description "Allegro is a library mainly aimed at video game and
650 multimedia programming. It handles common, low-level tasks such as creating
651 windows, accepting user input, loading data, drawing images, playing sounds,
652 etc.")
653 (home-page "http://liballeg.org")
654 (license license:bsd-3)))
655
656 (define-public allegro-5.0
657 (package (inherit allegro)
658 (name "allegro")
659 (version "5.0.11")
660 (source (origin
661 (method url-fetch)
662 (uri (string-append "https://github.com/liballeg/allegro5/releases"
663 "/download/" version "/allegro-"
664 (if (equal? "0" (string-take-right version 1))
665 (string-drop-right version 2)
666 version)
667 ".tar.gz"))
668 (sha256
669 (base32
670 "0cd51qrh97jrr0xdmnivqgwljpmizg8pixsgvc4blqqlaz4i9zj9"))))))
671
672 (define-public aseprite
673 (package
674 (name "aseprite")
675 (version "1.1.7") ; After 1.1.7 the source is no longer distributed under the GPL.
676 ;; TODO: Unbundle third party software.
677 (source (origin
678 (method url-fetch/zipbomb)
679 (uri (string-append "https://github.com/aseprite/aseprite"
680 "/releases/download/v" version
681 "/Aseprite-v" version "-Source.zip"))
682 (sha256
683 (base32
684 "1plss4i1lfxcznv9p0pip1bkhj7ipw7jlhsh5avd6dzw079l4nvv"))))
685 (build-system cmake-build-system)
686 (arguments
687 '(#:configure-flags
688 ;; Use shared libraries instead of building bundled source.
689 (list "-DWITH_WEBP_SUPPORT=1"
690 "-DUSE_SHARED_CURL=1"
691 "-DUSE_SHARED_GIFLIB=1"
692 "-DUSE_SHARED_JPEGLIB=1"
693 "-DUSE_SHARED_ZLIB=1"
694 "-DUSE_SHARED_LIBPNG=1"
695 "-DUSE_SHARED_LIBLOADPNG=1"
696 "-DUSE_SHARED_LIBWEBP=1"
697 "-DUSE_SHARED_TINYXML=1"
698 "-DUSE_SHARED_PIXMAN=1"
699 "-DUSE_SHARED_FREETYPE=1"
700 "-DUSE_SHARED_ALLEGRO4=1"
701 "-DENABLE_UPDATER=0" ; no auto-updates
702 (string-append "-DFREETYPE_INCLUDE_DIR="
703 (assoc-ref %build-inputs "freetype")
704 "/include/freetype2"))))
705 (native-inputs
706 `(("pkg-config" ,pkg-config)))
707 ;; TODO: Use a patched Allegro 4 that supports window resizing. This
708 ;; patched version is bundled with Aseprite, but the patches should be
709 ;; extracted and applied on top of a standalone Allegro 4 package.
710 (inputs
711 `(("allegro" ,allegro-4)
712 ("curl" ,curl)
713 ("freetype" ,freetype)
714 ("giflib" ,giflib)
715 ("libjpeg" ,libjpeg)
716 ("libpng" ,libpng)
717 ("libwebp" ,libwebp)
718 ("libx11" ,libx11)
719 ("libxext" ,libxext)
720 ("libxxf86vm" ,libxxf86vm)
721 ("pixman" ,pixman)
722 ("tinyxml" ,tinyxml)
723 ("zlib" ,zlib)))
724 (synopsis "Animated sprite editor and pixel art tool")
725 (description "Aseprite is a tool for creating 2D pixel art for video
726 games. In addition to basic pixel editing features, Aseprite can assist in
727 the creation of animations, tiled graphics, texture atlases, and more.")
728 (home-page "https://www.aseprite.org/")
729 (license license:gpl2+)))
730
731 (define-public qqwing
732 (package
733 (name "qqwing")
734 (version "1.3.4")
735 (source (origin
736 (method url-fetch)
737 (uri (string-append
738 "https://qqwing.com/"
739 name "-" version ".tar.gz"))
740 (sha256
741 (base32
742 "0bw0papyqjg22z6irf36gs54y8236wa37b6gyn2h1spy65n76lqp"))))
743 (build-system gnu-build-system)
744 (native-inputs
745 `(("pkg-config" ,pkg-config)))
746 (home-page "https://qqwing.com/")
747 (synopsis "Sudoku puzzle solver and generator")
748 (description
749 "QQWing is a Sudoku puzzle generator and solver.
750 It offers the following features:
751 @enumerate
752 @item Can solve 1000 puzzles in 1 second and generate 1000 puzzles in 25 seconds.
753 @item Uses logic. Uses as many solve techniques as possible when solving
754 puzzles rather than guessing.
755 @item Rates puzzles. Most generators don't give an indication of the difficulty
756 of a Sudoku puzzle. QQwing does.
757 @item Can print solve instructions for any puzzle.
758 @item Customizable output style, including a CSV style that is easy to
759 import into a database.
760 @end enumerate")
761 (license license:gpl2+)))
762
763 (define-public quesoglc
764 (package
765 (name "quesoglc")
766 (version "0.7.2")
767 (source (origin
768 (method url-fetch)
769 (uri (string-append "mirror://sourceforge/" name "/" version "/"
770 name "-" version "-free.tar.bz2"))
771 (sha256
772 (base32
773 "08ddhywdy2qg17m592ng3yr0p1ih96irg8wg729g75hsxxq9ipks"))))
774 (build-system gnu-build-system)
775 (native-inputs `(("pkg-config" ,pkg-config)))
776 (inputs `(("fontconfig" ,fontconfig)
777 ("freeglute" ,freeglut)
778 ("fribidi" ,fribidi)
779 ("glew" ,glew)))
780 (home-page "http://quesoglc.sourceforge.net")
781 (synopsis "Implementation of the OpenGL Character Renderer (GLC)")
782 (description
783 "The OpenGL Character Renderer (GLC) is a state machine that provides
784 OpenGL programs with character rendering services via an application programming
785 interface (API).")
786 (license (list license:expat license:lgpl2.1+))))
787
788 (define-public python-pygame
789 (package
790 (name "python-pygame")
791 (version "1.9.3")
792 (source (origin
793 (method url-fetch)
794 (uri (pypi-uri "pygame" version))
795 (sha256
796 (base32
797 "1hlydiyygl444bq5m5g8n3jsxsgrdyxlm42ipmfbw36wkf0j243m"))))
798 (build-system python-build-system)
799 (arguments
800 `(#:tests? #f ; Tests require pygame to be installed first.
801 #:phases
802 (modify-phases %standard-phases
803 ;; Set the paths to the dependencies manually because
804 ;; the configure script does not allow passing them as
805 ;; parameters. This also means we can skip the configure
806 ;; phase.
807 (add-before 'build 'set-library-paths
808 (lambda* (#:key inputs outputs #:allow-other-keys)
809 (let ((sdl-ref (assoc-ref inputs "sdl"))
810 (font-ref (assoc-ref inputs "sdl-ttf"))
811 (image-ref (assoc-ref inputs "sdl-image"))
812 (mixer-ref (assoc-ref inputs "sdl-mixer"))
813 (smpeg-ref (assoc-ref inputs "libsmpeg"))
814 (png-ref (assoc-ref inputs "libpng"))
815 (jpeg-ref (assoc-ref inputs "libjpeg"))
816 (freetype-ref (assoc-ref inputs "freetype"))
817 (v4l-ref (assoc-ref inputs "v4l-utils"))
818 (out-ref (assoc-ref outputs "out")))
819 (substitute* "Setup.in"
820 (("SDL = -I/usr/include/SDL")
821 (string-append "SDL = -I" sdl-ref "/include/SDL -I.")))
822 (substitute* "Setup.in"
823 (("FONT = -lSDL_ttf")
824 (string-append "FONT = -I" font-ref "/include/SDL -L"
825 font-ref "/lib -lSDL_ttf")))
826 (substitute* "Setup.in"
827 (("IMAGE = -lSDL_image")
828 (string-append "IMAGE = -I" image-ref "/include/SDL -L"
829 image-ref "/lib -lSDL_image")))
830 (substitute* "Setup.in"
831 (("MIXER = -lSDL_mixer")
832 (string-append "MIXER = -I" mixer-ref "/include/SDL -L"
833 mixer-ref "/lib -lSDL_mixer")))
834 (substitute* "Setup.in"
835 (("SMPEG = -lsmpeg")
836 (string-append "SMPEG = -I" smpeg-ref "/include/smpeg -L"
837 smpeg-ref "/lib -lsmpeg")))
838 (substitute* "Setup.in"
839 (("PNG = -lpng")
840 (string-append "PNG = -I" png-ref "/include -L"
841 png-ref "/lib -lpng")))
842 (substitute* "Setup.in"
843 (("JPEG = -ljpeg")
844 (string-append "JPEG = -I" jpeg-ref "/include -L"
845 jpeg-ref "/lib -ljpeg")))
846
847 (substitute* "Setup.in"
848 (("FREETYPE = -lfreetype")
849 (string-append "FREETYPE = -I" freetype-ref "/include/freetype2 -L"
850 freetype-ref "/lib -lfreetype")))
851
852 (substitute* "Setup.in"
853 (("^pypm") "#pypm"))
854 ;; Create a path to a header file provided by v4l-utils.
855 (system* "mkdir" "linux")
856 (system* "ln" "--symbolic"
857 (string-append v4l-ref "/include/libv4l1-videodev.h")
858 "linux/videodev.h")
859 (system* "ln" "--symbolic" "Setup.in" "Setup")))))))
860 (inputs
861 `(("freetype" ,freetype)
862 ("sdl" ,sdl)
863 ("sdl-image" ,sdl-image)
864 ("sdl-mixer" ,sdl-mixer)
865 ("sdl-ttf" ,sdl-ttf)
866 ("sdl-gfx" ,sdl-gfx)
867 ("libjpeg" ,libjpeg)
868 ("libpng" ,libpng)
869 ("libX11" ,libx11)
870 ("libsmpeg" ,libsmpeg)
871 ("portmidi" ,portmidi)
872 ("v4l-utils" ,v4l-utils)))
873 (home-page "https://www.pygame.org")
874 (synopsis "SDL wrapper for Python")
875 (description "Pygame is a set of Python modules designed for writing games.
876 Pygame adds functionality on top of the excellent SDL library. This allows you
877 to create fully featured games and multimedia programs in the python language.")
878 (license (list license:bsd-2
879 ;; python numeric license as listed by Debian looks like
880 ;; an Expat-style license with a warranty disclaimer for
881 ;; the U.S. government and the University of California.
882 license:expat
883 license:lgpl2.0+
884 license:lgpl2.1+
885 license:gpl3+
886 license:psfl
887 license:public-domain
888 license:lgpl2.1+))))
889
890 (define-public python2-pygame
891 (package-with-python2 python-pygame))
892
893 (define-public grafx2
894 (package
895 (name "grafx2")
896 (version "2.4")
897 (source (origin
898 (method url-fetch)
899 ;; XXX: There is no URL that contains the version. :(
900 (uri "http://pulkomandy.tk/projects/GrafX2/downloads/21")
901 (sha256
902 (base32
903 "0svsy6rqmdj11b400c242i2ixihyz0hds0dgicqz6g6dcgmcl62q"))))
904 (build-system gnu-build-system)
905 (arguments
906 '(#:phases
907 (modify-phases %standard-phases
908 (delete 'configure) ; no configure script
909 (add-before 'build 'change-to-src-directory
910 (lambda _
911 (chdir "src")
912 #t)))
913 #:make-flags
914 ;; SDL header files are referenced without the preceeding "SDL/".
915 (list (string-append "CFLAGS=-I"
916 (assoc-ref %build-inputs "sdl-union")
917 "/include/SDL")
918 (string-append "prefix="
919 (assoc-ref %outputs "out")))
920 #:tests? #f)) ; no check target
921 (native-inputs
922 `(("pkg-config" ,pkg-config)))
923 (inputs
924 `(("libpng" ,libpng)
925 ("lua" ,lua-5.1)
926 ("sdl-union" ,(sdl-union (list sdl sdl-image sdl-ttf)))))
927 (synopsis "Bitmap paint program")
928 (description "GrafX2 is a bitmap paint program inspired by the Amiga
929 programs Deluxe Paint and Brilliance. Specializing in 256-color drawing, it
930 includes a very large number of tools and effects that make it particularly
931 suitable for pixel art, game graphics, and generally any detailed graphics
932 painted with a mouse.")
933 (home-page "http://pulkomandy.tk/projects/GrafX2")
934 (license license:gpl2))) ; GPLv2 only
935
936 (define-public ois
937 (package
938 (name "ois")
939 (version "1.3")
940 (source
941 (origin
942 ;; Development has moved to github and there are no recent tarball
943 ;; releases.
944 (method git-fetch)
945 (uri (git-reference
946 (url "https://github.com/wgois/OIS.git")
947 (commit "bb75ccc1aabc1c547195579963601ff6080ca2f2")))
948 (file-name (string-append name "-" version))
949 (sha256
950 (base32
951 "0w0pamjc3vj0jr718hysrw8x076fq6n9rd6wcb36sn2jd0lqvi98"))))
952 (build-system gnu-build-system)
953 (arguments
954 `(#:phases
955 (modify-phases %standard-phases
956 (add-after 'unpack 'bootstrap
957 (lambda _ (zero? (system* "sh" "bootstrap")))))))
958 (native-inputs
959 `(("autoconf" ,autoconf)
960 ("automake" ,automake)
961 ("libtool" ,libtool)
962 ("m4" ,m4)
963 ("pkg-config" ,pkg-config)))
964 (inputs
965 `(("libxaw" ,libxaw)))
966 (synopsis "Object Oriented Input System")
967 (description
968 "Cross Platform Object Oriented Input Lib System is a cross platform,
969 simple solution for using all kinds of Input Devices (Keyboards, Mice,
970 Joysticks, etc) and feedback devices (e.g. force feedback). Meant to be very
971 robust and compatible with many systems and operating systems.")
972 (home-page "https://github.com/wgois/OIS")
973 (license license:zlib)))
974
975 (define-public mygui
976 (package
977 (name "mygui")
978 (version "3.2.2")
979 (source
980 (origin
981 (method url-fetch)
982 (uri
983 (string-append "https://github.com/MyGUI/" name
984 "/archive/MyGUI" version ".tar.gz"))
985 (sha256
986 (base32
987 "13x7cydmj7gjmsg702sqjbfi53z265iv6j7binv3r6a7ibndfa0a"))))
988 (build-system cmake-build-system)
989 (arguments
990 '(#:tests? #f ; No test target
991 #:configure-flags
992 (list "-DMYGUI_INSTALL_DOCS=TRUE"
993 (string-append "-DOGRE_INCLUDE_DIR="
994 (assoc-ref %build-inputs "ogre")
995 "/include/OGRE"))))
996 (native-inputs
997 `(("boost" ,boost)
998 ("doxygen" ,doxygen)
999 ("pkg-config" ,pkg-config)))
1000 (inputs
1001 `(("font-dejavu" ,font-dejavu)
1002 ("freetype" ,freetype)
1003 ("graphviz" ,graphviz)
1004 ("libx11" ,libx11)
1005 ("ogre" ,ogre)
1006 ("ois" ,ois)))
1007 (synopsis "Fast, flexible and simple GUI")
1008 (description
1009 "MyGUI is a library for creating Graphical User Interfaces (GUIs) for games
1010 and 3D applications. The main goals of mygui are: speed, flexibility and ease
1011 of use.")
1012 (home-page "http://mygui.info/")
1013 (license license:expat)))
1014
1015 (define-public openmw
1016 (package
1017 (name "openmw")
1018 (version "0.43.0")
1019 (source
1020 (origin
1021 (method url-fetch)
1022 (uri
1023 (string-append "https://github.com/OpenMW/openmw/archive/"
1024 name "-" version ".tar.gz"))
1025 (sha256
1026 (base32
1027 "11phjx7b3mv4n295xgq25lkcwq0mgr35i5k05hf1h77y6n6jbw64"))))
1028 (build-system cmake-build-system)
1029 (arguments
1030 `(#:tests? #f ; No test target
1031 #:configure-flags
1032 (list "-DDESIRED_QT_VERSION=5")))
1033 (native-inputs
1034 `(("boost" ,boost)
1035 ("doxygen" ,doxygen)
1036 ("pkg-config" ,pkg-config)))
1037 (inputs
1038 `(("bullet" ,bullet)
1039 ("ffmpeg" ,ffmpeg)
1040 ("libxt" ,libxt)
1041 ("mygui" ,mygui)
1042 ("openal" ,openal)
1043 ("openscenegraph" ,openscenegraph)
1044 ("qtbase" ,qtbase)
1045 ("sdl" ,sdl2)
1046 ("unshield" ,unshield)))
1047 (synopsis "Re-implementation of the RPG Morrowind engine")
1048 (description
1049 "OpenMW is a game engine which reimplements and extends the one that runs
1050 the 2002 open-world RPG Morrowind. The engine comes with its own editor,
1051 called OpenMW-CS which allows the user to edit or create their own original
1052 games.")
1053 (home-page "https://openmw.org")
1054 (license license:gpl3)))
1055
1056 (define-public godot
1057 (package
1058 (name "godot")
1059 (version "3.0")
1060 (source (origin
1061 (method url-fetch)
1062 (uri
1063 (string-append "https://github.com/godotengine/godot/archive/"
1064 version "-stable.tar.gz"))
1065 (file-name (string-append name "-" version))
1066 (sha256
1067 (base32
1068 "1jhp269n1a7c663v2555444icbjwzscj4r8cq4rrrap7r7dr4hyc"))))
1069 (build-system scons-build-system)
1070 (arguments
1071 `(#:scons ,scons-python2
1072 #:scons-flags (list "platform=x11"
1073 ,@(if (string-prefix? "aarch64" (or (%current-target-system)
1074 (%current-system)))
1075 `("CCFLAGS=-DNO_THREADS")
1076 '())
1077 ;; Avoid using many of the bundled libs.
1078 ;; Note: These options can be found in the SConstruct file.
1079 "builtin_freetype=no"
1080 "builtin_glew=no"
1081 "builtin_libmpdec=no"
1082 "builtin_libogg=no"
1083 "builtin_libpng=no"
1084 "builtin_libtheora=no"
1085 "builtin_libvorbis=no"
1086 "builtin_libwebp=no"
1087 "builtin_openssl=no"
1088 "builtin_opus=no"
1089 "builtin_zlib=no")
1090 #:tests? #f ; There are no tests
1091 #:phases
1092 (modify-phases %standard-phases
1093 (add-after 'unpack 'scons-use-env
1094 (lambda _
1095 ;; Scons does not use the environment variables by default,
1096 ;; but this substitution makes it do so.
1097 (substitute* "SConstruct"
1098 (("env_base = Environment\\(tools=custom_tools\\)")
1099 (string-append
1100 "env_base = Environment(tools=custom_tools)\n"
1101 "env_base = Environment(ENV=os.environ)")))
1102 #t))
1103 (replace 'install
1104 (lambda* (#:key outputs #:allow-other-keys)
1105 (let* ((out (assoc-ref outputs "out"))
1106 (bin (string-append out "/bin")))
1107 (with-directory-excursion "bin"
1108 (if (file-exists? "godot.x11.tools.64")
1109 (rename-file "godot.x11.tools.64" "godot")
1110 (rename-file "godot.x11.tools.32" "godot"))
1111 (install-file "godot" bin)))))
1112 (add-after 'install 'install-godot-desktop
1113 (lambda* (#:key outputs #:allow-other-keys)
1114 (let* ((out (assoc-ref outputs "out"))
1115 (desktop (string-append out "/share/applications"))
1116 (icon-dir (string-append out "/share/pixmaps")))
1117 (mkdir-p desktop)
1118 (mkdir-p icon-dir)
1119 (rename-file "icon.png" "godot.png")
1120 (install-file "godot.png" icon-dir)
1121 (with-output-to-file
1122 (string-append desktop "/godot.desktop")
1123 (lambda _
1124 (format #t
1125 "[Desktop Entry]~@
1126 Name=godot~@
1127 Comment=The godot game engine~@
1128 Exec=~a/bin/godot~@
1129 TryExec=~@*~a/bin/godot~@
1130 Icon=godot~@
1131 Type=Application~%"
1132 out)))
1133 #t))))))
1134 (native-inputs `(("pkg-config" ,pkg-config)))
1135 (inputs `(("alsa-lib" ,alsa-lib)
1136 ("freetype" ,freetype)
1137 ("glew" ,glew)
1138 ("glu" ,glu)
1139 ("libtheora" ,libtheora)
1140 ("libvorbis" ,libvorbis)
1141 ("libwebp" ,libwebp)
1142 ("libx11" ,libx11)
1143 ("libxcursor" ,libxcursor)
1144 ("libxi" ,libxi)
1145 ("libxinerama" ,libxinerama)
1146 ("libxrandr" ,libxrandr)
1147 ("mesa" ,mesa)
1148 ("openssl" ,openssl)
1149 ("opusfile" ,opusfile)
1150 ("pulseaudio" ,pulseaudio)))
1151 (home-page "https://godotengine.org/")
1152 (synopsis "Advanced 2D and 3D game engine")
1153 (description
1154 "Godot is an advanced multi-platform game engine written in C++. If
1155 features design tools such as a visual editor, can import 3D models and
1156 provide high-quality 3D rendering, it contains an animation editor, and can be
1157 scripted in a Python-like language.")
1158 (license license:expat)))
1159
1160 (define-public eureka
1161 (package
1162 (name "eureka")
1163 (version "1.21")
1164 (source (origin
1165 (method url-fetch)
1166 (uri (string-append "mirror://sourceforge/eureka-editor/Eureka/"
1167 version "/eureka-"
1168 ;; version without dots e.g 1.21 => 121
1169 (string-join (string-split version #\.) "")
1170 "-source.tar.gz"))
1171 (sha256
1172 (base32
1173 "1a7pf7xi56fcz7jc8layih5gq5m66g2ss4x5j61kzgip07j6rkir"))))
1174 (build-system gnu-build-system)
1175 (arguments
1176 '(#:tests? #f
1177 #:make-flags
1178 (let ((out (assoc-ref %outputs "out")))
1179 (list (string-append "PREFIX=" out)))
1180 #:phases
1181 (modify-phases %standard-phases
1182 (delete 'configure)
1183 (add-before 'build 'prepare-install-directories
1184 (lambda* (#:key outputs #:allow-other-keys)
1185 (let ((out (assoc-ref outputs "out")))
1186 (mkdir-p (string-append out "/bin"))
1187 (mkdir-p (string-append out "/share"))
1188
1189 (with-fluids ((%default-port-encoding #f))
1190 (substitute* "./src/main.cc"
1191 (("/usr/local") out)))
1192
1193 (substitute* "Makefile"
1194 (("-o root") ""))))))))
1195 (inputs `(("mesa" ,mesa)
1196 ("libxft" ,libxft)
1197 ("libxinerama" ,libxinerama)
1198 ("libfontconfig" ,fontconfig)
1199 ("libjpeg" ,libjpeg)
1200 ("libpng" ,libpng)
1201 ("fltk" ,fltk)
1202 ("zlib" ,zlib)))
1203 (native-inputs `(("pkg-config" ,pkg-config)
1204 ("xdg-utils" ,xdg-utils)))
1205 (synopsis "Doom map editor")
1206 (description "Eureka is a map editor for the classic DOOM games, and a few
1207 related games such as Heretic and Hexen. It comes with a 3d preview mode and
1208 a 2D editor view.")
1209 (home-page "http://eureka-editor.sourceforge.net/")
1210 (license license:gpl2+)))