aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/flite
diff options
context:
space:
mode:
authorNaoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>2016-11-18 22:55:41 +0900
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2016-11-24 11:26:09 +0000
commitf72fc08741237e05d4e2191aa15746e17315444f (patch)
tree868d669d79fb79237783c932d42c80c6c303394c /recipes-multimedia/flite
parentdc375696679f64753174aa1ddbac35d8573b13ff (diff)
TTS Engine: Added support for English TTS engine
This patch will add a temporary TTS engine for CES 2017 demo This recipe integrates the English TTS engine and the data it needs Flite are necessary for english voice-guide function of navigation app Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp> Change-Id: I57e4cc724a3b7affe0ba588af18b346b1bb6ce46
Diffstat (limited to 'recipes-multimedia/flite')
-rwxr-xr-xrecipes-multimedia/flite/flite-voicedata_1.05.bb22
-rwxr-xr-xrecipes-multimedia/flite/flite_1.06.bb26
2 files changed, 48 insertions, 0 deletions
diff --git a/recipes-multimedia/flite/flite-voicedata_1.05.bb b/recipes-multimedia/flite/flite-voicedata_1.05.bb
new file mode 100755
index 000000000..c339c7bf9
--- /dev/null
+++ b/recipes-multimedia/flite/flite-voicedata_1.05.bb
@@ -0,0 +1,22 @@
+SUMMARY = "HTS voice."
+HOMEPAGE = "https://sourceforge.net/projects/mmdagent/"
+SECTION = "libs"
+LICENSE = "CC-BY-3.0"
+
+inherit allarch
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=46a53fe79125e971ec81d84e6586f4c8"
+
+SRC_URI = "http://downloads.sourceforge.net/hts-engine/hts_voice_cmu_us_arctic_slt-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "0d76f505e7fbc5fa68a437d29f591dcd"
+SRC_URI[sha256sum] = "3aa86d810e04548814b83db36a1d5a187d95a136890a378913d0b1b97ef90ba4"
+
+S = "${WORKDIR}/hts_voice_cmu_us_arctic_slt-${PV}"
+
+do_install() {
+ install -m 0755 -d ${D}/${datadir}/Voice/us
+ install -m 0644 -p ${S}/*.htsvoice ${D}/${datadir}/Voice/us/
+}
+
+FILES_${PN} += " ${datadir}/Voice/us/*.htsvoice "
diff --git a/recipes-multimedia/flite/flite_1.06.bb b/recipes-multimedia/flite/flite_1.06.bb
new file mode 100755
index 000000000..aff54964c
--- /dev/null
+++ b/recipes-multimedia/flite/flite_1.06.bb
@@ -0,0 +1,26 @@
+SUMMARY = "The Flite+hts_engine is an English TTS System."
+HOMEPAGE = "http://hts-engine.sourceforge.net/"
+SECTION = "libs"
+LICENSE = "BSD"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=a1ab16abd1c593cab35c2987fd871678"
+
+SRC_URI = "\
+ http://downloads.sourceforge.net/hts-engine/flite%2Bhts_engine-${PV}.tar.gz \
+ "
+
+SRC_URI[md5sum] = "c2eed681c84c67684a071bbfdb30d7f0"
+SRC_URI[sha256sum] = "8a8c3ecc186ef92eda150a4aa687d8638f4f42be52aa2971e72aa960d4fdc342"
+
+
+DEPENDS = " hts-engine "
+RDEPENDS_${PN} += " flite-voicedata "
+
+inherit autotools-brokensep
+
+S = "${WORKDIR}/flite+hts_engine-${PV}"
+
+EXTRA_OECONF = " \
+ --with-hts-engine-header-path=${PKG_CONFIG_SYSROOT_DIR}/usr/include \
+ --with-hts-engine-library-path=${PKG_CONFIG_SYSROOT_DIR}/usr/lib \
+"