diff options
author | Patrick Lauer <patrick@gentoo.org> | 2016-02-23 18:24:45 +0100 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2016-02-23 18:25:13 +0100 |
commit | 99a42ba92fb0aeeeb9f95d674aa0a968f0c5da81 (patch) | |
tree | 0e0d34abf4591667237211131e864ca93207e840 /app-i18n/translate-shell | |
parent | sci-libs/pastix: re-add smp flag with patch and set it as default (diff) | |
download | gentoo-99a42ba92fb0aeeeb9f95d674aa0a968f0c5da81.tar.gz gentoo-99a42ba92fb0aeeeb9f95d674aa0a968f0c5da81.tar.bz2 gentoo-99a42ba92fb0aeeeb9f95d674aa0a968f0c5da81.zip |
app-i18n/translate-shell: Initial import #575370, ebuild by Ferki
Package-Manager: portage-2.2.27
Diffstat (limited to 'app-i18n/translate-shell')
-rw-r--r-- | app-i18n/translate-shell/Manifest | 1 | ||||
-rw-r--r-- | app-i18n/translate-shell/metadata.xml | 22 | ||||
-rw-r--r-- | app-i18n/translate-shell/translate-shell-0.9.3.ebuild | 34 |
3 files changed, 57 insertions, 0 deletions
diff --git a/app-i18n/translate-shell/Manifest b/app-i18n/translate-shell/Manifest new file mode 100644 index 000000000000..e1f1e8154335 --- /dev/null +++ b/app-i18n/translate-shell/Manifest @@ -0,0 +1 @@ +DIST translate-shell-0.9.3.tar.gz 66134 SHA256 cb0da68cc984cb275e3c8fddfb1b56a846cef41dad729890ad9b3d7ef35dc807 SHA512 8656be0cdacfe5c26cf26c748479def1603d633545f4770ed1da2cf36c0ec72e99f5d34b38eb9b90327b563c0fbf68281ea13d6b22ee73d426030e8c2e35dc1b WHIRLPOOL 8c48da9e6b4c79cae63cd17bed045ba0ae741d157960f2c6f5ea0ca352c09735a5b2caa9e288cc8ec22c6c6768f0c68d9f4ed98bb886f872562020208c526333 diff --git a/app-i18n/translate-shell/metadata.xml b/app-i18n/translate-shell/metadata.xml new file mode 100644 index 000000000000..71fec8427a74 --- /dev/null +++ b/app-i18n/translate-shell/metadata.xml @@ -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>proxy-maint@gentoo.org</email> + <name>Gentoo Proxy Maintainers Project</name> + </maintainer> + <maintainer> + <email>patrick@gentoo.org</email> + <name>Patrick Lauer</name> + </maintainer> + <maintainer type="person"> + <email>erkiferenc@gmail.com</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> diff --git a/app-i18n/translate-shell/translate-shell-0.9.3.ebuild b/app-i18n/translate-shell/translate-shell-0.9.3.ebuild new file mode 100644 index 000000000000..339331f5151d --- /dev/null +++ b/app-i18n/translate-shell/translate-shell-0.9.3.ebuild @@ -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 +} |