gnu: Add espeak.
* gnu/packages/audio.scm (espeak): New variable.
This commit is contained in:
parent
52db41aff8
commit
c3cc7d412a
|
@ -343,6 +343,57 @@ tools (analyzer, mono/stereo tools, crossovers).")
|
||||||
;; The plugins are released under LGPLv2.1+
|
;; The plugins are released under LGPLv2.1+
|
||||||
(license (list license:lgpl2.1+ license:gpl2+))))
|
(license (list license:lgpl2.1+ license:gpl2+))))
|
||||||
|
|
||||||
|
(define-public espeak
|
||||||
|
(package
|
||||||
|
(name "espeak")
|
||||||
|
(version "1.48.04")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "mirror://sourceforge/espeak/espeak/"
|
||||||
|
"espeak-" (version-major+minor version)
|
||||||
|
"/espeak-" version "-source.zip"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0n86gwh9pw0jqqpdz7mxggllfr8k0r7pc67ayy7w5z6z79kig6mz"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
;; remove prebuilt binaries
|
||||||
|
'(delete-file-recursively "linux_32bit"))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
|
||||||
|
(string-append "DATADIR="
|
||||||
|
(assoc-ref %outputs "out")
|
||||||
|
"/share/espeak-data")
|
||||||
|
(string-append "LDFLAGS=-Wl,-rpath="
|
||||||
|
(assoc-ref %outputs "out")
|
||||||
|
"/lib")
|
||||||
|
"AUDIO=pulseaudio")
|
||||||
|
#:tests? #f ; no check target
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(replace 'configure
|
||||||
|
(lambda _
|
||||||
|
(chdir "src")
|
||||||
|
;; We use version 19 of the PortAudio library, so we must copy the
|
||||||
|
;; corresponding file to be sure that espeak compiles correctly.
|
||||||
|
(copy-file "portaudio19.h" "portaudio.h")
|
||||||
|
(substitute* "Makefile"
|
||||||
|
(("/bin/ln") "ln"))
|
||||||
|
#t)))))
|
||||||
|
(inputs
|
||||||
|
`(("portaudio" ,portaudio)
|
||||||
|
("pulseaudio" ,pulseaudio)))
|
||||||
|
(native-inputs `(("unzip" ,unzip)))
|
||||||
|
(home-page "http://espeak.sourceforge.net/")
|
||||||
|
(synopsis "Software speech synthesizer")
|
||||||
|
(description "eSpeak is a software speech synthesizer for English and
|
||||||
|
other languages. eSpeak uses a \"formant synthesis\" method. This allows many
|
||||||
|
languages to be provided in a small size. The speech is clear, and can be used
|
||||||
|
at high speeds, but is not as natural or smooth as larger synthesizers which are
|
||||||
|
based on human speech recordings.")
|
||||||
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public infamous-plugins
|
(define-public infamous-plugins
|
||||||
(package
|
(package
|
||||||
(name "infamous-plugins")
|
(name "infamous-plugins")
|
||||||
|
|
Loading…
Reference in New Issue