added my Recipes
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
From d7d00ec681dc430192cf2192b3de7b7c30c4753d Mon Sep 17 00:00:00 2001
|
||||
From: Bart Ribbers <bribbers@disroot.org>
|
||||
Date: Sat, 9 May 2020 11:42:32 +0200
|
||||
Subject: [PATCH] Fix musl compatibility
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
Upstream-Status: Backport [https://github.com/MycroftAI/mimic1/commit/5282ff075091c3d1a635fb20f2b8a35a377f4b42.patch]
|
||||
---
|
||||
src/hts/hts_engine_API/lib/HTS_misc.c | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/hts/hts_engine_API/lib/HTS_misc.c b/src/hts/hts_engine_API/lib/HTS_misc.c
|
||||
index 72306cb..afcaaec 100644
|
||||
--- a/src/hts/hts_engine_API/lib/HTS_misc.c
|
||||
+++ b/src/hts/hts_engine_API/lib/HTS_misc.c
|
||||
@@ -247,8 +247,10 @@ size_t HTS_ftell(HTS_File * fp)
|
||||
fgetpos((FILE *) fp->pointer, &pos);
|
||||
#if defined(_WIN32) || defined(__CYGWIN__) || defined(__APPLE__) || defined(__ANDROID__)
|
||||
return (size_t) pos;
|
||||
-#else
|
||||
+#elif defined(__GLIBC__)
|
||||
return (size_t) pos.__pos;
|
||||
+#else
|
||||
+ return (size_t) ftell(fp->pointer);
|
||||
#endif /* _WIN32 || __CYGWIN__ || __APPLE__ || __ANDROID__ */
|
||||
} else if (fp->type == HTS_DATA) {
|
||||
HTS_Data *d = (HTS_Data *) fp->pointer;
|
||||
--
|
||||
2.28.0
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
From 7d38a72f9ae14a2416f7a78e28152aa33685aec7 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Wed, 12 Aug 2020 16:47:27 -0700
|
||||
Subject: [PATCH] cmu_indic_lang: Make cst_rx_not_indic as extern declaration
|
||||
|
||||
Fixes build with gcc-10 which has -fno-common turned on by default
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/MycroftAI/mimic1/pull/211]
|
||||
Signed-off-by: Khem Raj <raj.khem@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" */
|
||||
--
|
||||
2.28.0
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
SUMMARY = "A fast lightweight Text-to-speech engine"
|
||||
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."
|
||||
HOMEPAGE = "https://mimic.mycroft.ai/"
|
||||
SECTION = "multimedia"
|
||||
|
||||
# "Mimic is available under permissive BSD-like licenses"
|
||||
LICENSE = "MIT & \
|
||||
PD & \
|
||||
CMU-Tex & \
|
||||
rateconv & \
|
||||
BSD-2-Clause & \
|
||||
BSD-3-Clause & \
|
||||
flite & \
|
||||
(flite & Sun) & \
|
||||
BellBird & \
|
||||
Apache-2.0 \
|
||||
"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=a2c2c7371b58b9cdeae0dc68846fe9f1"
|
||||
|
||||
DEPENDS = "curl-native libpcre2"
|
||||
|
||||
SRCREV = "adf655da0399530ac1b586590257847eb61be232"
|
||||
SRC_URI = "git://github.com/MycroftAI/mimic1.git;branch=master;protocol=https \
|
||||
file://0001-Fix-musl-compatibility.patch \
|
||||
file://0001-cmu_indic_lang-Make-cst_rx_not_indic-as-extern-decla.patch \
|
||||
"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
CPPFLAGS:append = " -Wno-error"
|
||||
Reference in New Issue
Block a user