gnu: Fix freeorion build.
* gnu/packages/games.scm (freeorion)[arguments]: Fix font unbundling.
This commit is contained in:
parent
9f6065237d
commit
7658904a34
|
@ -7492,9 +7492,9 @@ win.")
|
||||||
(let ((roboto-dir (string-append (assoc-ref inputs "font-roboto")
|
(let ((roboto-dir (string-append (assoc-ref inputs "font-roboto")
|
||||||
"/share/fonts/truetype/")))
|
"/share/fonts/truetype/")))
|
||||||
(substitute* "UI/ClientUI.cpp"
|
(substitute* "UI/ClientUI.cpp"
|
||||||
(("\\(GetRootDataDir.*?\"Roboto-(Bold|Regular)\\.ttf\"\\)\\.string\\(\\)\\);"
|
(("\\(GetRootDataDir.*?Roboto-(Bold|Regular)\\.ttf\"\\)\\.string\\(\\)\\);"
|
||||||
all type)
|
all type)
|
||||||
(string-append "\"" roboto-dir "Roboto-" type "\");")))
|
(string-append "\"" roboto-dir "Roboto-" type ".ttf\");")))
|
||||||
#t))))))
|
#t))))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("boost" ,boost)
|
`(("boost" ,boost)
|
||||||
|
|
Loading…
Reference in New Issue