Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 1 | SUMMARY = "A commercial quality OCR engine " |
| 2 | |
| 3 | LICENSE = "Apache-2.0" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=7ea4f9a43aba9d3c849fe5c203a0ed40" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 5 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 6 | BRANCH = "3.05" |
| 7 | PV = "${BRANCH}.01+git${SRCPV}" |
| 8 | SRCREV = "215866151e774972c9502282111b998d7a053562" |
| 9 | SRC_URI = "git://github.com/${BPN}-ocr/${BPN}.git;branch=${BRANCH}" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 10 | S = "${WORKDIR}/git" |
| 11 | |
| 12 | DEPENDS = "leptonica" |
| 13 | |
| 14 | EXTRA_OECONF += "LIBLEPT_HEADERSDIR=${STAGING_INCDIR}/leptonica" |
| 15 | |
| 16 | |
| 17 | inherit autotools pkgconfig |
| 18 | |
| 19 | FILES_${PN} += "${datadir}/tessdata" |
| 20 | |
| 21 | RRECOMMENDS_${PN} += "tesseract-lang-eng" |