summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2007-07-30 19:45:40 +0000
committerPatrick McLean <chutzpah@gentoo.org>2007-07-30 19:45:40 +0000
commit1240d6fd659689ab64477e92ea98caf825a64d0e (patch)
treedb5d4b76ddb3c877194fd14a1abb2a78d52d9e9d
parentstable x86, bug 186146 (diff)
downloadgentoo-2-1240d6fd659689ab64477e92ea98caf825a64d0e.tar.gz
gentoo-2-1240d6fd659689ab64477e92ea98caf825a64d0e.tar.bz2
gentoo-2-1240d6fd659689ab64477e92ea98caf825a64d0e.zip
Version bump, make tiff dependency optional and add LINGUAS for downloading extra language data.
(Portage version: 2.1.3_rc8)
-rw-r--r--app-text/tesseract/ChangeLog8
-rw-r--r--app-text/tesseract/files/digest-tesseract-2.0021
-rw-r--r--app-text/tesseract/tesseract-2.00.ebuild47
3 files changed, 75 insertions, 1 deletions
diff --git a/app-text/tesseract/ChangeLog b/app-text/tesseract/ChangeLog
index e098807f86e6..b6ef7cdb01e9 100644
--- a/app-text/tesseract/ChangeLog
+++ b/app-text/tesseract/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/tesseract
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/ChangeLog,v 1.11 2007/07/10 18:28:56 chutzpah Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/ChangeLog,v 1.12 2007/07/30 19:45:40 chutzpah Exp $
+
+*tesseract-2.00 (30 Jul 2007)
+
+ 30 Jul 2007; Patrick McLean <chutzpah@gentoo.org> +tesseract-2.00.ebuild:
+ Version bump, make tiff dependency optional and add LINGUAS for downloading
+ extra language data.
*tesseract-1.04b (10 Jul 2007)
diff --git a/app-text/tesseract/files/digest-tesseract-2.00 b/app-text/tesseract/files/digest-tesseract-2.00
new file mode 100644
index 000000000000..f1bb0bbdc91c
--- /dev/null
+++ b/app-text/tesseract/files/digest-tesseract-2.00
@@ -0,0 +1,21 @@
+MD5 609d91b1ae3759a756b819b5d8403653 tesseract-2.00.deu.tar.gz 1373777
+RMD160 c7e6755e94084114fb1a1be8e9308c8dddd2fdda tesseract-2.00.deu.tar.gz 1373777
+SHA256 6083f16373689ef55651f4dd7773426ab4c32a12ebf7f398af982ac2971fe404 tesseract-2.00.deu.tar.gz 1373777
+MD5 b8291d6b3a63ce7879d688e845e341a9 tesseract-2.00.eng.tar.gz 1013090
+RMD160 4a8090729504c216b3988f189ea79a5a5e223173 tesseract-2.00.eng.tar.gz 1013090
+SHA256 2fbd50a6cb352f847ebf3deadc914bbc12592539d4c368f7f7cff0a71f7d48e7 tesseract-2.00.eng.tar.gz 1013090
+MD5 64896b462e62572a3708bb461820126c tesseract-2.00.fra.tar.gz 1007776
+RMD160 96bf4e6bfca6ac2b9a3ec03b545a4fd12d8f343e tesseract-2.00.fra.tar.gz 1007776
+SHA256 1201229bb8b377ab3d92255e0b0642a36304b99415091fb059f423c814cecd25 tesseract-2.00.fra.tar.gz 1007776
+MD5 2759e1dae91a989a43490ff4c2253a4b tesseract-2.00.ita.tar.gz 977683
+RMD160 05e739d684ab138b5bb032526e019bfa01e1a2f6 tesseract-2.00.ita.tar.gz 977683
+SHA256 3a1b9323ddfcda327780aba94ef724f35690d3cfdf8ef832c5709721b7e2999a tesseract-2.00.ita.tar.gz 977683
+MD5 b2f6ede182cea4bbfffd3b040533ce58 tesseract-2.00.nld.tar.gz 1408071
+RMD160 ce16fbf17d4ce544269b37f5c07d5239fad22bff tesseract-2.00.nld.tar.gz 1408071
+SHA256 26b9f7d80c4cfe19074c3c5dc55a37b489d89b6f7b13c026f9c2dc265120d859 tesseract-2.00.nld.tar.gz 1408071
+MD5 bc26a777b2384613895677cb8e61ca75 tesseract-2.00.spa.tar.gz 1365863
+RMD160 0e1fcb5739b95d4131efeea440d353f5638bb57d tesseract-2.00.spa.tar.gz 1365863
+SHA256 b4b83e46be4602a361279c131da2c7f3ba8c51ac26c0e108f958406db6ae320e tesseract-2.00.spa.tar.gz 1365863
+MD5 6d68d940ed15c61300cb04019c30f46c tesseract-2.00.tar.gz 1072362
+RMD160 96deb8315861e0e0c423fc2d12c9a69b776cb456 tesseract-2.00.tar.gz 1072362
+SHA256 5e27365444da6c0d5219fc1800cafdc309b7d711b2716892fce549044ed27ddb tesseract-2.00.tar.gz 1072362
diff --git a/app-text/tesseract/tesseract-2.00.ebuild b/app-text/tesseract/tesseract-2.00.ebuild
new file mode 100644
index 000000000000..2ab487031d0a
--- /dev/null
+++ b/app-text/tesseract/tesseract-2.00.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/tesseract-2.00.ebuild,v 1.1 2007/07/30 19:45:40 chutzpah Exp $
+
+inherit eutils multilib
+
+DESCRIPTION="A commercial quality OCR engine developed at HP in the 80's and early 90's."
+HOMEPAGE="http://code.google.com/p/tesseract-ocr/"
+SRC_URI="http://tesseract-ocr.googlecode.com/files/${P}.tar.gz
+ linguas_de? ( http://tesseract-ocr.googlecode.com/files/${P}.deu.tar.gz )
+ linguas_en? ( http://tesseract-ocr.googlecode.com/files/${P}.eng.tar.gz )
+ linguas_fr? ( http://tesseract-ocr.googlecode.com/files/${P}.fra.tar.gz )
+ linguas_it? ( http://tesseract-ocr.googlecode.com/files/${P}.ita.tar.gz )
+ linguas_nl? ( http://tesseract-ocr.googlecode.com/files/${P}.nld.tar.gz )
+ linguas_es? ( http://tesseract-ocr.googlecode.com/files/${P}.spa.tar.gz )"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="tiff linguas_de linguas_en linguas_es linguas_fr linguas_it linguas_nl"
+
+DEPEND="tiff? ( media-libs/tiff )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${P%b}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # data files shouldn't be executable
+ chmod a-x "${WORKDIR}"/tessdata/*
+ mv -f "${WORKDIR}"/tessdata/* tessdata/
+
+ sed -i -e "s:/usr/bin/X11/xterm:/usr/bin/xterm:" ccutil/debugwin.cpp
+}
+
+src_compile() {
+ econf $(use_with tiff libtiff) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ dodoc README AUTHORS phototest.tif
+}