1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="Online command-line translator"
7 HOMEPAGE="https://www.soimort.org/translate-shell/"
8 SRC_URI="https://github.com/soimort/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
13 IUSE="+bidi +curl test tts"
14 RESTRICT="!test? ( test )"
19 curl? ( net-misc/curl[ssl] )
20 bidi? ( dev-libs/fribidi )
23 app-accessibility/espeak
29 test? ( >=app-editors/emacs-23.1:* )
33 emake NETWORK_ACCESS=no test
37 emake PREFIX="${D}/usr" install