зеркало из https://github.com/microsoft/vcpkg.git
[spix] Add new port (#19351)
* [anyrpc] Bump version to export missing symbol * [spix] Add port * versioning * Update ports/anyrpc/vcpkg.json Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * versioning * Update ports/anyrpc/portfile.cmake Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> * versioning Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
This commit is contained in:
Родитель
642666976a
Коммит
4bd67a4371
|
@ -1,27 +1,28 @@
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO sgieseking/anyrpc
|
||||
REF b288617d0ae1d6e227bcda7d3db7db5329fa2322
|
||||
SHA512 d50ef96ad13f06991e65e9912225b64c1f244bf89b67e4afcddbb18e08a885ec773aea88e1334d6deb73bb3824e916695b3b187b9023368aec3ba21a53dd2830
|
||||
REF b1949b3d40849229055ae75cf5334b9d08579502
|
||||
SHA512 8c674d29e80ec2522d6c1ec959663958ab4e1bf1135727c3c2aaa19e62a81ddbbd1e6a46f3e4679ee02894ad2ab26e70ca7e1e6c8750f3289994311069221b53
|
||||
HEAD_REF master
|
||||
FILE_DISAMBIGUATOR 1
|
||||
)
|
||||
|
||||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" ANYRPC_LIB_BUILD_SHARED)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
PREFER_NINJA
|
||||
DISABLE_PARALLEL_CONFIGURE
|
||||
OPTIONS
|
||||
-DBUILD_EXAMPLES=OFF
|
||||
-DBUILD_TESTS=OFF
|
||||
-DBUILD_WITH_LOG4CPLUS=OFF
|
||||
-DANYRPC_LIB_BUILD_SHARED=${ANYRPC_LIB_BUILD_SHARED}
|
||||
-DBUILD_EXAMPLES=OFF
|
||||
-DBUILD_TESTS=OFF
|
||||
-DBUILD_WITH_LOG4CPLUS=OFF
|
||||
-DANYRPC_LIB_BUILD_SHARED=${ANYRPC_LIB_BUILD_SHARED}
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/license DESTINATION ${CURRENT_PACKAGES_DIR}/share/anyrpc RENAME copyright)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(INSTALL "${SOURCE_PATH}/license" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"name": "anyrpc",
|
||||
"version-string": "2020-01-13",
|
||||
"port-version": 2,
|
||||
"version-date": "2021-08-24",
|
||||
"description": "A multiprotocol remote procedure call system for C++.",
|
||||
"homepage": "https://github.com/sgieseking/anyrpc"
|
||||
}
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO faaxm/spix
|
||||
REF v0.3
|
||||
SHA512 be5695e1e061583645a711c91f218c2038ed66896932d9f32129242d20d0a451a032d53aee2fdb917f1423de96ebcba97887421636a13260a7e7c228a13666c0
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" ANYRPC_LIB_BUILD_SHARED)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DSPIX_BUILD_EXAMPLES=OFF
|
||||
-DSPIX_BUILD_TESTS=OFF
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
||||
vcpkg_copy_pdbs()
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "spix",
|
||||
"version": "0.3",
|
||||
"description": "A minimally invasive UI testing library that enables your Qt/QML app's UI to be controlled either via c++ code, or through an http RPC interface.",
|
||||
"homepage": "https://github.com/faaxm/spix",
|
||||
"dependencies": [
|
||||
"anyrpc",
|
||||
{
|
||||
"name": "qt5-base",
|
||||
"default-features": false
|
||||
},
|
||||
"qt5-declarative",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "5f4ca4180fb5021b85ae6d4c5ad7b7e15f89b367",
|
||||
"version-date": "2021-08-24",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "e82759546790c693469c78e166e6c83f745849b3",
|
||||
"version-string": "2020-01-13",
|
||||
|
|
|
@ -93,8 +93,8 @@
|
|||
"port-version": 0
|
||||
},
|
||||
"anyrpc": {
|
||||
"baseline": "2020-01-13",
|
||||
"port-version": 2
|
||||
"baseline": "2021-08-24",
|
||||
"port-version": 0
|
||||
},
|
||||
"aom": {
|
||||
"baseline": "3.1.2",
|
||||
|
@ -6080,6 +6080,10 @@
|
|||
"baseline": "2021.1",
|
||||
"port-version": 0
|
||||
},
|
||||
"spix": {
|
||||
"baseline": "0.3",
|
||||
"port-version": 0
|
||||
},
|
||||
"sprout": {
|
||||
"baseline": "2019-06-20",
|
||||
"port-version": 0
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "703bc0f66a7cb23368f4230a35451356b92e5c75",
|
||||
"version": "0.3",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
Загрузка…
Ссылка в новой задаче