summaryrefslogtreecommitdiff
path: root/gnu/packages/games.scm
diff options
context:
space:
mode:
authornee <nee.git@cock.li>2018-01-15 23:21:19 +0100
committerLudovic Courtès <ludo@gnu.org>2018-01-16 16:00:21 +0100
commit60037d4e52839f00ef522eae844edf16949f8824 (patch)
tree2b2930254378666dcc1755dab15948c3ad3e1315 /gnu/packages/games.scm
parent7e06086522484fbb68917c9c777a24abc4ea4da8 (diff)
downloadgnu-guix-60037d4e52839f00ef522eae844edf16949f8824.tar
gnu-guix-60037d4e52839f00ef522eae844edf16949f8824.tar.gz
gnu: freedom: add native search-paths.
* gnu/packages/games.scm (freedoom) [native-search-paths]: Set DOOMWADDIR and DOOMWADPATH, so source ports and map editors can find the freedoom IWAD. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/games.scm')
-rw-r--r--gnu/packages/games.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 288db49f56..1213d87a54 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -348,6 +348,13 @@ tired of cows, a variety of other ASCII-art messengers are available.")
`(("prboom-plus" ,prboom-plus)))
(home-page "https://freedoom.github.io/")
(synopsis "Free content game based on the Doom engine")
+ (native-search-paths
+ (list (search-path-specification
+ (variable "DOOMWADDIR")
+ (files '("share/games/doom")))
+ (search-path-specification
+ (variable "DOOMWADPATH")
+ (files '("share/games/doom")))))
(description
"The Freedoom project aims to create a complete free content first person
shooter game. Freedoom by itself is just the raw material for a game: it must