pkgbase = tesseract
	pkgdesc = An OCR program
	pkgver = 5.4.1
	pkgrel = 1.1
	url = https://github.com/tesseract-ocr/tesseract
	arch = x86_64
	arch = powerpc64le
	arch = powerpc64
	arch = powerpc
	arch = riscv64
	license = APACHE
	makedepends = icu
	makedepends = pango
	makedepends = asciidoc
	depends = gcc-libs
	depends = curl
	depends = libarchive
	depends = leptonica
	optdepends = icu: for text2image
	optdepends = pango: for text2image
	optdepends = tesseract-data-afr: OCR data (afr)
	optdepends = tesseract-data-amh: OCR data (amh)
	optdepends = tesseract-data-ara: OCR data (ara)
	optdepends = tesseract-data-asm: OCR data (asm)
	optdepends = tesseract-data-aze: OCR data (aze)
	optdepends = tesseract-data-aze_cyrl: OCR data (aze_cyrl)
	optdepends = tesseract-data-bel: OCR data (bel)
	optdepends = tesseract-data-ben: OCR data (ben)
	optdepends = tesseract-data-bod: OCR data (bod)
	optdepends = tesseract-data-bos: OCR data (bos)
	optdepends = tesseract-data-bre: OCR data (bre)
	optdepends = tesseract-data-bul: OCR data (bul)
	optdepends = tesseract-data-cat: OCR data (cat)
	optdepends = tesseract-data-ceb: OCR data (ceb)
	optdepends = tesseract-data-ces: OCR data (ces)
	optdepends = tesseract-data-chi_sim: OCR data (chi_sim)
	optdepends = tesseract-data-chi_tra: OCR data (chi_tra)
	optdepends = tesseract-data-chr: OCR data (chr)
	optdepends = tesseract-data-cos: OCR data (cos)
	optdepends = tesseract-data-cym: OCR data (cym)
	optdepends = tesseract-data-dan: OCR data (dan)
	optdepends = tesseract-data-dan_frak: OCR data (dan_frak)
	optdepends = tesseract-data-deu: OCR data (deu)
	optdepends = tesseract-data-deu_frak: OCR data (deu_frak)
	optdepends = tesseract-data-div: OCR data (div)
	optdepends = tesseract-data-dzo: OCR data (dzo)
	optdepends = tesseract-data-ell: OCR data (ell)
	optdepends = tesseract-data-eng: OCR data (eng)
	optdepends = tesseract-data-enm: OCR data (enm)
	optdepends = tesseract-data-epo: OCR data (epo)
	optdepends = tesseract-data-equ: OCR data (equ)
	optdepends = tesseract-data-est: OCR data (est)
	optdepends = tesseract-data-eus: OCR data (eus)
	optdepends = tesseract-data-fao: OCR data (fao)
	optdepends = tesseract-data-fas: OCR data (fas)
	optdepends = tesseract-data-fil: OCR data (fil)
	optdepends = tesseract-data-fin: OCR data (fin)
	optdepends = tesseract-data-fra: OCR data (fra)
	optdepends = tesseract-data-frk: OCR data (frk)
	optdepends = tesseract-data-frm: OCR data (frm)
	optdepends = tesseract-data-fry: OCR data (fry)
	optdepends = tesseract-data-gla: OCR data (gla)
	optdepends = tesseract-data-gle: OCR data (gle)
	optdepends = tesseract-data-glg: OCR data (glg)
	optdepends = tesseract-data-grc: OCR data (grc)
	optdepends = tesseract-data-guj: OCR data (guj)
	optdepends = tesseract-data-hat: OCR data (hat)
	optdepends = tesseract-data-heb: OCR data (heb)
	optdepends = tesseract-data-hin: OCR data (hin)
	optdepends = tesseract-data-hrv: OCR data (hrv)
	optdepends = tesseract-data-hun: OCR data (hun)
	optdepends = tesseract-data-hye: OCR data (hye)
	optdepends = tesseract-data-iku: OCR data (iku)
	optdepends = tesseract-data-ind: OCR data (ind)
	optdepends = tesseract-data-isl: OCR data (isl)
	optdepends = tesseract-data-ita: OCR data (ita)
	optdepends = tesseract-data-ita_old: OCR data (ita_old)
	optdepends = tesseract-data-jav: OCR data (jav)
	optdepends = tesseract-data-jpn: OCR data (jpn)
	optdepends = tesseract-data-jpn_vert: OCR data (jpn_vert)
	optdepends = tesseract-data-kan: OCR data (kan)
	optdepends = tesseract-data-kat: OCR data (kat)
	optdepends = tesseract-data-kat_old: OCR data (kat_old)
	optdepends = tesseract-data-kaz: OCR data (kaz)
	optdepends = tesseract-data-khm: OCR data (khm)
	optdepends = tesseract-data-kir: OCR data (kir)
	optdepends = tesseract-data-kmr: OCR data (kmr)
	optdepends = tesseract-data-kor: OCR data (kor)
	optdepends = tesseract-data-kor_vert: OCR data (kor_vert)
	optdepends = tesseract-data-lao: OCR data (lao)
	optdepends = tesseract-data-lat: OCR data (lat)
	optdepends = tesseract-data-lav: OCR data (lav)
	optdepends = tesseract-data-lit: OCR data (lit)
	optdepends = tesseract-data-ltz: OCR data (ltz)
	optdepends = tesseract-data-mal: OCR data (mal)
	optdepends = tesseract-data-mar: OCR data (mar)
	optdepends = tesseract-data-mkd: OCR data (mkd)
	optdepends = tesseract-data-mlt: OCR data (mlt)
	optdepends = tesseract-data-mon: OCR data (mon)
	optdepends = tesseract-data-mri: OCR data (mri)
	optdepends = tesseract-data-msa: OCR data (msa)
	optdepends = tesseract-data-mya: OCR data (mya)
	optdepends = tesseract-data-nep: OCR data (nep)
	optdepends = tesseract-data-nld: OCR data (nld)
	optdepends = tesseract-data-nor: OCR data (nor)
	optdepends = tesseract-data-oci: OCR data (oci)
	optdepends = tesseract-data-ori: OCR data (ori)
	optdepends = tesseract-data-pan: OCR data (pan)
	optdepends = tesseract-data-pol: OCR data (pol)
	optdepends = tesseract-data-por: OCR data (por)
	optdepends = tesseract-data-pus: OCR data (pus)
	optdepends = tesseract-data-que: OCR data (que)
	optdepends = tesseract-data-ron: OCR data (ron)
	optdepends = tesseract-data-rus: OCR data (rus)
	optdepends = tesseract-data-san: OCR data (san)
	optdepends = tesseract-data-sin: OCR data (sin)
	optdepends = tesseract-data-slk: OCR data (slk)
	optdepends = tesseract-data-slk_frak: OCR data (slk_frak)
	optdepends = tesseract-data-slv: OCR data (slv)
	optdepends = tesseract-data-snd: OCR data (snd)
	optdepends = tesseract-data-spa: OCR data (spa)
	optdepends = tesseract-data-spa_old: OCR data (spa_old)
	optdepends = tesseract-data-sqi: OCR data (sqi)
	optdepends = tesseract-data-srp: OCR data (srp)
	optdepends = tesseract-data-srp_latn: OCR data (srp_latn)
	optdepends = tesseract-data-sun: OCR data (sun)
	optdepends = tesseract-data-swa: OCR data (swa)
	optdepends = tesseract-data-swe: OCR data (swe)
	optdepends = tesseract-data-syr: OCR data (syr)
	optdepends = tesseract-data-tam: OCR data (tam)
	optdepends = tesseract-data-tat: OCR data (tat)
	optdepends = tesseract-data-tel: OCR data (tel)
	optdepends = tesseract-data-tgk: OCR data (tgk)
	optdepends = tesseract-data-tgl: OCR data (tgl)
	optdepends = tesseract-data-tha: OCR data (tha)
	optdepends = tesseract-data-tir: OCR data (tir)
	optdepends = tesseract-data-ton: OCR data (ton)
	optdepends = tesseract-data-tur: OCR data (tur)
	optdepends = tesseract-data-uig: OCR data (uig)
	optdepends = tesseract-data-ukr: OCR data (ukr)
	optdepends = tesseract-data-urd: OCR data (urd)
	optdepends = tesseract-data-uzb: OCR data (uzb)
	optdepends = tesseract-data-uzb_cyrl: OCR data (uzb_cyrl)
	optdepends = tesseract-data-vie: OCR data (vie)
	optdepends = tesseract-data-yid: OCR data (yid)
	optdepends = tesseract-data-yor: OCR data (yor)
	provides = libtesseract.so
	source = https://github.com/tesseract-ocr/tesseract/archive/5.4.1/tesseract-5.4.1.tar.gz
	sha256sums = c4bc2a81c12a472f445b7c2fb4705a08bd643ef467f51ec84f0e148bd368051b

pkgname = tesseract
	depends = gcc-libs
	depends = curl
	depends = libarchive
	depends = leptonica
	depends = tessdata
	depends = tesseract-data-osd
