mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[qpid-proton] no absolute paths (#21167)
This commit is contained in:
parent
28fe97c0ce
commit
cb95046f09
@ -10,9 +10,8 @@ vcpkg_from_github(
|
||||
HEAD_REF next
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DPYTHON_EXECUTABLE=${PYTHON3}
|
||||
-DLIB_SUFFIX=
|
||||
@ -23,27 +22,17 @@ vcpkg_configure_cmake(
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_CyrusSASL=ON
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake)
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
file(GLOB SHARE_DIR ${CURRENT_PACKAGES_DIR}/share/*)
|
||||
file(RENAME ${SHARE_DIR} ${CURRENT_PACKAGES_DIR}/share/${PORT})
|
||||
file(RENAME "${CURRENT_PACKAGES_DIR}/share/proton/LICENSE.txt"
|
||||
"${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
||||
|
||||
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/lib/cmake/tmp)
|
||||
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/debug/lib/cmake/tmp)
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/lib/cmake/Proton ${CURRENT_PACKAGES_DIR}/lib/cmake/tmp/Proton)
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/cmake/Proton ${CURRENT_PACKAGES_DIR}/debug/lib/cmake/tmp/Proton)
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/tmp/Proton TARGET_PATH share/proton)
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/ProtonCpp TARGET_PATH share/protoncpp)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/proton")
|
||||
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/share/${PORT}/LICENSE.txt
|
||||
${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/lib/pkgconfig)
|
||||
file(REMOVE ${CURRENT_PACKAGES_DIR}/share/qpid-proton/CMakeLists.txt)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/share/qpid-proton/tests)
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/share/qpid-proton/examples)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/proton/version.h" "#define PN_INSTALL_PREFIX \"${CURRENT_PACKAGES_DIR}\"" "")
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "qpid-proton",
|
||||
"version-string": "0.32.0",
|
||||
"port-version": 1,
|
||||
"version": "0.32.0",
|
||||
"port-version": 2,
|
||||
"description": "Qpid Proton is a high-performance, lightweight messaging library.",
|
||||
"homepage": "https://github.com/apache/qpid-proton",
|
||||
"dependencies": [
|
||||
@ -13,6 +13,14 @@
|
||||
{
|
||||
"name": "openssl",
|
||||
"platform": "!windows & !uwp"
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -5422,7 +5422,7 @@
|
||||
},
|
||||
"qpid-proton": {
|
||||
"baseline": "0.32.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"qscintilla": {
|
||||
"baseline": "2.12.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "c6ab0bd896fa44681e2c3d4b325915ddacb38a1a",
|
||||
"version": "0.32.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "b8fcc3b90edf020392d7fb1375c252b932a5e2be",
|
||||
"version-string": "0.32.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user