aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/gscan2pdf')
-rw-r--r--app-office/gscan2pdf/Manifest4
-rw-r--r--app-office/gscan2pdf/gscan2pdf-1.0.2.ebuild58
-rw-r--r--app-office/gscan2pdf/gscan2pdf-1.1.2-r1.ebuild56
3 files changed, 58 insertions, 60 deletions
diff --git a/app-office/gscan2pdf/Manifest b/app-office/gscan2pdf/Manifest
index e4c7064..b8d8aa2 100644
--- a/app-office/gscan2pdf/Manifest
+++ b/app-office/gscan2pdf/Manifest
@@ -1,2 +1,2 @@
-DIST gscan2pdf-1.0.2.tar.gz 531469 RMD160 264c1bb2328eb6b4893c80a8746a1cda3c6e7b1b SHA1 7f5050a1d81788b2e4b093d17394069003d6a7f0 SHA256 f0efacd2cf5498abaef8b85e25693106969e324c628dec8c9a261beefd4b32f9
-EBUILD gscan2pdf-1.0.2.ebuild 1517 RMD160 e3352d5dc57777cbae8e4233d2e274011e7cf385 SHA1 715879220f312d43884fa7adf7ad9014439524ba SHA256 4117cf8111b175d8381cb30c1bb3facfe71f57167cb0daf8fe853463d02b813f
+DIST gscan2pdf-1.1.2.tar.gz 604576 SHA256 c8c7e6e4225e9088e92a48abe6f15b86f65920f4c01109285e6eda01a237bc4b SHA512 f64d7a9e2e024f6c5149e4a8acac2690df3efd7c23167b879f28f4acdb5c481ace3d9677f1b55b985fbd97ebc2ec929cb6d2b35c50c62a710d36b8b0e007da50 WHIRLPOOL 7ad21e7a213af17d4944edcac685633009747bd61259f9d3ff6579992e0aaa0f4bbfab08c7a7cb8d592b23f51439b1a5dd151676f73e495adcdfcc18d1d8aa5f
+EBUILD gscan2pdf-1.1.2-r1.ebuild 1463 SHA256 3c43220c0fd228611fe894be2c4ff8f1cc7a0e30526efc99ae001985651a6670 SHA512 4c2345f69b39901165eb77c1164a5f3bd41860512d8e818b492e9b9f975eb56c38770f837b3724451bcc9154b86fb8ca9f5bd6da2ecb6f6eefe9d3bee9df8010 WHIRLPOOL 1fcb9fa4cf4a3e676572f9319ad2df49f46ace0b5a1bf37ef64edf85c83c00c995f7d07e30fa55943defc289b69c10330e6b09278da8ec82f0cf862d0d20baa0
diff --git a/app-office/gscan2pdf/gscan2pdf-1.0.2.ebuild b/app-office/gscan2pdf/gscan2pdf-1.0.2.ebuild
deleted file mode 100644
index bee977e..0000000
--- a/app-office/gscan2pdf/gscan2pdf-1.0.2.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-inherit perl-app
-
-DESCRIPTION="Create PDF of selected pages with File/Save PDF"
-HOMEPAGE="http://gscan2pdf.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-# https://bugs.gentoo.org/show_bug.cgi?id=254704
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="adf cuneiform doc djvu gocr ocropus tesseract unpaper +xdg"
-
-DEPEND="dev-lang/perl[ithreads]
- >=dev-perl/config-general-2.40"
-
-RDEPEND=">=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/Locale-gettext-1.05
- 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/Test-Perl-Critic
- virtual/perl-Archive-Tar
- media-gfx/imagemagick[perl]
- media-gfx/sane-backends
- media-libs/tiff
- xdg? ( x11-misc/xdg-utils )
- adf? ( media-gfx/sane-frontends )
- cuneiform? ( app-text/cuneiform )
- doc? ( dev-perl/Gtk2-Ex-PodViewer )
- djvu? ( app-text/djvu )
- gocr? ( app-text/gocr )
- ocropus? ( app-text/ocropus )
- tesseract? ( app-text/tesseract )
- unpaper? ( app-text/unpaper )"
-
-src_install() {
- perl-module_src_install
- dodoc History
-}
-
-pkg_postinst() {
- ewarn "Thunderbird users can't use the Email to PDF feature"
- ewarn "because xdg-email doesn't support creating new emails"
- ewarn "with attachments in Thunderbird."
-}
diff --git a/app-office/gscan2pdf/gscan2pdf-1.1.2-r1.ebuild b/app-office/gscan2pdf/gscan2pdf-1.1.2-r1.ebuild
new file mode 100644
index 0000000..d6fa6c2
--- /dev/null
+++ b/app-office/gscan2pdf/gscan2pdf-1.1.2-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2012 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
+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/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
+ 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"
+}