summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-accessibility/rhvoice/rhvoice-9999.ebuild13
1 files changed, 8 insertions, 5 deletions
diff --git a/app-accessibility/rhvoice/rhvoice-9999.ebuild b/app-accessibility/rhvoice/rhvoice-9999.ebuild
index 7c04c53..daaf84e 100644
--- a/app-accessibility/rhvoice/rhvoice-9999.ebuild
+++ b/app-accessibility/rhvoice/rhvoice-9999.ebuild
@@ -3,8 +3,12 @@
EAPI=7
+PYTHON_COMPAT=(python3_{6,7,8,9})
+
inherit python-any-r1 scons-utils eutils toolchain-funcs multilib git-r3
+SRC_URI=""
+
DESCRIPTION="A speech synthesizer for Russian (and similar) language"
HOMEPAGE="https://github.com/Olga-Yakovleva/RHVoice"
EGIT_REPO_URI="https://github.com/Olga-Yakovleva/RHVoice"
@@ -22,17 +26,16 @@ DEPEND="
dev-util/scons
"
-DOCS=(README)
+DOCS=(README.md NEWS doc)
# TODO: multilib support (just in case)
src_compile() {
- escons prefix=/usr sysconfdir=/etc libdir=/usr/"$(get_libdir)"
+ escons DESTDIR="${D}" prefix=/usr sysconfdir=/etc libdir="/usr/$(get_libdir)"
}
src_install() {
- # Dirty hack, since it fails to install with multijob
- SCONSOPTS=""
- escons DESTDIR="${D}" prefix=/usr sysconfdir=/etc libdir=/usr/"$(get_libdir)" install
+ escons DESTDIR="${D}" prefix=/usr sysconfdir=/etc libdir="/usr/$(get_libdir)" install
einstalldocs
+ dosym "/usr/bin/sd_${PN}" "/usr/$(get_libdir)/speech-dispatcher-modules/sd_${PN}"
}