mirror of https://github.com/microsoft/vcpkg.git
[hesphoros-uniconv] Add new port (#50240)
Co-authored-by: Javier Matos Denizac <javiermat@microsoft.com>
This commit is contained in:
parent
ff9d90fdce
commit
443d40ce0b
|
|
@ -0,0 +1,31 @@
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO hesphoros/UniConv
|
||||
REF "v${VERSION}"
|
||||
SHA512 e830ce3d10172dbce460677b09991fa2697d2301deb65b7ed0a5af92cd06ccb4f7b96f4ef354da1d7049f6ae79e3f982886f12e4e6909d332189a5fc132d25b1
|
||||
HEAD_REF main
|
||||
)
|
||||
|
||||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" UNICONV_BUILD_SHARED)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DUNICONV_BUILD_SHARED=${UNICONV_BUILD_SHARED}
|
||||
-DUNICONV_BUILD_TESTS=OFF
|
||||
-DUNICONV_LIBICONV_SOURCE=SYSTEM
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Git=ON
|
||||
-DFETCHCONTENT_FULLY_DISCONNECTED=ON
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(
|
||||
PACKAGE_NAME UniConv
|
||||
CONFIG_PATH lib/cmake/UniConv
|
||||
)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"name": "hesphoros-uniconv",
|
||||
"version": "3.3.2",
|
||||
"description": "A high-performance C++ character encoding conversion library with modern C++17 interface",
|
||||
"homepage": "https://github.com/hesphoros/UniConv",
|
||||
"documentation": "https://github.com/hesphoros/UniConv/blob/main/README.MD",
|
||||
"license": "MIT",
|
||||
"supports": "!(arm & windows)",
|
||||
"dependencies": [
|
||||
"libiconv",
|
||||
"parallel-hashmap",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -3756,6 +3756,10 @@
|
|||
"baseline": "1.6.0",
|
||||
"port-version": 3
|
||||
},
|
||||
"hesphoros-uniconv": {
|
||||
"baseline": "3.3.2",
|
||||
"port-version": 0
|
||||
},
|
||||
"hexi": {
|
||||
"baseline": "1.3.5",
|
||||
"port-version": 0
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "be5f66406d5bfe259e46d90127b948bda3c40b2b",
|
||||
"version": "3.3.2",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue