mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-05 10:56:56 -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")
|
(assoc-ref outputs "out")
|
||||||
"/share/teeworlds/data"
|
"/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)))))
|
#t)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("freetype" ,freetype)
|
`(("freetype" ,freetype)
|
||||||
|
("font-dejavu" ,font-dejavu)
|
||||||
("glu" ,glu)
|
("glu" ,glu)
|
||||||
("json-parser" ,json-parser)
|
("json-parser" ,json-parser)
|
||||||
("mesa" ,mesa)
|
("mesa" ,mesa)
|
||||||
|
|
Loading…
Reference in a new issue