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>
This commit is contained in:
nee 2018-01-15 23:21:19 +01:00 committed by Ludovic Courtès
parent 7e06086522
commit 60037d4e52
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 7 additions and 0 deletions

View File

@ -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