[tinyexr] update to 1.0.8 (#37825)

This commit is contained in:
Jia Yue Hua 2024-03-30 08:22:33 +08:00 committed by GitHub
parent cfae61d0f1
commit 21fcc6b67a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 8 additions and 16 deletions

View File

@ -1,12 +0,0 @@
--- a/tinyexr.h
+++ b/tinyexr.h
@@ -608,7 +608,9 @@ extern int LoadEXRFromMemory(float **out_rgba, int *width, int *height,
#define NOMINMAX
#endif
#include <windows.h> // for UTF-8 and memory-mapping
+#if !defined(WINAPI_FAMILY) || (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP)
#define TINYEXR_USE_WIN32_MMAP (1)
+#endif
#elif defined(__linux__) || defined(__unix__)
#include <fcntl.h> // for open()

View File

@ -4,11 +4,10 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO syoyo/tinyexr
REF "v${VERSION}"
SHA512 c15ac7d21cba70c3247ea49674191097325fcba7bfaeb8163298ded2e3b67f55b1b6486fd90a80f23f950661e96c063a28a70569f40a8938cd41249c34b4bbfe
SHA512 583404c77009ec88d75accf006f90ee8972d2205bbae41e460d2cbb9a54d9382735a82eba0657fcc5f4e8b3b0fadd51449cec440529570e75c307eb7f0fcc8fb
HEAD_REF master
PATCHES
fixtargets.patch
fix-uwp.patch # https://github.com/syoyo/tinyexr/pull/195
)
vcpkg_cmake_configure(

View File

@ -1,6 +1,6 @@
{
"name": "tinyexr",
"version": "1.0.5",
"version": "1.0.8",
"description": "Library to load and save OpenEXR(.exr) images",
"homepage": "https://github.com/syoyo/tinyexr",
"license": "BSD-3-Clause",

View File

@ -8645,7 +8645,7 @@
"port-version": 2
},
"tinyexr": {
"baseline": "1.0.5",
"baseline": "1.0.8",
"port-version": 0
},
"tinyfiledialogs": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "8912e0ebb371923d28ba6a2cc8ab5ecd47957e51",
"version": "1.0.8",
"port-version": 0
},
{
"git-tree": "14f0bcbec927dc73035b2642284f1329a113209f",
"version": "1.0.5",