@crossbind/port-geos-ios 2.0.0-beta.60 → 2.0.0-beta.63

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)
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
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@crossbind/port-geos-ios",
3
- "version": "2.0.0-beta.60",
3
+ "version": "2.0.0-beta.63",
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.60"
24
+ "@crossbind/port-geos": "^2.0.0-beta.63"
25
25
  },
26
26
  "devDependencies": {
27
- "crossbind": "^2.0.0-beta.60"
27
+ "crossbind": "^2.0.0-beta.63"
28
28
  },
29
29
  "scripts": {
30
30
  "build": "crossbind build -p ios",