Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [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 = "f38e7a7ba850b668d4505dd4c712238d7ec63ca8" |
| 10 | SRC_URI = "git://github.com/${BPN}-ocr/${BPN}.git;branch=${BRANCH};protocol=https \ |
| 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" |