mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: Add tegaki-wagomu-traditional-chinese.
* gnu/packages/language.scm (tegaki-wagomu-traditional-chinese): New variable.
This commit is contained in:
parent
708c6857c1
commit
0ed97e6980
1 changed files with 21 additions and 0 deletions
|
@ -862,3 +862,24 @@ (define-public tegaki-wagomu-simplified-chinese
|
|||
(modules remove-pre-compiled-files-modules)
|
||||
(snippet (remove-pre-compiled-files "model"))))
|
||||
(license lgpl2.1))) ; all files
|
||||
|
||||
;;; Upstream does not provide the source for tegaki-wagomu-traditional-chinese.
|
||||
;;; Therefore, we use the source for tegaki-zinnia-traditional-chinese and
|
||||
;;; patch the Makefile accordingly.
|
||||
(define-public tegaki-wagomu-traditional-chinese
|
||||
(package
|
||||
(inherit tegaki-zinnia-traditional-chinese)
|
||||
(name "tegaki-wagomu-traditional-chinese")
|
||||
(arguments
|
||||
(substitute-keyword-arguments
|
||||
(package-arguments tegaki-zinnia-traditional-chinese)
|
||||
((#:phases phases '%standard-phases)
|
||||
`(modify-phases ,phases
|
||||
(replace 'configure
|
||||
(lambda args
|
||||
(let ((configure (assq-ref ,phases 'configure)))
|
||||
(apply configure args))
|
||||
(substitute* "Makefile"
|
||||
(("zinnia") "wagomu"))
|
||||
#t))))))
|
||||
(license lgpl2.1))) ; all files
|
||||
|
|
Loading…
Reference in a new issue