From 9d49c11781bf6dcdb60c02a0a68aba3775e48c76 Mon Sep 17 00:00:00 2001 From: Joerg Deckert Date: Mon, 24 Nov 2014 14:36:23 +0100 Subject: [PATCH] add gscan2pdf ebuild --- media-gfx/gscan2pdf/Manifest | 2 + media-gfx/gscan2pdf/gscan2pdf-1.2.6.ebuild | 59 ++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 media-gfx/gscan2pdf/Manifest create mode 100644 media-gfx/gscan2pdf/gscan2pdf-1.2.6.ebuild diff --git a/media-gfx/gscan2pdf/Manifest b/media-gfx/gscan2pdf/Manifest new file mode 100644 index 0000000..3324c21 --- /dev/null +++ b/media-gfx/gscan2pdf/Manifest @@ -0,0 +1,2 @@ +DIST gscan2pdf-1.2.6.tar.gz 652165 SHA256 83bd68c77f838a62c068606bba5ae4962a505ef7eeab7b06f76d474af2a909e5 SHA512 087f06cebb8d8eb237a29735f9655092d02da9e39947cf725fb24c2ecee1ec9272365d9448a9c87e97c7e8f4a459ea6a3e201296f5e2bfb378444cdefec25397 WHIRLPOOL 488a8ee4f6ea318a117e3e9e665734f0523e67c2e23f0af4cbf940972974ef726fb92bdc5c48e6d0bdb982eed639fac6aa1b3d5b2e698d0284d11e4788247b2c +EBUILD gscan2pdf-1.2.6.ebuild 1572 SHA256 c1bb482adba83807fb5783e53ce15956d0c9682c7c04954bcec636a158c05797 SHA512 6d7ff9fe83ddc014788078542a6deeec5d86b22a7f5bb803dfa2f2766f95e6ff6b361999bd453c67fbb0ccf6cfdbb94db20fbcb5a340b5e47612dcaedc68c709 WHIRLPOOL 2c1fef00654c8be35e81e0857864c8d89bb40db37daf79c37146a00feb09e4da24ef8a116bab1283bd86437520481ead48e5a462a4ed35967922388fab5ac4dd diff --git a/media-gfx/gscan2pdf/gscan2pdf-1.2.6.ebuild b/media-gfx/gscan2pdf/gscan2pdf-1.2.6.ebuild new file mode 100644 index 0000000..7ef1672 --- /dev/null +++ b/media-gfx/gscan2pdf/gscan2pdf-1.2.6.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="4" +inherit perl-app + +DESCRIPTION="GUI to produce PDF or DjVu files from scanned documents" +HOMEPAGE="http://gscan2pdf.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +# https://bugs.gentoo.org/show_bug.cgi?id=254704 + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# test only: dev-perl/Test-Perl-Critic +# >=virtual/perl-version-0.990.800 due to #505524 +DEPEND="sys-devel/gettext" + +RDEPEND="dev-lang/perl[ithreads] + >=dev-perl/config-general-2.40 + >=dev-perl/glib-perl-1.100-r1 + dev-perl/Goo-Canvas + dev-perl/Gtk2-Ex-Simple-List + dev-perl/Gtk2-ImageView + >=dev-perl/gtk2-perl-1.043.1 + dev-perl/HTML-Parser + dev-perl/List-MoreUtils + >=dev-perl/Locale-gettext-1.50 + dev-perl/Log-Log4perl + dev-perl/PDF-API2 + dev-perl/Proc-ProcessTable + dev-perl/Readonly-XS + dev-perl/Sane + dev-perl/Set-IntSpan + dev-perl/Try-Tiny + virtual/perl-Archive-Tar + >=virtual/perl-version-0.990.800 + media-gfx/imagemagick[perl] + media-gfx/sane-backends + media-libs/tiff" + +src_install() { + perl-module_src_install + dodoc History +} + +pkg_postinst() { + elog "Optional dependencies:" + elog "app-text/cuneiform, app-text/gocr, app-text/tesseract" \ + "(or OCRopus, not in Portage) - for OCR" + elog "app-text/unpaper - image post processing utility" + elog "dev-perl/Gtk2-Ex-PodViewer - for displaying help" + elog "app-text/djvu - DjVu support" + elog "media-gfx/sane-frontends - for ADF scanners" + elog "x11-misc/xdg-utils - required for email as PDF" +}