diff --git a/ports/vtk/portfile.cmake b/ports/vtk/portfile.cmake index fbbc018e11992e..d592160ccc390a 100644 --- a/ports/vtk/portfile.cmake +++ b/ports/vtk/portfile.cmake @@ -43,6 +43,14 @@ vcpkg_from_github( # ============================================================================= #Overwrite outdated modules if they have not been patched: file(COPY "${CURRENT_PORT_DIR}/FindHDF5.cmake" DESTINATION "${SOURCE_PATH}/CMake/patches/99") # due to usage of targets in netcdf-c + +file(REMOVE "${SOURCE_PATH}/CMake/FindOGG.cmake") +vcpkg_replace_string("${SOURCE_PATH}/ThirdParty/ogg/CMakeLists.txt" "OGG::OGG" "Ogg::ogg") +vcpkg_replace_string("${SOURCE_PATH}/ThirdParty/ogg/CMakeLists.txt" "OGG" "Ogg") +vcpkg_replace_string("${SOURCE_PATH}/CMake/vtkInstallCMakePackage.cmake" "FindOGG.cmake\n" "") +vcpkg_replace_string("${SOURCE_PATH}/CMake/FindTHEORA.cmake" "find_dependency(OGG)" "find_dependency(Ogg CONFIG)") +vcpkg_replace_string("${SOURCE_PATH}/CMake/FindTHEORA.cmake" "OGG::OGG" "Ogg::ogg") + # ============================================================================= if(HDF5_WITH_PARALLEL AND NOT "mpi" IN_LIST FEATURES) diff --git a/ports/vtk/vcpkg.json b/ports/vtk/vcpkg.json index 43b4c5f7ef1f5a..6ad4d4330253f3 100644 --- a/ports/vtk/vcpkg.json +++ b/ports/vtk/vcpkg.json @@ -1,6 +1,7 @@ { "name": "vtk", "version-semver": "9.3.0-pv5.12.0", + "port-version": 1, "description": "Software system for 3D computer graphics, image processing, and visualization", "homepage": "https://github.com/Kitware/VTK", "license": "BSD-3-Clause", diff --git a/versions/baseline.json b/versions/baseline.json index 21d7c09eb6ac5f..c3dd4d04de7f9f 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -9186,7 +9186,7 @@ }, "vtk": { "baseline": "9.3.0-pv5.12.0", - "port-version": 0 + "port-version": 1 }, "vtk-dicom": { "baseline": "0.8.14", diff --git a/versions/v-/vtk.json b/versions/v-/vtk.json index 2d2c241034a65e..087ae586458e3c 100644 --- a/versions/v-/vtk.json +++ b/versions/v-/vtk.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "8450b99263cd711f13ed87705d86dee4ac338e5a", + "version-semver": "9.3.0-pv5.12.0", + "port-version": 1 + }, { "git-tree": "aa0dbd73659c3eda9ccce23fe3008683b1a8ec38", "version-semver": "9.3.0-pv5.12.0",