summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/gscan2pdf')
-rw-r--r--media-gfx/gscan2pdf/Manifest2
-rw-r--r--media-gfx/gscan2pdf/gscan2pdf-1.0.4.ebuild58
2 files changed, 60 insertions, 0 deletions
diff --git a/media-gfx/gscan2pdf/Manifest b/media-gfx/gscan2pdf/Manifest
new file mode 100644
index 0000000..e5c56eb
--- /dev/null
+++ b/media-gfx/gscan2pdf/Manifest
@@ -0,0 +1,2 @@
+DIST gscan2pdf-1.0.4.tar.gz 542167 RMD160 3f84599122f3a71c6c0eeb4747567625cec6e948 SHA1 149d674783a5f0858f90a5f9664a97eda0299f90 SHA256 6f3f20b2540bed43199761592fe68be5c462d9285e88cd1a63dbea8636413399
+EBUILD gscan2pdf-1.0.4.ebuild 1537 RMD160 b6f3f2a3c321cf2d1dd389a5707d37d4735eb28d SHA1 ac57730aa63814cfb9a35ac417b5cd0915fd670e SHA256 49bde944beb445e7d28bbbba349e16b35ef1814b233a8b7fcdc0a0e323be1301
diff --git a/media-gfx/gscan2pdf/gscan2pdf-1.0.4.ebuild b/media-gfx/gscan2pdf/gscan2pdf-1.0.4.ebuild
new file mode 100644
index 0000000..c0db3a0
--- /dev/null
+++ b/media-gfx/gscan2pdf/gscan2pdf-1.0.4.ebuild
@@ -0,0 +1,58 @@
+# 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="http://download.sourceforge.net/${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-0.50.0
+ 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."
+}