[LMDB] update to 0.9.29 (#24045)

* #24044 LMDB update to 0.9.29

* #24044 LMDB update to 0.9.29

* #24044 LMDB update to 0.9.29

* Modernize port file.cmake

* update version

Co-authored-by: Jonliu1993 <13720414433@163.com>
This commit is contained in:
jmanjon 2022-04-11 08:50:10 -07:00 committed by GitHub
parent 6f9687b7ec
commit 9c5dcd6afe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 28 additions and 14 deletions

View File

@ -1,23 +1,23 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO LMDB/lmdb
REF 0c357cc88a00bda03aa4a982fc227a5872707df2 # LMDB_0.9.24
SHA512 a4d4ff96078eaf608eff08014d56561903f113a32617d3c9327dcdedfb7b261e03a80bf705f9d7159bb065eb1ab3c95af49d42525b75de0c2953223377042dec
REF 8ad7be2510414b9506ec9f9e24f24d04d9b04a1a # LMDB_0.9.29
SHA512 a18b6217761bdfcc5964d9817addd2d0c6c735d02a823717eb7ae1561a48110da0708a3290e21297d481e4d8eeb5d92a4a6860ff44888bf2da665cd9f167513c
HEAD_REF master
)
file(COPY ${CMAKE_CURRENT_LIST_DIR}/cmake/ DESTINATION ${SOURCE_PATH}/libraries/liblmdb)
file(COPY "${CMAKE_CURRENT_LIST_DIR}/cmake/" DESTINATION "${SOURCE_PATH}/libraries/liblmdb")
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}/libraries/liblmdb
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}/libraries/liblmdb"
OPTIONS_DEBUG
-DLMDB_INSTALL_HEADERS=OFF
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets()
vcpkg_cmake_install()
file(INSTALL ${SOURCE_PATH}/libraries/liblmdb/COPYRIGHT DESTINATION ${CURRENT_PACKAGES_DIR}/share/lmdb RENAME copyright)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(INSTALL "${SOURCE_PATH}/libraries/liblmdb/COPYRIGHT" DESTINATION "${CURRENT_PACKAGES_DIR}/share/lmdb" RENAME copyright)
vcpkg_copy_pdbs()

View File

@ -1,8 +1,17 @@
{
"name": "lmdb",
"version": "0.9.24",
"port-version": 2,
"version": "0.9.29",
"description": "LMDB is an extraordinarily fast, memory-efficient database",
"homepage": "https://github.com/LMDB/lmdb",
"license": null
"license": null,
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -4249,8 +4249,8 @@
"port-version": 3
},
"lmdb": {
"baseline": "0.9.24",
"port-version": 2
"baseline": "0.9.29",
"port-version": 0
},
"lodepng": {
"baseline": "2021-12-04",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "980e2c4a26c75996e3940a9b46032356643e592b",
"version": "0.9.29",
"port-version": 0
},
{
"git-tree": "022fa44ff8c5ef9ea4b308468259c0775d4a72c1",
"version": "0.9.24",