diff --git a/ports/kdsoap/fix-license-text.patch b/ports/kdsoap/fix-license-text.patch new file mode 100644 index 0000000000..7222a281a0 --- /dev/null +++ b/ports/kdsoap/fix-license-text.patch @@ -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. diff --git a/ports/kdsoap/portfile.cmake b/ports/kdsoap/portfile.cmake index 3b56a95c02..ebbc752f72 100644 --- a/ports/kdsoap/portfile.cmake +++ b/ports/kdsoap/portfile.cmake @@ -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}") diff --git a/ports/kdsoap/usage b/ports/kdsoap/usage new file mode 100644 index 0000000000..113f7b808a --- /dev/null +++ b/ports/kdsoap/usage @@ -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) diff --git a/ports/kdsoap/vcpkg.json b/ports/kdsoap/vcpkg.json index ecadec916a..61bdcb540c 100644 --- a/ports/kdsoap/vcpkg.json +++ b/ports/kdsoap/vcpkg.json @@ -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", diff --git a/versions/baseline.json b/versions/baseline.json index 5c675f343d..99a8d38148 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3954,7 +3954,7 @@ }, "kdsoap": { "baseline": "2.2.0", - "port-version": 0 + "port-version": 1 }, "kealib": { "baseline": "1.6.0", diff --git a/versions/k-/kdsoap.json b/versions/k-/kdsoap.json index 49deb01096..480c73ea6d 100644 --- a/versions/k-/kdsoap.json +++ b/versions/k-/kdsoap.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "d47dc1f4cfc2a401cc71c89f60a1c41ca7034198", + "version": "2.2.0", + "port-version": 1 + }, { "git-tree": "fb0537658cffb2606f6eed9d444a5d8f88cdf2a4", "version": "2.2.0",