forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-gfx/gscan2pdf: Version bump 1.7.2
- Loading branch information
Showing
2 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST gscan2pdf-1.7.1.tar.xz 393048 SHA256 bacf4bc2b63658a30ee4fc0de38345077bc640e10007e42221612a7ae7881bd0 SHA512 6741317d3a24dc0a5ee0dd4fd04cc61a9e8d49678237eab0aea8e212e4d8186a060fef12bb16b9eede357c6dbde4676288d3c072eefd5bfc5a5fe99f3ff94c40 WHIRLPOOL ccd2ee19821d202ec0925b1a52cd4d5855154daa5704fda5f2ee856f310d9a103b1dd28ba267dd31d16de24688e3bf97a8b3e40e8af02b421e571e637f4efadc | ||
DIST gscan2pdf-1.7.2.tar.xz 393620 SHA256 28cbdecbea19f99a34a29a365077f961f82395c6485cdbf1aa95ad3f942c1984 SHA512 67bb0e15b2b7a354609838a5f2826a2d91b8941c95dc7f286a87cf0ad37bffc94dd7593307251a44c9af8e5267d97bf70cc5da57bb41e0274ee3318abbd933cc WHIRLPOOL 5a6e446c3e9f67950f2b7514f10f22762399eea2cb9302c4de2e69e682204a3df1f4918aa621ce47ea83315ad5f23ce6d004055b1cfb4aa348e8d935404e040a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=6 | ||
|
||
inherit eutils perl-module | ||
|
||
DESCRIPTION="Scan documents, perform OCR, produce PDFs and DjVus" | ||
HOMEPAGE="http://gscan2pdf.sourceforge.net/" | ||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" | ||
|
||
LICENSE="GPL-3" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
|
||
# OCR tests fail with tesseract[opencl], not fixed by addpredict | ||
# and others on Wayland and the console | ||
RESTRICT="test" | ||
|
||
RDEPEND=" | ||
dev-perl/Config-General | ||
dev-perl/Date-Calc | ||
dev-perl/Data-UUID | ||
dev-perl/Filesys-Df | ||
dev-perl/glib-perl | ||
dev-perl/Goo-Canvas | ||
dev-perl/Gtk2-Ex-PodViewer | ||
dev-perl/Gtk2-Ex-Simple-List | ||
dev-perl/Gtk2-ImageView | ||
dev-perl/gtk2-perl | ||
dev-perl/HTML-Parser | ||
dev-perl/Locale-gettext | ||
dev-perl/List-MoreUtils | ||
dev-perl/Log-Log4perl | ||
dev-perl/PDF-API2 | ||
dev-perl/Proc-ProcessTable | ||
dev-perl/Readonly | ||
dev-perl/Sane | ||
dev-perl/Set-IntSpan | ||
dev-perl/Try-Tiny | ||
virtual/perl-Archive-Tar | ||
virtual/perl-Carp | ||
virtual/perl-Data-Dumper | ||
virtual/perl-File-Temp | ||
virtual/perl-Getopt-Long | ||
virtual/perl-threads | ||
virtual/perl-threads-shared | ||
media-gfx/gtkimageview | ||
media-gfx/imagemagick[png,tiff,perl] | ||
media-gfx/sane-backends | ||
media-libs/tiff" | ||
|
||
mydoc="History" | ||
|
||
pkg_postinst() { | ||
optfeature "DjVu file support" "app-text/djvu[tiff] media-gfx/imagemagick[djvu]" | ||
optfeature "Optical Character Recognition" app-text/tesseract[osd,tiff] | ||
optfeature "scan post-processing" app-text/unpaper | ||
optfeature "automatic document feeder support" media-gfx/sane-frontends | ||
optfeature "sending PDFs as email attachments" x11-misc/xdg-utils | ||
} |