@crossbind/port-geos-ios 2.0.0-beta.62 → 2.0.0-beta.64

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.
@@ -51,7 +51,8 @@ if(NOT PACKAGE_HOST_INDEX EQUAL -1)
51
51
  target_link_libraries("${PROJECT_NAME}" INTERFACE "${PROJECT_LIBS_DIR}")
52
52
  endif()
53
53
 
54
- if(NOT (APPLE AND CMAKE_SYSTEM_NAME STREQUAL "iOS"))
54
+ # On iOS each library's xcframework carries the headers, so only a header-only package needs them here.
55
+ if(NOT (APPLE AND CMAKE_SYSTEM_NAME STREQUAL "iOS") OR PROJECT_LIBS STREQUAL "")
55
56
  target_include_directories("${PROJECT_NAME}" INTERFACE "${PROJECT_SOURCE_DIR}/${PROJECT_TARGET_HOST}/include")
56
57
  endif()
57
58
  endif()
@@ -1,6 +1,7 @@
1
1
  #!/bin/sh
2
+ crossbind_prefix=$(cd "$(dirname "$0")/.." && pwd)
2
3
 
3
- prefix=/Users/runner/work/crossbind/crossbind/ports/geos/ios/.crossbind/build/Source-Release/prebuilt/ios-iphoneos-mt-release
4
+ prefix="${crossbind_prefix}"
4
5
  exec_prefix=${prefix}
5
6
  includedir=${prefix}/include
6
7
  libdir=${exec_prefix}/lib
@@ -53,10 +54,10 @@ while test $# -gt 0; do
53
54
  echo -L${libdir} -lgeos
54
55
  ;;
55
56
  --static-clibs)
56
- echo -L${libdir} -lgeos_c -lgeos -lstdc++ -lm
57
+ echo -L${libdir} -lgeos_c -lgeos -lc++ -lm
57
58
  ;;
58
59
  --static-cclibs)
59
- echo -L${libdir} -lgeos -lstdc++ -lm
60
+ echo -L${libdir} -lgeos -lc++ -lm
60
61
  ;;
61
62
  --cflags)
62
63
  echo -I${includedir}
@@ -1,4 +1,4 @@
1
- prefix=/Users/runner/work/crossbind/crossbind/ports/geos/ios/.crossbind/build/Source-Release/prebuilt/ios-iphoneos-mt-release
1
+ prefix=${pcfiledir}/../..
2
2
  exec_prefix=${prefix}
3
3
  includedir=${prefix}/include
4
4
  libdir=${exec_prefix}/lib
@@ -9,4 +9,4 @@ Requires:
9
9
  Version: 3.15.0
10
10
  Cflags: -I${includedir}
11
11
  Libs: -L${libdir} -lgeos_c
12
- Libs.private: -lgeos -lstdc++ -lm
12
+ Libs.private: -lgeos -lc++ -lm
@@ -0,0 +1 @@
1
+ 12d3f78d0535fc6f36a024b096f3ed6968106b5fefd3c979373234cb32349b8f
@@ -1,6 +1,7 @@
1
1
  #!/bin/sh
2
+ crossbind_prefix=$(cd "$(dirname "$0")/.." && pwd)
2
3
 
3
- prefix=/Users/runner/work/crossbind/crossbind/ports/geos/ios/.crossbind/build/Source-Release/prebuilt/ios-iphonesimulator-mt-release
4
+ prefix="${crossbind_prefix}"
4
5
  exec_prefix=${prefix}
5
6
  includedir=${prefix}/include
6
7
  libdir=${exec_prefix}/lib
@@ -53,10 +54,10 @@ while test $# -gt 0; do
53
54
  echo -L${libdir} -lgeos
54
55
  ;;
55
56
  --static-clibs)
56
- echo -L${libdir} -lgeos_c -lgeos -lstdc++ -lm
57
+ echo -L${libdir} -lgeos_c -lgeos -lc++ -lm
57
58
  ;;
