Patrick Williams | ac13d5f | 2023-11-24 18:59:46 -0600 | [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 | SRCREV = "e082522c248d3121e466959a8ba4fd4f7ad1a525" |
| 9 | SRC_URI = "git://github.com/${BPN}-ocr/${BPN}.git;branch=main;protocol=https" |
| 10 | |
| 11 | S = "${WORKDIR}/git" |
| 12 | |
| 13 | DEPENDS = "leptonica" |
| 14 | |
| 15 | EXTRA_OECONF += "LIBLEPT_HEADERSDIR=${STAGING_INCDIR}/leptonica" |
| 16 | |
| 17 | inherit autotools pkgconfig |
| 18 | |
| 19 | FILES:${PN} += "${datadir}/tessdata" |
| 20 | |
| 21 | RRECOMMENDS:${PN} += "tesseract-lang-eng" |