initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
From 77b36eaeb2c38eba571b8db7e9bb0fd507774e6d Mon Sep 17 00:00:00 2001
|
||||
From: Kris Gesling <kris.gesling@mycroft.ai>
|
||||
Date: Tue, 11 May 2021 09:15:22 +0930
|
||||
Subject: [PATCH] Fix linking on gcc 10.2.0 or newer
|
||||
|
||||
Co-authored-by: MichaelSabal <michaelsabal@users.noreply.github.com>
|
||||
|
||||
[Retrieved from:
|
||||
https://github.com/MycroftAI/mimic1/commit/77b36eaeb2c38eba571b8db7e9bb0fd507774e6d]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
lang/cmu_indic_lang/cmu_indic_lang.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lang/cmu_indic_lang/cmu_indic_lang.h b/lang/cmu_indic_lang/cmu_indic_lang.h
|
||||
index 75ee46c..83e2afa 100644
|
||||
--- a/lang/cmu_indic_lang/cmu_indic_lang.h
|
||||
+++ b/lang/cmu_indic_lang/cmu_indic_lang.h
|
||||
@@ -51,7 +51,7 @@ void cmu_indic_lang_init(cst_voice *v);
|
||||
extern const cst_phoneset cmu_indic_phoneset;
|
||||
extern const cst_cart cmu_indic_phrasing_cart;
|
||||
|
||||
-const cst_regex * const cst_rx_not_indic;
|
||||
+extern const cst_regex * const cst_rx_not_indic;
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
@@ -0,0 +1,41 @@
|
||||
comment "mimic needs a toolchain w/ wchar"
|
||||
depends on !BR2_USE_WCHAR
|
||||
|
||||
config BR2_PACKAGE_MIMIC
|
||||
bool "mimic"
|
||||
depends on BR2_USE_WCHAR
|
||||
help
|
||||
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.
|
||||
|
||||
https://github.com/MycroftAI/mimic
|
||||
|
||||
if BR2_PACKAGE_MIMIC
|
||||
|
||||
choice
|
||||
prompt "audio backend"
|
||||
default BR2_PACKAGE_MIMIC_AUDIO_BACKEND_NONE
|
||||
|
||||
config BR2_PACKAGE_MIMIC_AUDIO_BACKEND_NONE
|
||||
bool "none"
|
||||
help
|
||||
With no backend, mimic will only be able to produce .wav
|
||||
files.
|
||||
|
||||
config BR2_PACKAGE_MIMIC_AUDIO_BACKEND_ALSA
|
||||
bool "alsa"
|
||||
depends on BR2_PACKAGE_ALSA_LIB
|
||||
|
||||
config BR2_PACKAGE_MIMIC_AUDIO_BACKEND_PORTAUDIO
|
||||
bool "alsa via portaudio"
|
||||
depends on BR2_PACKAGE_PORTAUDIO
|
||||
|
||||
config BR2_PACKAGE_MIMIC_AUDIO_BACKEND_PULSEAUDIO
|
||||
bool "pulseaudio"
|
||||
depends on BR2_PACKAGE_PULSEAUDIO
|
||||
|
||||
endchoice
|
||||
|
||||
endif # BR2_PACKAGE_MIMIC
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 725003c9972d5b67c49d5ea6a89cb26b63414ff2c7adbbaf9200cf9eb55f80eb mimic-1.1.0.tar.gz
|
||||
sha256 c423c1c6d260091d80ee4c00f386a10fea39963a3f1530f2c245f15dd20324ee COPYING
|
||||
@@ -0,0 +1,29 @@
|
||||
################################################################################
|
||||
#
|
||||
# mimic
|
||||
#
|
||||
################################################################################
|
||||
|
||||
MIMIC_VERSION = 1.1.0
|
||||
MIMIC_SITE = $(call github,MycroftAI,mimic,$(MIMIC_VERSION))
|
||||
MIMIC_LICENSE = MIT
|
||||
MIMIC_LICENSE_FILES = COPYING
|
||||
|
||||
MIMIC_DEPENDENCIES = host-pkgconf
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MIMIC_AUDIO_BACKEND_ALSA),y)
|
||||
MIMIC_AUDIO_BACKEND = alsa
|
||||
MIMIC_DEPENDENCIES += alsa-lib
|
||||
else ifeq ($(BR2_PACKAGE_MIMIC_AUDIO_BACKEND_PORTAUDIO),y)
|
||||
MIMIC_AUDIO_BACKEND = portaudio
|
||||
MIMIC_DEPENDENCIES += portaudio
|
||||
else ifeq ($(BR2_PACKAGE_MIMIC_AUDIO_BACKEND_PULSEAUDIO),y)
|
||||
MIMIC_AUDIO_BACKEND = pulseaudio
|
||||
MIMIC_DEPENDENCIES += pulseaudio
|
||||
else ifeq ($(BR2_PACKAGE_MIMIC_AUDIO_BACKEND_NONE),y)
|
||||
MIMIC_AUDIO_BACKEND = none
|
||||
endif
|
||||
|
||||
MIMIC_CONF_OPTS += --with-audio=$(MIMIC_AUDIO_BACKEND)
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user