blob: 6f926796827303270188132c2eb58ff3ac225b4a [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001SUMMARY = "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 = "f38e7a7ba850b668d4505dd4c712238d7ec63ca8"
10SRC_URI = "git://github.com/${BPN}-ocr/${BPN}.git;branch=${BRANCH};protocol=https \
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"