diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-16 03:35:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-16 03:35:12 +0000 |
commit | b62381b18b4bf2e919cbfbae11ebcad391e38e77 (patch) | |
tree | 0ea03896aa0bf5f376fdba3e25b9ecb8add6e65c /app-text/tesseract/tesseract-9999.ebuild | |
parent | da407288bb9fc771488c3fee13fc2f8561681e66 (diff) |
gentoo auto-resync : 16:12:2022 - 03:35:12
Diffstat (limited to 'app-text/tesseract/tesseract-9999.ebuild')
-rw-r--r-- | app-text/tesseract/tesseract-9999.ebuild | 92 |
1 files changed, 0 insertions, 92 deletions
diff --git a/app-text/tesseract/tesseract-9999.ebuild b/app-text/tesseract/tesseract-9999.ebuild deleted file mode 100644 index 3a7c6ac54ed6..000000000000 --- a/app-text/tesseract/tesseract-9999.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools git-r3 multilib-minimal toolchain-funcs - -DESCRIPTION="An OCR Engine, originally developed at HP, now open source" -HOMEPAGE="https://github.com/tesseract-ocr" -EGIT_REPO_URI="https://github.com/tesseract-ocr/${PN}.git" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="" -IUSE="doc float32 jpeg opencl openmp png static-libs tiff training webp" - -COMMON_DEPEND=">=media-libs/leptonica-1.74:=[${MULTILIB_USEDEP},zlib,tiff?,jpeg?,png?,webp?] - opencl? ( - virtual/opencl[${MULTILIB_USEDEP}] - media-libs/tiff:0=[${MULTILIB_USEDEP}] - media-libs/leptonica:=[tiff] - ) - training? ( - dev-libs/icu:= - x11-libs/pango:= - x11-libs/cairo:= - )" -RDEPEND="${COMMON_DEPEND} - || ( - >=app-text/tessdata_fast-4.0.0 - >=app-text/tessdata_best-4.0.0 - >=app-text/tessdata_legacy-4.0.0 - )" -DEPEND="${COMMON_DEPEND} - app-text/asciidoc - app-text/docbook-xsl-stylesheets - dev-libs/libxslt - doc? ( app-doc/doxygen )" - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_prepare() { - default - eautoreconf -} - -multilib_src_configure() { - # scrollview disabled for now, see bug #686944 - local myeconfargs=( - --enable-shared - --disable-graphics - $(use_enable float32) - $(use_enable opencl) - $(use_enable openmp) - $(use_enable static-libs static) - ) - - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} - -multilib_src_compile() { - default - if multilib_is_native_abi; then - use doc && emake doc - use training && emake training - fi -} - -multilib_src_install() { - if multilib_is_native_abi; then - DOCS=( "${S}"/AUTHORS "${S}"/ChangeLog "${S}"/README.md ) - if use doc; then - HTML_DOCS=( doc/html/. ) - fi - einstalldocs - - if use training; then - emake DESTDIR="${D}" training-install - fi - fi - emake DESTDIR="${D}" install -} - -multilib_src_install_all() { - find "${D}" -name '*.la' -type f -delete || die -} |