public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-accessibility/rhvoice/
Date: Tue,  6 Feb 2024 09:20:44 +0000 (UTC)	[thread overview]
Message-ID: <1707208985.3a82871fb73d64fef2455ac16dcf522b419009e2.flow@gentoo> (raw)

commit:     3a82871fb73d64fef2455ac16dcf522b419009e2
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Feb  6 08:38:39 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> 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 <cyber+gentoo <AT> 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 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<upstream>
-	<remote-id type="github">RHVoice/RHVoice</remote-id>
-</upstream>
 <!-- maintainer-needed -->
-<use>
-	<flag name="cli">Build a CLI application that allows you to synthesize speech</flag>
-	<flag name="server">Build a server application</flag>
-	<flag name="speech-dispatcher">Build a speech-dispatcher middleware module</flag>
-	<!-- flag name="utils">Build utilities needed for the ones creating voices</flag -->
-</use>
-<longdescription lang="en">
-	RHVoice is a free and open source speech synthesizer.
+	<upstream>
+		<remote-id type="github">RHVoice/RHVoice</remote-id>
+	</upstream>
+	<use>
+		<flag name="cli" restrict="&lt;app-accessibility/rhvoice-1.14">Build a CLI application that allows you to synthesize speech</flag>
+		<flag name="redistributable" restrict="&gt;=app-accessibility/rhvoice-1.14">Install also non-free (but redistributable) voices</flag>
+		<flag name="server" restrict="&lt;app-accessibility/rhvoice-1.14">Build a server application</flag>
+		<flag name="speech-dispatcher" restrict="&lt;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
-	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.
-</longdescription>
+		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.
+	</longdescription>
 </pkgmetadata>

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%,}]"


             reply	other threads:[~2024-02-06  9:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-06  9:20 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-07 10:03 [gentoo-commits] repo/proj/guru:master commit in: app-accessibility/rhvoice/ David Roman
2024-02-06  9:20 Florian Schmaus
2021-12-08 11:38 Andrew Ammerlaan
2021-10-03  6:55 Arthur Zamarin
2021-09-30 19:39 Arthur Zamarin
2021-05-26 13:42 Andrew Ammerlaan
2021-05-22 18:45 Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1707208985.3a82871fb73d64fef2455ac16dcf522b419009e2.flow@gentoo \
    --to=flow@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox