From 2828dc68ba1368e4da2007e6a239de14649bae78 Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Sat, 5 Apr 2025 16:31:55 +0500 Subject: [PATCH] app-accessibility/rhvoice: add 1.16.4 Signed-off-by: Anna (cybertailor) Vyalkova --- .../rhvoice/rhvoice-1.16.4.ebuild | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 app-accessibility/rhvoice/rhvoice-1.16.4.ebuild diff --git a/app-accessibility/rhvoice/rhvoice-1.16.4.ebuild b/app-accessibility/rhvoice/rhvoice-1.16.4.ebuild new file mode 100644 index 0000000000..e9b72d5a16 --- /dev/null +++ b/app-accessibility/rhvoice/rhvoice-1.16.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 2024-2025 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="Multilingual text-to-speech engine (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%,}]"