[tesseract] Add missing dependency pkgconf of feature training-tools (#42018)

Co-authored-by: LilyWangLL <4945507022qq.com>
This commit is contained in:
Lily Wang 2024-11-22 14:31:50 -08:00 committed by GitHub
parent ed03146c54
commit b112a65db5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 10 additions and 1 deletions

View File

@ -14,6 +14,8 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
training-tools BUILD_TRAINING_TOOLS training-tools BUILD_TRAINING_TOOLS
) )
vcpkg_find_acquire_program(PKGCONFIG)
vcpkg_cmake_configure( vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}" SOURCE_PATH "${SOURCE_PATH}"
OPTIONS OPTIONS
@ -26,6 +28,7 @@ vcpkg_cmake_configure(
-DLeptonica_DIR=YES -DLeptonica_DIR=YES
-DSW_BUILD=OFF -DSW_BUILD=OFF
-DLEPT_TIFF_RESULT=ON -DLEPT_TIFF_RESULT=ON
"-DPKG_CONFIG_EXECUTABLE=${PKGCONFIG}"
MAYBE_UNUSED_VARIABLES MAYBE_UNUSED_VARIABLES
CMAKE_DISABLE_FIND_PACKAGE_OpenCL CMAKE_DISABLE_FIND_PACKAGE_OpenCL
) )

View File

@ -1,6 +1,7 @@
{ {
"name": "tesseract", "name": "tesseract",
"version": "5.5.0", "version": "5.5.0",
"port-version": 1,
"description": "An OCR Engine that was developed at HP Labs between 1985 and 1995... and now at Google.", "description": "An OCR Engine that was developed at HP Labs between 1985 and 1995... and now at Google.",
"homepage": "https://github.com/tesseract-ocr/tesseract", "homepage": "https://github.com/tesseract-ocr/tesseract",
"license": "Apache-2.0", "license": "Apache-2.0",

View File

@ -8874,7 +8874,7 @@
}, },
"tesseract": { "tesseract": {
"baseline": "5.5.0", "baseline": "5.5.0",
"port-version": 0 "port-version": 1
}, },
"tevclient": { "tevclient": {
"baseline": "2023-12-04", "baseline": "2023-12-04",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "3037e2bd6bed856d03266bdfa59f67884896f29c",
"version": "5.5.0",
"port-version": 1
},
{ {
"git-tree": "af8c40f10f9acc909e8602a251c96f2336ac93aa", "git-tree": "af8c40f10f9acc909e8602a251c96f2336ac93aa",
"version": "5.5.0", "version": "5.5.0",