mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
[openmama] Modify the output path of the common header file (#16725)
* [openmama] Modify the path of the common header file * Update json files * Remove file existence judgment * Update git tree Co-authored-by: Cheney-Wang <v-xincwa@microsoft.com>
This commit is contained in:
parent
d23aa4ad3f
commit
66e1e5c1df
@ -1,6 +0,0 @@
|
||||
Source: openmama
|
||||
Version: 6.3.1
|
||||
Build-Depends: libevent, apr, qpid-proton
|
||||
Supports: windows&(x64|x86)
|
||||
Homepage: https://github.com/OpenMAMA/OpenMAMA
|
||||
Description: OpenMAMA is a high performance vendor neutral lightweight wrapper that provides a common API interface to different middleware and messaging solutions across a variety of platforms and languages.
|
@ -2,8 +2,8 @@ vcpkg_find_acquire_program(FLEX)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO OpenMAMA/OpenMAMA
|
||||
REF c4925ee103add1a51c1d27be45b46d97af347f36 # https://github.com/OpenMAMA/OpenMAMA/tree/OpenMAMA-6.3.1-release
|
||||
REPO finos/OpenMAMA
|
||||
REF c4925ee103add1a51c1d27be45b46d97af347f36 # https://github.com/finos/OpenMAMA/releases/tag/OpenMAMA-6.3.1-release
|
||||
SHA512 e2773d082dd28e073fe81223fc113b1a5db7cd0d95e150e9f3f02c8c9483b9219b5d10682a125dd792c3a7877e15b90fd908084a4c89af4ec8d8c0389c282de2
|
||||
HEAD_REF next
|
||||
)
|
||||
@ -41,7 +41,14 @@ endif()
|
||||
# Vcpkg does not expect include files to be in the debug directory
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
# Vcpkg does not like this header name and shouldn't be required anyway, so remove it
|
||||
file(REMOVE "${CURRENT_PACKAGES_DIR}/include/platform.h")
|
||||
foreach(OPENMAMA_ROOT_HEADER destroyhandle.h platform.h list.h lookup2.h property.h timers.h wlock.h windows)
|
||||
if(EXISTS "${CURRENT_PACKAGES_DIR}/include/${OPENMAMA_ROOT_HEADER}")
|
||||
file(RENAME "${CURRENT_PACKAGES_DIR}/include/${OPENMAMA_ROOT_HEADER}" "${CURRENT_PACKAGES_DIR}/include/wombat/${OPENMAMA_ROOT_HEADER}")
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/mama/integration/transport.h" "list.h" "wombat/list.h")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/mama/integration/types.h" "list.h" "wombat/list.h")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/mama/integration/mama.h" "property.h" "wombat/property.h")
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
13
ports/openmama/vcpkg.json
Normal file
13
ports/openmama/vcpkg.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"name": "openmama",
|
||||
"version-semver": "6.3.1",
|
||||
"port-version": 1,
|
||||
"description": "OpenMAMA is a high performance vendor neutral lightweight wrapper that provides a common API interface to different middleware and messaging solutions across a variety of platforms and languages",
|
||||
"homepage": "https://github.com/finos/OpenMAMA",
|
||||
"supports": "windows & (x64 | x86)",
|
||||
"dependencies": [
|
||||
"apr",
|
||||
"libevent",
|
||||
"qpid-proton"
|
||||
]
|
||||
}
|
@ -4474,7 +4474,7 @@
|
||||
},
|
||||
"openmama": {
|
||||
"baseline": "6.3.1",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"openmesh": {
|
||||
"baseline": "8.1",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "74e126369c9ba45cf7105e1b72871738acd24de5",
|
||||
"version-semver": "6.3.1",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "6945e436fdfc5307d58f84ff5c76f6a34e2a8031",
|
||||
"version-string": "6.3.1",
|
||||
|
Loading…
x
Reference in New Issue
Block a user