summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tomka@gentoo.org>2015-08-03 15:29:30 +0000
committerThomas Kahle <tomka@gentoo.org>2015-08-03 15:29:30 +0000
commit9d0a44439ed64f627e76e0043ca0ffdc18ce58cc (patch)
treee5e577402ee6009d9b56c04f0c84d2a775abb95a /app-text
parentRemove .la files for modules, bug 556562 by Paolo Pedroni. (diff)
downloadgentoo-2-9d0a44439ed64f627e76e0043ca0ffdc18ce58cc.tar.gz
gentoo-2-9d0a44439ed64f627e76e0043ca0ffdc18ce58cc.tar.bz2
gentoo-2-9d0a44439ed64f627e76e0043ca0ffdc18ce58cc.zip
Fix install with doc (bug 556388) and -r1 screwup
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 565C32BC)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/tesseract/ChangeLog6
-rw-r--r--app-text/tesseract/tesseract-3.04.00-r1.ebuild11
-rw-r--r--app-text/tesseract/tesseract-3.04.00.ebuild4
3 files changed, 16 insertions, 5 deletions
diff --git a/app-text/tesseract/ChangeLog b/app-text/tesseract/ChangeLog
index a0351b70e711..63d00591e4db 100644
--- a/app-text/tesseract/ChangeLog
+++ b/app-text/tesseract/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/tesseract
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/ChangeLog,v 1.59 2015/08/03 12:10:06 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/ChangeLog,v 1.60 2015/08/03 15:29:30 tomka Exp $
+
+ 03 Aug 2015; Thomas Kahle <tomka@gentoo.org> tesseract-3.04.00-r1.ebuild,
+ tesseract-3.04.00.ebuild:
+ Fix install with doc (bug 556388) and -r1 screwup
*tesseract-3.04.00-r1 (03 Aug 2015)
diff --git a/app-text/tesseract/tesseract-3.04.00-r1.ebuild b/app-text/tesseract/tesseract-3.04.00-r1.ebuild
index 42c1d9d5f867..1e56ac466640 100644
--- a/app-text/tesseract/tesseract-3.04.00-r1.ebuild
+++ b/app-text/tesseract/tesseract-3.04.00-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/tesseract-3.04.00-r1.ebuild,v 1.1 2015/08/03 12:10:06 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/tesseract-3.04.00-r1.ebuild,v 1.2 2015/08/03 15:29:30 tomka Exp $
EAPI=5
@@ -75,6 +75,13 @@ PATCHES=(
"${FILESDIR}/tesseract-2.04-gcc47.patch"
)
+src_unpack() {
+ unpack ${PV}.tar.gz
+ use doc && unpack tesseract-ocr-3.02.02-doc-html.tar.gz
+ mkdir "${WORKDIR}"/tesseract-ocr/tessdata || die
+ cp "${DISTDIR}"/*.traineddata "${WORKDIR}"/tesseract-ocr/tessdata/ || die
+}
+
src_configure() {
local myeconfargs=(
$(use_enable opencl) \
@@ -89,7 +96,7 @@ src_install() {
if use examples; then
insinto /usr/share/doc/${PF}/examples
- doins eurotext.tif phototest.tif
+ doins testing/eurotext.tif testing/phototest.tif
fi
if use doc; then
diff --git a/app-text/tesseract/tesseract-3.04.00.ebuild b/app-text/tesseract/tesseract-3.04.00.ebuild
index a0dea62d2c59..9fb747d32b77 100644
--- a/app-text/tesseract/tesseract-3.04.00.ebuild
+++ b/app-text/tesseract/tesseract-3.04.00.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/tesseract-3.04.00.ebuild,v 1.1 2015/07/31 08:06:39 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/tesseract/tesseract-3.04.00.ebuild,v 1.2 2015/08/03 15:29:30 tomka Exp $
EAPI=5
@@ -92,7 +92,7 @@ src_install() {
if use examples; then
insinto /usr/share/doc/${PF}/examples
- doins eurotext.tif phototest.tif
+ doins testing/eurotext.tif testing/phototest.tif
fi
if use doc; then