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