diff --git a/ports/sqlcipher/CMakeLists.txt b/ports/sqlcipher/CMakeLists.txt index 083cf4a265f406..d1972c31f6130a 100644 --- a/ports/sqlcipher/CMakeLists.txt +++ b/ports/sqlcipher/CMakeLists.txt @@ -67,6 +67,14 @@ if(NOT SQLITE3_SKIP_TOOLS) ) endif() +SET(prefix "${CMAKE_INSTALL_PREFIX}") +SET(exec_prefix "\${prefix}") +SET(libdir "\${exec_prefix}/${CMAKE_INSTALL_LIBDIR}") +SET(includedir "\${prefix}/include") +SET(PACKAGE_VERSION "4.5.3") +configure_file("${CMAKE_CURRENT_SOURCE_DIR}/sqlcipher.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/sqlcipher.pc" @ONLY) +install(FILES "${CMAKE_CURRENT_BINARY_DIR}/sqlcipher.pc" DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig") + install( TARGETS sqlcipher EXPORT sqlcipher-targets diff --git a/ports/sqlcipher/portfile.cmake b/ports/sqlcipher/portfile.cmake index 9f9dc95c8de4b9..1c6fcb6cdddd02 100644 --- a/ports/sqlcipher/portfile.cmake +++ b/ports/sqlcipher/portfile.cmake @@ -82,3 +82,4 @@ file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share vcpkg_copy_pdbs() vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/${PORT}") +vcpkg_fixup_pkgconfig() diff --git a/ports/sqlcipher/vcpkg.json b/ports/sqlcipher/vcpkg.json index 9ca2e5e1367be2..dda4f377969d6f 100644 --- a/ports/sqlcipher/vcpkg.json +++ b/ports/sqlcipher/vcpkg.json @@ -1,7 +1,7 @@ { "name": "sqlcipher", "version": "4.5.3", - "port-version": 1, + "port-version": 2, "description": "SQLCipher extends the SQLite database library to add security enhancements that make it more suitable for encrypted local data storage.", "homepage": "https://www.zetetic.net/sqlcipher", "license": null, diff --git a/versions/baseline.json b/versions/baseline.json index d4abc580dfd0cf..c8a93cb6908842 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -7770,7 +7770,7 @@ }, "sqlcipher": { "baseline": "4.5.3", - "port-version": 1 + "port-version": 2 }, "sqlite-modern-cpp": { "baseline": "3.2-936cd0c8", diff --git a/versions/s-/sqlcipher.json b/versions/s-/sqlcipher.json index 2ddbd443fd1fdb..7d48ce1aeba76f 100644 --- a/versions/s-/sqlcipher.json +++ b/versions/s-/sqlcipher.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "d270ac9cc648113c540f9f29e9ab0ebece65e369", + "version": "4.5.3", + "port-version": 2 + }, { "git-tree": "1debf9d86243c81b196302225f7c382958240a30", "version": "4.5.3",