Skip to content

Commit db3a4f0

Browse files
authored
[kdsingleapplication] Fix copyright file (microsoft#42746)
1 parent a258b5e commit db3a4f0

File tree

5 files changed

+23
-6
lines changed

5 files changed

+23
-6
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/LICENSE.txt b/LICENSE.txt
2+
index 12ee586..ac0144d 100644
3+
--- a/LICENSE.txt
4+
+++ b/LICENSE.txt
5+
@@ -1,6 +1,6 @@
6+
KDSingleApplication is (C) 2019-2023, Klarälvdalens Datakonsult AB,
7+
and is available under the terms of the MIT license.
8+
9+
-See the full license text in the LICENSES folder.
10+
+See the full license text provided below in this file.
11+
12+
Contact KDAB at <[email protected]> to inquire about commercial licensing.

ports/kdsingleapplication/portfile.cmake

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ vcpkg_from_github(
44
REF "v${VERSION}"
55
SHA512 12540e70014f04b20529d19bc41bf089580c8a82e407511979017020d3f1d96c60112b208d5abe1e6c4e90ed65d3b0ca9dc2f09f20c8b580c3b8a17ae9a84ae0
66
HEAD_REF master
7+
PATCHES "fix-license-text.patch"
78
)
89

910
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" KDSingleApplication_STATIC)
@@ -25,13 +26,11 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/doc")
2526
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
2627
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
2728

28-
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
29-
file(
30-
COPY
29+
vcpkg_install_copyright(
30+
FILE_LIST
31+
"${SOURCE_PATH}/LICENSE.txt"
3132
"${SOURCE_PATH}/LICENSES/BSD-3-Clause.txt"
3233
"${SOURCE_PATH}/LICENSES/MIT.txt"
33-
DESTINATION
34-
"${CURRENT_PACKAGES_DIR}/share/${PORT}/LICENSES/"
3534
)
3635

3736
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")

ports/kdsingleapplication/vcpkg.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "kdsingleapplication",
33
"version": "1.1.0",
4+
"port-version": 1,
45
"description": "KDSingleApplication is a helper class for single-instance policy applications.",
56
"homepage": "https://github.com/KDAB/KDSingleApplication",
67
"license": "MIT",

versions/baseline.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3950,7 +3950,7 @@
39503950
},
39513951
"kdsingleapplication": {
39523952
"baseline": "1.1.0",
3953-
"port-version": 0
3953+
"port-version": 1
39543954
},
39553955
"kdsoap": {
39563956
"baseline": "2.2.0",

versions/k-/kdsingleapplication.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": "5ee7be30605e7b02d718073e03de51bcbba9e9ad",
5+
"version": "1.1.0",
6+
"port-version": 1
7+
},
38
{
49
"git-tree": "97d5185143331c6d5e9f744d6aa0164436ae4e6d",
510
"version": "1.1.0",

0 commit comments

Comments
 (0)