gnu: Fix freeorion build.

* gnu/packages/games.scm (freeorion)[arguments]: Fix font unbundling.
This commit is contained in:
Nicolas Goaziou 2019-06-17 17:37:04 +02:00
parent 9f6065237d
commit 7658904a34
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 2 additions and 2 deletions

View File

@ -7492,9 +7492,9 @@ win.")
(let ((roboto-dir (string-append (assoc-ref inputs "font-roboto")
"/share/fonts/truetype/")))
(substitute* "UI/ClientUI.cpp"
(("\\(GetRootDataDir.*?\"Roboto-(Bold|Regular)\\.ttf\"\\)\\.string\\(\\)\\);"
(("\\(GetRootDataDir.*?Roboto-(Bold|Regular)\\.ttf\"\\)\\.string\\(\\)\\);"
all type)
(string-append "\"" roboto-dir "Roboto-" type "\");")))
(string-append "\"" roboto-dir "Roboto-" type ".ttf\");")))
#t))))))
(inputs
`(("boost" ,boost)