From 6a7029e0f7370d4d5dfe9e31cc2719a870482392 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 15 Jun 2024 00:09:17 +0100 Subject: gentoo auto-resync : 15:06:2024 - 00:09:17 --- app-text/tesseract/Manifest | 6 +- app-text/tesseract/tesseract-5.3.2.ebuild | 92 ------------------------------- app-text/tesseract/tesseract-5.3.3.ebuild | 92 ------------------------------- app-text/tesseract/tesseract-5.4.1.ebuild | 86 +++++++++++++++++++++++++++++ 4 files changed, 88 insertions(+), 188 deletions(-) delete mode 100644 app-text/tesseract/tesseract-5.3.2.ebuild delete mode 100644 app-text/tesseract/tesseract-5.3.3.ebuild create mode 100644 app-text/tesseract/tesseract-5.4.1.ebuild (limited to 'app-text/tesseract') diff --git a/app-text/tesseract/Manifest b/app-text/tesseract/Manifest index d77cb1048b83..74bcb50dc128 100644 --- a/app-text/tesseract/Manifest +++ b/app-text/tesseract/Manifest @@ -1,11 +1,9 @@ AUX tesseract-5.3.0-gcc-13.patch 748 BLAKE2B de4ce0e2a312497621f1e037aa0e61b1b0b41b23aaca52ba23f331ee415b6f150ca1487806be5373ed68c46265c74137f5b6e5db9eab8940927d5b05eec89c4b SHA512 4bd7db8ade5f40e92f48f0e4771d9f55c738cb74becaa22c823cb03123ef6d56662e59829015aa5c326e790c5d45d9f6ad7d8be253f9d9f08eebb228a54ee6b9 DIST tesseract-5.3.0.tar.gz 1913678 BLAKE2B 975b3a50dc2c9ec7ded82caaa068d2d9d362ee0bc6d51b41a52c692ac7f51231d4c64a9dda9e7b850297d4c1f13eb40a709e59eebe143df4f5e2a060cfbbfd3a SHA512 fc0cfda980059390b7d6d3d8e475b4ecc9dcfee1abc3b16fc9ffc8904db0a0847a5f6f1b32bd2e1f6f5a714a8c4df0fb3dc7c6aa25ece6162bf52fe86b4d0f34 -DIST tesseract-5.3.2.tar.gz 1916850 BLAKE2B d900f7e21a53a4ca77ab820359cf8b528ac0114816029c257dffa141ae9fdecfe4ddb97160b598d1f144c139f3fbceea080fb050802d6d3fa7ac8bc8e1353d72 SHA512 92db2a513f00b931a0207cc705020bee9fea4ff7fa93c57a6f446b5777713864cce19121b316ef8b78b6bd625ee7e6fd473352515f98c4a2187569cbd0a9713a -DIST tesseract-5.3.3.tar.gz 1918172 BLAKE2B 84676368e23d5d51462bbdaa5723d582cdcec3958e4224c6147ef35d260c933f0a217f1ddca2f71b37aa3045714d3a9f31980f02b8ff7a85fed5db072e0827cf SHA512 c04ae68ac4ecf85243c54feb4233e282cd420522588fd4b3eaa87619cb236a575052e3667a806c2f56de06dc013b88926c2dbea4cb4ee02f0119c032598169f2 DIST tesseract-5.3.4.tar.gz 1918319 BLAKE2B f4becd425594be132df2c206847faa91daf9bc58d83eac31096f92cf7d7b6c9234ae224ee94ed1f3099414bde393bb86f94d1f76fdc05b4310b415b0d7eb05af SHA512 a81c98c3754a71093df7b51390ccd43d05f661352b4cb564e403b96d81909664c2ecbf2eb6f37614c4639e6dadbf2329b926d09271dbbdaa302f2d7b6b0d628a +DIST tesseract-5.4.1.tar.gz 1899949 BLAKE2B 8e9ff54902d467a4ef0dc61665570a6d34ecdd2d89fd0023775212eb531e3c11659d17e5bb1733f570f785af4714d5a5259d1f809f6e28c0a65375ba02d21bdc SHA512 a97a31d1b735930a3e8b17bc2eae24210d8242d31399822f8bc2e9f18903d513cf6d02b2274e2f3ce431183467570b3327e01cbc49dca80e38acb90327cc235e EBUILD tesseract-5.3.0.ebuild 2139 BLAKE2B 5b9be5f2561db2e2da0ad18eb2bfaf160000bd6aff60f6e38640c841681966f389baa61078a7295c860cc01e19ff55ebb0afbbc58f09b2be830c3666899d27b2 SHA512 255492086b001b95a92741e5f3a049e94d1f04deb3542d3cf9e075d2ac7181ff0bae79ad9207f2b10457122ef3c34a5aa32c6535844db585baeca7823c28e674 -EBUILD tesseract-5.3.2.ebuild 2099 BLAKE2B 9750268de2258a712c2d65cd41c192edfff0b3329a75307667f4a3e86998c4afad8f869b320f329356a38b580dc14766f57cc9e4621d86f46a12ff7afd1f5b0d SHA512 eaabba2b481d394b21db5e9a062ce1444e2c564b48108cbaae14ee94b74d9ba4de65521def4b7f5072bcd63aee43bdad1ecbe9ee82c4f93ea80f32e063934b61 -EBUILD tesseract-5.3.3.ebuild 2099 BLAKE2B 9750268de2258a712c2d65cd41c192edfff0b3329a75307667f4a3e86998c4afad8f869b320f329356a38b580dc14766f57cc9e4621d86f46a12ff7afd1f5b0d SHA512 eaabba2b481d394b21db5e9a062ce1444e2c564b48108cbaae14ee94b74d9ba4de65521def4b7f5072bcd63aee43bdad1ecbe9ee82c4f93ea80f32e063934b61 EBUILD tesseract-5.3.4.ebuild 2099 BLAKE2B 9750268de2258a712c2d65cd41c192edfff0b3329a75307667f4a3e86998c4afad8f869b320f329356a38b580dc14766f57cc9e4621d86f46a12ff7afd1f5b0d SHA512 eaabba2b481d394b21db5e9a062ce1444e2c564b48108cbaae14ee94b74d9ba4de65521def4b7f5072bcd63aee43bdad1ecbe9ee82c4f93ea80f32e063934b61 +EBUILD tesseract-5.4.1.ebuild 1947 BLAKE2B 9dc1f43a91a825497d321e6e6e9e688b796545a8397b6409ea6ff111f75e5359515790c3ee0ea6b7db187edd7b70e5504b51a18630ec5be648e11c0ab7b9a268 SHA512 fdefd88563793b9279c741d89abe8a69a35e7067e3c3019785740294540d1089890c03c8f09f08b35302a08a607f7e7dc9e9b2c8a78684e25a3bfede68799f57 EBUILD tesseract-9999.ebuild 1864 BLAKE2B 5aaf23d01dc425180b0d07210d10e50526ac0037fc579feb42424c521830b64caa7ac00a8aa4a258b09c965037f9c368279d8d7c0376289c276d50237dd72d4f SHA512 0fce3ad6adf33ba6a87ffb8899a309bbbed66cc74eb4ba4f57b0c6bf8533a84dc7836eefd394f5b20cab2d6d2f3fd6aba2f778e79170bbb0bd5f53232ed4dda6 MISC metadata.xml 1020 BLAKE2B 77f6c8f3962e00b65495fff0176e7765a9583de651db12b0e532ad5ff4b8005ede93d42d58093ae3b397c40d085963f47ef0e41cfed609b581c1a2f8231ccc72 SHA512 d9ea277a6ad9ec5178252863d60bac1244e372ab6c4f4ce3fe4f7220492e78dec2349742699031ed727251f87173e821c64dec44fb9787c08aad216cad64fa05 diff --git a/app-text/tesseract/tesseract-5.3.2.ebuild b/app-text/tesseract/tesseract-5.3.2.ebuild deleted file mode 100644 index aff1d194ec10..000000000000 --- a/app-text/tesseract/tesseract-5.3.2.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools multilib-minimal toolchain-funcs - -DESCRIPTION="An OCR Engine, originally developed at HP, now open source" -HOMEPAGE="https://github.com/tesseract-ocr" -SRC_URI="https://github.com/tesseract-ocr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0/5" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" -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-text/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-5.3.3.ebuild b/app-text/tesseract/tesseract-5.3.3.ebuild deleted file mode 100644 index aff1d194ec10..000000000000 --- a/app-text/tesseract/tesseract-5.3.3.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools multilib-minimal toolchain-funcs - -DESCRIPTION="An OCR Engine, originally developed at HP, now open source" -HOMEPAGE="https://github.com/tesseract-ocr" -SRC_URI="https://github.com/tesseract-ocr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0/5" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" -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-text/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-5.4.1.ebuild b/app-text/tesseract/tesseract-5.4.1.ebuild new file mode 100644 index 000000000000..1469566c29ed --- /dev/null +++ b/app-text/tesseract/tesseract-5.4.1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools multilib-minimal toolchain-funcs + +DESCRIPTION="An OCR Engine, originally developed at HP, now open source" +HOMEPAGE="https://github.com/tesseract-ocr" +SRC_URI="https://github.com/tesseract-ocr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/5" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="doc float32 jpeg openmp png static-libs tiff training webp" + +COMMON_DEPEND=">=media-libs/leptonica-1.74:=[${MULTILIB_USEDEP},zlib,tiff?,jpeg?,png?,webp?] + 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-text/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 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