[kdsoap] Fix license, usage and dependencies (#42671)

This commit is contained in:
Daniele E. Domenichelli 2024-12-16 17:24:24 +01:00 committed by GitHub
parent e4644bd154
commit 58b4954290
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 43 additions and 3 deletions

View File

@ -0,0 +1,10 @@
diff --git a/LICENSE.txt b/LICENSE.txt
index 50ea704..bf81343 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -11,4 +11,4 @@ available under any license.
Various other freely distributable files are contained in the unittests
and are not used in the library code itself.
-See the full license texts in the LICENSES folder.
+See the full license texts provided below in this file.

View File

@ -7,6 +7,7 @@ vcpkg_download_distfile(ARCHIVE
vcpkg_extract_source_archive(
SOURCE_PATH
ARCHIVE "${ARCHIVE}"
PATCHES "fix-license-text.patch"
)
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" KDSoap_STATIC)
@ -32,4 +33,17 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/doc")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
vcpkg_install_copyright(
FILE_LIST
"${SOURCE_PATH}/LICENSE.txt"
"${SOURCE_PATH}/LICENSES/BSD-3-Clause.txt"
"${SOURCE_PATH}/LICENSES/GPL-2.0-only.txt"
"${SOURCE_PATH}/LICENSES/LicenseRef-Microsoft.txt"
"${SOURCE_PATH}/LICENSES/LicenseRef-Novell.txt"
"${SOURCE_PATH}/LICENSES/LicenseRef-OASIS.txt"
"${SOURCE_PATH}/LICENSES/LicenseRef-SportingExchange.txt"
"${SOURCE_PATH}/LICENSES/MIT.txt"
"${SOURCE_PATH}/LICENSES/W3C.txt"
)
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")

7
ports/kdsoap/usage Normal file
View File

@ -0,0 +1,7 @@
kdsoap provides CMake targets:
find_package(KDSoap-qt6 CONFIG REQUIRED)
# kdsoap library
target_link_libraries(main PRIVATE KDSoap::kdsoap)
# kdsoap-server library
target_link_libraries(main PRIVATE KDSoap::kdsoap-server)

View File

@ -1,13 +1,17 @@
{
"name": "kdsoap",
"version": "2.2.0",
"port-version": 1,
"description": "A Qt-based client-side and server-side SOAP component",
"homepage": "https://www.kdab.com/products/kd-soap",
"license": "MIT",
"dependencies": [
{
"name": "qtbase",
"default-features": false
"default-features": false,
"features": [
"network"
]
},
{
"name": "vcpkg-cmake",

View File

@ -3954,7 +3954,7 @@
},
"kdsoap": {
"baseline": "2.2.0",
"port-version": 0
"port-version": 1
},
"kealib": {
"baseline": "1.6.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "d47dc1f4cfc2a401cc71c89f60a1c41ca7034198",
"version": "2.2.0",
"port-version": 1
},
{
"git-tree": "fb0537658cffb2606f6eed9d444a5d8f88cdf2a4",
"version": "2.2.0",