diff options
-rw-r--r-- | app-text/OCRmyPDF/OCRmyPDF-14.0.1-r2.ebuild (renamed from app-text/OCRmyPDF/OCRmyPDF-14.0.1-r1.ebuild) | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r1.ebuild b/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r2.ebuild index dadc4dfa5..c15e0a32d 100644 --- a/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r1.ebuild +++ b/app-text/OCRmyPDF/OCRmyPDF-14.0.1-r2.ebuild @@ -15,11 +15,12 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="CC-BY-SA-2.5 CC-BY-SA-4.0 MIT MPL-2.0 ZLIB" SLOT="0" KEYWORDS="~amd64" +IUSE="jpeg png webp" RDEPEND=" >=app-text/ghostscript-gpl-9.50 >=app-text/pdfminer-20201018[${PYTHON_USEDEP}] - >=app-text/tesseract-4.1.1 + >=app-text/tesseract-4.1.1[jpeg?,tiff,png?,webp?] >=dev-python/coloredlogs-14.0[${PYTHON_USEDEP}] >=dev-python/deprecation-2.1.0[${PYTHON_USEDEP}] >=dev-python/packaging-20[${PYTHON_USEDEP}] @@ -64,6 +65,6 @@ src_install() { pkg_postinst() { optfeature "JBIG2 optimization support" media-libs/jbig2enc - optfeature "PNG optimization support" media-gfx/pngquant optfeature "image cleaning support" app-text/unpaper + use png && optfeature "PNG optimization support" media-gfx/pngquant } |