[kd-soap] update to 2.2.0 and rename to kdsoap (#36101)

* kd-soap update to 2.2.0

* update version

---------

Co-authored-by: vzhli17 <v-zhli17@microsoft.com>
This commit is contained in:
JonLiu1993 2024-01-10 17:24:17 -08:00 committed by GitHub
parent 64750c8977
commit 6901e713ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 33 deletions

View File

@ -1,26 +0,0 @@
From cb2df4c372c115df84805043a7785f38eb4eb082 Mon Sep 17 00:00:00 2001
From: David Faure <david.faure@kdab.com>
Date: Sun, 26 Mar 2023 17:27:02 +0200
Subject: [PATCH] Ensure KDSoapConfig.cmake finds Qt first.
Fixes #258
---
KDSoapConfig.cmake.in | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/KDSoapConfig.cmake.in b/KDSoapConfig.cmake.in
index d20649a4..f7bfa82b 100644
--- a/KDSoapConfig.cmake.in
+++ b/KDSoapConfig.cmake.in
@@ -8,6 +8,11 @@
@PACKAGE_INIT@
+include(CMakeFindDependencyMacro)
+
+find_dependency(Qt@Qt_VERSION_MAJOR@Core @QT_MIN_VERSION@)
+find_dependency(Qt@Qt_VERSION_MAJOR@Network @QT_MIN_VERSION@)
+
set_and_check(KDSoap_INCLUDE_DIR "@PACKAGE_INSTALL_INCLUDE_DIR@")
set(KDSoap_INCLUDE_DIRS "${KDSoap_INCLUDE_DIR}")

View File

@ -1,14 +1,12 @@
vcpkg_download_distfile(ARCHIVE
URLS "https://github.com/KDAB/KDSoap/releases/download/kdsoap-${VERSION}/kdsoap-${VERSION}.tar.gz"
FILENAME "kdsoap-${VERSION}.tar.gz"
SHA512 12224f664dcae7ceb7395a7c3de48a208ae81c10f6fba4d0db233613472c6b9cdbea6375297c27b58fe7338d7db27a4447844f4e8f40a24ec1b4dd3fa38d20bb
SHA512 6ed5cd6a0d02a9faf6881facbd28391c553b3671512153ecd058ab53bfbe9d3f0afa3704d580e66010ddf6a3de7e578a632339f8c1ae7529c28f9d5fd7d1eb5f
)
vcpkg_extract_source_archive(
SOURCE_PATH
ARCHIVE "${ARCHIVE}"
PATCHES
Ensure-KDSoapConfig-finds-Qt-first.patch
)
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" KDSoap_STATIC)
@ -34,4 +32,4 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/doc")
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_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")

View File

@ -1,7 +1,6 @@
{
"name": "kd-soap",
"version": "2.1.1",
"port-version": 1,
"name": "kdsoap",
"version": "2.2.0",
"description": "A Qt-based client-side and server-side SOAP component",
"homepage": "https://www.kdab.com/products/kd-soap",
"license": "MIT",

View File

@ -3748,6 +3748,10 @@
"baseline": "2.0.0",
"port-version": 0
},
"kdsoap": {
"baseline": "2.2.0",
"port-version": 0
},
"kealib": {
"baseline": "1.5.3",
"port-version": 0

9
versions/k-/kdsoap.json Normal file
View File

@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "fb0537658cffb2606f6eed9d444a5d8f88cdf2a4",
"version": "2.2.0",
"port-version": 0
}
]
}