diff options
author | 2013-07-23 17:00:28 +0100 | |
---|---|---|
committer | 2013-07-23 17:24:47 +0100 | |
commit | 7b7e82deb76dbe32ea4fd03b232b23f1ea4f167c (patch) | |
tree | 1917d77fda1b91a45d71b7d55b5075f90c58f4d2 | |
parent | rm get_iplayer; added by mistake (diff) | |
download | jamesbroadhead-7b7e82deb76dbe32ea4fd03b232b23f1ea4f167c.tar.gz jamesbroadhead-7b7e82deb76dbe32ea4fd03b232b23f1ea4f167c.tar.bz2 jamesbroadhead-7b7e82deb76dbe32ea4fd03b232b23f1ea4f167c.zip |
Update gscan2pdf
-rw-r--r-- | app-office/gscan2pdf/gscan2pdf-1.0.2.ebuild | 58 | ||||
-rw-r--r-- | app-office/gscan2pdf/gscan2pdf-1.1.2-r1.ebuild | 56 | ||||
-rw-r--r-- | app-office/gscan2pdf/metadata.xml | 4 |
3 files changed, 60 insertions, 58 deletions
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" +} diff --git a/app-office/gscan2pdf/metadata.xml b/app-office/gscan2pdf/metadata.xml new file mode 100644 index 0000000..097975e --- /dev/null +++ b/app-office/gscan2pdf/metadata.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +</pkgmetadata> |