Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 579638 Details for
Bug 663564
>=app-text/tesseract-4.0.0: add support for light/best data files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
tessdata_legacy-4.0.0.ebuild
tessdata_legacy-4.0.0.ebuild (text/plain), 2.32 KB, created by
Marek Szuba (RETIRED)
on 2019-06-12 16:17:29 UTC
(
hide
)
Description:
tessdata_legacy-4.0.0.ebuild
Filename:
MIME Type:
Creator:
Marek Szuba (RETIRED)
Created:
2019-06-12 16:17:29 UTC
Size:
2.32 KB
patch
obsolete
># Copyright 1999-2019 Gentoo Authors ># Distributed under the terms of the GNU General Public License v2 > >EAPI=7 > >MY_PN=${PN/_legacy/} >URI_PREFIX="https://github.com/tesseract-ocr/${MY_PN}/raw/${PV}/" > >DESCRIPTION="Trained models for app-text/tesseract compatible with the legacy engine" >HOMEPAGE="https://github.com/tesseract-ocr/tessdata" >SRC_URI="${URI_PREFIX}eng.traineddata -> eng.traineddata-${P} > math? ( ${URI_PREFIX}equ.traineddata -> equ.traineddata-${P} ) > osd? ( ${URI_PREFIX}osd.traineddata -> osd.traineddata-${P} )" > >LICENSE="Apache-2.0" >SLOT="0" >KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86" >IUSE="math osd" > >DEPEND="!app-text/tessdata_best > !app-text/tessdata_fast" >RDEPEND="${DEPEND}" > ># List of supported Gentoo linguas and their upstream mapping ># "old" variants were regrouped in the matching modern locale >LANGUAGES="af:afr am:amh ar:ara as:asm az:aze,aze_cyrl be:bel bg:bul bn:ben bo:bod br:bre bs:bos ca:cat ceb chr co:cos cs:ces cy:cym da:dan de:deu,frk dv:div dz:dzo el:ell,grc en:enm eo:epo es:spa,spa_old et:est eu:eus fa:fas fi:fin fil fo:fao fr:fra,frm fy:fry ga:gle gd:gla gl:glg gu:guj he:heb hi:hin hr:hrv ht:hat hu:hun hy:hye id:ind is:isl it:ita,ita_old iu:iku ja:jpn,jpn_vert jv:jav ka:kat,kat_old kk:kaz km:khm kn:kan ko:kor,kor_vert ku:kur,kur_ara ky:kir la:lat lb:ltz lo:lao lt:lit lv:lav mi:mri mk:mkd ml:mal mn:mon mr:mar ms:msa mt:mlt my:mya ne:nep nl:nld no:nor oc:oci or:ori pa:pan pl:pol ps:pus pt:por qu:que ro:ron ru:rus sa:san sd:snd si:sin sk:slk sl:slv sq:sqi sr:srp,srp_latn su:sun sv:swe sw:swa syc:syr ta:tam te:tel tg:tgk th:tha ti:tir tl:tgl to:ton tr:tur tt:tat ug:uig uk:ukr ur:urd uz:uzb,uzb_cyrl vi:vie yi:yid yo:yor zh:chi_sim,chi_sim_vert,chi_tra,chi_tra_vert" ># Fraktur data files (not installed): ># dan_frak - Danish ># deu_frak - German ># slk_frak - Slovak ># l10n_en provides the additional data: ># enm - English, Middle (1100-1500) > >for lang in ${LANGUAGES}; do > gentoo_lang=${lang%:*} > tess_langs=${lang#*:} > for tess_lang in ${tess_langs//,/ }; do > SRC_URI+=" l10n_${gentoo_lang}? ( ${URI_PREFIX}${tess_lang}.traineddata -> ${tess_lang}.traineddata-${P} )" > done > IUSE+=" l10n_${gentoo_lang}" >done > >src_unpack() { > mkdir "${S}" || die > for file in ${A}; do > cp "${DISTDIR}/${file}" "${S}/${file/-${P}/}" || die > done >} > >src_install() { > insinto /usr/share/tessdata > doins *.traineddata >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 663564
: 579638 |
585110
|
585112
|
585114