[libspatialindex] modernize (#28401)

This commit is contained in:
autoantwort 2022-12-19 20:31:17 +01:00 committed by GitHub
parent 53dab18d28
commit 66fc3e48c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 7 deletions

View File

@ -9,19 +9,20 @@ vcpkg_from_github(
mingw.patch
)
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
WINDOWS_USE_MSBUILD
OPTIONS
-DCMAKE_DEBUG_POSTFIX=d
-DSIDX_BUILD_TESTS:BOOL=OFF
)
vcpkg_install_cmake()
vcpkg_cmake_install()
vcpkg_copy_pdbs()
#Debug
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
# Handle copyright
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,10 +1,15 @@
{
"name": "libspatialindex",
"version": "1.9.3",
"port-version": 1,
"port-version": 3,
"description": "C++ implementation of R*-tree, an MVR-tree and a TPR-tree with C API.",
"homepage": "http://libspatialindex.github.com",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
"zlib"
]
}

View File

@ -4246,7 +4246,7 @@
},
"libspatialindex": {
"baseline": "1.9.3",
"port-version": 1
"port-version": 3
},
"libspatialite": {
"baseline": "5.0.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "97b36055483a86131a19e83cde29ec1fbd0e87c3",
"version": "1.9.3",
"port-version": 3
},
{
"git-tree": "48179f2e21bb0918129f0f2d02cacb39f88ab347",
"version": "1.9.3",