Skip to content

Commit 5d03d95

Browse files
committed
[kdsoap] Fix license, usage and dependencies
* Install missing license files * Add usage file * Depend on qtbase[network]
1 parent b7601ed commit 5d03d95

File tree

6 files changed

+43
-3
lines changed

6 files changed

+43
-3
lines changed

ports/kdsoap/fix-license-text.patch

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
diff --git a/LICENSE.txt b/LICENSE.txt
2+
index 50ea704..bf81343 100644
3+
--- a/LICENSE.txt
4+
+++ b/LICENSE.txt
5+
@@ -11,4 +11,4 @@ available under any license.
6+
Various other freely distributable files are contained in the unittests
7+
and are not used in the library code itself.
8+
9+
-See the full license texts in the LICENSES folder.
10+
+See the full license texts provided below in this file.

ports/kdsoap/portfile.cmake

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ vcpkg_download_distfile(ARCHIVE
77
vcpkg_extract_source_archive(
88
SOURCE_PATH
99
ARCHIVE "${ARCHIVE}"
10+
PATCHES "fix-license-text.patch"
1011
)
1112

1213
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" KDSoap_STATIC)
@@ -32,4 +33,17 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/doc")
3233
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
3334
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
3435

35-
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
36+
vcpkg_install_copyright(
37+
FILE_LIST
38+
"${SOURCE_PATH}/LICENSE.txt"
39+
"${SOURCE_PATH}/LICENSES/BSD-3-Clause.txt"
40+
"${SOURCE_PATH}/LICENSES/GPL-2.0-only.txt"
41+
"${SOURCE_PATH}/LICENSES/LicenseRef-Microsoft.txt"
42+
"${SOURCE_PATH}/LICENSES/LicenseRef-Novell.txt"
43+
"${SOURCE_PATH}/LICENSES/LicenseRef-OASIS.txt"
44+
"${SOURCE_PATH}/LICENSES/LicenseRef-SportingExchange.txt"
45+
"${SOURCE_PATH}/LICENSES/MIT.txt"
46+
"${SOURCE_PATH}/LICENSES/W3C.txt"
47+
)
48+
49+
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")

ports/kdsoap/usage

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
kdsoap provides CMake targets:
2+
3+
find_package(KDSoap-qt6 CONFIG REQUIRED)
4+
# kdsoap library
5+
target_link_libraries(main PRIVATE KDSoap::kdsoap)
6+
# kdsoap-server library
7+
target_link_libraries(main PRIVATE KDSoap::kdsoap-server)

ports/kdsoap/vcpkg.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
{
22
"name": "kdsoap",
33
"version": "2.2.0",
4+
"port-version": 1,
45
"description": "A Qt-based client-side and server-side SOAP component",
56
"homepage": "https://www.kdab.com/products/kd-soap",
67
"license": "MIT",
78
"dependencies": [
89
{
910
"name": "qtbase",
10-
"default-features": false
11+
"default-features": false,
12+
"features": [
13+
"network"
14+
]
1115
},
1216
{
1317
"name": "vcpkg-cmake",

versions/baseline.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3954,7 +3954,7 @@
39543954
},
39553955
"kdsoap": {
39563956
"baseline": "2.2.0",
3957-
"port-version": 0
3957+
"port-version": 1
39583958
},
39593959
"kealib": {
39603960
"baseline": "1.6.0",

versions/k-/kdsoap.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"versions": [
3+
{
4+
"git-tree": "d47dc1f4cfc2a401cc71c89f60a1c41ca7034198",
5+
"version": "2.2.0",
6+
"port-version": 1
7+
},
38
{
49
"git-tree": "fb0537658cffb2606f6eed9d444a5d8f88cdf2a4",
510
"version": "2.2.0",

0 commit comments

Comments
 (0)