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
(define-module (hidamari-blue dhewm)
#: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 game-development))
(define-public dhewm
(package
(name "dhewm")
(version "1.4.1")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/dhewm/dhewm3/archive/"
version ".tar.gz"))
(sha256
(base32
"025fqcxjka39mx85lrcwj4p31ianq14hv7v1a60gjgw65la8cxaq"))))
(arguments '(#:configure-flags (list "../dhewm3-1.4.1/neo")
#:tests? #f))
(build-system cmake-build-system)
(inputs `(("sdl2" ,sdl2)
("openal" ,openal)
("mesa" ,mesa)
("libcurl" ,curl)
("libvorbis" ,libvorbis)
("libogg" ,libogg)
("libjpeg" ,libjpeg-8)
("zlib" ,zlib)))
(synopsis "Source port of the doom 3 first person shooter")
(description "dhewm is a source port of the doom3 code to sdl.
You need the original doom 3 files on version 1.3.1")
(home-page "https://github.com/dhewm/dhewm3")
(license license:gpl3+)))