diff --git a/ports/kdsingleapplication/fix-license-text.patch b/ports/kdsingleapplication/fix-license-text.patch new file mode 100644 index 0000000000..9607cb6199 --- /dev/null +++ b/ports/kdsingleapplication/fix-license-text.patch @@ -0,0 +1,12 @@ +diff --git a/LICENSE.txt b/LICENSE.txt +index 12ee586..ac0144d 100644 +--- a/LICENSE.txt ++++ b/LICENSE.txt +@@ -1,6 +1,6 @@ + KDSingleApplication is (C) 2019-2023, Klarälvdalens Datakonsult AB, + and is available under the terms of the MIT license. + +-See the full license text in the LICENSES folder. ++See the full license text provided below in this file. + + Contact KDAB at to inquire about commercial licensing. diff --git a/ports/kdsingleapplication/portfile.cmake b/ports/kdsingleapplication/portfile.cmake index 3fb1f1f434..62e5c60624 100644 --- a/ports/kdsingleapplication/portfile.cmake +++ b/ports/kdsingleapplication/portfile.cmake @@ -4,6 +4,7 @@ vcpkg_from_github( REF "v${VERSION}" SHA512 12540e70014f04b20529d19bc41bf089580c8a82e407511979017020d3f1d96c60112b208d5abe1e6c4e90ed65d3b0ca9dc2f09f20c8b580c3b8a17ae9a84ae0 HEAD_REF master + PATCHES "fix-license-text.patch" ) string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" KDSingleApplication_STATIC) @@ -25,13 +26,11 @@ 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") -file( - COPY +vcpkg_install_copyright( + FILE_LIST + "${SOURCE_PATH}/LICENSE.txt" "${SOURCE_PATH}/LICENSES/BSD-3-Clause.txt" "${SOURCE_PATH}/LICENSES/MIT.txt" - DESTINATION - "${CURRENT_PACKAGES_DIR}/share/${PORT}/LICENSES/" ) file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") diff --git a/ports/kdsingleapplication/vcpkg.json b/ports/kdsingleapplication/vcpkg.json index 42dcdd03ee..81fc46104a 100644 --- a/ports/kdsingleapplication/vcpkg.json +++ b/ports/kdsingleapplication/vcpkg.json @@ -1,6 +1,7 @@ { "name": "kdsingleapplication", "version": "1.1.0", + "port-version": 1, "description": "KDSingleApplication is a helper class for single-instance policy applications.", "homepage": "https://github.com/KDAB/KDSingleApplication", "license": "MIT", diff --git a/versions/baseline.json b/versions/baseline.json index 587848ebba..233e495914 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3950,7 +3950,7 @@ }, "kdsingleapplication": { "baseline": "1.1.0", - "port-version": 0 + "port-version": 1 }, "kdsoap": { "baseline": "2.2.0", diff --git a/versions/k-/kdsingleapplication.json b/versions/k-/kdsingleapplication.json index 60ea729501..9e97e36579 100644 --- a/versions/k-/kdsingleapplication.json +++ b/versions/k-/kdsingleapplication.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "5ee7be30605e7b02d718073e03de51bcbba9e9ad", + "version": "1.1.0", + "port-version": 1 + }, { "git-tree": "97d5185143331c6d5e9f744d6aa0164436ae4e6d", "version": "1.1.0",