Files
yoctor-layers/meta-openembedded/meta-oe/recipes-graphics/tesseract/tesseract_5.3.0.bb
2024-07-11 14:16:35 +02:00

23 lines
689 B
BlitzBasic

SUMMARY = "A commercial quality OCR engine "
HOMEPAGE = "https://github.com/tesseract-ocr/tesseract"
BUGTRACKER = "https://github.com/tesseract-ocr/tesseract/issues"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
SRCREV = "080da83cc51c4ef8b324a7e03146fe0bd7e0944b"
SRC_URI = "git://github.com/${BPN}-ocr/${BPN}.git;branch=main;protocol=https \
file://0001-Fix-build-with-gcc-13-by-including-cstdint.patch"
S = "${WORKDIR}/git"
DEPENDS = "leptonica"
EXTRA_OECONF += "LIBLEPT_HEADERSDIR=${STAGING_INCDIR}/leptonica"
inherit autotools pkgconfig
FILES:${PN} += "${datadir}/tessdata"
RRECOMMENDS:${PN} += "tesseract-lang-eng"