Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 451730 | Differences between
and this patch

Collapse All | Expand All

(-)stardict-3.0.3-r2.ebuild (-29 / +55 lines)
Lines 6-14 Link Here
6
#       their indexes seem to be in a different format. So we'll keep them
6
#       their indexes seem to be in a different format. So we'll keep them
7
#       seperate for now.
7
#       seperate for now.
8
8
9
# NOTE: Festival plugin crashes, bug 188684. Disable for now.
9
EAPI=5
10
11
EAPI=4
12
10
13
GNOME2_LA_PUNT=yes
11
GNOME2_LA_PUNT=yes
14
GCONF_DEBUG=no
12
GCONF_DEBUG=no
Lines 23-32 Link Here
23
21
24
LICENSE="CPL-1.0 GPL-3 LGPL-2"
22
LICENSE="CPL-1.0 GPL-3 LGPL-2"
25
SLOT="0"
23
SLOT="0"
26
KEYWORDS="amd64 ppc ppc64 sparc x86"
24
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
27
IUSE="espeak gnome gucharmap qqwry pronounce spell tools"
25
IUSE="+dictdotcn espeak -festival gnome +gucharmap +htmlparse +spell
26
	-gpe +powerwordparse pronounce qqwry tools +updateinfo +wikiparse
27
	+wordnet +xdxfparse"
28
28
29
COMMON_DEPEND=">=dev-libs/glib-2.16
29
COMMON_DEPEND="dev-libs/glib:2
30
	dev-libs/libsigc++:2
30
	dev-libs/libsigc++:2
31
	sys-libs/zlib
31
	sys-libs/zlib
32
	>=x11-libs/gtk+-2.20:2
32
	>=x11-libs/gtk+-2.20:2
Lines 36-42 Link Here
36
		>=gnome-base/libgnomeui-2
36
		>=gnome-base/libgnomeui-2
37
		>=gnome-base/gconf-2
37
		>=gnome-base/gconf-2
38
		>=gnome-base/orbit-2
38
		>=gnome-base/orbit-2
39
		app-text/scrollkeeper
40
		app-text/gnome-doc-utils
39
		)
41
		)
42
	gpe? ( gpe-base/libgpewidget )
40
	gucharmap? ( >=gnome-extra/gucharmap-2.22.1:0 )
43
	gucharmap? ( >=gnome-extra/gucharmap-2.22.1:0 )
41
	spell? ( >=app-text/enchant-1.2 )
44
	spell? ( >=app-text/enchant-1.2 )
42
	tools? (
45
	tools? (
Lines 45-85 Link Here
45
		virtual/mysql
48
		virtual/mysql
46
		)"
49
		)"
47
RDEPEND="${COMMON_DEPEND}
50
RDEPEND="${COMMON_DEPEND}
48
	espeak? ( >=app-accessibility/espeak-1.29 )"
51
	espeak? ( >=app-accessibility/espeak-1.29 )
52
	festival? ( app-accessibility/festival )"
49
DEPEND="${COMMON_DEPEND}
53
DEPEND="${COMMON_DEPEND}
50
	app-text/docbook-xml-dtd:4.3
54
	app-text/docbook-xml-dtd:4.3
51
	app-text/gnome-doc-utils
55
	app-text/gnome-doc-utils
52
	dev-libs/libxslt
56
	dev-libs/libxslt
57
	dev-libs/libsigc++
53
	dev-util/intltool
58
	dev-util/intltool
54
	virtual/pkgconfig
59
	virtual/pkgconfig
55
	sys-devel/gettext"
60
	sys-devel/gettext"
56
61
57
RESTRICT="test"
62
RESTRICT="test"
63
src_prepare(){
64
	# FIXME: check sigc++
65
	epatch "${FILESDIR}"/${PN}-3.0.3-zlib-1.2.5.2.patch \
66
		"${FILESDIR}"/${P}-fix-glib-thread.patch
58
67
59
pkg_setup() {
68
	epatch_user
60
	G2CONF="$(use_enable tools)
69
	gnome2_src_prepare
61
		--disable-scrollkeeper
62
		$(use_enable spell)
63
		$(use_enable gucharmap)
64
		--disable-festival
65
		$(use_enable espeak)
66
		$(use_enable qqwry)
67
		--disable-updateinfo
68
		$(use_enable gnome gnome-support)
69
		--disable-gpe-support
70
		--disable-schemas-install"
71
}
70
}
72
71
73
src_prepare() {
72
# FIXME	--disable-schemas-install"
74
	epatch \
73
src_configure(){
75
		"${FILESDIR}"/${P}-correct-glib-include.patch \
74
	G2CONF="
76
		"${FILESDIR}"/${P}-entry.patch \
75
		--enable-dict
77
		"${FILESDIR}"/${P}-gcc46.patch \
76
		--disable-option-checking
78
		"${FILESDIR}"/${P}-compositelookup_cpp.patch \
77
		--disable-esd-support
79
		"${FILESDIR}"/${P}-overflow.patch \
78
		--disable-advertisement
80
		"${FILESDIR}"/${P}-zlib-1.2.5.2.patch
79
		--disable-updateinfo
81
80
		--disable-maemo-support
82
	gnome2_src_prepare
81
		--disable-darwin-support
82
		$(use_enable dictdotcn)
83
		$(use_enable espeak)
84
		$(use_enable festival)
85
		$(use_enable gnome gnome-support)
86
		$(use_enable gpe gpe-support)
87
		$(use_enable gucharmap)
88
		$(use_enable htmlparse)
89
		$(use_enable powerwordparse)
90
		$(use_enable qqwry)
91
		$(use_enable spell)
92
		$(use_enable tools)
93
		$(use_enable updateinfo)
94
		$(use_enable wikiparse)
95
		$(use_enable wordnet)
96
		$(use_enable xdxfparse)
97
		"
98
	if use gnome ; then
99
		G2CONF+="--enable-scrollkeeper"
100
	else
101
		G2CONF+="--disable-scrollkeeper"
102
	fi
103
	if use gucharmap ; then
104
		G2CONF+="--enable-deprecations"
105
	else
106
		G2CONF+="--disable-deprecations"
107
	fi
108
	gnome2_src_configure
83
}
109
}
84
110
85
src_install() {
111
src_install() {

Return to bug 451730