mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: teeworlds: Replace bundled font.
* gnu/packages/games.scm (teeworlds)[arguments]: Add phase to replace bundled font. [inputs]: Add font-dejagnu.
This commit is contained in:
parent
e4f8bfb348
commit
a0d38c01e8
1 changed files with 8 additions and 0 deletions
|
@ -6244,9 +6244,17 @@ (define-public teeworlds
|
|||
(assoc-ref outputs "out")
|
||||
"/share/teeworlds/data"
|
||||
"\"")))
|
||||
#t))
|
||||
(add-after 'unpack 'replace-font
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(delete-file "datasrc/fonts/DejaVuSans.ttf")
|
||||
(symlink (string-append (assoc-ref inputs "font-dejavu")
|
||||
"/share/fonts/truetype/DejaVuSans.ttf")
|
||||
"datasrc/fonts/DejaVuSans.ttf")
|
||||
#t)))))
|
||||
(inputs
|
||||
`(("freetype" ,freetype)
|
||||
("font-dejavu" ,font-dejavu)
|
||||
("glu" ,glu)
|
||||
("json-parser" ,json-parser)
|
||||
("mesa" ,mesa)
|
||||
|
|
Loading…
Reference in a new issue