summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2018-08-21 00:30:45 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2018-08-21 00:30:55 +0200
commit571bc556afb2d68f4d74493c7327f577cd07bccc (patch)
tree57fc9b41ef3dcc058727ea956331baf88106a610 /app-text/tesseract
parentdev-java/jmh-core: version bump - 1.21 (diff)
downloadgentoo-571bc556afb2d68f4d74493c7327f577cd07bccc.tar.gz
gentoo-571bc556afb2d68f4d74493c7327f577cd07bccc.tar.bz2
gentoo-571bc556afb2d68f4d74493c7327f577cd07bccc.zip
app-text/tesseract: drop examples installation
They are not provided anymore in source tarball, these should be fetched from upstream: https://github.com/tesseract-ocr/test/tree/master/testing Closes: https://bugs.gentoo.org/663868 Package-Manager: Portage-2.3.47, Repoman-2.3.10
Diffstat (limited to 'app-text/tesseract')
-rw-r--r--app-text/tesseract/tesseract-4.0.0_beta4.ebuild7
-rw-r--r--app-text/tesseract/tesseract-9999.ebuild7
2 files changed, 2 insertions, 12 deletions
diff --git a/app-text/tesseract/tesseract-4.0.0_beta4.ebuild b/app-text/tesseract/tesseract-4.0.0_beta4.ebuild
index ba20d99fc13..84e9db7e0a2 100644
--- a/app-text/tesseract/tesseract-4.0.0_beta4.ebuild
+++ b/app-text/tesseract/tesseract-4.0.0_beta4.ebuild
@@ -21,7 +21,7 @@ SRC_URI="https://github.com/${MY_PN}/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.g
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="doc examples jpeg math opencl openmp osd png scrollview static-libs tiff training webp"
+IUSE="doc jpeg math opencl openmp osd png scrollview static-libs tiff training webp"
# List of supported Gentoo linguas and their upstream mapping
# https://github.com/tesseract-ocr/tesseract/wiki/Data-Files
@@ -133,11 +133,6 @@ src_install() {
emake DESTDIR="${D}" training-install
fi
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins testing/eurotext.tif testing/phototest.tif
- fi
-
insinto /usr/share/tessdata
doins tessdata/*traineddata* # language files
use scrollview && doins java/ScrollView.jar # scrollview
diff --git a/app-text/tesseract/tesseract-9999.ebuild b/app-text/tesseract/tesseract-9999.ebuild
index 567315f9d5a..efa9df5d709 100644
--- a/app-text/tesseract/tesseract-9999.ebuild
+++ b/app-text/tesseract/tesseract-9999.ebuild
@@ -20,7 +20,7 @@ EGIT_REPO_URI="https://github.com/${MY_PN}/${PN}.git"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS=""
-IUSE="doc examples jpeg math opencl openmp osd png scrollview static-libs tiff training webp"
+IUSE="doc jpeg math opencl openmp osd png scrollview static-libs tiff training webp"
# List of supported Gentoo linguas and their upstream mapping
# https://github.com/tesseract-ocr/tesseract/wiki/Data-Files
@@ -130,11 +130,6 @@ src_install() {
emake DESTDIR="${D}" training-install
fi
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins testing/eurotext.tif testing/phototest.tif
- fi
-
insinto /usr/share/tessdata
doins tessdata/*traineddata* # language files
use scrollview && doins java/ScrollView.jar # scrollview