media-gfx/gscan2pdf: version bump to 1.8.10
authorChris Mayo <aklhfex@gmail.com>
Wed, 29 Nov 2017 20:27:23 +0000 (20:27 +0000)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 29 Nov 2017 23:19:20 +0000 (00:19 +0100)
Package-Manager: Portage-2.3.14, Repoman-2.3.6

media-gfx/gscan2pdf/Manifest
media-gfx/gscan2pdf/gscan2pdf-1.8.10.ebuild [new file with mode: 0644]

index 9a504e54ae80302ab8e0e03d973c89aed3937100..01db31587fbed17bdd82d0d77a456d9bf24a8c17 100644 (file)
@@ -1,2 +1,3 @@
+DIST gscan2pdf-1.8.10.tar.xz 406128 BLAKE2B 328c05f377e12742bbf8ebf92f327afddc4556533e4f7500b237d968fa07b6505f0a3be2c02f42318740e9d185611c094cf96c66804af02197097eebd16b880c SHA512 334979b10238d510da8c5807290920b50e3a06ddda99dad41ced96d33e1ca8467cafe1f3112fb81b6705f80bc232eb6f041d588a57e04d5eecd09a201f007a49
 DIST gscan2pdf-1.8.8.tar.xz 404456 BLAKE2B 23e81ad9d46867863f7cf14e0350cce568d9f9e7a57fd8eb9a4b1a56a112d72008adacf7cc4514c6d93dd6b225684d57494a5baa295c8f84a927de7bd208d722 SHA512 331821c0f9d7365866b7ba6bdbcd29d03b69516e44f95d186296a9a105887924c747fd1c89740bd708f04d5d67a65481b972d57fef09d8bee16dfe1b2655b9e3
 DIST gscan2pdf-1.8.9.tar.xz 405780 BLAKE2B 2b0b818f314064e03ecd6b1eed988f9d45808a7142c00d190dba552ac87f06da74aacb47341ce749a9e1c916cf607eafd4f1d412a6a239a07426e57c16e62dc9 SHA512 a9042b2a184b03bb7a53d5fa56abc93e873c6e675350db4094e38c04e3f7e784eb6f0369a950f598b052474e8cbaea007af10849a2cee18cdb18d90605d4d90a
diff --git a/media-gfx/gscan2pdf/gscan2pdf-1.8.10.ebuild b/media-gfx/gscan2pdf/gscan2pdf-1.8.10.ebuild
new file mode 100644 (file)
index 0000000..00f29f3
--- /dev/null
@@ -0,0 +1,63 @@
+# Copyright 1999-2017 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
+}