mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 05:23:01 -04:00
app-accessibility/rhvoice: add 1.14.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -1,29 +1,29 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<upstream>
|
|
||||||
<remote-id type="github">RHVoice/RHVoice</remote-id>
|
|
||||||
</upstream>
|
|
||||||
<!-- maintainer-needed -->
|
<!-- maintainer-needed -->
|
||||||
<use>
|
<upstream>
|
||||||
<flag name="cli">Build a CLI application that allows you to synthesize speech</flag>
|
<remote-id type="github">RHVoice/RHVoice</remote-id>
|
||||||
<flag name="server">Build a server application</flag>
|
</upstream>
|
||||||
<flag name="speech-dispatcher">Build a speech-dispatcher middleware module</flag>
|
<use>
|
||||||
<!-- flag name="utils">Build utilities needed for the ones creating voices</flag -->
|
<flag name="cli" restrict="<app-accessibility/rhvoice-1.14">Build a CLI application that allows you to synthesize speech</flag>
|
||||||
</use>
|
<flag name="redistributable" restrict=">=app-accessibility/rhvoice-1.14">Install also non-free (but redistributable) voices</flag>
|
||||||
<longdescription lang="en">
|
<flag name="server" restrict="<app-accessibility/rhvoice-1.14">Build a server application</flag>
|
||||||
RHVoice is a free and open source speech synthesizer.
|
<flag name="speech-dispatcher" restrict="<app-accessibility/rhvoice-1.14">Build a speech-dispatcher middleware module</flag>
|
||||||
|
</use>
|
||||||
|
<longdescription lang="en">
|
||||||
|
RHVoice is a free and open source speech synthesizer.
|
||||||
|
|
||||||
Voices are built from recordings of natural speech. They have small
|
Voices are built from recordings of natural speech. They have small
|
||||||
footprints, because only statistical models are stored on users'
|
footprints, because only statistical models are stored on users'
|
||||||
computers. And though the voices lack the naturalness of the
|
computers. And though the voices lack the naturalness of the
|
||||||
synthesizers which generate speech by combining segments of the
|
synthesizers which generate speech by combining segments of the
|
||||||
recordings themselves, they are still very intelligible and resemble
|
recordings themselves, they are still very intelligible and resemble
|
||||||
the speakers who recorded the source material.
|
the speakers who recorded the source material.
|
||||||
|
|
||||||
Initially, RHVoice could speak only Russian. Now it also supports
|
Initially, RHVoice could speak only Russian. Now it also supports
|
||||||
American English, Brazilian Portuguese, Esperanto, Georgian, Ukrainian,
|
American English, Brazilian Portuguese, Esperanto, Georgian, Ukrainian,
|
||||||
Kyrgyz and Tatar. In theory, it is possible to implement support for
|
Kyrgyz and Tatar. In theory, it is possible to implement support for
|
||||||
other languages, if all the necessary resources can be found or created.
|
other languages, if all the necessary resources can be found or created.
|
||||||
</longdescription>
|
</longdescription>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
|||||||
35
app-accessibility/rhvoice/rhvoice-1.14.0.ebuild
Normal file
35
app-accessibility/rhvoice/rhvoice-1.14.0.ebuild
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
# Copyright 2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
declare -A VOICES=(
|
||||||
|
[en]="
|
||||||
|
redistributable? (
|
||||||
|
app-voices/rhvoice-bdl
|
||||||
|
app-voices/rhvoice-clb
|
||||||
|
app-voices/rhvoice-slt
|
||||||
|
)
|
||||||
|
"
|
||||||
|
[ru]="redistributable? ( app-voices/rhvoice-arina )"
|
||||||
|
)
|
||||||
|
|
||||||
|
DESCRIPTION="TTS engine with extended languages support (metapackage)"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://rhvoice.org
|
||||||
|
https://github.com/RHVoice/RHVoice
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="metapackage"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="redistributable"
|
||||||
|
|
||||||
|
for lang in "${!VOICES[@]}"; do
|
||||||
|
usestr="l10n_${lang:?}"
|
||||||
|
IUSE+=" ${usestr:?}"
|
||||||
|
RHVOICE_REQ_USE+="${usestr:?}?,"
|
||||||
|
RDEPEND+=" ${usestr}? ( ${VOICES[${lang:?}]} )"
|
||||||
|
done
|
||||||
|
|
||||||
|
RDEPEND+=" >=app-accessibility/rhvoice-core-${PV}[${RHVOICE_REQ_USE%,}]"
|
||||||
Reference in New Issue
Block a user