public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: app-accessibility/rhvoice/
@ 2021-05-22 18:45 Andrew Ammerlaan
  0 siblings, 0 replies; 8+ messages in thread
From: Andrew Ammerlaan @ 2021-05-22 18:45 UTC (permalink / raw
  To: gentoo-commits

commit:     6a4155f2dc55c8da8650c043f14d779cd88edd8f
Author:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat May 22 07:55:44 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat May 22 15:21:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6a4155f2

app-accessibility/rhvoice: initial import

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

 app-accessibility/rhvoice/Manifest             |   4 +
 app-accessibility/rhvoice/metadata.xml         |  45 ++++++++
 app-accessibility/rhvoice/rhvoice-1.2.4.ebuild | 145 +++++++++++++++++++++++++
 3 files changed, 194 insertions(+)

diff --git a/app-accessibility/rhvoice/Manifest b/app-accessibility/rhvoice/Manifest
new file mode 100644
index 000000000..19a7e754e
--- /dev/null
+++ b/app-accessibility/rhvoice/Manifest
@@ -0,0 +1,4 @@
+DIST rhvoice-1.2.4.tar.gz 187812264 BLAKE2B 0756e22758f530a4a4f969425ed07e9bdab9e9ce9a6bcf13b435992f4854d204febf88799153c3041134adbddbba2b29823740b65de6c8d2aea1d4d33b94d59a SHA512 747985a8a0fe27fd1dc15e434dc41bbdca169747ae5cb3695df89ceced9131fc9d196916af08f3caacd21c34cfc022989e3753e21dbc2c0095ba7e991dc58bb8
+DIST rhvoice-evgeniy-eng-4.0.tar.gz 7338125 BLAKE2B 58eaf04e77bde46e5013e3959815e2ea0234b8c33f7737df0b00e4b32fb49d169f651f6341ede876c331c40b1d17afffd25c4e2741871aea02ee4bdd8d7c2246 SHA512 1096b2d898292739f86333414a32b97b99112a57cf2c98c5ea31d1b92974f3adc4119e0ee031e6961810365432b77eb96229f7a45c55d8b9337a22aa3848dcc8
+DIST rhvoice-evgeniy-rus-4.0.tar.gz 9962477 BLAKE2B d3fffbd54813d80734b59b6ac0ed96c0e07ce4266594a918acc01fe2bdd649d854ffe7306b57c3cb3718cdc1a090f6f7f28712005c708a39a486867760162cf9 SHA512 4053185fd5cff60a8cf3355fad69ab63348fc5047a7e5d2328a639a5c65cecfaadc92d63599b0b8bc7ca804753593c78c837621cdd153c6ce247100141b96500
+DIST rhvoice-victoria-4.0.tar.gz 7425747 BLAKE2B 221805cef8b21cee24dcd34cde06450a7f9a2a588820265ae51729ddc73604caf2e089fb97ee96bf7503018f4fa967aa416fe0f0cfaf597e4d0dea4e0c72de54 SHA512 03b95f76bbd0b213fac867705acd3229f2d62448cdb863968b6ff02cc06f162d07a6154418e3ceee63d8d5352a00c1fed57b635d59424234b6cae3b1914da1cb

diff --git a/app-accessibility/rhvoice/metadata.xml b/app-accessibility/rhvoice/metadata.xml
new file mode 100644
index 000000000..b48257dea
--- /dev/null
+++ b/app-accessibility/rhvoice/metadata.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<upstream>
+		<remote-id type="github">RHVoice/RHVoice</remote-id>
+	</upstream>
+	<maintainer type="person">
+		<email>cyber+gentoo@sysrq.in</email>
+		<name>Anna</name>
+	</maintainer>
+	<use>
+		<flag name="cli">
+			Build a CLI application that allows you to synthesize speech
+		</flag>
+		<flag name="client">
+			Build a client allowing to speak text (deprecated - use speech-dispatcher)
+		</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>
+		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/rhvoice-1.2.4.ebuild b/app-accessibility/rhvoice/rhvoice-1.2.4.ebuild
new file mode 100644
index 000000000..47b42e13c
--- /dev/null
+++ b/app-accessibility/rhvoice/rhvoice-1.2.4.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake multilib
+
+MY_PN="RHVoice"
+DESCRIPTION="TTS engine with extended languages support (including Russian)"
+HOMEPAGE="https://rhvoice.su https://github.com/RHVoice/RHVoice"
+SRC_URI="
+	https://github.com/${MY_PN}/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
+	l10n_en? ( https://github.com/RHVoice/evgeniy-eng/archive/refs/tags/4.0.tar.gz -> rhvoice-evgeniy-eng-4.0.tar.gz )
+	l10n_ru? (
+		https://github.com/RHVoice/evgeniy-rus/archive/refs/tags/4.0.tar.gz -> rhvoice-evgeniy-rus-4.0.tar.gz
+		https://github.com/RHVoice/victoria-rus/archive/refs/tags/4.0.tar.gz -> rhvoice-victoria-4.0.tar.gz
+	)
+"
+S="${WORKDIR}/${MY_PN}-${PV}"
+CMAKE_REMOVE_MODULES_LIST="Hardening VersionFromGit"
+
+LICENSE="l10n_pt-BR? ( CC-BY-SA-4.0 ) BSD GPL-2 GPL-3+ LGPL-2.1+ MIT"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="ao bindist cli client portaudio pulseaudio +server +speech-dispatcher utils"
+REQUIRED_USE="( ao || portaudio || pulseaudio )"
+
+CC_NC_LANGS=( en eo ky ru uk )
+NC_LANGS=( ka tt )
+LANGS=" ${CC_NC_LANGS[@]} ${NC_LANGS[@]} pt-BR"
+IUSE+="${LANGS// / l10n_}"
+
+for lang in "${CC_NC_LANGS[@]}" ; do
+	LICENSE+=" l10n_${lang}?"
+	LICENSE+=" ( CC-BY-NC-ND-4.0 )"
+done
+
+for lang in "${NC_LANGS[@]}" ; do
+	LICENSE+=" l10n_${lang}?"
+	LICENSE+=" ( free-noncomm )"
+done
+
+RDEPEND="
+	!dev-libs/hts_engine
+	media-sound/sonic
+	ao? ( media-libs/libao )
+	portaudio? ( media-libs/portaudio )
+	pulseaudio? ( media-sound/pulseaudio )
+	speech-dispatcher? ( app-accessibility/speech-dispatcher )
+	server? (
+		dev-libs/glib[dbus]
+		>=dev-cpp/glibmm-2.66.1:2
+	)
+"
+BDEPEND="${DEPEND}
+	dev-cpp/cli11
+	dev-libs/utfcpp
+"
+REQUIRED_USE="|| ( ao portaudio pulseaudio )"
+
+DOCS=( README.md NEWS doc config/dicts )
+
+delete_voices() {
+	for voice in "$@"; do
+		rm -r "data/voices/${voice}" || die
+	done
+}
+
+src_unpack() {
+	default
+
+	# git submodules, which are not present in the snapshot
+	rmdir "${S}"/data/voices/{victoria,evgeniy-rus,evgeniy-eng} || die
+
+	if use l10n_ru ; then
+		mv "${WORKDIR}"/victoria-rus-4.0 "${S}"/data/voices/victoria || die
+		mv "${WORKDIR}"/evgeniy-rus-4.0 "${S}"/data/voices/evgeniy-rus || die
+	fi
+
+	if use l10n_en ; then
+		mv "${WORKDIR}"/evgeniy-eng-4.0 "${S}"/data/voices/evgeniy-eng || die
+	fi
+}
+
+src_prepare() {
+	cmake_src_prepare
+
+	sed "s|/lib/speech-dispatcher-modules|/$(get_libdir)/speech-dispatcher-modules|" \
+		-i src/sd_module/CMakeLists.txt || die
+
+	sed 's|/systemd/system||' \
+		-i src/service/CMakeLists.txt || die
+
+	rm -r src/third-party/{sonic,tclap,utf8} || die
+	sed "/sonic/d" -i src/third-party/CMakeLists.txt || die
+	sed "/set(UTF8_INCLUDE_DIR/d" -i src/CMakeLists.txt || die
+
+	sed 's/ "RHVoice_question_match"//' \
+		-i src/third-party/mage/CMakeLists.txt || die
+
+	sed -e "/include(VersionFromGit)/d" \
+		-e "/include(Hardening)/d" \
+		-e "/find_package(Sanitizers)/d" \
+		-e "/getVersionFromGit/d" \
+		-e "/harden/d" \
+		-i CMakeLists.txt || die
+	sed -e "/add_sanitizers/d" \
+		-e "/harden/d" \
+		-i src/*/CMakeLists.txt \
+		-i src/third-party/*/CMakeLists.txt || die
+
+	use l10n_ru || delete_voices aleksandr anna arina artemiy elena irina pavel
+	use l10n_en || delete_voices alan bdl clb slt
+	use l10n_uk || delete_voices anatol natalia
+	use l10n_eo || delete_voices spomenka
+	use l10n_ka || delete_voices natia
+	use l10n_ky || delete_voices azamat nazgul
+	use l10n_tt || delete_voices talgat
+	use l10n_pt-BR || delete_voices Leticia-F123
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-Dcommon_doc_dir=/usr/share/doc/${PF}
+		-DRHVOICE_VERSION=${PV}
+		-DRHVOICE_VERSION_MAJOR=$(ver_cut 1)
+		-DWITH_CLI11=ON
+		# src/CMakeLists.txt
+		-DBUILD_CLIENT=$(usex client)
+		-DBUILD_UTILS=$(usex utils)
+		-DBUILD_TESTS=$(usex cli)
+		-DBUILD_SERVICE=$(usex server)
+		-DBUILD_SPEECHDISPATCHER_MODULE=$(usex speech-dispatcher)
+		# src/audio/CMakeLists.txt
+		-DWITH_LIBAO=$(usex ao)
+		-DWITH_PULSE=$(usex pulseaudio)
+		-DWITH_PORTAUDIO=$(usex portaudio)
+		# src/third-party/CMakeLists.txt
+		-DRAPIDXML_INCLUDE_DIR="${S}"/src/third-party/rapidxml
+		-DUTF8_INCLUDE_DIR=/usr/include/utf8cpp
+	)
+
+	append-cppflags -std=gnu++11
+	cmake_src_configure
+}


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

* [gentoo-commits] repo/proj/guru:master commit in: app-accessibility/rhvoice/
@ 2021-05-26 13:42 Andrew Ammerlaan
  0 siblings, 0 replies; 8+ messages in thread
From: Andrew Ammerlaan @ 2021-05-26 13:42 UTC (permalink / raw
  To: gentoo-commits

commit:     6d977ecde366852ebb137ea7dacd3ab6825f8736
Author:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue May 25 22:44:03 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed May 26 01:53:15 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6d977ecd

app-accessibility/rhvoice: unbundle rapidxml

Bug in dev-libs/rapidxml is resolved now, so using bundled version is
not necessary anymore.
https://bugs.gentoo.org/791328

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

 app-accessibility/rhvoice/rhvoice-1.2.4.ebuild | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/app-accessibility/rhvoice/rhvoice-1.2.4.ebuild b/app-accessibility/rhvoice/rhvoice-1.2.4.ebuild
index a467dbdff..a550f7b13 100644
--- a/app-accessibility/rhvoice/rhvoice-1.2.4.ebuild
+++ b/app-accessibility/rhvoice/rhvoice-1.2.4.ebuild
@@ -10,16 +10,16 @@ DESCRIPTION="TTS engine with extended languages support (including Russian)"
 HOMEPAGE="https://rhvoice.su https://github.com/RHVoice/RHVoice"
 SRC_URI="
 	https://github.com/${MY_PN}/${MY_PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz
-	l10n_en? ( https://github.com/RHVoice/evgeniy-eng/archive/refs/tags/4.0.tar.gz -> rhvoice-evgeniy-eng-4.0.tar.gz )
+	l10n_en? ( https://github.com/${MY_PN}/evgeniy-eng/archive/refs/tags/4.0.tar.gz -> rhvoice-evgeniy-eng-4.0.tar.gz )
 	l10n_ru? (
-		https://github.com/RHVoice/evgeniy-rus/archive/refs/tags/4.0.tar.gz -> rhvoice-evgeniy-rus-4.0.tar.gz
-		https://github.com/RHVoice/victoria-rus/archive/refs/tags/4.0.tar.gz -> rhvoice-victoria-4.0.tar.gz
+		https://github.com/${MY_PN}/evgeniy-rus/archive/refs/tags/4.0.tar.gz -> rhvoice-evgeniy-rus-4.0.tar.gz
+		https://github.com/${MY_PN}/victoria-rus/archive/refs/tags/4.0.tar.gz -> rhvoice-victoria-4.0.tar.gz
 	)
 "
 S="${WORKDIR}/${MY_PN}-${PV}"
 CMAKE_REMOVE_MODULES_LIST="Hardening VersionFromGit"
 
-LICENSE="l10n_pt-BR? ( CC-BY-SA-4.0 ) BSD GPL-2 GPL-3+ LGPL-2.1+ MIT"
+LICENSE="l10n_pt-BR? ( CC-BY-SA-4.0 ) BSD GPL-2 GPL-3+ LGPL-2.1+"
 KEYWORDS="~amd64 ~x86"
 SLOT="0"
 IUSE="ao bindist cli client portaudio +pulseaudio +server +speech-dispatcher utils"
@@ -54,6 +54,7 @@ RDEPEND="
 "
 BDEPEND="${DEPEND}
 	dev-cpp/cli11
+	dev-libs/rapidxml
 	dev-libs/utfcpp
 "
 REQUIRED_USE="|| ( ao portaudio pulseaudio )"
@@ -91,8 +92,9 @@ src_prepare() {
 	sed 's|/systemd/system||' \
 		-i src/service/CMakeLists.txt || die
 
-	rm -r src/third-party/{sonic,tclap,utf8} || die
-	sed "/sonic/d" -i src/third-party/CMakeLists.txt || die
+	sed -e "/sonic/d" \
+		-e "/set(RAPIDXML_INCLUDE_DIR/d" \
+		-i src/third-party/CMakeLists.txt || die
 	sed "/set(UTF8_INCLUDE_DIR/d" -i src/CMakeLists.txt || die
 
 	sed 's/ "RHVoice_question_match"//' \
@@ -136,10 +138,9 @@ src_configure() {
 		-DWITH_PULSE=$(usex pulseaudio)
 		-DWITH_PORTAUDIO=$(usex portaudio)
 		# src/third-party/CMakeLists.txt
-		-DRAPIDXML_INCLUDE_DIR="${S}"/src/third-party/rapidxml
+		-DRAPIDXML_INCLUDE_DIR=/usr/include/rapidxml
 		-DUTF8_INCLUDE_DIR=/usr/include/utf8cpp
 	)
 
-	append-cppflags -std=gnu++11
 	cmake_src_configure
 }


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

* [gentoo-commits] repo/proj/guru:master commit in: app-accessibility/rhvoice/
@ 2021-09-30 19:39 Arthur Zamarin
  0 siblings, 0 replies; 8+ messages in thread
From: Arthur Zamarin @ 2021-09-30 19:39 UTC (permalink / raw
  To: gentoo-commits

commit:     f938606de97277bed5d6432cca0e153d5ae20632
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Thu Sep 30 16:32:52 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 30 16:35:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f938606d

app-accessibility/rhvoice: update EAPI 7 -> 8

- drop "cli" use flag (deprecated)
- drop "utils" use flag (fails to build)
- do not remove Hardening.cmake module
- fix depends

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

 app-accessibility/rhvoice/Manifest                 |  2 +-
 app-accessibility/rhvoice/metadata.xml             | 67 +++++++++-------------
 ...hvoice-1.4.2.ebuild => rhvoice-1.4.2-r1.ebuild} | 39 ++++++-------
 3 files changed, 47 insertions(+), 61 deletions(-)

diff --git a/app-accessibility/rhvoice/Manifest b/app-accessibility/rhvoice/Manifest
index 3a3eadbd1..e6d18c70c 100644
--- a/app-accessibility/rhvoice/Manifest
+++ b/app-accessibility/rhvoice/Manifest
@@ -4,4 +4,4 @@ DIST rhvoice-evgeniy-eng-4.0.tar.gz 7338125 BLAKE2B 58eaf04e77bde46e5013e3959815
 DIST rhvoice-evgeniy-rus-4.0.tar.gz 9962477 BLAKE2B d3fffbd54813d80734b59b6ac0ed96c0e07ce4266594a918acc01fe2bdd649d854ffe7306b57c3cb3718cdc1a090f6f7f28712005c708a39a486867760162cf9 SHA512 4053185fd5cff60a8cf3355fad69ab63348fc5047a7e5d2328a639a5c65cecfaadc92d63599b0b8bc7ca804753593c78c837621cdd153c6ce247100141b96500
 DIST rhvoice-victoria-4.0.tar.gz 7425747 BLAKE2B 221805cef8b21cee24dcd34cde06450a7f9a2a588820265ae51729ddc73604caf2e089fb97ee96bf7503018f4fa967aa416fe0f0cfaf597e4d0dea4e0c72de54 SHA512 03b95f76bbd0b213fac867705acd3229f2d62448cdb863968b6ff02cc06f162d07a6154418e3ceee63d8d5352a00c1fed57b635d59424234b6cae3b1914da1cb
 DIST rhvoice-volodymyr-4.0.tar.gz 10794551 BLAKE2B a0e1f78652ecc8f89bfa404fcab6d3400e0f45282da53317a4af340c9acaffb545460f3a4bbf309b9a2525bd3695a4ff47edd00cb6692651377d44d717949375 SHA512 8f0f15229d451bbcf6db3b0f267e82635603b582f2af18d14421f3e108cdd14e4164e74e3c4723226e37b8ee7287ffa5d4083f9d2defd8b5c1b559eba547e849
-DIST rhvoice-yuriy.tar.gz 12734672 BLAKE2B 7e49c0825bfc148e8e7144d578c95ad159e2c935256174134f0682318f78b5162205b3781d365cc333c61123c1b118b464e28d63046bc497a75afcd6f8fbbc85 SHA512 07c9e65277c1774cf0185ba60107ff8f0dda5fa18eeadbfcb0cbdf5258e3fd2a364bb91c796473c9294a61e5c9366080d4d6ee115aace37f533ea1e6f167690b
+DIST rhvoice-yuriy-4.0.tar.gz 12734672 BLAKE2B 7e49c0825bfc148e8e7144d578c95ad159e2c935256174134f0682318f78b5162205b3781d365cc333c61123c1b118b464e28d63046bc497a75afcd6f8fbbc85 SHA512 07c9e65277c1774cf0185ba60107ff8f0dda5fa18eeadbfcb0cbdf5258e3fd2a364bb91c796473c9294a61e5c9366080d4d6ee115aace37f533ea1e6f167690b

diff --git a/app-accessibility/rhvoice/metadata.xml b/app-accessibility/rhvoice/metadata.xml
index 9e4ffb92d..e90d33d77 100644
--- a/app-accessibility/rhvoice/metadata.xml
+++ b/app-accessibility/rhvoice/metadata.xml
@@ -1,45 +1,32 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<upstream>
-		<remote-id type="github">RHVoice/RHVoice</remote-id>
-	</upstream>
-	<maintainer type="person">
-		<email>cyber+gentoo@sysrq.in</email>
-		<name>Anna</name>
-	</maintainer>
-	<use>
-		<flag name="cli">
-			Build a CLI application that allows you to synthesize speech
-		</flag>
-		<flag name="client">
-			Build a client allowing to speak text (deprecated - use speech-dispatcher)
-		</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>
+<maintainer type="person">
+	<email>cyber+gentoo@sysrq.in</email>
+	<name>Anna</name>
+</maintainer>
+<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.
 
-		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.4.2.ebuild b/app-accessibility/rhvoice/rhvoice-1.4.2-r1.ebuild
similarity index 89%
rename from app-accessibility/rhvoice/rhvoice-1.4.2.ebuild
rename to app-accessibility/rhvoice/rhvoice-1.4.2-r1.ebuild
index 363d12136..68ee79ca6 100644
--- a/app-accessibility/rhvoice/rhvoice-1.4.2.ebuild
+++ b/app-accessibility/rhvoice/rhvoice-1.4.2-r1.ebuild
@@ -1,9 +1,10 @@
 # Copyright 2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit cmake multilib
+CMAKE_REMOVE_MODULES_LIST=( VersionFromGit )
+inherit cmake
 
 DESCRIPTION="TTS engine with extended languages support (including Russian)"
 HOMEPAGE="https://rhvoice.su https://github.com/RHVoice/RHVoice"
@@ -14,17 +15,16 @@ SRC_URI="
 		https://github.com/${PN}/aleksandr-hq-rus/archive/refs/tags/4.0.tar.gz -> rhvoice-aleksandr-hq-4.0.tar.gz
 		https://github.com/${PN}/evgeniy-rus/archive/refs/tags/4.0.tar.gz -> rhvoice-evgeniy-rus-4.0.tar.gz
 		https://github.com/${PN}/victoria-rus/archive/refs/tags/4.0.tar.gz -> rhvoice-victoria-4.0.tar.gz
-		https://github.com/${PN}/yuriy-rus/archive/refs/tags/4.0.tar.gz -> rhvoice-yuriy.tar.gz
+		https://github.com/${PN}/yuriy-rus/archive/refs/tags/4.0.tar.gz -> rhvoice-yuriy-4.0.tar.gz
 	)
 	l10n_uk? ( https://github.com/${PN}/volodymyr-ukr/archive/refs/tags/4.0.tar.gz -> rhvoice-volodymyr-4.0.tar.gz )
 "
 S="${WORKDIR}/RHVoice-${PV}"
-CMAKE_REMOVE_MODULES_LIST="Hardening VersionFromGit"
 
 LICENSE="l10n_pt-BR? ( CC-BY-SA-4.0 ) l10n_mk? ( AGPL-3 ) BSD GPL-2 GPL-3+ LGPL-2.1+"
 KEYWORDS="~amd64 ~x86"
 SLOT="0"
-IUSE="ao cli client portaudio +pulseaudio +server +speech-dispatcher utils"
+IUSE="ao cli portaudio +pulseaudio +server +speech-dispatcher"
 REQUIRED_USE="|| ( ao portaudio pulseaudio )"
 
 CC_NC_LANGS=( en eo ky ru uk )
@@ -42,20 +42,22 @@ for lang in "${NC_LANGS[@]}" ; do
 	LICENSE+=" ( free-noncomm )"
 done
 
-RDEPEND="
-	!dev-libs/hts_engine
+DEPEND="
 	ao? ( media-libs/libao )
-	client? ( sys-apps/dbus )
 	portaudio? ( media-libs/portaudio )
 	pulseaudio? ( media-sound/pulseaudio )
 	server? (
-		dev-libs/glib[dbus]
+		dev-libs/glib:2[dbus]
+		dev-libs/libsigc++:2
 		>=dev-cpp/glibmm-2.66.1:2
 	)
 	speech-dispatcher? ( app-accessibility/speech-dispatcher )
 "
-BDEPEND="${DEPEND}
-	dev-cpp/cli11
+RDEPEND="${DEPEND}
+	!dev-libs/hts_engine
+"
+BDEPEND="
+	dev-cpp/cli11:=
 	dev-libs/rapidxml
 	dev-libs/utfcpp
 "
@@ -75,18 +77,18 @@ src_unpack() {
 	# git submodules, which are not present in the snapshot
 	rmdir "${S}"/data/voices/{aleksandr-hq,evgeniy-rus,evgeniy-eng,victoria,volodymyr,yuriy} || die
 
-	if use l10n_ru ; then
+	if use l10n_ru; then
 		mv "${WORKDIR}"/aleksandr-hq-rus-4.0 "${S}"/data/voices/aleksandr-hq || die
 		mv "${WORKDIR}"/evgeniy-rus-4.0 "${S}"/data/voices/evgeniy-rus || die
 		mv "${WORKDIR}"/victoria-rus-4.0 "${S}"/data/voices/victoria || die
 		mv "${WORKDIR}"/yuriy-rus-4.0 "${S}"/data/voices/yuriy || die
 	fi
 
-	if use l10n_en ; then
+	if use l10n_en; then
 		mv "${WORKDIR}"/evgeniy-eng-4.0 "${S}"/data/voices/evgeniy-eng || die
 	fi
 
-	if use l10n_uk ; then
+	if use l10n_uk; then
 		mv "${WORKDIR}"/volodymyr-ukr-4.0 "${S}"/data/voices/volodymyr || die
 	fi
 }
@@ -97,7 +99,7 @@ src_prepare() {
 	sed "s|/lib/speech-dispatcher-modules|/$(get_libdir)/speech-dispatcher-modules|" \
 		-i src/sd_module/CMakeLists.txt || die
 
-	sed 's|/systemd/system||' \
+	sed "s|/systemd/system||" \
 		-i src/service/CMakeLists.txt || die
 
 	sed -e "/set(RAPIDXML_INCLUDE_DIR/d" \
@@ -108,13 +110,10 @@ src_prepare() {
 		-i src/third-party/mage/CMakeLists.txt || die
 
 	sed -e "/include(VersionFromGit)/d" \
-		-e "/include(Hardening)/d" \
 		-e "/find_package(Sanitizers)/d" \
 		-e "/getVersionFromGit/d" \
-		-e "/harden/d" \
 		-i CMakeLists.txt || die
 	sed -e "/add_sanitizers/d" \
-		-e "/harden/d" \
 		-i src/*/CMakeLists.txt \
 		-i src/third-party/*/CMakeLists.txt || die
 
@@ -136,8 +135,8 @@ src_configure() {
 		-DRHVOICE_VERSION_MAJOR=$(ver_cut 1)
 		-DWITH_CLI11=ON
 		# src/CMakeLists.txt
-		-DBUILD_CLIENT=$(usex client)
-		-DBUILD_UTILS=$(usex utils)
+		-DBUILD_CLIENT=OFF	# deprecated
+		-DBUILD_UTILS=OFF	# fails to build because of bundled tclap
 		-DBUILD_TESTS=$(usex cli)
 		-DBUILD_SERVICE=$(usex server)
 		-DBUILD_SPEECHDISPATCHER_MODULE=$(usex speech-dispatcher)


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

* [gentoo-commits] repo/proj/guru:master commit in: app-accessibility/rhvoice/
@ 2021-10-03  6:55 Arthur Zamarin
  0 siblings, 0 replies; 8+ messages in thread
From: Arthur Zamarin @ 2021-10-03  6:55 UTC (permalink / raw
  To: gentoo-commits

commit:     87763181c76492da87562ce7ca9490ab6d3312df
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Oct  2 17:36:40 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Oct  2 18:16:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=87763181

app-accessibility/rhvoice: use bundled rapidxml

dev-libs/rapidxml is last-rited in ::gentoo

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

 app-accessibility/rhvoice/rhvoice-1.4.2-r1.ebuild | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/app-accessibility/rhvoice/rhvoice-1.4.2-r1.ebuild b/app-accessibility/rhvoice/rhvoice-1.4.2-r1.ebuild
index 68ee79ca6..e3756dd73 100644
--- a/app-accessibility/rhvoice/rhvoice-1.4.2-r1.ebuild
+++ b/app-accessibility/rhvoice/rhvoice-1.4.2-r1.ebuild
@@ -56,9 +56,9 @@ DEPEND="
 RDEPEND="${DEPEND}
 	!dev-libs/hts_engine
 "
+# TODO: readd dev-libs/rapidxml in ::guru
 BDEPEND="
-	dev-cpp/cli11:=
-	dev-libs/rapidxml
+	dev-cpp/cli11
 	dev-libs/utfcpp
 "
 REQUIRED_USE="|| ( ao portaudio pulseaudio )"
@@ -99,13 +99,15 @@ src_prepare() {
 	sed "s|/lib/speech-dispatcher-modules|/$(get_libdir)/speech-dispatcher-modules|" \
 		-i src/sd_module/CMakeLists.txt || die
 
+	# fix dbus service install path
 	sed "s|/systemd/system||" \
 		-i src/service/CMakeLists.txt || die
 
-	sed -e "/set(RAPIDXML_INCLUDE_DIR/d" \
-		-i src/third-party/CMakeLists.txt || die
+	#sed -e "/set(RAPIDXML_INCLUDE_DIR/d" \
+	#	-i src/third-party/CMakeLists.txt || die
 	sed "/set(UTF8_INCLUDE_DIR/d" -i src/CMakeLists.txt || die
 
+	# fix build failure
 	sed 's/ "RHVoice_question_match"//' \
 		-i src/third-party/mage/CMakeLists.txt || die
 
@@ -145,7 +147,7 @@ src_configure() {
 		-DWITH_PULSE=$(usex pulseaudio)
 		-DWITH_PORTAUDIO=$(usex portaudio)
 		# src/third-party/CMakeLists.txt
-		-DRAPIDXML_INCLUDE_DIR=/usr/include/rapidxml
+		#-DRAPIDXML_INCLUDE_DIR=/usr/include/rapidxml
 		-DUTF8_INCLUDE_DIR=/usr/include/utf8cpp
 	)
 


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

* [gentoo-commits] repo/proj/guru:master commit in: app-accessibility/rhvoice/
@ 2021-12-08 11:38 Andrew Ammerlaan
  0 siblings, 0 replies; 8+ messages in thread
From: Andrew Ammerlaan @ 2021-12-08 11:38 UTC (permalink / raw
  To: gentoo-commits

commit:     f30051c43841ba749a08f9b3e460f077818fdc7a
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Dec  7 04:16:53 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Dec  7 04:19:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f30051c4

app-accessibility/rhvoice: add 1.6.0

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

 app-accessibility/rhvoice/Manifest             |   1 +
 app-accessibility/rhvoice/rhvoice-1.6.0.ebuild | 126 +++++++++++++++++++++++++
 2 files changed, 127 insertions(+)

diff --git a/app-accessibility/rhvoice/Manifest b/app-accessibility/rhvoice/Manifest
index 79881ad96..13d2330eb 100644
--- a/app-accessibility/rhvoice/Manifest
+++ b/app-accessibility/rhvoice/Manifest
@@ -1 +1,2 @@
 DIST rhvoice-1.4.2-release.tar.gz 252269229 BLAKE2B 0f5564dcb986eec49bead04b46afe7e5caf8a186cdd23f3c9727ee9e6bdeb4b326d6b9cec3f9cdde78d01286d16f05aad840f67aa44b22ce05b7db85d04f2144 SHA512 edee8fa79fa0f3eecd2bca6a6c4846876cce2fc7b843a481357b536a42485f9524fc64e9e8a6766cbe46bcc2ef9ad0375cab16ad35722895db5697e14234a8de
+DIST rhvoice-1.6.0.tar.gz 307395200 BLAKE2B b31110d15dddb4d1607c8b3a24a551876f0612840eb0d668546bbde1929259c84a0188059e1470b90049e6d410c85116d46b0d1059aa3712bae464d8c8cdca48 SHA512 320a773a647af3bd3f6eac21003c7db790c65849baa87f7cc5c2bee874d0ad8074c21ed0962851dd2e0721ecd6b0f52f03a876788e6609275516fe2d1e46905d

diff --git a/app-accessibility/rhvoice/rhvoice-1.6.0.ebuild b/app-accessibility/rhvoice/rhvoice-1.6.0.ebuild
new file mode 100644
index 000000000..2918efd80
--- /dev/null
+++ b/app-accessibility/rhvoice/rhvoice-1.6.0.ebuild
@@ -0,0 +1,126 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_REMOVE_MODULES_LIST=( VersionFromGit )
+inherit cmake
+
+DESCRIPTION="TTS engine with extended languages support (including Russian)"
+HOMEPAGE="https://rhvoice.su https://github.com/RHVoice/RHVoice"
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+AGPL_LANGS=( mk )
+CC_SA_LANGS=( pt-BR )
+CC_NC_LANGS=( en eo ky ru uk )
+NC_LANGS=( ka tt )
+LANGS=(
+	"${AGPL_LANGS[@]}"
+	"${CC_SA_LANGS[@]}"
+	"${CC_NC_LANGS[@]}"
+	"${LGPL2_LANGS[@]}"
+	"${NC_LANGS[@]}"
+	sq # LGPL-2.1+
+)
+
+LICENSE="BSD GPL-2 GPL-3+ LGPL-2.1+
+	$(printf 'l10n_%s? ( AGPL-3 )\n' "${AGPL_LANGS[@]}")
+	$(printf 'l10n_%s? ( CC-BY-SA-4.0 )\n' "${CC_SA_LANGS[@]}")
+	$(printf 'l10n_%s? ( CC-BY-NC-ND-4.0 )\n' "${CC_NC_LANGS[@]}")
+	$(printf 'l10n_%s? ( free-noncomm )\n' "${NC_LANGS[@]}")
+"
+KEYWORDS="~amd64 ~x86"
+IUSE="$(printf 'l10n_%s ' ${LANGS[@]}) ao cli portaudio +pulseaudio +server +speech-dispatcher"
+SLOT="0"
+REQUIRED_USE="|| ( ao portaudio pulseaudio )"
+
+DEPEND="
+	ao? ( media-libs/libao )
+	portaudio? ( media-libs/portaudio )
+	pulseaudio? ( media-sound/pulseaudio )
+	server? (
+		dev-libs/glib:2[dbus]
+		dev-libs/libsigc++:2
+		>=dev-cpp/glibmm-2.66.1:2
+	)
+	speech-dispatcher? ( app-accessibility/speech-dispatcher )
+"
+RDEPEND="${DEPEND}
+	!dev-libs/hts_engine
+"
+# TODO: readd dev-libs/rapidxml in ::guru
+BDEPEND="
+	dev-cpp/cli11
+	dev-libs/utfcpp
+"
+REQUIRED_USE="|| ( ao portaudio pulseaudio )"
+
+DOCS=( README.md doc config/dicts )
+
+delete_voices() {
+	for voice in "$@"; do
+		rm -r "data/voices/${voice}" || die
+	done
+}
+
+src_prepare() {
+	cmake_src_prepare
+
+	sed "s|/lib/speech-dispatcher-modules|/$(get_libdir)/speech-dispatcher-modules|" \
+		-i src/sd_module/CMakeLists.txt || die
+
+	# fix dbus service install path
+	sed "s|/systemd/system||" \
+		-i src/service/CMakeLists.txt || die
+
+	#sed -e "/set(RAPIDXML_INCLUDE_DIR/d" \
+	#	-i src/third-party/CMakeLists.txt || die
+	sed "/set(UTF8_INCLUDE_DIR/d" -i src/CMakeLists.txt || die
+
+	# fix build failure
+	sed 's/ "RHVoice_question_match"//' \
+		-i src/third-party/mage/CMakeLists.txt || die
+
+	sed -e "/include(VersionFromGit)/d" \
+		-e "/getVersionFromGit/d" \
+		-i CMakeLists.txt || die
+
+	use l10n_en || delete_voices alan bdl clb evgeniy-eng lubov slt
+	use l10n_eo || delete_voices spomenka
+	use l10n_ka || delete_voices natia
+	use l10n_ky || delete_voices azamat nazgul
+	use l10n_mk || delete_voices kiko
+	use l10n_ru || delete_voices aleksandr aleksandr-hq anna arina artemiy \
+		elena evgeniy-rus irina mikhail pavel tatiana victoria yuriy
+	use l10n_sq || delete-voices hana
+	use l10n_tt || delete_voices talgat
+	use l10n_uk || delete_voices anatol marianna natalia volodymyr
+	use l10n_pt-BR || delete_voices Leticia-F123
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-Dcommon_doc_dir=/usr/share/doc/${PF}
+		-DRHVOICE_VERSION=${PV}
+		-DRHVOICE_VERSION_MAJOR=$(ver_cut 1)
+		-DWITH_CLI11=ON
+		# src/CMakeLists.txt
+		-DBUILD_CLIENT=OFF	# deprecated
+		-DBUILD_UTILS=OFF	# fails to build because of bundled tclap
+		-DBUILD_TESTS=$(usex cli)
+		-DBUILD_SERVICE=$(usex server)
+		-DBUILD_SPEECHDISPATCHER_MODULE=$(usex speech-dispatcher)
+		# src/audio/CMakeLists.txt
+		-DWITH_LIBAO=$(usex ao)
+		-DWITH_PULSE=$(usex pulseaudio)
+		-DWITH_PORTAUDIO=$(usex portaudio)
+		# src/third-party/CMakeLists.txt
+		#-DRAPIDXML_INCLUDE_DIR=/usr/include/rapidxml
+		-DUTF8_INCLUDE_DIR=/usr/include/utf8cpp
+		# Hardening.cmake: don't mess with flags
+		-DHARDENING_COMPILE_FLAGS=
+		-DHARDENING_LINK_FLAGS=
+	)
+
+	cmake_src_configure
+}


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

* [gentoo-commits] repo/proj/guru:master commit in: app-accessibility/rhvoice/
@ 2024-02-06  9:20 Florian Schmaus
  0 siblings, 0 replies; 8+ messages in thread
From: Florian Schmaus @ 2024-02-06  9:20 UTC (permalink / raw
  To: gentoo-commits

commit:     59fa3f191d6160601e785d40f8fe7899f952ab95
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Feb  6 08:40:00 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=59fa3f19

app-accessibility/rhvoice: drop 1.4.2-r1

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

 app-accessibility/rhvoice/Manifest                |   1 -
 app-accessibility/rhvoice/rhvoice-1.4.2-r1.ebuild | 118 ----------------------
 2 files changed, 119 deletions(-)

diff --git a/app-accessibility/rhvoice/Manifest b/app-accessibility/rhvoice/Manifest
index 1e31e53987..56739188cf 100644
--- a/app-accessibility/rhvoice/Manifest
+++ b/app-accessibility/rhvoice/Manifest
@@ -1,3 +1,2 @@
-DIST rhvoice-1.4.2-release.tar.gz 252269229 BLAKE2B 0f5564dcb986eec49bead04b46afe7e5caf8a186cdd23f3c9727ee9e6bdeb4b326d6b9cec3f9cdde78d01286d16f05aad840f67aa44b22ce05b7db85d04f2144 SHA512 edee8fa79fa0f3eecd2bca6a6c4846876cce2fc7b843a481357b536a42485f9524fc64e9e8a6766cbe46bcc2ef9ad0375cab16ad35722895db5697e14234a8de
 DIST rhvoice-1.6.0.tar.gz 307395200 BLAKE2B b31110d15dddb4d1607c8b3a24a551876f0612840eb0d668546bbde1929259c84a0188059e1470b90049e6d410c85116d46b0d1059aa3712bae464d8c8cdca48 SHA512 320a773a647af3bd3f6eac21003c7db790c65849baa87f7cc5c2bee874d0ad8074c21ed0962851dd2e0721ecd6b0f52f03a876788e6609275516fe2d1e46905d
 DIST rhvoice-1.6.0.tar.gz.sig 4516 BLAKE2B 0798b0666b18b78c99e0a4d5ebace7582b28516073a342e665a421782574ec28ed7d11c514cd4ce0a92a6cb400b019644c58db7ba39c7dd21134698ef23f458e SHA512 4a75ec5b8411788a53b6700ef77fc6cc5a206eac9c03399cc361dd6c4e7fe4c2c058964501f1da421b26933abd1f82c3f3d1c5ef3d9538600af4c32d10a5e5b7

diff --git a/app-accessibility/rhvoice/rhvoice-1.4.2-r1.ebuild b/app-accessibility/rhvoice/rhvoice-1.4.2-r1.ebuild
deleted file mode 100644
index 2479dbca99..0000000000
--- a/app-accessibility/rhvoice/rhvoice-1.4.2-r1.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CMAKE_REMOVE_MODULES_LIST=( VersionFromGit )
-inherit cmake
-
-DESCRIPTION="TTS engine with extended languages support (including Russian)"
-HOMEPAGE="https://rhvoice.su https://github.com/RHVoice/RHVoice"
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz -> ${P}-release.tar.gz"
-
-AGPL_LANGS=( mk )
-CC_SA_LANGS=( pt-BR )
-CC_NC_LANGS=( en eo ky ru uk )
-NC_LANGS=( ka tt )
-LANGS=( "${AGPL_LANGS[@]}" "${CC_SA_LANGS[@]}" "${CC_NC_LANGS[@]}" "${NC_LANGS[@]}" )
-
-LICENSE="BSD GPL-2 GPL-3+ LGPL-2.1+
-	$(printf 'l10n_%s? ( AGPL-3 )\n' "${AGPL_LANGS[@]}")
-	$(printf 'l10n_%s? ( CC-BY-SA-4.0 )\n' "${CC_SA_LANGS[@]}")
-	$(printf 'l10n_%s? ( CC-BY-NC-ND-4.0 )\n' "${CC_NC_LANGS[@]}")
-	$(printf 'l10n_%s? ( free-noncomm )\n' "${NC_LANGS[@]}")
-"
-KEYWORDS="~amd64 ~x86"
-IUSE="$(printf 'l10n_%s ' ${LANGS[@]}) ao cli portaudio +pulseaudio +server +speech-dispatcher"
-SLOT="0"
-REQUIRED_USE="|| ( ao portaudio pulseaudio )"
-
-DEPEND="
-	ao? ( media-libs/libao )
-	portaudio? ( media-libs/portaudio )
-	pulseaudio? ( media-sound/pulseaudio )
-	server? (
-		dev-libs/glib:2[dbus]
-		dev-libs/libsigc++:2
-		>=dev-cpp/glibmm-2.66.1:2
-	)
-	speech-dispatcher? ( app-accessibility/speech-dispatcher )
-"
-RDEPEND="${DEPEND}
-	!dev-libs/hts_engine
-"
-# TODO: readd dev-libs/rapidxml in ::guru
-BDEPEND="
-	dev-cpp/cli11
-	dev-libs/utfcpp
-"
-REQUIRED_USE="|| ( ao portaudio pulseaudio )"
-
-DOCS=( README.md doc config/dicts )
-
-delete_voices() {
-	for voice in "$@"; do
-		rm -r "data/voices/${voice}" || die
-	done
-}
-
-src_prepare() {
-	cmake_src_prepare
-
-	sed "s|/lib/speech-dispatcher-modules|/$(get_libdir)/speech-dispatcher-modules|" \
-		-i src/sd_module/CMakeLists.txt || die
-
-	# fix dbus service install path
-	sed "s|/systemd/system||" \
-		-i src/service/CMakeLists.txt || die
-
-	#sed -e "/set(RAPIDXML_INCLUDE_DIR/d" \
-	#	-i src/third-party/CMakeLists.txt || die
-	sed "/set(UTF8_INCLUDE_DIR/d" -i src/CMakeLists.txt || die
-
-	# fix build failure
-	sed 's/ "RHVoice_question_match"//' \
-		-i src/third-party/mage/CMakeLists.txt || die
-
-	sed -e "/include(VersionFromGit)/d" \
-		-e "/getVersionFromGit/d" \
-		-i CMakeLists.txt || die
-
-	use l10n_en || delete_voices alan bdl clb evgeniy-eng slt
-	use l10n_eo || delete_voices spomenka
-	use l10n_ka || delete_voices natia
-	use l10n_ky || delete_voices azamat nazgul
-	use l10n_mk || delete_voices kiko
-	use l10n_ru || delete_voices aleksandr aleksandr-hq anna arina artemiy \
-		elena evgeniy-rus irina pavel victoria yuriy
-	use l10n_tt || delete_voices talgat
-	use l10n_uk || delete_voices anatol natalia volodymyr
-	use l10n_pt-BR || delete_voices Leticia-F123
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-Dcommon_doc_dir=/usr/share/doc/${PF}
-		-DRHVOICE_VERSION=${PV}
-		-DRHVOICE_VERSION_MAJOR=$(ver_cut 1)
-		-DWITH_CLI11=ON
-		# src/CMakeLists.txt
-		-DBUILD_CLIENT=OFF	# deprecated
-		-DBUILD_UTILS=OFF	# fails to build because of bundled tclap
-		-DBUILD_TESTS=$(usex cli)
-		-DBUILD_SERVICE=$(usex server)
-		-DBUILD_SPEECHDISPATCHER_MODULE=$(usex speech-dispatcher)
-		# src/audio/CMakeLists.txt
-		-DWITH_LIBAO=$(usex ao)
-		-DWITH_PULSE=$(usex pulseaudio)
-		-DWITH_PORTAUDIO=$(usex portaudio)
-		# src/third-party/CMakeLists.txt
-		#-DRAPIDXML_INCLUDE_DIR=/usr/include/rapidxml
-		-DUTF8_INCLUDE_DIR=/usr/include/utf8cpp
-		# Hardening.cmake: don't mess with flags
-		-DHARDENING_COMPILE_FLAGS=
-		-DHARDENING_LINK_FLAGS=
-	)
-
-	cmake_src_configure
-}


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

* [gentoo-commits] repo/proj/guru:master commit in: app-accessibility/rhvoice/
@ 2024-02-06  9:20 Florian Schmaus
  0 siblings, 0 replies; 8+ messages in thread
From: Florian Schmaus @ 2024-02-06  9:20 UTC (permalink / raw
  To: gentoo-commits

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


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

* [gentoo-commits] repo/proj/guru:master commit in: app-accessibility/rhvoice/
@ 2024-10-07 10:03 David Roman
  0 siblings, 0 replies; 8+ messages in thread
From: David Roman @ 2024-10-07 10:03 UTC (permalink / raw
  To: gentoo-commits

commit:     aadff33eedf58bb8d86fbbeead3b07a1fff7b518
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon Oct  7 00:28:24 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Oct  7 00:31:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aadff33e

app-accessibility/rhvoice: add myself as a maintainer

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

 app-accessibility/rhvoice/metadata.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-accessibility/rhvoice/metadata.xml b/app-accessibility/rhvoice/metadata.xml
index acac05e05..e899d2fdc 100644
--- a/app-accessibility/rhvoice/metadata.xml
+++ b/app-accessibility/rhvoice/metadata.xml
@@ -1,7 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<!-- maintainer-needed -->
+	<maintainer type="person">
+		<email>cyber+gentoo@sysrq.in</email>
+		<name>Anna</name>
+	</maintainer>	
 	<upstream>
 		<remote-id type="github">RHVoice/RHVoice</remote-id>
 	</upstream>


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

end of thread, other threads:[~2024-10-07 10:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-06  9:20 [gentoo-commits] repo/proj/guru:master commit in: app-accessibility/rhvoice/ Florian Schmaus
  -- strict thread matches above, loose matches on Subject: below --
2024-10-07 10:03 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

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