XSPELL=ocrmypdf SPELL=python-$XSPELL VERSION=7.0.0 SOURCE="${XSPELL}-${VERSION}.tar.gz" VX=ef/b2/b9d4d796d485852f583c34d16d20f20be3f5926049e859e1dd1d991205d9 SOURCE_URL[0]=https://files.pythonhosted.org/packages/$VX/$SOURCE SOURCE_HASH=sha512:4b040c48ff7308a63559904d21e43b3fef94cc7ca40cd0a90ad50b17464b5c155a81959a5e95776160790d4e5cdec2a15de469780ae4e8cff09d9563b12d25e7 SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${XSPELL}-${VERSION}" WEB_SITE="https://pypi.org/project/$XSPELL/" LICENSE[0]=GPL ENTERED=20180717 SHORT="OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched or copy-pasted" cat << EOF Please enter a description of the spell here OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched or copy-pasted. Main features: * Generates a searchable PDF/A file from a regular PDF * Places OCR text accurately below the image to ease copy / paste * Keeps the exact resolution of the original embedded images * When possible, inserts OCR information as a “lossless” operation without disrupting any other content * Optimizes PDF images, often producing files smaller than the input file * If requested deskews and/or cleans the image before performing OCR * Validates input and output files * Distributes work across all available CPU cores * Uses Tesseract OCR engine * Supports more than 100 languages recognized by Tesseract * Battle-tested on thousands of PDFs, a test suite and continuous integration EOF