summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Mayo <aklhfex@gmail.com>2017-02-09 19:38:11 +0000
committerGöktürk Yüksek <gokturk@gentoo.org>2017-02-09 17:55:26 -0500
commit82f3aa4407ad16afde14d2f382dabdc4c4c65f53 (patch)
tree28b74ebbc64254efead53484016cdefaa45854fe /media-gfx/gscan2pdf
parentprofile: mask glibc-2.24-r1 on hardened bug #608788 (diff)
downloadgentoo-82f3aa4407ad16afde14d2f382dabdc4c4c65f53.tar.gz
gentoo-82f3aa4407ad16afde14d2f382dabdc4c4c65f53.tar.bz2
gentoo-82f3aa4407ad16afde14d2f382dabdc4c4c65f53.zip
media-gfx/gscan2pdf: New package
Gentoo-Bug: https://bugs.gentoo.org/254704 Gentoo-Bug: https://bugs.gentoo.org/604162
Diffstat (limited to 'media-gfx/gscan2pdf')
-rw-r--r--media-gfx/gscan2pdf/Manifest1
-rw-r--r--media-gfx/gscan2pdf/gscan2pdf-1.7.1.ebuild62
-rw-r--r--media-gfx/gscan2pdf/metadata.xml12
3 files changed, 75 insertions, 0 deletions
diff --git a/media-gfx/gscan2pdf/Manifest b/media-gfx/gscan2pdf/Manifest
new file mode 100644
index 000000000000..eb65f5f5e6f9
--- /dev/null
+++ b/media-gfx/gscan2pdf/Manifest
@@ -0,0 +1 @@
+DIST gscan2pdf-1.7.1.tar.xz 393048 SHA256 bacf4bc2b63658a30ee4fc0de38345077bc640e10007e42221612a7ae7881bd0 SHA512 6741317d3a24dc0a5ee0dd4fd04cc61a9e8d49678237eab0aea8e212e4d8186a060fef12bb16b9eede357c6dbde4676288d3c072eefd5bfc5a5fe99f3ff94c40 WHIRLPOOL ccd2ee19821d202ec0925b1a52cd4d5855154daa5704fda5f2ee856f310d9a103b1dd28ba267dd31d16de24688e3bf97a8b3e40e8af02b421e571e637f4efadc
diff --git a/media-gfx/gscan2pdf/gscan2pdf-1.7.1.ebuild b/media-gfx/gscan2pdf/gscan2pdf-1.7.1.ebuild
new file mode 100644
index 000000000000..87542e92173b
--- /dev/null
+++ b/media-gfx/gscan2pdf/gscan2pdf-1.7.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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-perl
+ 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
+}
diff --git a/media-gfx/gscan2pdf/metadata.xml b/media-gfx/gscan2pdf/metadata.xml
new file mode 100644
index 000000000000..e7ac1e9df896
--- /dev/null
+++ b/media-gfx/gscan2pdf/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>aklhfex@gmail.com</email>
+ <name>Chris Mayo</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>