From patchwork Sat Sep 18 19:11:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 33190 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C069027BBE3; Sat, 18 Sep 2021 20:20:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7C3B027BBE1 for ; Sat, 18 Sep 2021 20:20:11 +0100 (BST) Received: from localhost ([::1]:40126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRfsg-0005yf-Is for patchwork@mira.cbaines.net; Sat, 18 Sep 2021 15:20:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57112) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRfko-00028l-He for guix-patches@gnu.org; Sat, 18 Sep 2021 15:12:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53635) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRfko-0007If-Ad for guix-patches@gnu.org; Sat, 18 Sep 2021 15:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mRfko-0004xm-5k for guix-patches@gnu.org; Sat, 18 Sep 2021 15:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50663] [PATCH 17/19] gnu: Add mycroft-mimic. References: In-Reply-To: Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Sep 2021 19:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50663 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "50663@debbugs.gnu.org" <50663@debbugs.gnu.org> Received: via spool by 50663-submit@debbugs.gnu.org id=B50663.163199231319057 (code B ref 50663); Sat, 18 Sep 2021 19:12:02 +0000 Received: (at 50663) by debbugs.gnu.org; 18 Sep 2021 19:11:53 +0000 Received: from localhost ([127.0.0.1]:36947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRfkf-0004xJ-E9 for submit@debbugs.gnu.org; Sat, 18 Sep 2021 15:11:53 -0400 Received: from mail2.protonmail.ch ([185.70.40.22]:64182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRfkd-0004x3-7T for 50663@debbugs.gnu.org; Sat, 18 Sep 2021 15:11:52 -0400 Date: Sat, 18 Sep 2021 19:11:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1631992304; bh=vMT/XyfEWzmBy+RgHUARUnuSqghgulppsK5ovdoJk78=; h=Date:To:From:Reply-To:Subject:From; b=t00XPa5htzfoNTVnv5mVYH+Y9mR49wRqjBEiakRgiLuD2VnTpL8VMJybwT5JkTFB9 pozHt059W6BZ1gb/yJ4wZsA618j7xRY/FxEStr4W1aGdJ9zw9l3uJ7U2rwiqe7TKW1 3vc4X4GB9wUsV4IYoAm6MaSBR/u7wOoqg4s8+wmQ= Message-ID: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches * gnu/packages/speech.scm (mycroft-mimic): New variable. --- 2.32.0 diff --git a/gnu/packages/speech.scm b/gnu/packages/speech.scm index cbc46b32b4..78694362e8 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 @@ #: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) @@ -237,6 +239,36 @@ efficiency through the use of a compact vector representation of n-grams.") (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) + (native-inputs + `(("pkg-config" ,pkg-config) + ("libtool" ,libtool) + ("automake" ,automake) + ("autoconf" ,autoconf))) + (inputs `(("alsa-lib" ,alsa-lib) + ("pcre2" ,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 #f))) + (define-public speech-dispatcher (package (name "speech-dispatcher")