summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Pranaitis <jens@chaox.net>2011-11-02 18:37:28 +0100
committerJens Pranaitis <jens@chaox.net>2011-11-02 18:37:28 +0100
commit0989af7425a5dbdb2ae2df5b9e2b5cbb172b674f (patch)
treee27fd207c479b121185859a275d4cdf23bc07800
parentand Manifest (diff)
downloadjensp-0989af7425a5dbdb2ae2df5b9e2b5cbb172b674f.tar.gz
jensp-0989af7425a5dbdb2ae2df5b9e2b5cbb172b674f.tar.bz2
jensp-0989af7425a5dbdb2ae2df5b9e2b5cbb172b674f.zip
added gscan2pdf ebuild from bgo with minor cleanups
-rw-r--r--app-text/gscan2pdf/Manifest2
-rw-r--r--app-text/gscan2pdf/gscan2pdf-1.0.0.ebuild58
2 files changed, 60 insertions, 0 deletions
diff --git a/app-text/gscan2pdf/Manifest b/app-text/gscan2pdf/Manifest
new file mode 100644
index 0000000..b32bab5
--- /dev/null
+++ b/app-text/gscan2pdf/Manifest
@@ -0,0 +1,2 @@
+DIST gscan2pdf-1.0.0.tar.gz 564958 RMD160 0344bffdb12a9636de76fadffa84f4a7cd028eb7 SHA1 a9788d53f9a4e046c9f2a855308c291dec58378a SHA256 29f7bfecaec1ced7fa49d842775719e6b9869682d4676c95ea59df4a2aa2da14
+EBUILD gscan2pdf-1.0.0.ebuild 1489 RMD160 eeeea63978e497f7c6ec7d90106bdc09d461dff4 SHA1 ab9a0bcb1fb4a9ddc288d25d8a4f8f173d913ace SHA256 189f737bf02c8f952bf18963fafb28a85cd522ab16405f7b53d55cef6606874d
diff --git a/app-text/gscan2pdf/gscan2pdf-1.0.0.ebuild b/app-text/gscan2pdf/gscan2pdf-1.0.0.ebuild
new file mode 100644
index 0000000..e9ee132
--- /dev/null
+++ b/app-text/gscan2pdf/gscan2pdf-1.0.0.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="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+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/forks-0.34
+ >=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/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
+ dev-perl/HTML-Parser
+ 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."
+}