diff options
Diffstat (limited to 'media-gfx/gscan2pdf')
-rw-r--r-- | media-gfx/gscan2pdf/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/gscan2pdf/gscan2pdf-1.8.0.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/media-gfx/gscan2pdf/Manifest b/media-gfx/gscan2pdf/Manifest index dcf83e7da54b..480b1fac4bd6 100644 --- a/media-gfx/gscan2pdf/Manifest +++ b/media-gfx/gscan2pdf/Manifest @@ -1,2 +1,3 @@ DIST gscan2pdf-1.7.1.tar.xz 393048 SHA256 bacf4bc2b63658a30ee4fc0de38345077bc640e10007e42221612a7ae7881bd0 SHA512 6741317d3a24dc0a5ee0dd4fd04cc61a9e8d49678237eab0aea8e212e4d8186a060fef12bb16b9eede357c6dbde4676288d3c072eefd5bfc5a5fe99f3ff94c40 WHIRLPOOL ccd2ee19821d202ec0925b1a52cd4d5855154daa5704fda5f2ee856f310d9a103b1dd28ba267dd31d16de24688e3bf97a8b3e40e8af02b421e571e637f4efadc DIST gscan2pdf-1.7.2.tar.xz 393620 SHA256 28cbdecbea19f99a34a29a365077f961f82395c6485cdbf1aa95ad3f942c1984 SHA512 67bb0e15b2b7a354609838a5f2826a2d91b8941c95dc7f286a87cf0ad37bffc94dd7593307251a44c9af8e5267d97bf70cc5da57bb41e0274ee3318abbd933cc WHIRLPOOL 5a6e446c3e9f67950f2b7514f10f22762399eea2cb9302c4de2e69e682204a3df1f4918aa621ce47ea83315ad5f23ce6d004055b1cfb4aa348e8d935404e040a +DIST gscan2pdf-1.8.0.tar.xz 398336 SHA256 8c0bad83634c6524972a090a24a25a401229b7e4a047f1163275967646be6d50 SHA512 dec15616f53bcbe7b20b86d2eda8424d0e752380290bf4dbfa56b6ee2724b52c5d82b404441d290d05f3cabf1d6a92f5f77f92d76220376bc47e034fa78099d4 WHIRLPOOL 7c908d890fad6767b8bfdb07a2a868ecc519b2e37f0049d77f9a0fed93dd391dd06f4058b22b042732c2e6eb863c4918864e4c938c19010ed8bfb6b0ab1fca6b diff --git a/media-gfx/gscan2pdf/gscan2pdf-1.8.0.ebuild b/media-gfx/gscan2pdf/gscan2pdf-1.8.0.ebuild new file mode 100644 index 000000000000..839ff21fecf2 --- /dev/null +++ b/media-gfx/gscan2pdf/gscan2pdf-1.8.0.ebuild @@ -0,0 +1,61 @@ +# 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/Locale-gettext + dev-perl/List-MoreUtils + dev-perl/Log-Log4perl + dev-perl/PDF-API2 + dev-perl/Proc-ProcessTable + dev-perl/Readonly + dev-perl/Sane + 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 "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 +} |