Added libe57format port (#22909)

* Added libe57format port

* Formatted the manifest file

* vcpkg x-add-version --all

* From vcpkg_configure_cmake to vcpkg_cmake_configure

* Updated to vcpkg_cmake_config_fixup

* Fix version database and format vcpkg.json.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
José Ángel Martínez Torres 2022-02-04 10:17:03 +01:00 committed by GitHub
parent 8d1b218445
commit bce1415724
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,18 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO asmaloney/libE57Format
REF v2.2.0
SHA512 7b788efce2efdbfba83d4e3ab5c4884b3d85b5e44c510954f9200db26fb97c92f4e33d04209c0647fc39c3af081fc09d1ee6a79857b1980a0e1e43586f78bd0c
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/E57Format")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/libe57format RENAME copyright)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")

View File

@ -0,0 +1,16 @@
{
"name": "libe57format",
"version-string": "2.2.0",
"description": "A library to provide read & write support for the E57 file format.",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
},
"xerces-c"
]
}

View File

@ -3448,6 +3448,10 @@
"baseline": "1.1.312",
"port-version": 1
},
"libe57format": {
"baseline": "2.2.0",
"port-version": 0
},
"libebur128": {
"baseline": "1.2.6",
"port-version": 0

View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "49edc5b7628b3ce80320347ed3284237b50ac162",
"version-string": "2.2.0",
"port-version": 0
}
]
}