Browse Source

tesseract: Update from 3.05.00 to 3.05.01

android-5
Fredrik Fornwall 8 years ago
parent
commit
c32267d276
  1. 11
      packages/tesseract/api-Makefile.am.patch
  2. 4
      packages/tesseract/build.sh

11
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)

4
packages/tesseract/build.sh

@ -1,9 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://github.com/tesseract-ocr/tesseract 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_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_DEPENDS="libtool, libuuid, leptonica"
TERMUX_PKG_SRCURL=https://github.com/tesseract-ocr/tesseract/archive/${TERMUX_PKG_VERSION}.tar.gz 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_PKG_FOLDERNAME=tesseract-${TERMUX_PKG_VERSION}
termux_step_pre_configure() { termux_step_pre_configure() {

Loading…
Cancel
Save