From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-accessibility/rhvoice-core/
Date: Sat, 3 Feb 2024 10:27:45 +0000 (UTC) [thread overview]
Message-ID: <1706956044.4225031d2e69f67e26ee5e0efb967ae371038dc6.cybertailor@gentoo> (raw)
commit: 4225031d2e69f67e26ee5e0efb967ae371038dc6
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Feb 3 10:24:57 2024 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sat Feb 3 10:27:24 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4225031d
app-accessibility/rhvoice-core: new package, add 1.14.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
app-accessibility/rhvoice-core/Manifest | 2 +
app-accessibility/rhvoice-core/metadata.xml | 29 +++++++
.../rhvoice-core/rhvoice-core-1.14.0.ebuild | 88 ++++++++++++++++++++++
3 files changed, 119 insertions(+)
diff --git a/app-accessibility/rhvoice-core/Manifest b/app-accessibility/rhvoice-core/Manifest
new file mode 100644
index 0000000000..2f6ab5834c
--- /dev/null
+++ b/app-accessibility/rhvoice-core/Manifest
@@ -0,0 +1,2 @@
+DIST RHVoice-1.14.0-sanitizers.tar.gz 7339 BLAKE2B e600886c9afed2681ea7ad5fd9900af7d3f98a7d96291af7c9ef648be438d149e86ee143f3fa5af0dee08457008ce66be43177adcac79401ef025ddd0d8d40fe SHA512 61df4641f3dbeca38cff44336df6fcea75d02d97135a677df51a02353b5580a96dd77af268bd42944afe36a58512fd948200098ea96a41d20ec503fc33a69421
+DIST RHVoice-1.14.0.tar.gz 3181853 BLAKE2B c3c8c7437aa859898dec8747963aa23e6e16b975b58d76f9b1ade3d1c17d9d4e63c24469a670c1210f9a1501606a34b6adf52ab4c64abfddb97541cced8f82b2 SHA512 dab57df49bdb1e2c574cd10e17e5bea08144a105d8f48991cef14b80d28db98dcae29b19d69ec97fc843ee8636d53c48845a3887552d347f117339c95fa0daf1
diff --git a/app-accessibility/rhvoice-core/metadata.xml b/app-accessibility/rhvoice-core/metadata.xml
new file mode 100644
index 0000000000..7015e80699
--- /dev/null
+++ b/app-accessibility/rhvoice-core/metadata.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Anna</name>
+ <email>cyber+gentoo@sysrq.in</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">RHVoice/RHVoice</remote-id>
+ </upstream>
+ <use>
+ <flag name="speech-dispatcher">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.
+
+ 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-core/rhvoice-core-1.14.0.ebuild b/app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild
new file mode 100644
index 0000000000..a74a53fbaf
--- /dev/null
+++ b/app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild
@@ -0,0 +1,88 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_PN="RHVoice"
+MY_P="${MY_PN}-${PV}"
+SANITIZERS_COMMIT="99e159ec9bc8dd362b08d18436bd40ff0648417b"
+DESCRIPTION="TTS engine with extended languages support (including Russian)"
+HOMEPAGE="
+ https://rhvoice.org
+ https://github.com/RHVoice/RHVoice
+"
+SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${MY_P}.tar.gz
+ https://github.com/arsenm/sanitizers-cmake/archive/${SANITIZERS_COMMIT}.tar.gz -> ${MY_P}-sanitizers.tar.gz
+"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="BSD GPL-2 GPL-3+ LGPL-2.1+"
+KEYWORDS="~amd64 ~x86"
+IUSE="ao dbus portaudio +pulseaudio +speech-dispatcher"
+SLOT="0"
+REQUIRED_USE="|| ( ao portaudio pulseaudio )"
+
+COMMON_DEPEND="
+ ao? ( media-libs/libao )
+ dbus? (
+ dev-libs/glib:2[dbus]
+ dev-libs/libsigc++:2
+ >=dev-cpp/glibmm-2.66.1:2
+ )
+ portaudio? ( media-libs/portaudio )
+ pulseaudio? ( media-libs/libpulse )
+ speech-dispatcher? ( app-accessibility/speech-dispatcher )
+"
+RDEPEND="${COMMON_DEPEND}
+ !<app-accessibility/rhvoice-1.14.0
+"
+DEPEND="${COMMON_DEPEND}
+ dev-cpp/cli11
+ dev-libs/utfcpp
+"
+
+DOCS=( README.md doc/. config/dicts )
+
+src_unpack() {
+ default
+ cd "${S}" || die
+
+ rmdir cmake/thirdParty/sanitizers || die
+ mv "${WORKDIR}"/sanitizers-cmake-${SANITIZERS_COMMIT} cmake/thirdParty/sanitizers || die
+}
+
+src_prepare() {
+ cmake_src_prepare
+ cmake_comment_add_subdirectory '"${thirdPartyCMakeModulesDir}/CCache"'
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DRHVOICE_VERSION_FROM_GIT=${PV}
+ -DWITH_CLI11=ON
+ -DWITH_DATA=OFF
+
+ # src/CMakeLists.txt
+ -DBUILD_CLIENT=OFF # deprecated, use speech-dispatcher
+ -DBUILD_UTILS=OFF # fails to build because of bundled tclap
+ -DBUILD_TESTS=ON # standalone cli application
+ -DBUILD_SERVICE=$(usex dbus)
+ -DBUILD_SPEECHDISPATCHER_MODULE=$(usex speech-dispatcher)
+
+ # src/audio/CMakeLists.txt
+ -DWITH_LIBAO=$(usex ao)
+ -DWITH_PULSE=$(usex pulseaudio)
+ -DWITH_PORTAUDIO=$(usex portaudio)
+
+ # Hardening.cmake: don't mess with flags
+ -DHARDENING_PIC=OFF
+ -DHARDENING_SSE2=OFF
+ -DHARDENING_COMPILE_FLAGS=
+ -DHARDENING_LINK_FLAGS=
+ -DHARDENING_MACRODEFS=
+ )
+
+ cmake_src_configure
+}
next reply other threads:[~2024-02-03 10:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-03 10:27 Anna Vyalkova [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-02-03 14:03 [gentoo-commits] repo/proj/guru:dev commit in: app-accessibility/rhvoice-core/ Anna Vyalkova
2024-02-04 19:32 Anna Vyalkova
2024-02-06 8:44 Anna Vyalkova
2024-02-06 8:44 Anna Vyalkova
2024-02-06 15:14 Anna Vyalkova
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=1706956044.4225031d2e69f67e26ee5e0efb967ae371038dc6.cybertailor@gentoo \
--to=cyber+gentoo@sysrq.in \
--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