blob: 5d507097d2f98004efb5628dc762f9e2bec0fb23 [file] [log] [blame]
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
CROS_WORKON_COMMIT="e6089d1667c9b4835295617bbb05dc5c9e96b83e"
CROS_WORKON_TREE="09856cf121c325302696a03d1b0608a9be8fed77"
EAPI="4"
CROS_WORKON_PROJECT="chromiumos/platform/speech_synthesis"
inherit cros-debug cros-workon toolchain-funcs
DESCRIPTION="This is the text-to-speech (TTS) synthesis library"
HOMEPAGE="http://www.svox.com/"
SRC_URI=""
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE=""
LIBCHROME_VERS="125070"
DEPEND="chromeos-base/libchrome:${LIBCHROME_VERS}[cros-debug=]
chromeos-base/libchromeos
chromeos-base/system_api
dev-libs/dbus-glib
dev-libs/glib
dev-libs/libxml2
media-libs/alsa-lib
media-libs/libresample
media-libs/pico"
RDEPEND="${DEPEND}"
src_prepare() {
tc-export CXX
cros-debug-add-NDEBUG
export BASE_VER=${LIBCHROME_VERS}
}
src_install() {
dosbin speech_synthesizer
insinto /etc/dbus-1/system.d
doins SpeechSynthesizer.conf
insinto /usr/share/dbus-1/system-services
doins org.chromium.SpeechSynthesizer.service
}