summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Mayo <aklhfex@gmail.com>2018-01-28 19:15:42 +0000
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-29 00:19:00 +0100
commit768bdebc9dda4867a9543257a84bdeec4529ca9b (patch)
treefd58915e6f545d1f05f046b2d5c5ef21a1f12966 /media-gfx/gscan2pdf/gscan2pdf-1.8.11.ebuild
parentkde-apps/cantor: Drop 16.12.3 (diff)
downloadgentoo-768bdebc9dda4867a9543257a84bdeec4529ca9b.tar.gz
gentoo-768bdebc9dda4867a9543257a84bdeec4529ca9b.tar.bz2
gentoo-768bdebc9dda4867a9543257a84bdeec4529ca9b.zip
media-gfx/gscan2pdf: version bump to 1.8.11
Closes: https://github.com/gentoo/gentoo/pull/6991 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'media-gfx/gscan2pdf/gscan2pdf-1.8.11.ebuild')
-rw-r--r--media-gfx/gscan2pdf/gscan2pdf-1.8.11.ebuild63
1 files changed, 63 insertions, 0 deletions
diff --git a/media-gfx/gscan2pdf/gscan2pdf-1.8.11.ebuild b/media-gfx/gscan2pdf/gscan2pdf-1.8.11.ebuild
new file mode 100644
index 000000000000..96b14c3454ad
--- /dev/null
+++ b/media-gfx/gscan2pdf/gscan2pdf-1.8.11.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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
+# and others on Wayland and the console
+RESTRICT="test"
+
+RDEPEND="
+ dev-perl/Config-General
+ dev-perl/Date-Calc
+ dev-perl/Data-UUID
+ dev-perl/Filesys-Df
+ dev-perl/glib-perl
+ dev-perl/Goo-Canvas
+ dev-perl/Gtk2-Ex-PodViewer
+ dev-perl/Gtk2-Ex-Simple-List
+ dev-perl/Gtk2-ImageView
+ dev-perl/Gtk2
+ dev-perl/HTML-Parser
+ dev-perl/Image-Sane
+ dev-perl/Locale-gettext
+ dev-perl/List-MoreUtils
+ 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/gtkimageview
+ 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
+}