mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 17:20:57 +08:00
[kdsingleapplication] Fix copyright file (#42746)
This commit is contained in:
parent
a258b5e32d
commit
db3a4f0e6c
12
ports/kdsingleapplication/fix-license-text.patch
Normal file
12
ports/kdsingleapplication/fix-license-text.patch
Normal 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.
|
@ -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}")
|
||||
|
@ -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",
|
||||
|
@ -3950,7 +3950,7 @@
|
||||
},
|
||||
"kdsingleapplication": {
|
||||
"baseline": "1.1.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"kdsoap": {
|
||||
"baseline": "2.2.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "5ee7be30605e7b02d718073e03de51bcbba9e9ad",
|
||||
"version": "1.1.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "97d5185143331c6d5e9f744d6aa0164436ae4e6d",
|
||||
"version": "1.1.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user