app-text/OCRmyPDF: New ebuild
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
parent
f6c6467fec
commit
2d56068fc7
1
app-text/OCRmyPDF/Manifest
Normal file
1
app-text/OCRmyPDF/Manifest
Normal file
|
@ -0,0 +1 @@
|
||||||
|
DIST OCRmyPDF-9.7.1.tar.gz 7859317 BLAKE2B 07e26663baf5dec3d696758e9b83df47d2804226cb87e3ec00ae3a3e4dcf47280be43b5d8edb48f0b5994da22fc25d5d05711c14c1a9deb04286d8b4cd2870d3 SHA512 d074da904f437c08ff23ee71d2ac6a4ba8452ca7e4b6577c9aeb5cd6f059cdb63dc977501f4e595a6bee27be8de2f5ba04dba64565c01cf4298524e80f40671d
|
35
app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild
Normal file
35
app-text/OCRmyPDF/OCRmyPDF-9.7.1.ebuild
Normal file
|
@ -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}]"
|
13
app-text/OCRmyPDF/metadata.xml
Normal file
13
app-text/OCRmyPDF/metadata.xml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>alarig@swordarmor.fr</email>
|
||||||
|
<name>Alarig Le Lay</name>
|
||||||
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="jbig2enc">
|
||||||
|
Uses <pkg>media-libs/jbig2enc</pkg> for better compression algorithm
|
||||||
|
</flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
Loading…
Reference in a new issue