summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Mayo <aklhfex@gmail.com>2019-02-24 20:07:42 +0000
committerAndreas Sturmlechner <asturm@gentoo.org>2019-02-24 23:13:47 +0100
commit11dea85d5167ab90839bdd3f57ec86cc697e647a (patch)
treebfd0824cac1febb33f5d401bf2e5f999348e2e3d /media-gfx/gscan2pdf/gscan2pdf-2.4.0.ebuild
parentmedia-libs/lsp-plugins: cairo needs the X flag (diff)
downloadgentoo-11dea85d5167ab90839bdd3f57ec86cc697e647a.tar.gz
gentoo-11dea85d5167ab90839bdd3f57ec86cc697e647a.tar.bz2
gentoo-11dea85d5167ab90839bdd3f57ec86cc697e647a.zip
media-gfx/gscan2pdf: version bump to 2.4.0
Signed-off-by: Chris Mayo <aklhfex@gmail.com> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/11152 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-gfx/gscan2pdf/gscan2pdf-2.4.0.ebuild')
-rw-r--r--media-gfx/gscan2pdf/gscan2pdf-2.4.0.ebuild59
1 files changed, 59 insertions, 0 deletions
diff --git a/media-gfx/gscan2pdf/gscan2pdf-2.4.0.ebuild b/media-gfx/gscan2pdf/gscan2pdf-2.4.0.ebuild
new file mode 100644
index 000000000000..d19c0627489d
--- /dev/null
+++ b/media-gfx/gscan2pdf/gscan2pdf-2.4.0.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
+}