58
59
  --static-cclibs)
59
- echo -L${libdir} -lgeos -lstdc++ -lm
60
+ echo -L${libdir} -lgeos -lc++ -lm
60
61
  ;;
61
62
  --cflags)
62
63
  echo -I${includedir}
@@ -1,4 +1,4 @@
1
- prefix=/Users/runner/work/crossbind/crossbind/ports/geos/ios/.crossbind/build/Source-Release/prebuilt/ios-iphonesimulator-mt-release
1
+ prefix=${pcfiledir}/../..
2
2
  exec_prefix=${prefix}
3
3
  includedir=${prefix}/include
4
4
  libdir=${exec_prefix}/lib
@@ -9,4 +9,4 @@ Requires:
9
9
  Version: 3.15.0
10
10
  Cflags: -I${includedir}
11
11
  Libs: -L${libdir} -lgeos_c
12
- Libs.private: -lgeos -lstdc++ -lm
12
+ Libs.private: -lgeos -lc++ -lm
@@ -0,0 +1 @@
1
+ 12d3f78d0535fc6f36a024b096f3ed6968106b5fefd3c979373234cb32349b8f
@@ -10,7 +10,7 @@
10
10
  <key>HeadersPath</key>
11
11
  <string>Headers</string>
12
12
  <key>LibraryIdentifier</key>
13
- <string>ios-arm64</string>
13
+ <string>ios-arm64-simulator</string>
14
14
  <key>LibraryPath</key>
15
15
  <string>libgeos_c.a</string>
16
16
  <key>SupportedArchitectures</key>
@@ -19,6 +19,8 @@
19
19
  </array>
20
20
  <key>SupportedPlatform</key>
21
21
  <string>ios</string>
22
+ <key>SupportedPlatformVariant</key>
23
+ <string>simulator</string>
22
24
  </dict>
23
25
  <dict>
24
26
  <key>BinaryPath</key>
@@ -26,7 +28,7 @@
26
28
  <key>HeadersPath</key>
27
29
  <string>Headers</string>
28
30
  <key>LibraryIdentifier</key>
29
- <string>ios-arm64-simulator</string>
31
+ <string>ios-arm64</string>
30
32
  <key>LibraryPath</key>
31
33
  <string>libgeos_c.a</string>
32
34
  <key>SupportedArchitectures</key>
@@ -35,8 +37,6 @@
35
37
  </array>
36
38
  <key>SupportedPlatform</key>
37
39
  <string>ios</string>
38
- <key>SupportedPlatformVariant</key>
39
- <string>simulator</string>
40
40
  </dict>
41
41
  </array>
42
42
  <key>CFBundlePackageType</key>
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@crossbind/port-geos-ios",
3
- "version": "2.0.0-beta.62",
3
+ "version": "2.0.0-beta.64",
4
4
  "nativeVersion": "3.15.0",
5
5
  "description": "iOS build of the precompiled GEOS geometry library, built with crossbind. Use it together with the main package @crossbind/port-geos.",
6
- "homepage": "https://github.com/crossbind/crossbind/tree/main/ports/geos#readme",
6
+ "homepage": "https://crossbind.dev/ports/geos/",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "https://github.com/crossbind/crossbind.git"
10
10
  },
11
11
  "type": "module",
12
- "license": "LGPL-2.1-or-later",
12
+ "license": "LGPL-2.1-only",
13
13
  "keywords": [
14
14
  "geos",
15
15
  "libgeos",
@@ -21,10 +21,10 @@
21
21
  "react-native"
22
22
  ],
23
23
  "dependencies": {
24
- "@crossbind/port-geos": "^2.0.0-beta.62"
24
+ "@crossbind/port-geos": "^2.0.0-beta.64"
25
25
  },
26
26
  "devDependencies": {
27
- "crossbind": "^2.0.0-beta.62"
27
+ "crossbind": "^2.0.0-beta.64"
28
28
  },
29
29
  "scripts": {
30
30
  "build": "crossbind build -p ios",