diff --git a/packages/tesseract/build.sh b/packages/tesseract/build.sh index d5cdcf852..760368753 100644 --- a/packages/tesseract/build.sh +++ b/packages/tesseract/build.sh @@ -3,6 +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-rc3 +TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://github.com/tesseract-ocr/tesseract/archive/${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=a0a9dfc8e026ac7cd12f1372e552ceff3e12451d1506cbc2afc5a9861a4b42ea TERMUX_PKG_AUTO_UPDATE=true @@ -11,6 +12,7 @@ TERMUX_PKG_BREAKS="tesseract-dev" TERMUX_PKG_REPLACES="tesseract-dev" TERMUX_PKG_FORCE_CMAKE=true TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" +-DBUILD_SHARED_LIBS=ON -DUSE_SYSTEM_ICU=on -DTESSDATA_PREFIX=$TERMUX_PREFIX/share "