diff --git a/packages/tesseract/build.sh b/packages/tesseract/build.sh index a7f8ab134..df37c484d 100644 --- a/packages/tesseract/build.sh +++ b/packages/tesseract/build.sh @@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Tesseract is probably the most accurate open source OCR TERMUX_PKG_LICENSE="Apache-2.0" TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=5.0.0-rc1 -TERMUX_PKG_REVISION=2 +TERMUX_PKG_REVISION=3 TERMUX_PKG_SRCURL=https://github.com/tesseract-ocr/tesseract/archive/${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=4bb7bc253edd77dc2bade54855e91d0858efac73df9f0117437337f358196987 TERMUX_PKG_AUTO_UPDATE=true @@ -11,7 +11,10 @@ TERMUX_PKG_DEPENDS="libc++, libtool, libuuid, leptonica, libandroid-glob, zstd, TERMUX_PKG_BREAKS="tesseract-dev" TERMUX_PKG_REPLACES="tesseract-dev" TERMUX_PKG_FORCE_CMAKE=true -TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DUSE_SYSTEM_ICU=on" +TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" +-DUSE_SYSTEM_ICU=on +-DTESSDATA_PREFIX=$TERMUX_PREFIX/share +" # NEON checks in src/arch/simddetect.cpp don't work for i686 currently TERMUX_PKG_BLACKLISTED_ARCHES="i686"