mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-19 06:03:02 +08:00
[tinyexr] Update to 1.0.5 (#32074)
* [tinyexr] Update to 1.0.5 * fix uwp builds
This commit is contained in:
parent
4d8f772609
commit
2d2537b079
12
ports/tinyexr/fix-uwp.patch
Normal file
12
ports/tinyexr/fix-uwp.patch
Normal 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()
|
@ -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(
|
||||
|
@ -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",
|
||||
|
@ -8057,7 +8057,7 @@
|
||||
"port-version": 2
|
||||
},
|
||||
"tinyexr": {
|
||||
"baseline": "1.0.1",
|
||||
"baseline": "1.0.5",
|
||||
"port-version": 0
|
||||
},
|
||||
"tinyfiledialogs": {
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "14f0bcbec927dc73035b2642284f1329a113209f",
|
||||
"version": "1.0.5",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "d0381d495cb1b502e1b5ccaafb2409f75c0726a3",
|
||||
"version": "1.0.1",
|
||||
|
Loading…
Reference in New Issue
Block a user