diff --git a/packages/tesseract/api-Makefile.am.patch b/packages/tesseract/api-Makefile.am.patch new file mode 100644 index 000000000..14ca882c0 --- /dev/null +++ b/packages/tesseract/api-Makefile.am.patch @@ -0,0 +1,11 @@ +diff -u -r ../tesseract-3.05.01/api/Makefile.am ./api/Makefile.am +--- ../tesseract-3.05.01/api/Makefile.am 2017-06-01 20:06:24.000000000 +0200 ++++ ./api/Makefile.am 2017-06-07 10:53:12.835866778 +0200 +@@ -77,6 +77,7 @@ + endif + + tesseract_LDADD = libtesseract.la ++tesseract_LDADD += $(LEPTONICA_LIBS) + + + tesseract_LDFLAGS = $(OPENCL_LDFLAGS) diff --git a/packages/tesseract/build.sh b/packages/tesseract/build.sh index a0b0584dd..2342e1f21 100644 --- a/packages/tesseract/build.sh +++ b/packages/tesseract/build.sh @@ -1,9 +1,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/tesseract-ocr/tesseract TERMUX_PKG_DESCRIPTION="Tesseract is probably the most accurate open source OCR engine available" -TERMUX_PKG_VERSION=3.05.00 +TERMUX_PKG_VERSION=3.05.01 TERMUX_PKG_DEPENDS="libtool, libuuid, leptonica" TERMUX_PKG_SRCURL=https://github.com/tesseract-ocr/tesseract/archive/${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=3fe83e06d0f73b39f6e92ed9fc7ccba3ef734877b76aa5ddaaa778fac095d996 +TERMUX_PKG_SHA256=05898f93c5d057fada49b9a116fc86ad9310ff1726a0f499c3e5211b3af47ec1 TERMUX_PKG_FOLDERNAME=tesseract-${TERMUX_PKG_VERSION} termux_step_pre_configure() {