aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/openjtalk/openjtalk_1.09.bb
diff options
context:
space:
mode:
authorNaoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>2016-12-01 21:55:30 +0900
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2016-12-02 13:17:21 +0000
commita2d63e7f6b3f98487ce89591a806ce6315bc14dc (patch)
treeea5a6392509e65ff6117bde83abae0b664721b01 /recipes-multimedia/openjtalk/openjtalk_1.09.bb
parentb6c91bb70f8ed7200dd43bb115bee51bc82d613a (diff)
TTS Engine: Added support for Japanese TTS engine
This patch will add a temporary TTS engine for CES 2017 demo This recipe integrates the Japanese TTS engine and the data it needs Flite are necessary for voice-guide function of navigation app Change-Id: I92c3ba8584ab10c1a731a335316b7762f5f57a77 Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
Diffstat (limited to 'recipes-multimedia/openjtalk/openjtalk_1.09.bb')
-rw-r--r--recipes-multimedia/openjtalk/openjtalk_1.09.bb49
1 files changed, 49 insertions, 0 deletions
diff --git a/recipes-multimedia/openjtalk/openjtalk_1.09.bb b/recipes-multimedia/openjtalk/openjtalk_1.09.bb
new file mode 100644
index 000000000..5ac0771a7
--- /dev/null
+++ b/recipes-multimedia/openjtalk/openjtalk_1.09.bb
@@ -0,0 +1,49 @@
+SUMMARY = "Open JTalk is a Japanese text-to-speech system."
+HOMEPAGE = "http://open-jtalk.sourceforge.net/"
+SECTION = "libs"
+LICENSE = "BSD"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=ec9073c0ca40ff7c388b31cfd6a07a9e"
+
+BBCLASSEXTEND = "native"
+
+SRC_URI = "\
+ http://downloads.sourceforge.net/open-jtalk/open_jtalk-${PV}.tar.gz \
+ file://fix-mecab-tool.patch \
+ "
+
+SRC_URI_class-native = "\
+ http://downloads.sourceforge.net/open-jtalk/open_jtalk-${PV}.tar.gz \
+ "
+
+
+SRC_URI[md5sum] = "5dfdbad432d892f044fb96129a524bfe"
+SRC_URI[sha256sum] = "8ed79238d825fee1d9e0a1c6c8a89e2cc707189be1caa3fa79e8eb72436079d7"
+
+DEPENDS = " hts-engine openjtalk-native "
+DEPENDS_class-native = " hts-engine-native "
+
+RDEPENDS_${PN} = " openjtalk-voicedata "
+RDEPENDS_${PN}_class-native = " "
+
+inherit autotools-brokensep
+
+S = "${WORKDIR}/open_jtalk-${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 \
+"
+
+EXTRA_OECONF_class-native = " \
+ --with-hts-engine-header-path=${includedir} \
+ --with-hts-engine-library-path=${libdir} \
+"
+
+do_install_append_class-native() {
+ install -m 755 mecab/src/mecab-dict-index ${D}${bindir}
+}
+
+FILES_${PN} += " ${datadir}/dic/* "
+