summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Mayo <aklhfex@gmail.com>2017-08-22 20:00:05 +0100
committerPatrice Clement <monsieurp@gentoo.org>2017-08-27 08:54:27 +0200
commite709a4b83ad745e60767a161b70b82270e3e4d15 (patch)
tree8a57afc54ca538e3b8f9e6e79bd313610a67c89a /media-gfx
parentRevert "dev-ruby/coffee-script-source: cleanup" (diff)
downloadgentoo-e709a4b83ad745e60767a161b70b82270e3e4d15.tar.gz
gentoo-e709a4b83ad745e60767a161b70b82270e3e4d15.tar.bz2
gentoo-e709a4b83ad745e60767a161b70b82270e3e4d15.zip
media-gfx/gscan2pdf: version bump to 1.8.6.
- Use dev-perl/Image-Sane instead of dev-perl/Sane - Note optional PDF to PS support with app-text/ghostscript-gpl Package-Manager: Portage-2.3.6, Repoman-2.3.3 Closes: https://github.com/gentoo/gentoo/pull/5511
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/gscan2pdf/Manifest1
-rw-r--r--media-gfx/gscan2pdf/gscan2pdf-1.8.6.ebuild62
2 files changed, 63 insertions, 0 deletions
diff --git a/media-gfx/gscan2pdf/Manifest b/media-gfx/gscan2pdf/Manifest
index bb239eaf2ab8..e5689c94a5ad 100644
--- a/media-gfx/gscan2pdf/Manifest
+++ b/media-gfx/gscan2pdf/Manifest
@@ -1,2 +1,3 @@
DIST gscan2pdf-1.7.2.tar.xz 393620 SHA256 28cbdecbea19f99a34a29a365077f961f82395c6485cdbf1aa95ad3f942c1984 SHA512 67bb0e15b2b7a354609838a5f2826a2d91b8941c95dc7f286a87cf0ad37bffc94dd7593307251a44c9af8e5267d97bf70cc5da57bb41e0274ee3318abbd933cc WHIRLPOOL 5a6e446c3e9f67950f2b7514f10f22762399eea2cb9302c4de2e69e682204a3df1f4918aa621ce47ea83315ad5f23ce6d004055b1cfb4aa348e8d935404e040a
DIST gscan2pdf-1.8.2.tar.xz 409296 SHA256 d9fcf230e2c24e2a3cec0578e34709b3b2b95e4e5d6f84c177091d652a592896 SHA512 c58615520072591ae3e54196bae01b6b04015be279a5f512bb03340fe051ce75ff85f54bbf357ccefddbf54b11765c2a10afd736697a99aa20b4b8e999aef82f WHIRLPOOL 21e5f125c2a986def6a41a386ec740141038678f52dd70c595e9b6875feaa840e9ad7f1fd35c9d8f41e9906e6e1aa6a32a8da7cbc226d3231bd491f533476b7c
+DIST gscan2pdf-1.8.6.tar.xz 402532 SHA256 0674d9f1decc84b0abfa7849a66d0d50fc508cef2b901a3806addb017c4e4645 SHA512 3d33d0666e452b313a8dca91734188ab268e2fae9f0e259cd2142661a61697302bba5d602ee7395c1ffd7c87e0c52b422f9201a2b70f5211246aed359ff4092c WHIRLPOOL 59ed68feaff638f24add40f1c931ca3bfe476e26edf9c40ce0fd22c21b7a0aa43711c205362506fae0a4b5c4bbab95edfc0c35f9c56e4f70c3c7d3ea80d231a9
diff --git a/media-gfx/gscan2pdf/gscan2pdf-1.8.6.ebuild b/media-gfx/gscan2pdf/gscan2pdf-1.8.6.ebuild
new file mode 100644
index 000000000000..ef4bdc2f70b7
--- /dev/null
+++ b/media-gfx/gscan2pdf/gscan2pdf-1.8.6.ebuild
@@ -0,0 +1,62 @@
+# 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/ghostscript-gpl
+ 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
+}