From 6e90218dcd09b8a9ae3d687017907fa6456c757f Mon Sep 17 00:00:00 2001 From: WangWeiLin-MV <156736127+WangWeiLin-MV@users.noreply.github.com> Date: Fri, 1 Nov 2024 15:53:46 +0800 Subject: [PATCH] [fastgltf] Update to 0.8.0 (#40874) --- ports/fastgltf/portfile.cmake | 24 +++++++++++++++++++++++- ports/fastgltf/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/f-/fastgltf.json | 5 +++++ 4 files changed, 30 insertions(+), 3 deletions(-) diff --git a/ports/fastgltf/portfile.cmake b/ports/fastgltf/portfile.cmake index 87264300e9..87d2a699ce 100644 --- a/ports/fastgltf/portfile.cmake +++ b/ports/fastgltf/portfile.cmake @@ -1,9 +1,31 @@ +vcpkg_download_distfile(PATCH_FIX_ANDROID_ISSUE_74 + URLS https://github.com/spnda/fastgltf/commit/e42df8b70d42f62fa9c678c23213e9cb649b9060.patch?full_index=1 + SHA512 1f205aef9fa5658f7139304002528db612e5f6d74b8281a568c52a0bcd94830c113c9875ea887374785ad041139ee336a66de1881179b0317900249a1140f537 + FILENAME spnda-fastgltf-v0.8.0-e42df8b70d42f62fa9c678c23213e9cb649b9060.patch +) + +vcpkg_download_distfile(PATCH_UWP_DISABLE_MEMORYMAPPEDFILE + URLS https://github.com/spnda/fastgltf/commit/279d960eee4c85690c90df92ce0bdc121a6233f4.patch?full_index=1 + SHA512 4f837e03c9b3ee3333a09b675e2395b300fff8e8231962a26da18e32d84cc9099bf231c174ca100c324e45beb0891fb5aeea40f35d71881350d845e6e2c95cd6 + FILENAME spnda-fastgltf-v0.8.0-279d960eee4c85690c90df92ce0bdc121a6233f4.patch +) + +vcpkg_download_distfile(PATCH_UWP_WINAPI_FAMILY + URLS https://github.com/spnda/fastgltf/commit/5278229d48e06d4770ecfea97402bbe1c8380038.patch?full_index=1 + SHA512 2521859f6126d0602ac9d641553ab502ad21ccc6f9227cf23da16ae7ae6df77f53b9a2b883c52a9ae191476a57a07e0008aa42f00c61cef09cc5d7145586e729 + FILENAME spnda-fastgltf-v0.8.0-5278229d48e06d4770ecfea97402bbe1c8380038.patch +) + vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO spnda/fastgltf REF "v${VERSION}" - SHA512 429a207ca0e4cfce1c84a295106063e665a70c6748ff95db5c71ecb010a1e2d868c5c8ada3e64fc8011948107aa302b639568ccecfcf5fab6004ac50852a8cac + SHA512 7fbc479e03b26ef246625abd86b005ed1dde84e607346e890b71abffc2b26cf7b59880ab286526da5b811dd1f74cff9a6d44d65e128154fcd0f1c540dc11f1f5 HEAD_REF main + PATCHES + "${PATCH_FIX_ANDROID_ISSUE_74}" + "${PATCH_UWP_DISABLE_MEMORYMAPPEDFILE}" + "${PATCH_UWP_WINAPI_FAMILY}" ) vcpkg_cmake_configure( diff --git a/ports/fastgltf/vcpkg.json b/ports/fastgltf/vcpkg.json index 2b061237fa..918b3c1664 100644 --- a/ports/fastgltf/vcpkg.json +++ b/ports/fastgltf/vcpkg.json @@ -1,6 +1,6 @@ { "name": "fastgltf", - "version": "0.7.2", + "version": "0.8.0", "description": "A modern C++17 glTF 2.0 library focused on speed, correctness, and usability", "homepage": "https://github.com/spnda/fastgltf", "license": "MIT", diff --git a/versions/baseline.json b/versions/baseline.json index 8c91bdc0e8..c53d7da663 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2693,7 +2693,7 @@ "port-version": 4 }, "fastgltf": { - "baseline": "0.7.2", + "baseline": "0.8.0", "port-version": 0 }, "fastio": { diff --git a/versions/f-/fastgltf.json b/versions/f-/fastgltf.json index e0574ae59f..967663afe4 100644 --- a/versions/f-/fastgltf.json +++ b/versions/f-/fastgltf.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "004b3a844521c72dd3699e70c91ff1e095b96b45", + "version": "0.8.0", + "port-version": 0 + }, { "git-tree": "87adadcaa0d7637814be55f2afc752fea130e3ad", "version": "0.7.2",