| # Copyright 1999-2009 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Header: $ |
| |
| EAPI="2" |
| CROS_WORKON_COMMIT="b04eb17116eeec7ae184760c2055e9534362eb1b" |
| |
| CROS_WORKON_PROJECT="chromiumos/platform/speech_synthesis" |
| inherit cros-debug cros-workon eutils |
| |
| DESCRIPTION="This is the text-to-speech (TTS) synthesis library." |
| HOMEPAGE="http://www.svox.com" |
| SRC_URI="" |
| LICENSE="Apache-2.0" |
| SLOT="0" |
| KEYWORDS="~x86 ~arm" |
| IUSE="" |
| DEPEND="chromeos-base/libchrome |
| chromeos-base/libchromeos |
| dev-libs/dbus-glib |
| dev-libs/glib |
| dev-libs/libxml2 |
| media-libs/alsa-lib |
| media-libs/libresample |
| media-libs/pico" |
| |
| RDEPEND="${DEPEND}" |
| |
| src_compile() { |
| tc-getCXX |
| cros-debug-add-NDEBUG |
| emake -j1 || die "emake failed" |
| } |
| |
| src_install() { |
| dosbin "${S}/speech_synthesizer" |
| dosbin "${S}/speech_synthesizer_client" |
| |
| insinto /etc/dbus-1/system.d |
| doins "${S}/SpeechSynthesizer.conf" |
| |
| insinto /usr/share/dbus-1/system-services |
| doins "${S}/org.chromium.SpeechSynthesizer.service" |
| |
| insinto /usr/share/chromeos-assets/accessibility/earcons |
| doins "${S}/earcons/"* |
| |
| dolib "${S}/libtts.so" |
| } |
| |