1 |
commit: 7313b0ba4d6941af1298e341a696b4952a1f9184 |
2 |
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 3 20:39:16 2017 +0000 |
4 |
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 3 21:22:44 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7313b0ba |
7 |
|
8 |
app-text/stardict: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org> |
12 |
|
13 |
app-text/stardict/stardict-3.0.6-r2.ebuild | 140 ----------------------------- |
14 |
1 file changed, 140 deletions(-) |
15 |
|
16 |
diff --git a/app-text/stardict/stardict-3.0.6-r2.ebuild b/app-text/stardict/stardict-3.0.6-r2.ebuild |
17 |
deleted file mode 100644 |
18 |
index 3984b6d..00000000 |
19 |
--- a/app-text/stardict/stardict-3.0.6-r2.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,140 +0,0 @@ |
22 |
-# Copyright 1999-2015 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
-# $Id$ |
25 |
- |
26 |
-EAPI=5 |
27 |
- |
28 |
-# NOTE: Even though the *.dict.dz are the same as dictd/freedict's files, |
29 |
-# their indexes seem to be in a different format. So we'll keep them |
30 |
-# seperate for now. |
31 |
- |
32 |
-# NOTE: Festival plugin crashes, bug 188684. Disable for now. |
33 |
- |
34 |
-GNOME2_LA_PUNT=yes |
35 |
-GCONF_DEBUG=no |
36 |
- |
37 |
-inherit eutils flag-o-matic gnome2 |
38 |
- |
39 |
-DESCRIPTION="A international dictionary supporting fuzzy and glob style matching" |
40 |
-HOMEPAGE="http://stardict-4.sourceforge.net/" |
41 |
-SRC_URI="mirror://sourceforge/${PN}-4/${P}.tar.bz2 |
42 |
- pronounce? ( https://${PN}-3.googlecode.com/files/WyabdcRealPeopleTTS.tar.bz2 ) |
43 |
- qqwry? ( mirror://gentoo/QQWry.Dat.bz2 )" |
44 |
- |
45 |
-LICENSE="CPL-1.0 GPL-3 LGPL-2" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 sparc x86" |
48 |
-IUSE="espeak qqwry pronounce spell tools" |
49 |
- |
50 |
-RESTRICT="test" |
51 |
- |
52 |
-COMMON_DEPEND=" |
53 |
- >=dev-libs/glib-2.16:2 |
54 |
- dev-libs/libsigc++:2= |
55 |
- sys-libs/zlib:= |
56 |
- x11-libs/gdk-pixbuf:2 |
57 |
- >=x11-libs/gtk+-2.20:2 |
58 |
- x11-libs/libX11 |
59 |
- x11-libs/pango |
60 |
- spell? ( >=app-text/enchant-1.2 ) |
61 |
- tools? ( |
62 |
- dev-libs/libpcre:= |
63 |
- dev-libs/libxml2:= |
64 |
- virtual/mysql |
65 |
- ) |
66 |
-" |
67 |
-RDEPEND="${COMMON_DEPEND} |
68 |
- espeak? ( >=app-accessibility/espeak-1.29 ) |
69 |
-" |
70 |
-DEPEND="${COMMON_DEPEND} |
71 |
- app-text/docbook-xml-dtd:4.3 |
72 |
- app-text/gnome-doc-utils |
73 |
- dev-libs/libxslt |
74 |
- dev-util/intltool |
75 |
- sys-devel/gettext |
76 |
- virtual/pkgconfig |
77 |
-" |
78 |
- |
79 |
-src_prepare() { |
80 |
- # From Fedora |
81 |
- # Remove unneeded sigc++ header files to make it sure |
82 |
- # that we are using system-wide libsigc++ |
83 |
- # (and these does not work on gcc43) |
84 |
- find dict/src/sigc++* -name \*.h -or -name \*.cc | xargs rm -f || die |
85 |
- |
86 |
- # libsigc++ started to require c++11 support |
87 |
- append-cxxflags "-std=c++11" |
88 |
- |
89 |
- gnome2_src_prepare |
90 |
-} |
91 |
- |
92 |
-src_configure() { |
93 |
- # Hint: EXTRA_ECONF="--enable-gnome-support" and manual install of |
94 |
- # libbonobo-2, libgnome-2, libgnomeui-2, gconf-2 and orbit-2 will |
95 |
- # give you GNOME 2.x support, that is otherwise considered deprecated |
96 |
- # because of the deep GNOME 2.x core library dependencies |
97 |
- gnome2_src_configure \ |
98 |
- $(use_enable tools) \ |
99 |
- --disable-scrollkeeper \ |
100 |
- $(use_enable spell) \ |
101 |
- --disable-gucharmap \ |
102 |
- --disable-festival \ |
103 |
- $(use_enable espeak) \ |
104 |
- $(use_enable qqwry) \ |
105 |
- --disable-updateinfo \ |
106 |
- --disable-gnome-support \ |
107 |
- --disable-gpe-support \ |
108 |
- --disable-schemas-install |
109 |
-} |
110 |
- |
111 |
-src_install() { |
112 |
- gnome2_src_install |
113 |
- |
114 |
- dodoc dict/doc/{Documentation,FAQ,HACKING,HowToCreateDictionary,Skins,StarDictFileFormat,Translation} |
115 |
- |
116 |
- if use qqwry; then |
117 |
- insinto /usr/share/${PN}/data |
118 |
- doins ../QQWry.Dat |
119 |
- fi |
120 |
- |
121 |
- if use pronounce; then |
122 |
- docinto WyabdcRealPeopleTTS |
123 |
- dodoc ../WyabdcRealPeopleTTS/{README,readme.txt} |
124 |
- rm -f ../WyabdcRealPeopleTTS/{README,readme.txt} |
125 |
- insinto /usr/share |
126 |
- doins -r ../WyabdcRealPeopleTTS |
127 |
- fi |
128 |
- |
129 |
- # noinst_PROGRAMS with ${PN}_ prefix from tools/src/Makefile.am wrt #292773 |
130 |
- if use tools; then |
131 |
- local app |
132 |
- local apps="${PN}-editor pydict2dic olddic2newdic oxford2dic directory2dic |
133 |
- dictd2dic wquick2dic ec50 directory2treedic treedict2dir jdictionary mova |
134 |
- xmlinout soothill kanjidic2 powerword kdic 21tech 21shiji buddhist |
135 |
- tabfile cedict edict duden ${PN}-dict-update degb2utf frgb2utf |
136 |
- jpgb2utf gmx2utf rucn kingsoft wikipedia wikipediaImage babylon |
137 |
- ${PN}2txt ${PN}-verify fest2dict i2e2dict downloadwiki |
138 |
- ooo2dict myspell2dic exc2i2e dictbuilder tabfile2sql KangXi Unihan |
139 |
- xiaoxuetang-ja wubi ydp2dict wordnet lingvosound2resdb |
140 |
- resdatabase2dir dir2resdatabase ${PN}-index sd2foldoc ${PN}-text2bin |
141 |
- ${PN}-bin2text ${PN}-repair" |
142 |
- |
143 |
- for app in ${apps}; do |
144 |
- newbin tools/src/${app} ${PN}_${app} |
145 |
- done |
146 |
- fi |
147 |
-} |
148 |
- |
149 |
-pkg_postinst() { |
150 |
- elog "Note: festival text to speech (TTS) plugin is not built. To use festival" |
151 |
- elog 'TTS plugin, please, emerge festival and enable "Use TTS program." at:' |
152 |
- elog '"Preferences -> Dictionary -> Sound" and fill in "Commandline" with:' |
153 |
- elog '"echo %s | festival --tts"' |
154 |
- elog |
155 |
- elog "You will now need to install ${PN} dictionary files. If" |
156 |
- elog "you have not, execute the below to get a list of dictionaries:" |
157 |
- elog |
158 |
- elog " emerge -s ${PN}-" |
159 |
- |
160 |
- gnome2_pkg_postinst |
161 |
-} |