[libgwenhywfar] no absolute paths (#22358)

This commit is contained in:
autoantwort 2022-01-06 22:59:29 +01:00 committed by GitHub
parent 5be51c9516
commit 98b9ea03f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 4 deletions

View File

@ -55,13 +55,19 @@ vcpkg_copy_pdbs()
vcpkg_fixup_pkgconfig() vcpkg_fixup_pkgconfig()
foreach(GUI IN LISTS FEATURES_GUI) foreach(GUI IN LISTS FEATURES_GUI)
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/gwengui-${GUI}-${VERSION_MAJOR}.${VERSION_MINOR} TARGET_PATH share/gwengui-${GUI}-${VERSION_MAJOR}.${VERSION_MINOR} DO_NOT_DELETE_PARENT_CONFIG_PATH) vcpkg_cmake_config_fixup(PACKAGE_NAME gwengui-cpp CONFIG_PATH lib/cmake/gwengui-${GUI}-${VERSION_MAJOR}.${VERSION_MINOR} DO_NOT_DELETE_PARENT_CONFIG_PATH)
endforeach() endforeach()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/gwenhywfar-${VERSION_MAJOR}.${VERSION_MINOR}) vcpkg_cmake_config_fixup(PACKAGE_NAME gwenhywfar CONFIG_PATH lib/cmake/gwenhywfar-${VERSION_MAJOR}.${VERSION_MINOR})
if ("tools" IN_LIST FEATURES) if ("tools" IN_LIST FEATURES)
vcpkg_copy_tools(SEARCH_DIR ${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin TOOL_NAMES gct-tool gsa mklistdoc typemaker typemaker2 xmlmerge AUTO_CLEAN) vcpkg_copy_tools(SEARCH_DIR ${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin TOOL_NAMES gct-tool gsa mklistdoc typemaker typemaker2 xmlmerge AUTO_CLEAN)
endif() endif()
# the `dir` variable is not used in the script
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/libgwenhywfar/bin/gwenhywfar-config" "dir=\"${CURRENT_INSTALLED_DIR}\"" "")
if(NOT VCPKG_BUILD_TYPE)
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/libgwenhywfar/debug/bin/gwenhywfar-config" "dir=\"${CURRENT_INSTALLED_DIR}/debug\"" "")
endif()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

View File

@ -1,6 +1,7 @@
{ {
"name": "libgwenhywfar", "name": "libgwenhywfar",
"version-semver": "5.6.0", "version-semver": "5.6.0",
"port-version": 1,
"description": "A helper library for networking and security applications and libraries", "description": "A helper library for networking and security applications and libraries",
"homepage": "https://www.aquamaniac.de/rdm/", "homepage": "https://www.aquamaniac.de/rdm/",
"supports": "!windows", "supports": "!windows",
@ -11,6 +12,10 @@
"features": [ "features": [
"openssl" "openssl"
] ]
},
{
"name": "vcpkg-cmake-config",
"host": true
} }
], ],
"default-features": [ "default-features": [

View File

@ -3526,7 +3526,7 @@
}, },
"libgwenhywfar": { "libgwenhywfar": {
"baseline": "5.6.0", "baseline": "5.6.0",
"port-version": 0 "port-version": 1
}, },
"libgxps": { "libgxps": {
"baseline": "0.3.2", "baseline": "0.3.2",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "279d1ba6d5ca2068bcd117050cb0f3c464b2cb8f",
"version-semver": "5.6.0",
"port-version": 1
},
{ {
"git-tree": "5be9e6060d67e8aad23d1de86effb0ce52605ec4", "git-tree": "5be9e6060d67e8aad23d1de86effb0ce52605ec4",
"version-semver": "5.6.0", "version-semver": "5.6.0",