summaryrefslogtreecommitdiff
blob: e7cf31a1fe14042b4ca41ba85a10efc69000f265 (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

MY_PN=msu_ru_nsh_clunits

DESCRIPTION="Russian voices for Festival"
HOMEPAGE="https://sourceforge.net/projects/festlang.berlios/"
SRC_URI="mirror://sourceforge/project/festlang.berlios/${MY_PN}-${PV}.tar.bz2"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=">=app-accessibility/festival-1.96_beta"
DEPEND=""

S=${WORKDIR}

src_install() {
	dodoc ${MY_PN}/README

	insinto /usr/share/festival/voices/russian
	rm ${MY_PN}/{README,COPYING} || die
	doins -r ${MY_PN}
}

pkg_postinst() {
	elog
	elog "    To enable russian voices run festval and use command:"
	elog "        (voice_msu_ru_nsh_clunits)"
	elog
	elog "    Please note that text input should have UTF-8 encoding."
	elog
}