commit: 599d835337240feefe419535b903d817c4436b1a Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> AuthorDate: Mon Mar 17 16:50:35 2025 +0000 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> CommitDate: Mon Mar 17 17:27:03 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=599d8353
app-accessibility/rhvoice: drop 1.6.0 Closes: https://bugs.gentoo.org/900981 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> app-accessibility/rhvoice/Manifest | 2 - app-accessibility/rhvoice/metadata.xml | 21 +--- app-accessibility/rhvoice/rhvoice-1.14.0.ebuild | 2 +- app-accessibility/rhvoice/rhvoice-1.6.0.ebuild | 130 ------------------------ 4 files changed, 5 insertions(+), 150 deletions(-) diff --git a/app-accessibility/rhvoice/Manifest b/app-accessibility/rhvoice/Manifest deleted file mode 100644 index 56739188c..000000000 --- a/app-accessibility/rhvoice/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -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/metadata.xml b/app-accessibility/rhvoice/metadata.xml index e899d2fdc..22f4bfe7e 100644 --- a/app-accessibility/rhvoice/metadata.xml +++ b/app-accessibility/rhvoice/metadata.xml @@ -9,24 +9,11 @@ <remote-id type="github">RHVoice/RHVoice</remote-id> </upstream> <use> - <flag name="cli" restrict="<app-accessibility/rhvoice-1.14">Build a CLI application that allows you to synthesize speech</flag> - <flag name="redistributable" restrict=">=app-accessibility/rhvoice-1.14">Install also non-free (but redistributable) voices</flag> - <flag name="server" restrict="<app-accessibility/rhvoice-1.14">Build a server application</flag> - <flag name="speech-dispatcher" restrict="<app-accessibility/rhvoice-1.14">Build a speech-dispatcher middleware module</flag> + <flag name="redistributable">Install also non-free (but redistributable) 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. - - 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. + RHVoice is a multilingual speech synthesizer primarily developed for + use with screen readers, maintaining the balance between speech + quality and responsiveness. </longdescription> </pkgmetadata> diff --git a/app-accessibility/rhvoice/rhvoice-1.14.0.ebuild b/app-accessibility/rhvoice/rhvoice-1.14.0.ebuild index 5aeed05b5..133a073f0 100644 --- a/app-accessibility/rhvoice/rhvoice-1.14.0.ebuild +++ b/app-accessibility/rhvoice/rhvoice-1.14.0.ebuild @@ -14,7 +14,7 @@ declare -A VOICES=( [ru]="redistributable? ( app-voices/rhvoice-arina )" ) -DESCRIPTION="TTS engine with extended languages support (metapackage)" +DESCRIPTION="Multilingual text-to-speech engine (metapackage)" HOMEPAGE=" https://rhvoice.org https://github.com/RHVoice/RHVoice diff --git a/app-accessibility/rhvoice/rhvoice-1.6.0.ebuild b/app-accessibility/rhvoice/rhvoice-1.6.0.ebuild deleted file mode 100644 index 5e3f8f2f9..000000000 --- a/app-accessibility/rhvoice/rhvoice-1.6.0.ebuild +++ /dev/null @@ -1,130 +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 verify-sig - -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 - verify-sig? ( https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz.sig )" - -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[@]}") -" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="$(printf 'l10n_%s ' ${LANGS[@]}) ao cli portaudio +pulseaudio +server +speech-dispatcher" -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 - verify-sig? ( sec-keys/openpgp-keys-aepaneshnikov ) -" -REQUIRED_USE="|| ( ao portaudio pulseaudio )" - -VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/aepaneshnikov.asc" - -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 -}
