tesseract: update to 5.0.1

This commit is contained in:
Henrik Grimler 2022-02-16 21:36:53 +01:00
parent ba85c706a9
commit ae09eb2c42
No known key found for this signature in database
GPG Key ID: B0076E490B71616B
2 changed files with 13 additions and 14 deletions

View File

@ -2,10 +2,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_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=5.0.0-rc3
TERMUX_PKG_REVISION=1
TERMUX_PKG_VERSION=5.0.1
TERMUX_PKG_SRCURL=https://github.com/tesseract-ocr/tesseract/archive/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=a0a9dfc8e026ac7cd12f1372e552ceff3e12451d1506cbc2afc5a9861a4b42ea
TERMUX_PKG_SHA256=b5b0e561650ed67feb1e9de38d4746121d302ae4c876c95b99b8b6f9f89d5c58
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="libc++, libtool, libuuid, leptonica, libandroid-glob, zstd, libicu, pango"
TERMUX_PKG_BREAKS="tesseract-dev"

View File

@ -1,11 +1,11 @@
--- ../src-training-CMakeLists.txt.orig 2021-11-09 10:38:49.403732886 +0100
+++ ./src/training/CMakeLists.txt 2021-11-09 10:38:18.379641180 +0100
@@ -211,7 +211,7 @@
if (SW_BUILD)
target_link_libraries (unicharset_training PUBLIC common_training org.sw.demo.unicode.icu.i18n)
else()
-target_link_libraries (unicharset_training PUBLIC common_training ${ICU_LINK_LIBRARIES})
+target_link_libraries (unicharset_training PUBLIC common_training ${ICU_LINK_LIBRARIES} libandroid-glob.so)
endif()
target_include_directories (unicharset_training PUBLIC unicharset ${CMAKE_CURRENT_BINARY_DIR})
generate_export_header (unicharset_training EXPORT_MACRO_NAME TESS_UNICHARSET_TRAINING_API)
--- ./src/training/CMakeLists.txt.orig 2022-02-16 20:32:23.235233044 +0000
+++ ./src/training/CMakeLists.txt 2022-02-16 20:34:18.595048181 +0000
@@ -252,7 +252,7 @@
PkgConfig::ICU)
else()
target_link_libraries(unicharset_training PUBLIC common_training
- ${ICU_LINK_LIBRARIES})
+ ${ICU_LINK_LIBRARIES} libandroid-glob.so)
endif()
endif()
target_include_directories(unicharset_training