From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D01A815815E for ; Tue, 6 Feb 2024 09:20:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 90EDBE29D5; Tue, 6 Feb 2024 09:20:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 724F3E29D5 for ; Tue, 6 Feb 2024 09:20:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 41DA33430C1 for ; Tue, 6 Feb 2024 09:20:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9109D14D0 for ; Tue, 6 Feb 2024 09:20:44 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1707208985.3a82871fb73d64fef2455ac16dcf522b419009e2.flow@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-accessibility/rhvoice/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-accessibility/rhvoice/metadata.xml app-accessibility/rhvoice/rhvoice-1.14.0.ebuild X-VCS-Directories: app-accessibility/rhvoice/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: 3a82871fb73d64fef2455ac16dcf522b419009e2 X-VCS-Branch: master Date: Tue, 6 Feb 2024 09:20:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ee72c080-bd9f-49b5-a0bf-2d3733414c3a X-Archives-Hash: ea2b9c6d2aa49a0dd32fdceb4006f8d6 commit: 3a82871fb73d64fef2455ac16dcf522b419009e2 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Tue Feb 6 08:38:39 2024 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Tue Feb 6 08:43:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3a82871f app-accessibility/rhvoice: add 1.14.0 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> app-accessibility/rhvoice/metadata.xml | 44 ++++++++++++------------- app-accessibility/rhvoice/rhvoice-1.14.0.ebuild | 35 ++++++++++++++++++++ 2 files changed, 57 insertions(+), 22 deletions(-) diff --git a/app-accessibility/rhvoice/metadata.xml b/app-accessibility/rhvoice/metadata.xml index 596997d701..acac05e05d 100644 --- a/app-accessibility/rhvoice/metadata.xml +++ b/app-accessibility/rhvoice/metadata.xml @@ -1,29 +1,29 @@ - - RHVoice/RHVoice - - - Build a CLI application that allows you to synthesize speech - Build a server application - Build a speech-dispatcher middleware module - - - - RHVoice is a free and open source speech synthesizer. + + RHVoice/RHVoice + + + Build a CLI application that allows you to synthesize speech + Install also non-free (but redistributable) voices + Build a server application + Build a speech-dispatcher middleware module + + + RHVoice is a free and open source speech synthesizer. - Voices are built from recordings of natural speech. They have small - footprints, because only statistical models are stored on users' - computers. And though the voices lack the naturalness of the - synthesizers which generate speech by combining segments of the - recordings themselves, they are still very intelligible and resemble - the speakers who recorded the source material. + Voices are built from recordings of natural speech. They have small + footprints, because only statistical models are stored on users' + computers. And though the voices lack the naturalness of the + synthesizers which generate speech by combining segments of the + recordings themselves, they are still very intelligible and resemble + the speakers who recorded the source material. - Initially, RHVoice could speak only Russian. Now it also supports - American English, Brazilian Portuguese, Esperanto, Georgian, Ukrainian, - Kyrgyz and Tatar. In theory, it is possible to implement support for - other languages, if all the necessary resources can be found or created. - + Initially, RHVoice could speak only Russian. Now it also supports + American English, Brazilian Portuguese, Esperanto, Georgian, Ukrainian, + Kyrgyz and Tatar. In theory, it is possible to implement support for + other languages, if all the necessary resources can be found or created. + diff --git a/app-accessibility/rhvoice/rhvoice-1.14.0.ebuild b/app-accessibility/rhvoice/rhvoice-1.14.0.ebuild new file mode 100644 index 0000000000..5aeed05b5f --- /dev/null +++ b/app-accessibility/rhvoice/rhvoice-1.14.0.ebuild @@ -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%,}]"