-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Expand file tree
/
Copy pathtemplate
More file actions
23 lines (22 loc) · 1.15 KB
/
Copy pathtemplate
File metadata and controls
23 lines (22 loc) · 1.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Template file for 'python3-ocrmypdf'
pkgname=python3-ocrmypdf
version=17.5.0
revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-vcs"
depends="python3-deprecation img2pdf python3-packaging python3-pdfminer.six
python3-pikepdf python3-Pillow python3-pluggy python3-reportlab python3-rich
python3-pillow_heif tesseract-ocr ghostscript unpaper pngquant jbig2enc qpdf
python3-fpdf2 python3-pydantic python3-uharfbuzz"
short_desc="Add OCR text layer to scanned PDF files"
maintainer="Mateusz Sylwestrzak <slymattz@gmail.com>"
license="MPL-2.0"
homepage="https://github.com/ocrmypdf/OCRmyPDF"
changelog="https://raw.githubusercontent.com/ocrmypdf/OCRmyPDF/main/docs/releasenotes/version${version%%.*}.md"
distfiles="${PYPI_SITE}/o/ocrmypdf/ocrmypdf-${version}.tar.gz"
checksum=b4865cd5578614b69e759862035d66fa0a31c20bdad35dfa03b9322751f8d552
noverifypydeps=yes # pypdfium2 and pdfium remain unpackaged, so let ocrmypdf fall back to Ghostscript (see https://ocrmypdf.readthedocs.io/en/latest/cookbook.html#select-a-rasterizer).
post_install() {
vcompletion misc/completion/ocrmypdf.bash bash ocrmypdf
vcompletion misc/completion/ocrmypdf.fish fish ocrmypdf
}