From c6808cd503e49c9882c0fe7d7ffdf0ee751f1d38 Mon Sep 17 00:00:00 2001 From: Andrew Savchenko Date: Mon, 5 Dec 2016 11:01:47 +0300 Subject: app-text/stardict: add support for new plugins Package-Manager: portage-2.3.2 Signed-off-by: Andrew Savchenko --- app-text/stardict/metadata.xml | 5 +++++ .../stardict/stardict-4.0.0_pre20160518.ebuild | 24 +++++++++++++++------- 2 files changed, 22 insertions(+), 7 deletions(-) (limited to 'app-text/stardict') diff --git a/app-text/stardict/metadata.xml b/app-text/stardict/metadata.xml index 8cb938c70ab8..b6f257e42009 100644 --- a/app-text/stardict/metadata.xml +++ b/app-text/stardict/metadata.xml @@ -13,11 +13,15 @@ Enable stardict advertisements plugin + Enable calendar support using cal program Enable dict.cn network plugin (for Chinese language) Enable text to speech synthesizer plugin using app-accessibility/espeak engine Enable text to speech synthesizer plugin using app-accessibility/flite engine + Enable plugin to read fortune messages using + games-misc/fortune-mod. You may consider installing + games-misc/fortune-mod-all to get all fortune messages. Enable plugin for unicode symbols description using gnome-extra/gucharmap Enable plugin to parse dictionaries with html content @@ -36,6 +40,7 @@ lexical database Enable plugin to parse dictionaries in xdxf (XML Dictionary eXchange Format) + Enable youdao.com network plugin (for Chinese language) stardict-4 diff --git a/app-text/stardict/stardict-4.0.0_pre20160518.ebuild b/app-text/stardict/stardict-4.0.0_pre20160518.ebuild index 56ec1b72df70..c638d0f7af70 100644 --- a/app-text/stardict/stardict-4.0.0_pre20160518.ebuild +++ b/app-text/stardict/stardict-4.0.0_pre20160518.ebuild @@ -23,9 +23,10 @@ SRC_URI="https://dev.gentoo.org/~bircoph/distfiles/${P}.tar.xz LICENSE="CPL-1.0 GPL-3 LGPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="advertisement debug dictdotcn espeak examples +gucharmap -+htmlparse man perl +powerwordparse pronounce python qqwry spell -tools updateinfo +wikiparse +wordnet +xdxfparse" +IUSE="advertisement cal debug dictdotcn espeak examples flite +fortune gucharmap +htmlparse info man perl +powerwordparse +pronounce python qqwry spell tools updateinfo +wikiparse +wordnet ++xdxfparse youdaodict" RESTRICT="test" @@ -37,6 +38,8 @@ COMMON_DEPEND=" >=x11-libs/gtk+-2.20:2 x11-libs/libX11 x11-libs/pango + espeak? ( >=app-accessibility/espeak-1.29 ) + flite? ( app-accessibility/flite ) gucharmap? ( gnome-extra/gucharmap:0= ) spell? ( >=app-text/enchant-1.2 ) tools? ( @@ -48,7 +51,8 @@ COMMON_DEPEND=" ) " RDEPEND="${COMMON_DEPEND} - espeak? ( >=app-accessibility/espeak-1.29 ) + info? ( sys-apps/texinfo ) + fortune? ( games-misc/fortune-mod ) perl? ( dev-lang/perl ) " DEPEND="${COMMON_DEPEND} @@ -104,19 +108,25 @@ src_configure() { --disable-schemas-install \ --disable-scrollkeeper \ $(use_enable advertisement) \ - $(use_enable dictdotcn) \ + $(use_enable cal) \ $(use_enable debug) \ + $(use_enable dictdotcn) \ $(use_enable espeak) \ + $(use_enable flite) \ + $(use_enable fortune) \ $(use_enable gucharmap) \ $(use_enable htmlparse) \ - $(use_enable qqwry) \ + $(use_enable info) \ + $(use_enable man) \ $(use_enable powerwordparse) \ + $(use_enable qqwry) \ $(use_enable spell) \ $(use_enable tools) \ $(use_enable updateinfo) \ $(use_enable wikiparse) \ $(use_enable wordnet) \ - $(use_enable xdxfparse) + $(use_enable xdxfparse) \ + $(use_enable youdaodict) } src_install() { -- cgit v1.2.3-65-gdbad