bare-exif 1.0.0 → 1.0.1
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/cmake/ports/libexif/port.cmake +38 -2
- package/package.json +1 -1
- 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/win32-arm64/bare-exif.bare +0 -0
- package/prebuilds/win32-x64/bare-exif.bare +0 -0
|
@@ -7,7 +7,7 @@ else()
|
|
|
7
7
|
endif()
|
|
8
8
|
|
|
9
9
|
set(env)
|
|
10
|
-
|
|
10
|
+
set(path)
|
|
11
11
|
set(args
|
|
12
12
|
--disable-shared
|
|
13
13
|
--disable-docs
|
|
@@ -82,9 +82,45 @@ if(CMAKE_C_COMPILER)
|
|
|
82
82
|
list(APPEND env "LDFLAGS=--target=${CMAKE_C_COMPILER_TARGET}")
|
|
83
83
|
endif()
|
|
84
84
|
|
|
85
|
-
list(APPEND
|
|
85
|
+
list(APPEND path "${CC_path}")
|
|
86
|
+
endif()
|
|
87
|
+
|
|
88
|
+
if(CMAKE_AR)
|
|
89
|
+
cmake_path(GET CMAKE_AR PARENT_PATH AR_path)
|
|
90
|
+
cmake_path(GET CMAKE_AR FILENAME AR_filename)
|
|
91
|
+
|
|
92
|
+
if(WIN32 AND AR_filename MATCHES "llvm-lib.exe")
|
|
93
|
+
set(AR_filename "llvm-ar.exe")
|
|
94
|
+
endif()
|
|
95
|
+
|
|
96
|
+
list(APPEND env "AR=${AR_filename}")
|
|
97
|
+
list(APPEND path "${AR_path}")
|
|
98
|
+
endif()
|
|
99
|
+
|
|
100
|
+
if(CMAKE_RANLIB)
|
|
101
|
+
cmake_path(GET CMAKE_RANLIB PARENT_PATH RANLIB_path)
|
|
102
|
+
cmake_path(GET CMAKE_RANLIB FILENAME RANLIB_filename)
|
|
103
|
+
|
|
104
|
+
list(APPEND env "RANLIB=${RANLIB_filename}")
|
|
105
|
+
list(APPEND path "${RANLIB_path}")
|
|
106
|
+
endif()
|
|
107
|
+
|
|
108
|
+
foreach(part "$ENV{PATH}")
|
|
109
|
+
cmake_path(NORMAL_PATH part)
|
|
110
|
+
|
|
111
|
+
list(APPEND path "${part}")
|
|
112
|
+
endforeach()
|
|
113
|
+
|
|
114
|
+
list(REMOVE_DUPLICATES path)
|
|
115
|
+
|
|
116
|
+
if(CMAKE_HOST_WIN32)
|
|
117
|
+
list(TRANSFORM path REPLACE "([A-Z]):" "/\\1")
|
|
86
118
|
endif()
|
|
87
119
|
|
|
120
|
+
list(JOIN path ":" path)
|
|
121
|
+
|
|
122
|
+
list(APPEND env "PATH=${path}")
|
|
123
|
+
|
|
88
124
|
declare_port(
|
|
89
125
|
"github:libexif/libexif@0.6.25"
|
|
90
126
|
exif
|
package/package.json
CHANGED
|
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
|