[kdsingleapplication] Fix copyright file (#42746)

This commit is contained in:
Daniele E. Domenichelli 2024-12-17 20:51:53 +01:00 committed by GitHub
parent a258b5e32d
commit db3a4f0e6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 23 additions and 6 deletions

View File

@ -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 <info@kdab.com> to inquire about commercial licensing.

View File

@ -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}")

View File

@ -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",

View File

@ -3950,7 +3950,7 @@
},
"kdsingleapplication": {
"baseline": "1.1.0",
"port-version": 0
"port-version": 1
},
"kdsoap": {
"baseline": "2.2.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "5ee7be30605e7b02d718073e03de51bcbba9e9ad",
"version": "1.1.0",
"port-version": 1
},
{
"git-tree": "97d5185143331c6d5e9f744d6aa0164436ae4e6d",
"version": "1.1.0",