commit:     2afbf955a47a40bbd929a66a98729b20fea8a667
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Feb  3 12:10:46 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
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

Reply via email to