diff --git a/ports/tesseract/portfile.cmake b/ports/tesseract/portfile.cmake index ccd8366ec5..f9985ad5c0 100644 --- a/ports/tesseract/portfile.cmake +++ b/ports/tesseract/portfile.cmake @@ -14,6 +14,8 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS training-tools BUILD_TRAINING_TOOLS ) +vcpkg_find_acquire_program(PKGCONFIG) + vcpkg_cmake_configure( SOURCE_PATH "${SOURCE_PATH}" OPTIONS @@ -26,6 +28,7 @@ vcpkg_cmake_configure( -DLeptonica_DIR=YES -DSW_BUILD=OFF -DLEPT_TIFF_RESULT=ON + "-DPKG_CONFIG_EXECUTABLE=${PKGCONFIG}" MAYBE_UNUSED_VARIABLES CMAKE_DISABLE_FIND_PACKAGE_OpenCL ) diff --git a/ports/tesseract/vcpkg.json b/ports/tesseract/vcpkg.json index a069734990..522bc7c422 100644 --- a/ports/tesseract/vcpkg.json +++ b/ports/tesseract/vcpkg.json @@ -1,6 +1,7 @@ { "name": "tesseract", "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.", "homepage": "https://github.com/tesseract-ocr/tesseract", "license": "Apache-2.0", diff --git a/versions/baseline.json b/versions/baseline.json index 9bb4c96a3b..44390e01b1 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -8874,7 +8874,7 @@ }, "tesseract": { "baseline": "5.5.0", - "port-version": 0 + "port-version": 1 }, "tevclient": { "baseline": "2023-12-04", diff --git a/versions/t-/tesseract.json b/versions/t-/tesseract.json index 4d57d976f3..c93495eebb 100644 --- a/versions/t-/tesseract.json +++ b/versions/t-/tesseract.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "3037e2bd6bed856d03266bdfa59f67884896f29c", + "version": "5.5.0", + "port-version": 1 + }, { "git-tree": "af8c40f10f9acc909e8602a251c96f2336ac93aa", "version": "5.5.0",