1 |
tomka 15/07/31 08:06:39 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tesseract-3.04.00.ebuild |
5 |
Removed: tesseract-3.02-r1.ebuild tesseract-3.02.ebuild |
6 |
Log: |
7 |
Bump to 3.04.00, drop old |
8 |
|
9 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 565C32BC) |
10 |
|
11 |
Revision Changes Path |
12 |
1.58 app-text/tesseract/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/tesseract/ChangeLog?rev=1.58&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/tesseract/ChangeLog?rev=1.58&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/tesseract/ChangeLog?r1=1.57&r2=1.58 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-text/tesseract/ChangeLog,v |
21 |
retrieving revision 1.57 |
22 |
retrieving revision 1.58 |
23 |
diff -u -r1.57 -r1.58 |
24 |
--- ChangeLog 10 May 2015 18:20:41 -0000 1.57 |
25 |
+++ ChangeLog 31 Jul 2015 08:06:39 -0000 1.58 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for app-text/tesseract |
28 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/ChangeLog,v 1.57 2015/05/10 18:20:41 jer Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/ChangeLog,v 1.58 2015/07/31 08:06:39 tomka Exp $ |
31 |
+ |
32 |
+*tesseract-3.04.00 (31 Jul 2015) |
33 |
+ |
34 |
+ 31 Jul 2015; Thomas Kahle <tomka@g.o> +tesseract-3.04.00.ebuild, |
35 |
+ -files/sanitize-configure-file.patch, -files/sanitize-pkgconfig-file.patch, |
36 |
+ -tesseract-3.02-r1.ebuild, -tesseract-3.02.ebuild: |
37 |
+ Bump to 3.04.00, drop old |
38 |
|
39 |
10 May 2015; Jeroen Roovers <jer@g.o> tesseract-3.03_rc1-r1.ebuild: |
40 |
Mark ~ppc64 (bug #544622). |
41 |
|
42 |
|
43 |
|
44 |
1.1 app-text/tesseract/tesseract-3.04.00.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/tesseract/tesseract-3.04.00.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/tesseract/tesseract-3.04.00.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: tesseract-3.04.00.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2015 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/tesseract-3.04.00.ebuild,v 1.1 2015/07/31 08:06:39 tomka Exp $ |
54 |
|
55 |
EAPI=5 |
56 |
|
57 |
MY_PN="${PN}-ocr" |
58 |
DL_P="${MY_PN}-3.02" |
59 |
URI_PREFIX="http://${MY_PN}.googlecode.com/files" |
60 |
|
61 |
inherit eutils autotools autotools-utils |
62 |
|
63 |
DESCRIPTION="An OCR Engine, orginally developed at HP, now open source." |
64 |
HOMEPAGE="https://github.com/tesseract-ocr" |
65 |
SRC_URI="https://github.com/${MY_PN}/${PN}/archive/${PV}.tar.gz |
66 |
${URI_PREFIX}/${DL_P}.eng.tar.gz |
67 |
doc? ( ${URI_PREFIX}/${DL_P}.02-doc-html.tar.gz ) |
68 |
linguas_ar? ( ${URI_PREFIX}/${DL_P}.ara.tar.gz ) |
69 |
linguas_bg? ( ${URI_PREFIX}/bul.traineddata.gz ) |
70 |
linguas_ca? ( ${URI_PREFIX}/cat.traineddata.gz ) |
71 |
linguas_chr? ( ${URI_PREFIX}/chr.traineddata.gz ) |
72 |
linguas_cs? ( ${URI_PREFIX}/ces.traineddata.gz ) |
73 |
linguas_de? ( ${URI_PREFIX}/deu.traineddata.gz |
74 |
${URI_PREFIX}/deu-frak.traineddata.gz ) |
75 |
linguas_da? ( ${URI_PREFIX}/dan.traineddata.gz |
76 |
${URI_PREFIX}/dan-frak.traineddata.gz ) |
77 |
linguas_el? ( ${URI_PREFIX}/ell.traineddata.gz ) |
78 |
linguas_es? ( ${URI_PREFIX}/spa.traineddata.gz ) |
79 |
linguas_fi? ( ${URI_PREFIX}/fin.traineddata.gz ) |
80 |
linguas_fr? ( ${URI_PREFIX}/fra.traineddata.gz ) |
81 |
linguas_he? ( ${URI_PREFIX}/${DL_P}.heb.tar.gz |
82 |
${URI_PREFIX}/${MY_PN}-3.01.heb-com.tar.gz ) |
83 |
linguas_hi? ( ${URI_PREFIX}/${DL_P}.hin.tar.gz ) |
84 |
linguas_hu? ( ${URI_PREFIX}/hun.traineddata.gz ) |
85 |
linguas_id? ( ${URI_PREFIX}/ind.traineddata.gz ) |
86 |
linguas_it? ( ${URI_PREFIX}/ita.traineddata.gz ) |
87 |
linguas_jp? ( ${URI_PREFIX}/jpn.traineddata.gz ) |
88 |
linguas_ko? ( ${URI_PREFIX}/kor.traineddata.gz ) |
89 |
linguas_lt? ( ${URI_PREFIX}/lit.traineddata.gz ) |
90 |
linguas_lv? ( ${URI_PREFIX}/lav.traineddata.gz ) |
91 |
linguas_nl? ( ${URI_PREFIX}/nld.traineddata.gz ) |
92 |
linguas_no? ( ${URI_PREFIX}/nor.traineddata.gz ) |
93 |
linguas_pl? ( ${URI_PREFIX}/pol.traineddata.gz ) |
94 |
linguas_pt? ( ${URI_PREFIX}/por.traineddata.gz ) |
95 |
linguas_ro? ( ${URI_PREFIX}/ron.traineddata.gz ) |
96 |
linguas_ru? ( ${URI_PREFIX}/rus.traineddata.gz ) |
97 |
linguas_sk? ( ${URI_PREFIX}/slk.traineddata.gz |
98 |
${URI_PREFIX}/${MY_PN}-3.01.slk-frak.tar.gz ) |
99 |
linguas_sl? ( ${URI_PREFIX}/slv.traineddata.gz ) |
100 |
linguas_sr? ( ${URI_PREFIX}/srp.traineddata.gz ) |
101 |
linguas_sv? ( ${URI_PREFIX}/swe.traineddata.gz |
102 |
${URI_PREFIX}/swe-frak.traineddata.gz ) |
103 |
linguas_th? ( ${URI_PREFIX}/${DL_P}.tha.tar.gz ) |
104 |
linguas_tl? ( ${URI_PREFIX}/tgl.traineddata.gz ) |
105 |
linguas_tr? ( ${URI_PREFIX}/tur.traineddata.gz ) |
106 |
linguas_uk? ( ${URI_PREFIX}/ukr.traineddata.gz ) |
107 |
linguas_vi? ( ${URI_PREFIX}/vie.traineddata.gz ) |
108 |
linguas_zh_CN? ( ${URI_PREFIX}/chi_sim.traineddata.gz ) |
109 |
linguas_zh_TW? ( ${URI_PREFIX}/chi_tra.traineddata.gz ) |
110 |
osd? ( ${URI_PREFIX}/${MY_PN}-3.01.osd.tar.gz ) |
111 |
" |
112 |
|
113 |
LICENSE="Apache-2.0" |
114 |
SLOT="0" |
115 |
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86" |
116 |
|
117 |
IUSE="doc examples jpeg opencl osd png +scrollview static-libs tiff -webp linguas_ar linguas_bg linguas_ca linguas_chr linguas_cs linguas_de linguas_da linguas_el linguas_es linguas_fi linguas_fr linguas_he linguas_hi linguas_hu linguas_id linguas_it linguas_jp linguas_ko linguas_lt linguas_lv linguas_nl linguas_no linguas_pl linguas_pt linguas_ro linguas_ru linguas_sk linguas_sl linguas_sr linguas_sv linguas_th linguas_tl linguas_tr linguas_uk linguas_vi linguas_zh_CN linguas_zh_TW" |
118 |
|
119 |
# With opencl tiff is necessary regardless of leptonica status <-- Check this |
120 |
DEPEND=">=media-libs/leptonica-1.70[zlib,tiff?,jpeg?,png?,webp?] |
121 |
opencl? ( virtual/opencl |
122 |
media-libs/tiff:0 )" |
123 |
RDEPEND="${DEPEND}" |
124 |
|
125 |
DOCS=(AUTHORS ChangeLog NEWS README ReleaseNotes ) |
126 |
|
127 |
PATCHES=( |
128 |
"${FILESDIR}/tesseract-2.04-gcc47.patch" |
129 |
) |
130 |
|
131 |
src_configure() { |
132 |
local myeconfargs=( |
133 |
$(use_enable opencl) \ |
134 |
$(use_enable scrollview graphics) \ |
135 |
--disable-dependency-tracking |
136 |
) |
137 |
autotools-utils_src_configure |
138 |
} |
139 |
|
140 |
src_install() { |
141 |
autotools-utils_src_install |
142 |
|
143 |
if use examples; then |
144 |
insinto /usr/share/doc/${PF}/examples |
145 |
doins eurotext.tif phototest.tif |
146 |
fi |
147 |
|
148 |
if use doc; then |
149 |
dohtml -r "${WORKDIR}"/"${MY_PN}"/doc/html/* |
150 |
fi |
151 |
|
152 |
# install language files |
153 |
insinto /usr/share/tessdata |
154 |
find "${WORKDIR}" -maxdepth 1 -type f -name "*.traineddata" -exec doins '{}' + |
155 |
doins "${WORKDIR}"/"${MY_PN}"/tessdata/* |
156 |
} |