From f72fc08741237e05d4e2191aa15746e17315444f Mon Sep 17 00:00:00 2001 From: Naoto Yamaguchi Date: Fri, 18 Nov 2016 22:55:41 +0900 Subject: 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 Change-Id: I57e4cc724a3b7affe0ba588af18b346b1bb6ce46 --- recipes-multimedia/flite/flite-voicedata_1.05.bb | 22 ++++++++++++++++++++ recipes-multimedia/flite/flite_1.06.bb | 26 ++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100755 recipes-multimedia/flite/flite-voicedata_1.05.bb create mode 100755 recipes-multimedia/flite/flite_1.06.bb (limited to 'recipes-multimedia/flite') 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 \ +" -- cgit 1.2.3-korg