1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
(define-module (hidamari-blue darkradiant)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
#:use-module ((guix licenses) #:renamer (symbol-prefix-proc 'license:))
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages curl)
#:use-module (gnu packages compression)
#:use-module (gnu packages sdl)
#:use-module (gnu packages image)
#:use-module (gnu packages audio)
#:use-module (gnu packages gl)
#:use-module (gnu packages boost)
#:use-module (gnu packages xiph)
#:use-module (gnu packages wxwidgets)
#:use-module (gnu packages python)
#:use-module (gnu packages glib)
#:use-module (gnu packages xml)
#:use-module (gnu packages gettext)
#:use-module (gnu packages game-development))
;;; It builds and seems to work. No extensive testing, yet.
;;; Did not check for bundled libraries.
;;; Gotta enable python scripting.
;; zlib1g-dev
;; libjpeg62-dev
;; libwxgtk3.0-dev
;; libxml2-dev
;; libsigc++-2.0-dev
;; libpng12-dev
;; ftgl-dev
;; libglew-dev
;; libboost-dev
;; libboost-regex-dev
;; libboost-filesystem-dev
;; libboost-python-dev
;; libboost-test-dev
;; libalut-dev
;; libvorbis-dev
;; python-dev
(define-public darkradiant
(package
(name "darkradiant")
(version "2.2.1")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/codereader/DarkRadiant/archive/"
version ".tar.gz"))
(sha256
(base32
"1gimagjqmwwxd1bpb08pil25wa7l5wlfi56asfgd0zdxnj34q9y0"))))
(arguments '(#:tests? #f))
(build-system gnu-build-system)
(inputs `(("wxwidgets-gtk2" ,wxwidgets-gtk2)
;; TODO: build with boost-python
;; TODO: enable darkmod-plugins whatever that is
;; done: sound is enabled
("boost" ,boost)
("freealut" ,freealut)
("python" ,python)
("glew" ,glew)
("gettext" ,gnu-gettext)
("ftgl" ,ftgl)
("libpng" ,libpng)
("libsigc++" ,libsigc++)
("libvorbis" ,libvorbis)
("libogg" ,libogg)
("openal" ,openal)
("libxml2" ,libxml2)
("libjpeg" ,libjpeg-8)
("zlib" ,zlib)))
(native-inputs `(("pkg-config" ,pkg-config)))
(synopsis "map editor for idtech4 games")
(description "Darkradiant is a map editor for The Dark Mod and various
idtech4 based games, including doom3 and quake4.
Other supported games are Quake3 and Xreal")
(home-page "https://github.com/codereader/DarkRadiant")
(license license:gpl3+)))