forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-i18n/translate-shell: Initial import #575370, ebuild by Ferki
Package-Manager: portage-2.2.27
- Loading branch information
1 parent
f2fb1a2
commit 99a42ba
Showing
3 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST translate-shell-0.9.3.tar.gz 66134 SHA256 cb0da68cc984cb275e3c8fddfb1b56a846cef41dad729890ad9b3d7ef35dc807 SHA512 8656be0cdacfe5c26cf26c748479def1603d633545f4770ed1da2cf36c0ec72e99f5d34b38eb9b90327b563c0fbf68281ea13d6b22ee73d426030e8c2e35dc1b WHIRLPOOL 8c48da9e6b4c79cae63cd17bed045ba0ae741d157960f2c6f5ea0ca352c09735a5b2caa9e288cc8ec22c6c6768f0c68d9f4ed98bb886f872562020208c526333 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<longdescription lang="en">Translate Shell (formerly Google Translate CLI) is a command-line translator powered by Google Translate (default), Bing Translator, and Yandex.Translate.</longdescription> | ||
<maintainer type="project"> | ||
<email>[email protected]</email> | ||
<name>Gentoo Proxy Maintainers Project</name> | ||
</maintainer> | ||
<maintainer> | ||
<email>[email protected]</email> | ||
<name>Patrick Lauer</name> | ||
</maintainer> | ||
<maintainer type="person"> | ||
<email>[email protected]</email> | ||
<name>Ferenc Erki</name> | ||
<description>Proxied maintainer; set to assignee in all bugs</description> | ||
</maintainer> | ||
<use> | ||
<flag name="fribidi">Enable RTL language support</flag> | ||
<flag name="tts">Enable text-to-speech support</flag> | ||
</use> | ||
</pkgmetadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
|
||
DESCRIPTION="Online command-line translator" | ||
HOMEPAGE="https://www.soimort.org/translate-shell/" | ||
SRC_URI="https://github.com/soimort/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" | ||
|
||
LICENSE="public-domain" | ||
SLOT="0" | ||
KEYWORDS="~amd64" | ||
IUSE="+curl fribidi test tts" | ||
|
||
RDEPEND=" | ||
app-misc/rlwrap | ||
>=sys-apps/gawk-4.0.2 | ||
curl? ( net-misc/curl[ssl] ) | ||
fribidi? ( dev-libs/fribidi ) | ||
tts? ( || ( | ||
media-sound/mpg123 | ||
app-accessibility/espeak | ||
media-video/mpv | ||
media-video/mplayer | ||
) | ||
)" | ||
DEPEND="${RDEPEND} | ||
test? ( app-editors/emacs ) | ||
" | ||
|
||
src_install() { | ||
emake PREFIX="${D}/usr" install | ||
} |