summaryrefslogtreecommitdiff
blob: c0ad1aa04ccc2a6c56e117c6c101ad4afb20fefd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/iulib/iulib-0.4.ebuild,v 1.7 2012/06/03 02:42:24 vapier Exp $

EAPI="5"

inherit scons-utils eutils toolchain-funcs multilib git-r3

DESCRIPTION="A speech synthesizer for Russian language"
HOMEPAGE="https://github.com/Olga-Yakovleva/RHVoice"
SRC_URI=""
EGIT_REPO_URI="https://github.com/Olga-Yakovleva/RHVoice git://github.com/Olga-Yakovleva/RHVoice.git"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="rewrite"

RDEPEND=""
DEPEND="${RDEPEND}
	dev-lang/python
	app-accessibility/flite
	dev-libs/libunistring
	dev-libs/expat
	dev-libs/libpcre
	media-sound/sox
	dev-util/scons"

src_unpack() {
	use rewrite && EGIT_BRANCH="rewrite"
	git-r3_src_unpack;
}

src_compile() {
	escons prefix=/usr sysconfdir=/etc
}

src_install() {
	# Dirty hack, since it fails to install with multijob
	SCONSOPTS=""
	escons DESTDIR="${D}" prefix=/usr sysconfdir=/etc install
	dodoc README
}