From b982051e7c8e12c3810a0d21d30d687b406b3ae5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 16 Dec 2022 09:35:57 +0000 Subject: gentoo auto-resync : 16:12:2022 - 09:35:57 --- app-text/tesseract/Manifest | 2 +- app-text/tesseract/tesseract-9999-r1.ebuild | 92 ----------------------------- app-text/tesseract/tesseract-9999.ebuild | 92 +++++++++++++++++++++++++++++ 3 files changed, 93 insertions(+), 93 deletions(-) delete mode 100644 app-text/tesseract/tesseract-9999-r1.ebuild create mode 100644 app-text/tesseract/tesseract-9999.ebuild (limited to 'app-text/tesseract') diff --git a/app-text/tesseract/Manifest b/app-text/tesseract/Manifest index 958b86b2bf77..3823f4a86dd5 100644 --- a/app-text/tesseract/Manifest +++ b/app-text/tesseract/Manifest @@ -6,5 +6,5 @@ EBUILD tesseract-4.1.1-r1.ebuild 2058 BLAKE2B c6dc012b5c08976caf609ef582abbf448b EBUILD tesseract-5.0.1-r1.ebuild 2098 BLAKE2B c5af7218c00662fca7f198e564e54d5c6afd6816e1bb26ffb49c29c90247db484130ddff9d19e3fef817fc8c70a0b698b4ef0719ba391efd48b615f329a2aab4 SHA512 608fb9c3af3c41ff6c6ea3a99e91b126b755ca85964f77602f0f7cb11ecd4bcd22a11c927bb331c068087caddab7338d1d6931963fc76be0db15907e3b4c5a51 EBUILD tesseract-5.1.0-r1.ebuild 2098 BLAKE2B c5af7218c00662fca7f198e564e54d5c6afd6816e1bb26ffb49c29c90247db484130ddff9d19e3fef817fc8c70a0b698b4ef0719ba391efd48b615f329a2aab4 SHA512 608fb9c3af3c41ff6c6ea3a99e91b126b755ca85964f77602f0f7cb11ecd4bcd22a11c927bb331c068087caddab7338d1d6931963fc76be0db15907e3b4c5a51 EBUILD tesseract-5.2.0-r1.ebuild 2098 BLAKE2B c5af7218c00662fca7f198e564e54d5c6afd6816e1bb26ffb49c29c90247db484130ddff9d19e3fef817fc8c70a0b698b4ef0719ba391efd48b615f329a2aab4 SHA512 608fb9c3af3c41ff6c6ea3a99e91b126b755ca85964f77602f0f7cb11ecd4bcd22a11c927bb331c068087caddab7338d1d6931963fc76be0db15907e3b4c5a51 -EBUILD tesseract-9999-r1.ebuild 2015 BLAKE2B 66bf7e18c2028ea2e219119394a5d0d22d2080533c25f108074b47958acbcbce43824f7d7e718a558d9ded2b12a35b348872d0c161620c315b25c8c1266ddbcf SHA512 9711dbbfe399b7d80343778461632fe9ba1907475ba78ef7df6142b2e308f46b332f7c8f32c31ff8f58c65509851929a4bf4e5547c8564af87109cf6b16ed6bc +EBUILD tesseract-9999.ebuild 2015 BLAKE2B 66bf7e18c2028ea2e219119394a5d0d22d2080533c25f108074b47958acbcbce43824f7d7e718a558d9ded2b12a35b348872d0c161620c315b25c8c1266ddbcf SHA512 9711dbbfe399b7d80343778461632fe9ba1907475ba78ef7df6142b2e308f46b332f7c8f32c31ff8f58c65509851929a4bf4e5547c8564af87109cf6b16ed6bc MISC metadata.xml 1020 BLAKE2B 77f6c8f3962e00b65495fff0176e7765a9583de651db12b0e532ad5ff4b8005ede93d42d58093ae3b397c40d085963f47ef0e41cfed609b581c1a2f8231ccc72 SHA512 d9ea277a6ad9ec5178252863d60bac1244e372ab6c4f4ce3fe4f7220492e78dec2349742699031ed727251f87173e821c64dec44fb9787c08aad216cad64fa05 diff --git a/app-text/tesseract/tesseract-9999-r1.ebuild b/app-text/tesseract/tesseract-9999-r1.ebuild deleted file mode 100644 index c5874d14572d..000000000000 --- a/app-text/tesseract/tesseract-9999-r1.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2022 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:=[${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 -} diff --git a/app-text/tesseract/tesseract-9999.ebuild b/app-text/tesseract/tesseract-9999.ebuild new file mode 100644 index 000000000000..c5874d14572d --- /dev/null +++ b/app-text/tesseract/tesseract-9999.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2022 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:=[${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 +} -- cgit v1.2.3