summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Mayo <aklhfex@gmail.com>2019-03-25 19:41:25 +0000
committerPatrice Clement <monsieurp@gentoo.org>2019-03-26 17:45:12 +0100
commitaf88a72421b00b00b0508f301d040e0d0c41893f (patch)
tree3ec9e70302b50b61ca03ec98eb06bc9e973a6dbb /media-gfx/gscan2pdf
parentgames-util/nml: add Python3.7 support. (diff)
downloadgentoo-af88a72421b00b00b0508f301d040e0d0c41893f.tar.gz
gentoo-af88a72421b00b00b0508f301d040e0d0c41893f.tar.bz2
gentoo-af88a72421b00b00b0508f301d040e0d0c41893f.zip
media-gfx/gscan2pdf: version bump to 2.5.1.
Signed-off-by: Chris Mayo <aklhfex@gmail.com> Package-Manager: Portage-2.3.62, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/11505 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'media-gfx/gscan2pdf')
-rw-r--r--media-gfx/gscan2pdf/Manifest1
-rw-r--r--media-gfx/gscan2pdf/gscan2pdf-2.5.1.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/media-gfx/gscan2pdf/Manifest b/media-gfx/gscan2pdf/Manifest
index 6082e35125c9..a8fc0311b442 100644
--- a/media-gfx/gscan2pdf/Manifest
+++ b/media-gfx/gscan2pdf/Manifest
@@ -1,3 +1,4 @@
DIST gscan2pdf-1.8.11.tar.xz 409212 BLAKE2B 37cb716f13818eaffc39c210b810b845368cc5e323569e8f9d5603b5b412c4182520798321358e4c21339fdbd5f15026a0acd6421a49e7db79ecca86633c3ab0 SHA512 1ea09b8768771be4a1700cb8a6523d5f74fcbf0ebe459d97796032b56f896fd0c50e5ca1ed4c96aedef7e61f6952a92986153cc70173dd5ad91ccfb72461c565
DIST gscan2pdf-2.3.0.tar.xz 432604 BLAKE2B e411e3a58f6c1a9e9c6df7057711377a70676d7ab718d5e4a19ea2690a26bda0b99def3cc04099bd0392bef0060b6d60328cf36450bd18d7c64100d553a4c627 SHA512 c9f08ce9c4f9c14c78d0b821d8c4381eccdc5a741a4b54e817dab33e67b7eeb705d48a02109c97913149b4839a713340aa6947a548eef3acd6a7bcabfa4116e1
DIST gscan2pdf-2.4.0.tar.xz 437096 BLAKE2B 947c1d3c4c726254ba61be4f7a34ae867d0af9b6ebf53e4594aeb908dfda43ff1e85791641b42e9e13b978a56cfe523a6fa23566e14ad130278d05e7836d34d8 SHA512 90ec9d8cc56a2fe9d7a77c928f548c87a81bdfb62f1caa491b32a42600c5677974ec613b0bf384bd806953a9a5d29ccf3077df7c0b3dd73d06866003c3a01791
+DIST gscan2pdf-2.5.1.tar.xz 440484 BLAKE2B 375434ee633f895da29d69672faa6da5247e6f45e25b7fe1111394c03c2a6a6e482973365733a7d123c2a94ef40d2d7ce8666b5c632a6465f31ef09f237100fa SHA512 677f9081fb4f6ecd064f965399be20802e10f470d40ef00da5afd6de37ed9914c856fe01e28daedf900e8c8bd75a798f1579a7970509fc789382bbe2b1923804
diff --git a/media-gfx/gscan2pdf/gscan2pdf-2.5.1.ebuild b/media-gfx/gscan2pdf/gscan2pdf-2.5.1.ebuild
new file mode 100644
index 000000000000..d19c0627489d
--- /dev/null
+++ b/media-gfx/gscan2pdf/gscan2pdf-2.5.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils perl-module
+
+DESCRIPTION="Scan documents, perform OCR, produce PDFs and DjVus"
+HOMEPAGE="http://gscan2pdf.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# OCR tests fail with tesseract[opencl], not fixed by addpredict
+RESTRICT="test"
+
+RDEPEND="
+ dev-perl/Config-General
+ dev-perl/Data-UUID
+ dev-perl/Date-Calc
+ dev-perl/Filesys-Df
+ dev-perl/glib-perl
+ dev-perl/GooCanvas2
+ dev-perl/Gtk3
+ dev-perl/Gtk3-SimpleList
+ dev-perl/HTML-Parser
+ dev-perl/Image-Sane
+ dev-perl/List-MoreUtils
+ dev-perl/Locale-gettext
+ dev-perl/Log-Log4perl
+ dev-perl/PDF-API2
+ dev-perl/Proc-ProcessTable
+ dev-perl/Readonly
+ dev-perl/Set-IntSpan
+ dev-perl/Try-Tiny
+ virtual/perl-Archive-Tar
+ virtual/perl-Carp
+ virtual/perl-Data-Dumper
+ virtual/perl-File-Temp
+ virtual/perl-Getopt-Long
+ virtual/perl-threads
+ virtual/perl-threads-shared
+ media-gfx/imagemagick[png,tiff,perl]
+ media-gfx/sane-backends
+ media-libs/tiff"
+
+mydoc="History"
+
+pkg_postinst() {
+ optfeature "DjVu file support" "app-text/djvu[tiff] media-gfx/imagemagick[djvu]"
+ optfeature "creating PostScript files from PDFs" app-text/poppler[utils]
+ optfeature "adding to an existing PDF" app-text/poppler[utils]
+ optfeature "Optical Character Recognition" app-text/tesseract[osd,tiff]
+ optfeature "scan post-processing" app-text/unpaper
+ optfeature "automatic document feeder support" media-gfx/sane-frontends
+ optfeature "sending PDFs as email attachments" x11-misc/xdg-utils
+}