public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: app-accessibility/rhvoice-core/
@ 2024-02-04 19:32 Anna Vyalkova
  0 siblings, 0 replies; 6+ messages in thread
From: Anna Vyalkova @ 2024-02-04 19:32 UTC (permalink / raw
  To: gentoo-commits

commit:     2afbf955a47a40bbd929a66a98729b20fea8a667
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Feb  3 12:10:46 2024 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Feb  4 19:26:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2afbf955

app-accessibility/rhvoice-core: enable langs (en, ru)

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild b/app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild
index 1a33f1bf06..e2990a848b 100644
--- a/app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild
+++ b/app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild
@@ -45,6 +45,12 @@ DEPEND="${COMMON_DEPEND}
 
 DOCS=( README.md doc/. config/dicts )
 
+LANGS=( en ru )
+for lang in "${LANGS[@]}"; do
+	IUSE+=" l10n_${lang}"
+	RDEPEND+=" l10n_${lang}? ( app-dicts/rhvoice-${lang} )"
+done
+
 src_unpack() {
 	default
 	cd "${S}" || die


^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-accessibility/rhvoice-core/
@ 2024-02-06 15:14 Anna Vyalkova
  0 siblings, 0 replies; 6+ messages in thread
From: Anna Vyalkova @ 2024-02-06 15:14 UTC (permalink / raw
  To: gentoo-commits

commit:     04cdd825203111b73912214dace608b877c12dae
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Feb  6 09:07:59 2024 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue Feb  6 15:13:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=04cdd825

app-accessibility/rhvoice-core: update LICENSE

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 app-accessibility/rhvoice-core/rhvoice-core-1.14.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-accessibility/rhvoice-core/rhvoice-core-1.14.0-r1.ebuild b/app-accessibility/rhvoice-core/rhvoice-core-1.14.0-r1.ebuild
index 1cf48f599f..3361d95b06 100644
--- a/app-accessibility/rhvoice-core/rhvoice-core-1.14.0-r1.ebuild
+++ b/app-accessibility/rhvoice-core/rhvoice-core-1.14.0-r1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/refs/tags/${PV}.tar.gz ->
 "
 S="${WORKDIR}/${MY_P}"
 
-LICENSE="BSD GPL-2 GPL-3+ LGPL-2.1+"
+LICENSE="BSD GPL-2+ GPL-3+ LGPL-2.1+"
 KEYWORDS="~amd64 ~x86"
 IUSE="ao dbus portaudio +pulseaudio +speech-dispatcher"
 SLOT="0"


^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-accessibility/rhvoice-core/
@ 2024-02-06  8:44 Anna Vyalkova
  0 siblings, 0 replies; 6+ messages in thread
From: Anna Vyalkova @ 2024-02-06  8:44 UTC (permalink / raw
  To: gentoo-commits

commit:     21982f205e065d4e1220635eecaefe6916098019
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Feb  6 07:13:26 2024 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue Feb  6 08:43:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=21982f20

app-accessibility/rhvoice-core: update DESCRIPTION

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild b/app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild
index e2990a848b..fe166e13d7 100644
--- a/app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild
+++ b/app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild
@@ -8,7 +8,7 @@ inherit cmake flag-o-matic
 MY_PN="RHVoice"
 MY_P="${MY_PN}-${PV}"
 SANITIZERS_COMMIT="99e159ec9bc8dd362b08d18436bd40ff0648417b"
-DESCRIPTION="TTS engine with extended languages support (including Russian)"
+DESCRIPTION="TTS engine with extended languages support"
 HOMEPAGE="
 	https://rhvoice.org
 	https://github.com/RHVoice/RHVoice


^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-accessibility/rhvoice-core/
@ 2024-02-06  8:44 Anna Vyalkova
  0 siblings, 0 replies; 6+ messages in thread
From: Anna Vyalkova @ 2024-02-06  8:44 UTC (permalink / raw
  To: gentoo-commits

commit:     463544160cd6cefb463203972948d5961705ed8e
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Feb  6 08:42:19 2024 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue Feb  6 08:43:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=46354416

app-accessibility/rhvoice-core: add missing dep

Closes: https://bugs.gentoo.org/923877
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 .../{rhvoice-core-1.14.0.ebuild => rhvoice-core-1.14.0-r1.ebuild}        | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild b/app-accessibility/rhvoice-core/rhvoice-core-1.14.0-r1.ebuild
similarity index 99%
rename from app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild
rename to app-accessibility/rhvoice-core/rhvoice-core-1.14.0-r1.ebuild
index fe166e13d7..1cf48f599f 100644
--- a/app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild
+++ b/app-accessibility/rhvoice-core/rhvoice-core-1.14.0-r1.ebuild
@@ -25,6 +25,7 @@ SLOT="0"
 REQUIRED_USE="|| ( ao portaudio pulseaudio )"
 
 COMMON_DEPEND="
+	dev-libs/boost:=
 	ao? ( media-libs/libao )
 	dbus? (
 		dev-libs/glib:2[dbus]


^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-accessibility/rhvoice-core/
@ 2024-02-03 14:03 Anna Vyalkova
  0 siblings, 0 replies; 6+ messages in thread
From: Anna Vyalkova @ 2024-02-03 14:03 UTC (permalink / raw
  To: gentoo-commits

commit:     822879c7c6dbce0c21ba4c63d6ce4950f597bea9
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Feb  3 13:22:10 2024 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sat Feb  3 13:22:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=822879c7

app-accessibility/rhvoice-core: fix speech-dispatcher

These defines are missing in CMake.

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild b/app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild
index a74a53fbaf..1a33f1bf06 100644
--- a/app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild
+++ b/app-accessibility/rhvoice-core/rhvoice-core-1.14.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake
+inherit cmake flag-o-matic
 
 MY_PN="RHVoice"
 MY_P="${MY_PN}-${PV}"
@@ -84,5 +84,8 @@ src_configure() {
 		-DHARDENING_MACRODEFS=
 	)
 
+	use speech-dispatcher && \
+		append-cppflags -DSPD_MAJOR=1 -DSPD_MINOR=0
+
 	cmake_src_configure
 }


^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-accessibility/rhvoice-core/
@ 2024-02-03 10:27 Anna Vyalkova
  0 siblings, 0 replies; 6+ messages in thread
From: Anna Vyalkova @ 2024-02-03 10:27 UTC (permalink / raw
  To: gentoo-commits

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
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-02-06 15:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-04 19:32 [gentoo-commits] repo/proj/guru:dev commit in: app-accessibility/rhvoice-core/ Anna Vyalkova
  -- strict thread matches above, loose matches on Subject: below --
2024-02-06 15:14 Anna Vyalkova
2024-02-06  8:44 Anna Vyalkova
2024-02-06  8:44 Anna Vyalkova
2024-02-03 14:03 Anna Vyalkova
2024-02-03 10:27 Anna Vyalkova

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox