bare-exif 1.1.3 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/binding.c +1 -1
- package/cmake/ports/libexif/port.cmake +7 -3
- package/package.json +2 -2
- package/prebuilds/android-arm/bare-exif.bare +0 -0
- package/prebuilds/android-arm64/bare-exif.bare +0 -0
- package/prebuilds/android-ia32/bare-exif.bare +0 -0
- package/prebuilds/android-x64/bare-exif.bare +0 -0
- package/prebuilds/darwin-arm64/bare-exif.bare +0 -0
- package/prebuilds/darwin-x64/bare-exif.bare +0 -0
- package/prebuilds/ios-arm64/bare-exif.bare +0 -0
- package/prebuilds/ios-arm64-simulator/bare-exif.bare +0 -0
- package/prebuilds/ios-x64-simulator/bare-exif.bare +0 -0
- package/prebuilds/linux-arm64/bare-exif.bare +0 -0
- package/prebuilds/linux-x64/bare-exif.bare +0 -0
- package/prebuilds/wasi-wasm32/bare-exif.wasm +0 -0
- package/prebuilds/win32-arm64/bare-exif.bare +0 -0
- package/prebuilds/win32-x64/bare-exif.bare +0 -0
package/binding.c
CHANGED
|
@@ -29,6 +29,8 @@ elseif(platform MATCHES "linux|android")
|
|
|
29
29
|
set(platform "linux")
|
|
30
30
|
elseif(platform MATCHES "windows")
|
|
31
31
|
set(platform "windows")
|
|
32
|
+
elseif(platform MATCHES "wasi")
|
|
33
|
+
set(platform "wasi")
|
|
32
34
|
else()
|
|
33
35
|
message(FATAL_ERROR "Unsupported platform '${platform}'")
|
|
34
36
|
endif()
|
|
@@ -55,6 +57,8 @@ elseif(arch MATCHES "x64|x86_64|amd64")
|
|
|
55
57
|
set(arch "x86_64")
|
|
56
58
|
elseif(arch MATCHES "x86|i386|i486|i586|i686")
|
|
57
59
|
set(arch "i686")
|
|
60
|
+
elseif(arch MATCHES "wasm32")
|
|
61
|
+
set(arch "wasm32")
|
|
58
62
|
else()
|
|
59
63
|
message(FATAL_ERROR "Unsupported architecture '${arch}'")
|
|
60
64
|
endif()
|
|
@@ -63,7 +67,7 @@ list(APPEND args --host=${arch}-${platform})
|
|
|
63
67
|
|
|
64
68
|
if(APPLE)
|
|
65
69
|
list(APPEND args --with-sysroot=${CMAKE_OSX_SYSROOT})
|
|
66
|
-
elseif(ANDROID)
|
|
70
|
+
elseif(ANDROID OR platform STREQUAL "wasi")
|
|
67
71
|
list(APPEND args --with-sysroot=${CMAKE_SYSROOT})
|
|
68
72
|
endif()
|
|
69
73
|
|
|
@@ -75,7 +79,7 @@ if(CMAKE_C_COMPILER)
|
|
|
75
79
|
|
|
76
80
|
if(APPLE)
|
|
77
81
|
string(APPEND flags " -isysroot ${CMAKE_OSX_SYSROOT}")
|
|
78
|
-
elseif(ANDROID)
|
|
82
|
+
elseif(ANDROID OR platform STREQUAL "wasi")
|
|
79
83
|
string(APPEND flags " --sysroot=${CMAKE_SYSROOT}")
|
|
80
84
|
endif()
|
|
81
85
|
|
|
@@ -130,7 +134,7 @@ list(JOIN path ":" path)
|
|
|
130
134
|
list(APPEND env "PATH=${path}")
|
|
131
135
|
|
|
132
136
|
declare_port(
|
|
133
|
-
"github:libexif/libexif@0.6.
|
|
137
|
+
"github:libexif/libexif@0.6.26"
|
|
134
138
|
exif
|
|
135
139
|
AUTOTOOLS
|
|
136
140
|
BYPRODUCTS lib/${lib}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bare-exif",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "EXIF support for Bare",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./package": "./package.json",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"homepage": "https://github.com/holepunchto/bare-exif#readme",
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"brittle": "^3.4.0",
|
|
35
|
-
"cmake-bare": "^1.1
|
|
35
|
+
"cmake-bare": "^1.10.1",
|
|
36
36
|
"cmake-ports": "^1.6.0",
|
|
37
37
|
"lunte": "^1.8.0",
|
|
38
38
|
"prettier": "^3.3.3",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|