[tiff][tesseract][xerces-c] Disable unmanaged optional dependencies (#7622)

This commit is contained in:
Robert Schumacher 2019-08-12 14:42:45 -07:00 committed by GitHub
parent 0f3b6fc163
commit 0e9d0cd89b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 11 additions and 7 deletions

View File

@ -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

View File

@ -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()

View File

@ -1,5 +1,5 @@
Source: tiff
Version: 4.0.10-6
Version: 4.0.10-7
Build-Depends: zlib, libjpeg-turbo, liblzma
Homepage: https://download.osgeo.org/libtiff
Description: A library that supports the manipulation of TIFF image files

View File

@ -33,6 +33,8 @@ vcpkg_configure_cmake(
-Djpeg12=OFF
-Dwebp=OFF
-Dzstd=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_OpenGL=ON
-DCMAKE_DISABLE_FIND_PACKAGE_GLUT=ON
${TIFF_CXX_TARGET}
)

View File

@ -1,5 +1,5 @@
Source: xerces-c
Version: 3.2.2-10
Version: 3.2.2-11
Homepage: https://github.com/apache/xerces-c
Description: Xerces-C++ is a XML parser, for parsing, generating, manipulating, and validating XML documents using the DOM, SAX, and SAX2 APIs.

View File

@ -28,6 +28,7 @@ vcpkg_configure_cmake(
-DDISABLE_DOC=ON
-DDISABLE_SAMPLES=ON
-DCMAKE_DISABLE_FIND_PACKAGE_ICU=${DISABLE_ICU}
-DCMAKE_DISABLE_FIND_PACKAGE_CURL=ON
${XMLCHTYPE}
)