瀏覽代碼

gnu: festival: Include default voice.

* gnu/packages/speech.scm (festival)[arguments]: Install default voice.
[native-inputs]: Add default voice.
gn-latest-20200428
Ricardo Wurmus 1 年之前
父節點
當前提交
dfcf79ac59
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 197A5888235FACAC
共有 1 個檔案被更改,包括 12 行新增1 行删除
  1. +12
    -1
      gnu/packages/speech.scm

+ 12
- 1
gnu/packages/speech.scm 查看文件

@@ -337,7 +337,9 @@ be used by the sighted.")
(invoke "tar" "--strip-components=1"
"-xvf" (assoc-ref inputs "festvox-cmu"))
(invoke "tar" "--strip-components=1"
"-xf" (assoc-ref inputs "festvox-poslex"))
"-xvf" (assoc-ref inputs "festvox-poslex"))
(invoke "tar" "--strip-components=1"
"-xvf" (assoc-ref inputs "default-voice"))

;; Install Festival
(let ((bin (string-append out "/bin"))
@@ -420,6 +422,15 @@ be used by the sighted.")
(sha256
(base32
"18wywilxaqwy63lc47p5g5529mpxhslibh1bjij0snxx5mjf7ip7"))))
("default-voice"
,(origin
(method url-fetch)
(uri (string-append "http://festvox.org/packed/festival/"
(version-major+minor version)
"/voices/festvox_kallpc16k.tar.gz"))
(sha256
(base32
"136hmsyiwnlg2qwa508dy0imf19mzrb5r3dmb2kg8kcyxnslm740"))))
("speech-tools"
,(origin
(method url-fetch)


Loading…
取消
儲存