[vcpkg baseline][botan/qca] Fix botan pkgconfig and add botan as a required dependency to qca (#21250)

* [vcpkg baseline][botan/qca] Fix botan pkgconfig and add botan as a required dependency to qca

* format manifest

* version
This commit is contained in:
Jack·Boos·Yu 2021-11-09 04:26:22 +08:00 committed by GitHub
parent 721cb5f6e6
commit 7801974c2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 25 additions and 6 deletions

View File

@ -124,18 +124,26 @@ if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
BOTAN_BUILD(dbg)
endif()
file(RENAME "${CURRENT_PACKAGES_DIR}/include/botan-2/botan" "${CURRENT_PACKAGES_DIR}/include/botan")
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/lib/pkgconfig")
file(RENAME "${CURRENT_PACKAGES_DIR}/lib/botan-2.pc" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/botan-2.pc")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/botan-2.pc"
[[${prefix}/include/botan-2]]
[[${prefix}/include]]
)
endif()
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig")
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/botan-2.pc" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/botan-2.pc")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/botan-2.pc"
[[${prefix}/include/botan-2]]
[[${prefix}/include]]
)
endif()
vcpkg_fixup_pkgconfig()
file(RENAME "${CURRENT_PACKAGES_DIR}/include/botan-2/botan" "${CURRENT_PACKAGES_DIR}/include/botan")
vcpkg_copy_pdbs()
if(CMAKE_HOST_WIN32)

View File

@ -1,7 +1,7 @@
{
"name": "botan",
"version": "2.18.1",
"port-version": 2,
"port-version": 3,
"description": "A cryptography library written in C++11",
"homepage": "https://botan.randombit.net",
"supports": "!(windows & arm)",

View File

@ -1,10 +1,11 @@
{
"name": "qca",
"version": "2.3.1",
"port-version": 4,
"port-version": 5,
"description": "Qt Cryptographic Architecture (QCA).",
"homepage": "https://cgit.kde.org/qca.git/",
"dependencies": [
"botan",
{
"name": "qt5-base",
"default-features": false

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "045c95bf0e7f1352d91398bc0dc41ce5ec5a288a",
"version": "2.18.1",
"port-version": 3
},
{
"git-tree": "5f002dd083e6eedd3bdd1d2bc7882d34d70ed438",
"version": "2.18.1",

View File

@ -1126,7 +1126,7 @@
},
"botan": {
"baseline": "2.18.1",
"port-version": 2
"port-version": 3
},
"box2d": {
"baseline": "2.4.1",
@ -5414,7 +5414,7 @@
},
"qca": {
"baseline": "2.3.1",
"port-version": 4
"port-version": 5
},
"qcustomplot": {
"baseline": "2.0.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "842dcdd87f56ec4318a5049e95b1eb9807dd2193",
"version": "2.3.1",
"port-version": 5
},
{
"git-tree": "e8275668aade111ed059ddece14bff490ff47fbc",
"version": "2.3.1",