mirror of https://github.com/microsoft/vcpkg.git
[tinygltf] Fix out-dated hash (#53226)
Co-authored-by: jyu49 <yu_jack@apple.com> Co-authored-by: Billy O'Neal <bion@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
f9801700c3
commit
2bc124dac8
|
|
@ -1,19 +1,19 @@
|
|||
# Header-only library
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO syoyo/tinygltf
|
||||
REF "v${VERSION}"
|
||||
SHA512 3305c94aaa6f2b82ac2533bb17672b0ddd0239c413acc87b428be50dc0f9bcd4c300f6ed7f3077424ccc8237e4e75f1194d311d21f799809e0220eeb3f8900a4
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
# Put the licence file where vcpkg expects it
|
||||
# Copy the tinygltf header files and fix the path to json
|
||||
vcpkg_replace_string("${SOURCE_PATH}/tiny_gltf.h" "#include \"json.hpp\"" "#include <nlohmann/json.hpp>")
|
||||
file(INSTALL
|
||||
"${SOURCE_PATH}/tiny_gltf.h"
|
||||
"${SOURCE_PATH}/tiny_gltf_v3.h"
|
||||
"${SOURCE_PATH}/tinygltf_json.h"
|
||||
DESTINATION "${CURRENT_PACKAGES_DIR}/include"
|
||||
)
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
# Header-only library
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO syoyo/tinygltf
|
||||
REF "v${VERSION}"
|
||||
SHA512 b9a689f25284206969f31ba382abd06cd4ed69ee6a118af3484aaa17b68aebefddc97a4e722e3bde8fa39b737677cb09cbd3d3e6f2a573ac4ba1fb718478b79a
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
# Put the licence file where vcpkg expects it
|
||||
# Copy the tinygltf header files and fix the path to json
|
||||
vcpkg_replace_string("${SOURCE_PATH}/tiny_gltf.h" "#include \"json.hpp\"" "#include <nlohmann/json.hpp>")
|
||||
file(INSTALL
|
||||
"${SOURCE_PATH}/tiny_gltf.h"
|
||||
"${SOURCE_PATH}/tiny_gltf_v3.h"
|
||||
"${SOURCE_PATH}/tinygltf_json.h"
|
||||
DESTINATION "${CURRENT_PACKAGES_DIR}/include"
|
||||
)
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
{
|
||||
"name": "tinygltf",
|
||||
"version": "3.0.0",
|
||||
"description": "A header only C++11 glTF 2.0 library.",
|
||||
"port-version": 1,
|
||||
"description": "A header-only glTF 2.0 library with a C++11 v2 API and a C++17 v3 API.",
|
||||
"homepage": "https://github.com/syoyo/tinygltf",
|
||||
"license": "MIT AND BSL-1.0 AND Zlib",
|
||||
"dependencies": [
|
||||
"nlohmann-json",
|
||||
"stb"
|
||||
|
|
|
|||
|
|
@ -10234,7 +10234,7 @@
|
|||
},
|
||||
"tinygltf": {
|
||||
"baseline": "3.0.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"tinynpy": {
|
||||
"baseline": "1.1",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "9c983959bc083131a4f5ca06ea51178a3e5a04b1",
|
||||
"version": "3.0.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "43cde6d4cfbe0817d997fb8374f6c89d4959601b",
|
||||
"version": "3.0.0",
|
||||
|
|
|
|||
Loading…
Reference in New Issue