diff --git a/app-text/OCRmyPDF/Manifest b/app-text/OCRmyPDF/Manifest new file mode 100644 index 0000000..8d55627 --- /dev/null +++ b/app-text/OCRmyPDF/Manifest @@ -0,0 +1 @@ +DIST OCRmyPDF-9.7.1.tar.gz 7859317 BLAKE2B 07e26663baf5dec3d696758e9b83df47d2804226cb87e3ec00ae3a3e4dcf47280be43b5d8edb48f0b5994da22fc25d5d05711c14c1a9deb04286d8b4cd2870d3 SHA512 d074da904f437c08ff23ee71d2ac6a4ba8452ca7e4b6577c9aeb5cd6f059cdb63dc977501f4e595a6bee27be8de2f5ba04dba64565c01cf4298524e80f40671d diff --git a/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild b/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild new file mode 100644 index 0000000..77bd875 --- /dev/null +++ b/app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit bash-completion-r1 distutils-r1 + +DESCRIPTION="OCRmyPDF adds an OCR text layer to scanned PDF files" +HOMEPAGE="https://github.com/jbarlow83/OCRmyPDF" +MY_GITHUB_AUTHOR="jbarlow83" +SRC_URI="https://github.com/${MY_GITHUB_AUTHOR}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="jbig2enc" + +DEPEND="" +RDEPEND=" + ${DEPEND} + app-text/ghostscript-gpl + app-text/tesseract + app-text/unpaper + dev-python/pdfminer-six[${PYTHON_USEDEP}] + dev-python/pikepdf[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/reportlab[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + media-gfx/img2pdf + media-gfx/pngquant + media-libs/leptonica + virtual/python-cffi[${PYTHON_USEDEP}] + jbig2enc? ( media-libs/jbig2enc ) +" +BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" diff --git a/app-text/OCRmyPDF/metadata.xml b/app-text/OCRmyPDF/metadata.xml new file mode 100644 index 0000000..c95868c --- /dev/null +++ b/app-text/OCRmyPDF/metadata.xml @@ -0,0 +1,13 @@ + + + + + alarig@swordarmor.fr + Alarig Le Lay + + + + Uses media-libs/jbig2enc for better compression algorithm + + +