|
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 \ |
| 67 |
"${FILESDIR}"/${P}-gmodule-underlinking.patch |
| 58 |
|
68 |
|
| 59 |
pkg_setup() { |
69 |
epatch_user |
| 60 |
G2CONF="$(use_enable tools) |
70 |
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 |
} |
71 |
} |
| 72 |
|
72 |
|
| 73 |
src_prepare() { |
73 |
# FIXME --disable-schemas-install" |
| 74 |
epatch \ |
74 |
src_configure(){ |
| 75 |
"${FILESDIR}"/${P}-correct-glib-include.patch \ |
75 |
G2CONF=" |
| 76 |
"${FILESDIR}"/${P}-entry.patch \ |
76 |
--enable-dict |
| 77 |
"${FILESDIR}"/${P}-gcc46.patch \ |
77 |
--disable-option-checking |
| 78 |
"${FILESDIR}"/${P}-compositelookup_cpp.patch \ |
78 |
--disable-esd-support |
| 79 |
"${FILESDIR}"/${P}-overflow.patch \ |
79 |
--disable-advertisement |
| 80 |
"${FILESDIR}"/${P}-zlib-1.2.5.2.patch |
80 |
--disable-updateinfo |
| 81 |
|
81 |
--disable-maemo-support |
| 82 |
gnome2_src_prepare |
82 |
--disable-darwin-support |
|
|
83 |
$(use_enable dictdotcn) |
| 84 |
$(use_enable espeak) |
| 85 |
$(use_enable festival) |
| 86 |
$(use_enable gnome gnome-support) |
| 87 |
$(use_enable gpe gpe-support) |
| 88 |
$(use_enable gucharmap) |
| 89 |
$(use_enable htmlparse) |
| 90 |
$(use_enable powerwordparse) |
| 91 |
$(use_enable qqwry) |
| 92 |
$(use_enable spell) |
| 93 |
$(use_enable tools) |
| 94 |
$(use_enable updateinfo) |
| 95 |
$(use_enable wikiparse) |
| 96 |
$(use_enable wordnet) |
| 97 |
$(use_enable xdxfparse) |
| 98 |
" |
| 99 |
if use gnome ; then |
| 100 |
G2CONF+="--enable-scrollkeeper" |
| 101 |
else |
| 102 |
G2CONF+="--disable-scrollkeeper" |
| 103 |
fi |
| 104 |
if use gucharmap ; then |
| 105 |
G2CONF+="--enable-deprecations" |
| 106 |
else |
| 107 |
G2CONF+="--disable-deprecations" |
| 108 |
fi |
| 109 |
gnome2_src_configure |
| 83 |
} |
110 |
} |
| 84 |
|
111 |
|
| 85 |
src_install() { |
112 |
src_install() { |