New package: tesseract-ocr-3.02.02
This commit is contained in:
parent
80b2428bff
commit
07d6f47095
73 changed files with 1072 additions and 0 deletions
|
@ -2046,3 +2046,4 @@ libhttp_parser.so.2.5.0 http-parser-2.5.0_1
|
|||
libmaa.so.3 libmaa-1.3.2_1
|
||||
libcodeblocks.so.0 codeblocks-13.12_1
|
||||
liblept.so.4 leptonica-1.72_1
|
||||
libtesseract.so.3 tesseract-ocr-3.02.02_1
|
||||
|
|
1
srcpkgs/tesseract-ocr-afr
Symbolic link
1
srcpkgs/tesseract-ocr-afr
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-all
Symbolic link
1
srcpkgs/tesseract-ocr-all
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-ara
Symbolic link
1
srcpkgs/tesseract-ocr-ara
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-aze
Symbolic link
1
srcpkgs/tesseract-ocr-aze
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-basic
Symbolic link
1
srcpkgs/tesseract-ocr-basic
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-bel
Symbolic link
1
srcpkgs/tesseract-ocr-bel
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-ben
Symbolic link
1
srcpkgs/tesseract-ocr-ben
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-bul
Symbolic link
1
srcpkgs/tesseract-ocr-bul
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-cat
Symbolic link
1
srcpkgs/tesseract-ocr-cat
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-ces
Symbolic link
1
srcpkgs/tesseract-ocr-ces
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-chi_sim
Symbolic link
1
srcpkgs/tesseract-ocr-chi_sim
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-chi_tra
Symbolic link
1
srcpkgs/tesseract-ocr-chi_tra
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-chr
Symbolic link
1
srcpkgs/tesseract-ocr-chr
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-dan
Symbolic link
1
srcpkgs/tesseract-ocr-dan
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-deu
Symbolic link
1
srcpkgs/tesseract-ocr-deu
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-devel
Symbolic link
1
srcpkgs/tesseract-ocr-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-ell
Symbolic link
1
srcpkgs/tesseract-ocr-ell
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-eng
Symbolic link
1
srcpkgs/tesseract-ocr-eng
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-enm
Symbolic link
1
srcpkgs/tesseract-ocr-enm
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-epo
Symbolic link
1
srcpkgs/tesseract-ocr-epo
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-epo_alt
Symbolic link
1
srcpkgs/tesseract-ocr-epo_alt
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-equ
Symbolic link
1
srcpkgs/tesseract-ocr-equ
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-est
Symbolic link
1
srcpkgs/tesseract-ocr-est
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-eus
Symbolic link
1
srcpkgs/tesseract-ocr-eus
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-fin
Symbolic link
1
srcpkgs/tesseract-ocr-fin
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-fra
Symbolic link
1
srcpkgs/tesseract-ocr-fra
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-frk
Symbolic link
1
srcpkgs/tesseract-ocr-frk
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-frm
Symbolic link
1
srcpkgs/tesseract-ocr-frm
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-glg
Symbolic link
1
srcpkgs/tesseract-ocr-glg
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-grc
Symbolic link
1
srcpkgs/tesseract-ocr-grc
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-heb
Symbolic link
1
srcpkgs/tesseract-ocr-heb
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-hin
Symbolic link
1
srcpkgs/tesseract-ocr-hin
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-hrv
Symbolic link
1
srcpkgs/tesseract-ocr-hrv
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-hun
Symbolic link
1
srcpkgs/tesseract-ocr-hun
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-ind
Symbolic link
1
srcpkgs/tesseract-ocr-ind
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-ipa_old
Symbolic link
1
srcpkgs/tesseract-ocr-ipa_old
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-isl
Symbolic link
1
srcpkgs/tesseract-ocr-isl
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-ita
Symbolic link
1
srcpkgs/tesseract-ocr-ita
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-ita_old
Symbolic link
1
srcpkgs/tesseract-ocr-ita_old
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-jpn
Symbolic link
1
srcpkgs/tesseract-ocr-jpn
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-kan
Symbolic link
1
srcpkgs/tesseract-ocr-kan
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-kor
Symbolic link
1
srcpkgs/tesseract-ocr-kor
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-lav
Symbolic link
1
srcpkgs/tesseract-ocr-lav
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-lit
Symbolic link
1
srcpkgs/tesseract-ocr-lit
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-mal
Symbolic link
1
srcpkgs/tesseract-ocr-mal
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-mkd
Symbolic link
1
srcpkgs/tesseract-ocr-mkd
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-mlt
Symbolic link
1
srcpkgs/tesseract-ocr-mlt
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-msa
Symbolic link
1
srcpkgs/tesseract-ocr-msa
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-nld
Symbolic link
1
srcpkgs/tesseract-ocr-nld
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-nor
Symbolic link
1
srcpkgs/tesseract-ocr-nor
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-pol
Symbolic link
1
srcpkgs/tesseract-ocr-pol
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-por
Symbolic link
1
srcpkgs/tesseract-ocr-por
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-ron
Symbolic link
1
srcpkgs/tesseract-ocr-ron
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-rus
Symbolic link
1
srcpkgs/tesseract-ocr-rus
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-slk
Symbolic link
1
srcpkgs/tesseract-ocr-slk
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-slv
Symbolic link
1
srcpkgs/tesseract-ocr-slv
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-spa
Symbolic link
1
srcpkgs/tesseract-ocr-spa
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-spa_old
Symbolic link
1
srcpkgs/tesseract-ocr-spa_old
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-sqi
Symbolic link
1
srcpkgs/tesseract-ocr-sqi
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-srp
Symbolic link
1
srcpkgs/tesseract-ocr-srp
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-swa
Symbolic link
1
srcpkgs/tesseract-ocr-swa
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-swe
Symbolic link
1
srcpkgs/tesseract-ocr-swe
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-tam
Symbolic link
1
srcpkgs/tesseract-ocr-tam
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-tel
Symbolic link
1
srcpkgs/tesseract-ocr-tel
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-tgl
Symbolic link
1
srcpkgs/tesseract-ocr-tgl
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-tha
Symbolic link
1
srcpkgs/tesseract-ocr-tha
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-tools
Symbolic link
1
srcpkgs/tesseract-ocr-tools
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-tur
Symbolic link
1
srcpkgs/tesseract-ocr-tur
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-ukr
Symbolic link
1
srcpkgs/tesseract-ocr-ukr
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
1
srcpkgs/tesseract-ocr-vie
Symbolic link
1
srcpkgs/tesseract-ocr-vie
Symbolic link
|
@ -0,0 +1 @@
|
|||
tesseract-ocr
|
2
srcpkgs/tesseract-ocr/INSTALL.msg
Normal file
2
srcpkgs/tesseract-ocr/INSTALL.msg
Normal file
|
@ -0,0 +1,2 @@
|
|||
You may also want to install at least tesseract-ocr-eng or
|
||||
perhaps tesseract-ocr-basic for some language data files.
|
999
srcpkgs/tesseract-ocr/template
Normal file
999
srcpkgs/tesseract-ocr/template
Normal file
|
@ -0,0 +1,999 @@
|
|||
# Template file for 'tesseract-ocr'
|
||||
pkgname=tesseract-ocr
|
||||
version=3.02.02
|
||||
revision=1
|
||||
wrksrc=$pkgname
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="automake libtool leptonica"
|
||||
makedepends="pango-devel leptonica-devel"
|
||||
short_desc="Tesseract Open Source OCR engine"
|
||||
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://code.google.com/p/tesseract-ocr/"
|
||||
_distsite="https://${pkgname}.googlecode.com/files"
|
||||
distfiles="${_distsite}/${pkgname}-${version}.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.afr.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.ara.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.aze.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.bel.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.ben.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.bul.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.cat.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.ces.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.chi_sim.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.chi_tra.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.chr.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.dan.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.deu.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.ell.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.eng.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.enm.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.epo.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.epo_alt.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.equ.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.est.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.eus.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.fin.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.fra.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.frk.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.frm.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.glg.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.grc.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.heb.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.hin.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.hrv.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.hun.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.ind.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.isl.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.ita.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.ita_old.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.jpn.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.kan.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.kor.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.lav.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.lit.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.mal.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.mkd.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.mlt.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.msa.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.nld.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.nor.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.pol.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.por.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.ron.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.rus.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.slk.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.slv.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.spa.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.spa_old.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.sqi.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.srp.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.swa.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.swe.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.tam.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.tel.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.tgl.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.tha.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.tur.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.ukr.tar.gz
|
||||
${_distsite}/${pkgname}-${version%.*}.vie.tar.gz"
|
||||
|
||||
checksum="26cd39cb3f2a6f6f1bf4050d1cc0aae35edee49eb49a92df3cb7f9487caa013d
|
||||
371399ce6700f28d04ccfc12e421f315e356e3aa26575b27d06083c06987784d
|
||||
2c7be319c30e93950c121897969c1bc1eb1d6bdceb75f1184ee34a6f01d66b6a
|
||||
0f17a06a163d97ec23db3ab14b91b84a67aeba1e441ca5e53a8632b2110a0e79
|
||||
e59e008c542f786f6f7bd14c6608b2c128c9297d6bede647ae357f7421f7a3e7
|
||||
14a87e0762dcee0cd95acfd3b370b81fd14a003d39328ed97db0b28c55d31e50
|
||||
1b8b4d7b12d896cf9f7e60e8e3274d3891886544253d41681dd9b32d6567e3f3
|
||||
894af4c718e821cdc4ae3ec65838b174ac8a003e5417a08557698e1576ac3a34
|
||||
843522eddcd0e2059a1c7069183b68c2459d527157bc47833a79b6ff56bb09de
|
||||
f5b196b5bea6917bcbbf15131b4c2afe94d34c2d9e21d08c0ca42dfbe5aa1095
|
||||
78742e273a9ca74a6ab5543414e04bcac90d03a317dd35edc634956beafa3d20
|
||||
27c917ba39898d63752b2a4ecb0cd8f688772bcbbae2bf430a93d894d328a4c1
|
||||
deb93f6326aa8a4d353159201681947a808577662084d4060daea7d644e63eb9
|
||||
d03cdd0b00d368ff49ebaf77b8758bcf2ff1b0d39331368987e622ac261443ca
|
||||
29745ced8fbfb4ec9abebeb99e4b385821cb5eb0ed81fb1870b93543553b8fba
|
||||
c110029560e7f6d41cb852ca23b66899daa4456d9afeeae9d062204bd271bdf8
|
||||
19c9bd89c823451655e3f265b7fcd06727cd36ddec01b8fad9900159b688a1e3
|
||||
22ae681c34ee7aa825994115f927c2e1f8ec1a98c97c01218b98d2549af22252
|
||||
e516b8362fa060be720d2768a8abbee9cc965b9162249c5914ef1d8159e03dc2
|
||||
2010e724686171ef2eb3388df00d8d89ba7e50cb2298b0368b847fffb95d804e
|
||||
d5d6b9d4b567a10e2f63cafd2f60bf5b0c994e415470becafd729b20349e2e80
|
||||
78359d57896623cf8211e17604a9dfa574e2253c9157035f439c5fbe06cd5019
|
||||
e02ff1798960d3af15c0dafafac0de954442cfb13f4eff45c3263c2ff6e59026
|
||||
74592f5f2ab73a6668934922753be0505fc4333ee790543949f8b70f03eab101
|
||||
a9f4219d6b2ef4ed8b76c86be99ae3c9190509df72ba6f0217a77f7205ec52f8
|
||||
f32f774d88e7936f16ff41b832cecfbd71f82c9bf7584330d750da941c07ca79
|
||||
82ffa27c4de17545fa9d46e0fcd5690b1b59bcce9e93f71c0a41d19afbe869ee
|
||||
586b955eb9fba5a304cfa37bfdd7c89f2db33335d5ae83f2962aed8903266805
|
||||
da47b0cfe241775c9b36339efda6339d59e146fa6143c65a2253eb9f67164811
|
||||
91f91da5adc73ee71150865d6598df8a50424350480df2753ca9035320b3c78d
|
||||
e20575f5b0ec73ff7f3197c112a8dcc24303b64016910399d9127bda42e7d866
|
||||
edf5cc42b516b2a18681955167d1964dfc7ff8cda642408ebda91b3c4656f9f1
|
||||
337ba4400a798c60dee16070071337c96fc67bcb4e2cc1b4676dcbc340fbbcd7
|
||||
6b226366d8d2d87f859d4099e8b715e3ec3890f9317198e7b8c80fba001055f8
|
||||
26453b302c108e08f594c7a19597382314529f648e141805417f9af1e4c99ac2
|
||||
caf591be6d4eda9e7627397c3c520d58115c660002ecace680749504348ba104
|
||||
09bf447a29e990c065024b3b720fd70f08d596a7be534312fc9e47d0aabf681f
|
||||
15851cc22058c08cad9ec6058113f76966409061f21f5cde8c9cc1d214298c22
|
||||
7c85c4107a781d90d6d4adb001f2189b113f9db6942618b4bc47f4cc80cd126a
|
||||
e6a190ee1edf0a58948a9d7b01569fd8a4c05bc678da3a40ad884c0849958c36
|
||||
350891a182076df2e8067da04b3b2127a77e48782d9905e8339db4f1d6c7a729
|
||||
72b3b23979ae4a6b63518964bf239beae8bb6c02f35a2695f47262178b3fef34
|
||||
ea489277e7a588a1b7566a21cbbd647786f16659cae087a4705d4fdabd823ee6
|
||||
ba99e8bfc753a274bbea38ef44f5abf81e5f12d09f9d12d267436961270ef2de
|
||||
f34e4950ad9079f92965a234253cc16f92deb66f1ce4e9c9a885ad2695c2d136
|
||||
5e2e53499a05282968e5a9699aad66ae52a5abf06ae828e2f4cf2c1f6e674a98
|
||||
6b5c42444595a81b5f6fea859d97999895917bcc2f85a505488ea5c2f4efa01a
|
||||
62999058bfb609d95d53bd519c6de99620d025b3bfbc54d8679a87b10474ccbb
|
||||
f9b126323757c62da23aab163e2ce5257d137e86be7c37dea13bb0585e1ace3f
|
||||
d7e6454c9cc80c84a654f94283fc06b2df33c5c7fd2d3bff269c3cbdeb0b39e7
|
||||
091cda49489d15f33916263fc78fbf8dcd4e6547012dc7e1a8496a38ab192315
|
||||
cbd5a88e2188ef39ef438c9859dbd7a9b9e2a99c23a823ec310f7f84a012cc82
|
||||
b901507d2901c882f98f6ef5db07dbf74636fba6a1f616c5f094954106791667
|
||||
f40cc264d037b0c71ecb4a8bb6def8b3ec04b647d8da7fd44d0daa558bfa31b1
|
||||
2b980c0eda1572423dd56260b32d748288028fdd45266311c4ab448fcbce5814
|
||||
99bfcda3e0c471f63b36cd0db7dea596e59a2219c9275c3ba51e59973555c101
|
||||
b1eeeb2958d0a4e2ba16fb55a98ca4ca8e69fee8b0be8162ff599ba19d0b2404
|
||||
2681e59f2a9333259a2de42f3deed46aa7dd84b638e6927f40db0409adff143b
|
||||
ada287d7b64183df906215fe4ca86c3b6fe30dc5121e9a83113c3265ca7fc5ae
|
||||
75f73362421a23eb955212f7aa19c9a3efdc80a4c6761445869148bfd2a6dc62
|
||||
f36af3d5ca9f8ff6e606485fe5db835f96b42e7d2380ac5d61af6b41827834fd
|
||||
5c515310df83c9b40e557027e49de6df70e33a9bbabeaf1301ca9e8c13558948
|
||||
7a98e25e0c61dda48cbdb241f0f53c3dfaa7ef574b81799ab2ddac50da6db4fb
|
||||
fe4657ca3455585a06eb3d02b4a0472fda8ca06efe587be75e175662dc6329d7
|
||||
7862b10c1ff7e02b41c7a50eec7fccd2c30b8162d965fa1ae00510c6d1210762
|
||||
a113254882eac70168aec00544805e7c9cec20527217b98349ed48f6e2d2611e"
|
||||
|
||||
pre_configure() {
|
||||
cd ${wrksrc}
|
||||
./autogen.sh
|
||||
}
|
||||
post_install() {
|
||||
# Rename binary to avoid conflict with tesseract package
|
||||
mv ${DESTDIR}/usr/bin/tesseract{,-ocr}
|
||||
mv ${DESTDIR}/usr/share/man/man1/tesseract{,-ocr}.1
|
||||
vdoc ChangeLog
|
||||
vdoc README
|
||||
vdoc eurotext.tif
|
||||
vdoc phototest.tif
|
||||
}
|
||||
tesseract-ocr-tools_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Tools (development)"
|
||||
pkg_install() {
|
||||
local f
|
||||
vmkdir usr/share/tesseract
|
||||
vmkdir usr/share/man/man1
|
||||
vmkdir usr/share/man/man5
|
||||
for f in ambiguous_words classifier_tester cntraining combine_tessdata \
|
||||
dawg2wordlist mftraining shapeclustering unicharambigs unicharset \
|
||||
unicharset_extractor wordlist2dawg; do
|
||||
if [ -e ${DESTDIR}/usr/bin/${f} ]; then
|
||||
mv ${DESTDIR}/usr/bin/$f \
|
||||
${PKGDESTDIR}/usr/share/tesseract
|
||||
fi
|
||||
for n in 1 5; do
|
||||
if [ -e ${DESTDIR}/usr/share/man/man${n}/${f}.${n} ]; then
|
||||
mv ${DESTDIR}/usr/share/man/man${n}/${f}.${n} \
|
||||
${PKGDESTDIR}/usr/share/man/man${n}
|
||||
fi
|
||||
done
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-devel_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Development files"
|
||||
pkg_install() {
|
||||
vmove usr/include/tesseract
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
||||
tesseract-ocr-basic_package() {
|
||||
local lang
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
conflics="tesseract-ocr-all>=0"
|
||||
short_desc+=" - Basic languages data"
|
||||
# A number of basic (mostly European) languages
|
||||
for lang in bel dan deu eng equ fin fra hun ita nld nor pol por rus spa swe tur; do
|
||||
depends+=" tesseract-ocr-${lang}>=${version}_${revision}"
|
||||
done
|
||||
}
|
||||
tesseract-ocr-all_package() {
|
||||
local lang
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
conflics="tesseract-ocr-basic>=0"
|
||||
short_desc+=" - All languages data"
|
||||
# All available languages
|
||||
for lang in afr ara aze bel ben bul cat ces chi_sim chi_tra \
|
||||
chr dan deu ell eng enm epo epo_alt equ est eus frk \
|
||||
fin fra frm glg grc heb hin hrv hun ind isl ita ita_old \
|
||||
jpn kan kor lav lit mal mkd mlt msa nld nor pol por \
|
||||
ron rus slk slv spa spa_old sqi srp swa swe tam tel \
|
||||
tgl tha tur ukr vie; do
|
||||
depends+=" tesseract-ocr-${lang}>=${version}_${revision}"
|
||||
done
|
||||
}
|
||||
tesseract-ocr-afr_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Afrikaans language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-ara_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Arabic language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-aze_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Azerbaijani language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-bel_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Belarusian language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-ben_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Bengali language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-bul_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Bulgarian language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-cat_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Catalan language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-ces_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Czech language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-chi_sim_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Chinese (Simplified) language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-chi_tra_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Chinese (Traditional) language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-chr_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Cherokee language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-dan_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Danish language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-deu_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - German language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-ell_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Greek language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-eng_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - English language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-enm_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Middle English (1100-1500) language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-epo_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Esperanto language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-epo_alt_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Esperanto alternative language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-equ_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Math / equation detection module"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-est_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Estonian language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-eus_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Basque language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-fin_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Finnish language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-fra_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - French language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-frk_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Frankish language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-frm_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Middle French (ca. 1400-1600) language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-glg_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Galician language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-grc_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Ancient Greek Language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-heb_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Hebrew language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-hin_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Hindi language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-hrv_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Croatian language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-hun_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Hungarian language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-ind_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Indonesian language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-isl_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Icelandic language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-ita_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Italian language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-ita_old_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Italian (Old) language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-jpn_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Japanese language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-kan_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Kannada language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-kor_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Korean language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-lav_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Latvian language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-lit_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Lithuanian language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-mal_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Malayalam language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-mkd_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Macedonian language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-mlt_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Maltese language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-msa_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Malay language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-nld_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Dutch language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-nor_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Norwegian language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-pol_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Polish language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-por_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Portuguese language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-ron_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Romanian language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-rus_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Russian Language Data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-slk_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Slovakian language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-slv_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Slovenian language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-spa_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Spanish language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-spa_old_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Spanish (Old) language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-sqi_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Albanian language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-srp_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Serbian (Latin) language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-swa_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Swahili language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-swe_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Swedish language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-tam_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Tamil language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-tel_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Telugu language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-tgl_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Tagalog language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-tha_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Thai language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-tur_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Turkish language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-ukr_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Ukrainian language data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
||||
tesseract-ocr-vie_package() {
|
||||
depends="tesseract-ocr>=${version}_${revision}"
|
||||
short_desc+=" - Vietnamese Language Data"
|
||||
pkg_install() {
|
||||
local f lang=${pkgname#tesseract-ocr-}
|
||||
vmkdir usr/share/tessdata
|
||||
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" -o -name "${lang}-frak.*"); do
|
||||
vinstall $f 644 usr/share/tessdata
|
||||
rm $f
|
||||
done
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue