Skip to content

Commit

Permalink
app-i18n/translate-shell: Initial import #575370, ebuild by Ferki
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.27
  • Loading branch information
patricklauer committed Feb 23, 2016
1 parent f2fb1a2 commit 99a42ba
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-i18n/translate-shell/Manifest
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
22 changes: 22 additions & 0 deletions app-i18n/translate-shell/metadata.xml
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>
34 changes: 34 additions & 0 deletions app-i18n/translate-shell/translate-shell-0.9.3.ebuild
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
}

0 comments on commit 99a42ba

Please sign in to comment.