blob: 3b5032f06d8fdb177161b9e91dd2f8297e7fd8b6 [file] [log] [blame]
Andrew Geisslerd688a012020-09-18 13:36:00 -05001SUMMARY = "A commercial quality OCR engine "
2HOMEPAGE = "https://github.com/tesseract-ocr/tesseract"
3BUGTRACKER = "https://github.com/tesseract-ocr/tesseract/issues"
4
5LICENSE = "Apache-2.0"
6LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
7
8BRANCH = "4.1"
9SRCREV = "f4ef2f2050f4c25b28bdbf0063b7d2eb30f41cf7"
10SRC_URI = "git://github.com/${BPN}-ocr/${BPN}.git;branch=${BRANCH} \
11 file://0001-include-sys-time.h.patch \
12 "
13
14S = "${WORKDIR}/git"
15
16DEPENDS = "leptonica"
17
18EXTRA_OECONF += "LIBLEPT_HEADERSDIR=${STAGING_INCDIR}/leptonica"
19
20inherit autotools pkgconfig
21
22FILES_${PN} += "${datadir}/tessdata"
23
24RRECOMMENDS_${PN} += "tesseract-lang-eng"