From a8500175c36ce90a97d78d9bfcfbcb1db40af9cc Mon Sep 17 00:00:00 2001 Message-Id: In-Reply-To: References: From: Petr Hodina Date: Fri, 30 Jul 2021 20:35:12 +0200 Subject: [PATCH v2 17/19] gnu: Add mycroft-mimic. * gnu/packages/speech.scm (mycroft-mimic): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/speech.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/speech.scm b/gnu/packages/speech.scm index f6ca6099de..98b6ebffe2 100644 --- a/gnu/packages/speech.scm +++ b/gnu/packages/speech.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2020 Nicolas Goaziou ;;; Copyright © 2020 Efraim Flashner ;;; Copyright © 2021 qblade +;;; Copyright © 2021 Petr Hodina ;;; ;;; This file is part of GNU Guix. ;;; @@ -45,6 +46,7 @@ (define-module (gnu packages speech) #:use-module (gnu packages gstreamer) #:use-module (gnu packages linux) #:use-module (gnu packages ncurses) + #:use-module (gnu packages pcre) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages pulseaudio) @@ -232,6 +234,34 @@ (define-public mitlm (home-page "https://github.com/mitlm/mitlm") (license license:expat))) +(define-public mycroft-mimic + (package + (name "mycroft-mimic") + (version "1.3.0.1") + (source (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/MycroftAI/mimic1") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1agwgby9ql8r3x5rd1rgx3xp9y4cdg4pi3kqlz3vanv9na8nf3id")))) + (build-system gnu-build-system) + (arguments + '(#:configure-flags '("CFLAGS=-fcommon"))) ;for GCC-10 + (native-inputs + (list pkg-config libtool automake autoconf)) + (inputs (list alsa-lib pcre2)) + (synopsis "Mycroft's TTS engine, based on CMU's Flite (Festival Lite)") + (description "Mimic is a fast, lightweight Text-to-speech engine developed +by Mycroft A.I. and VocaliD, based on Carnegie Mellon University’s Flite +(Festival-Lite) software. Mimic takes in text and reads it out loud to create +a high quality voice.") + (home-page "https://github.com/MycroftAI/mimic1") + (license license:asl2.0))) + (define-public speech-dispatcher (package (name "speech-dispatcher") -- 2.34.0