summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2016-12-03 09:14:31 +0300
committerAndrew Savchenko <bircoph@gentoo.org>2016-12-03 19:47:34 +0300
commita9260fb4dfb5b76b7a258c2de680494c75557079 (patch)
tree2fa7acbfbdc8d28bb94ceecba7885e5afc346e1f /app-text/stardict/stardict-3.0.6-r3.ebuild
parentapp-text/stardict: update to EAPI 6 (diff)
downloadgentoo-a9260fb4dfb5b76b7a258c2de680494c75557079.tar.gz
gentoo-a9260fb4dfb5b76b7a258c2de680494c75557079.tar.bz2
gentoo-a9260fb4dfb5b76b7a258c2de680494c75557079.zip
app-text/stardict: handle stardict plugins using USE flags
Previously many stardict plugins were unconditionally enabled or disabled, they are controllable now, except for festival, where app-accessibility/festival should be updated first, and plugins for unsupported interfaces, like maemo or gpe. Package-Manager: portage-2.3.2 Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
Diffstat (limited to 'app-text/stardict/stardict-3.0.6-r3.ebuild')
-rw-r--r--app-text/stardict/stardict-3.0.6-r3.ebuild32
1 files changed, 21 insertions, 11 deletions
diff --git a/app-text/stardict/stardict-3.0.6-r3.ebuild b/app-text/stardict/stardict-3.0.6-r3.ebuild
index 1f059fa0e11e..2ee16b3d25bb 100644
--- a/app-text/stardict/stardict-3.0.6-r3.ebuild
+++ b/app-text/stardict/stardict-3.0.6-r3.ebuild
@@ -21,7 +21,9 @@ SRC_URI="mirror://sourceforge/${PN}-4/${P}.tar.bz2
LICENSE="CPL-1.0 GPL-3 LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="debug espeak pronounce spell tools qqwry"
+IUSE="advertisement debug dictdotcn espeak +gucharmap +htmlparse
+man +powerwordparse pronounce qqwry spell tools updateinfo
++wikiparse +wordnet +xdxfparse"
RESTRICT="test"
@@ -33,6 +35,7 @@ COMMON_DEPEND="
>=x11-libs/gtk+-2.20:2
x11-libs/libX11
x11-libs/pango
+ gucharmap? ( gnome-extra/gucharmap:0= )
spell? ( >=app-text/enchant-1.2 )
tools? (
dev-libs/libpcre:=
@@ -67,25 +70,32 @@ src_prepare() {
}
src_configure() {
- # NOTE: Festival plugin crashes, bug 188684. Disable for now.
-
# Hint: EXTRA_ECONF="--enable-gnome-support" and manual install of
# libbonobo-2, libgnome-2, libgnomeui-2, gconf-2 and orbit-2 will
# give you GNOME 2.x support, that is otherwise considered deprecated
# because of the deep GNOME 2.x core library dependencies
+
+ # Festival plugin crashes, bug 188684. Disable for now.
gnome2_src_configure \
- $(use_enable tools) \
+ --disable-festival \
+ --disable-gnome-support \
+ --disable-gpe-support \
+ --disable-schemas-install \
--disable-scrollkeeper \
- $(use_enable spell) \
- --disable-gucharmap \
+ $(use_enable advertisement) \
+ $(use_enable dictdotcn) \
$(use_enable debug) \
- --disable-festival \
$(use_enable espeak) \
+ $(use_enable gucharmap) \
+ $(use_enable htmlparse) \
$(use_enable qqwry) \
- --disable-updateinfo \
- --disable-gnome-support \
- --disable-gpe-support \
- --disable-schemas-install
+ $(use_enable powerwordparse) \
+ $(use_enable spell) \
+ $(use_enable tools) \
+ $(use_enable updateinfo) \
+ $(use_enable wikiparse) \
+ $(use_enable wordnet) \
+ $(use_enable xdxfparse)
}
src_install() {