[tinyexr] Update to 1.0.5 (#32074)

* [tinyexr] Update to 1.0.5

* fix uwp builds
This commit is contained in:
Osyotr 2023-06-22 08:13:41 +03:00 committed by GitHub
parent 4d8f772609
commit 2d2537b079
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 4 deletions

View File

@ -0,0 +1,12 @@
--- 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

@ -3,11 +3,12 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO syoyo/tinyexr
REF v1.0.1
SHA512 ba3bc09e7c2a93016b260849eb365a05fe1113c55f824767a19a20e3a6ff2a09dd686aa15094dd6c4508e68915dc8eb4a0ccc9778de73d9b55354701e7820e76
REF "v${VERSION}"
SHA512 c15ac7d21cba70c3247ea49674191097325fcba7bfaeb8163298ded2e3b67f55b1b6486fd90a80f23f950661e96c063a28a70569f40a8938cd41249c34b4bbfe
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.1",
"version": "1.0.5",
"description": "Library to load and save OpenEXR(.exr) images",
"homepage": "https://github.com/syoyo/tinyexr",
"license": "BSD-3-Clause",

View File

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

View File

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