diff options
Diffstat (limited to 'ports/tesseract')
| -rw-r--r-- | ports/tesseract/CONTROL | 2 | ||||
| -rw-r--r-- | ports/tesseract/portfile.cmake | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/ports/tesseract/CONTROL b/ports/tesseract/CONTROL index a31493e76..a24dd9435 100644 --- a/ports/tesseract/CONTROL +++ b/ports/tesseract/CONTROL @@ -1,5 +1,5 @@ Source: tesseract
-Version: 4.1.0-1
+Version: 4.1.0-2
Homepage: https://github.com/tesseract-ocr/tesseract
Description: An OCR Engine that was developed at HP Labs between 1985 and 1995... and now at Google.
Build-Depends: leptonica
diff --git a/ports/tesseract/portfile.cmake b/ports/tesseract/portfile.cmake index e9c2ffa9f..08f581cfe 100644 --- a/ports/tesseract/portfile.cmake +++ b/ports/tesseract/portfile.cmake @@ -9,7 +9,7 @@ vcpkg_from_github( SHA512 d617f5c5b826640b2871dbe3d7973bcc5e66fafd837921a20e009d683806ed50f0f258aa455019d99fc54f5cb65c2fa0380e3a3c92b39ab0684b8799c730b09d PATCHES fix-tiff-linkage.patch - fix-text2image.patch + fix-text2image.patch ) # The built-in cmake FindICU is better @@ -38,9 +38,10 @@ vcpkg_configure_cmake( OPTIONS -DSTATIC=ON -DUSE_SYSTEM_ICU=True - #any value for vcpkg leptonica link cmake branch select - -DLeptonica_DIR=YES - ${OPTIONS_LIST} + -DCMAKE_DISABLE_FIND_PACKAGE_LibArchive=ON + -DCMAKE_DISABLE_FIND_PACKAGE_OpenCL=ON + -DLeptonica_DIR=YES + ${OPTIONS_LIST} ) vcpkg_install_cmake() |
