mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:09:00 +08:00
[many ports] Fix copyright install (#25409)
* [Many ports] Fix copyright * version * [moos-core] Fix deprecated cmake * version * Fix cmake * version Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
parent
9ba75e6e17
commit
763f6664c1
@ -88,6 +88,6 @@ endif()
|
||||
file(GLOB HEADERS "${SOURCE_PATH}/include/*.h")
|
||||
file(COPY ${HEADERS} DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}")
|
||||
file(COPY "${CMAKE_CURRENT_LIST_DIR}/chartdir.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
||||
file(COPY "${SOURCE_PATH}/LICENSE.TXT" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
|
||||
configure_file("${CMAKE_CURRENT_LIST_DIR}/Config.cmake.in" "${CURRENT_PACKAGES_DIR}/share/${PORT}/chartdir-config.cmake" @ONLY)
|
||||
file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE.TXT" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
@ -1,8 +1,9 @@
|
||||
{
|
||||
"name": "chartdir",
|
||||
"version": "7.0.0",
|
||||
"port-version": 4,
|
||||
"port-version": 5,
|
||||
"description": "ChartDirector is a powerful chart component for creating professional looking charts for web and windows applications.",
|
||||
"homepage": "https://www.advsofteng.com/",
|
||||
"license": null,
|
||||
"supports": "!arm & !uwp"
|
||||
}
|
||||
|
@ -86,8 +86,5 @@ file(INSTALL
|
||||
"${SOURCE_PATH}/mDNSShared/dns_sd.h"
|
||||
DESTINATION "${CURRENT_PACKAGES_DIR}/include"
|
||||
)
|
||||
file(INSTALL
|
||||
"${SOURCE_PATH}/LICENSE"
|
||||
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright"
|
||||
)
|
||||
vcpkg_copy_pdbs()
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
@ -1,8 +1,9 @@
|
||||
{
|
||||
"name": "mdnsresponder",
|
||||
"version": "878.270.2",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "The mDNSResponder project is a component of Bonjour, Apple's ease-of-use IP networking initiative.",
|
||||
"homepage": "https://developer.apple.com/bonjour/",
|
||||
"license": null,
|
||||
"supports": "windows & !uwp & !arm"
|
||||
}
|
||||
|
@ -7,10 +7,8 @@ vcpkg_from_github(
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
# Put the licence file where vcpkg expects it
|
||||
file(COPY ${SOURCE_PATH}/README.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/mgnlibs/README.md)
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/share/mgnlibs/README.md ${CURRENT_PACKAGES_DIR}/share/mgnlibs/copyright)
|
||||
|
||||
# Copy the header files
|
||||
file(GLOB HEADER_FILES ${SOURCE_PATH}/*.h)
|
||||
file(COPY ${HEADER_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include/mgnlibs)
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/README.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
@ -1,7 +1,8 @@
|
||||
{
|
||||
"name": "mgnlibs",
|
||||
"version-string": "2019-09-29",
|
||||
"port-version": 1,
|
||||
"version-date": "2019-09-29",
|
||||
"port-version": 2,
|
||||
"description": "Single-file public domain libraries for C/C++",
|
||||
"homepage": "https://github.com/mattiasgustavsson/libs"
|
||||
"homepage": "https://github.com/mattiasgustavsson/libs",
|
||||
"license": "MIT"
|
||||
}
|
||||
|
@ -10,22 +10,20 @@ vcpkg_from_github(
|
||||
cmake_fix.patch
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
DISABLE_PARALLEL_CONFIGURE
|
||||
OPTIONS
|
||||
-DCMAKE_ENABLE_EXPORT=OFF
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/MOOS)
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/MOOS)
|
||||
|
||||
# Stage tools
|
||||
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools)
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/tools/${PORT})
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/bin ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/tools")
|
||||
file(RENAME "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/tools/${PORT}")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/bin" "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
# Put the licence file where vcpkg expects it
|
||||
file(COPY ${SOURCE_PATH}/Core/GPLCore.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
|
||||
file(INSTALL "${SOURCE_PATH}/Core/GPLCore.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
@ -1,7 +1,18 @@
|
||||
{
|
||||
"name": "moos-core",
|
||||
"version-string": "10.4.0",
|
||||
"port-version": 6,
|
||||
"version": "10.4.0",
|
||||
"port-version": 7,
|
||||
"description": "A very light weight, easy to use middleware.",
|
||||
"homepage": "https://sites.google.com/site/moossoftware/"
|
||||
"homepage": "https://sites.google.com/site/moossoftware/",
|
||||
"license": null,
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -8,19 +8,18 @@ vcpkg_from_github(
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
|
||||
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
vcpkg_fixup_cmake_targets()
|
||||
vcpkg_cmake_config_fixup()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/quirc/copyright)
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
@ -1,6 +1,18 @@
|
||||
{
|
||||
"name": "quirc",
|
||||
"version": "1.1",
|
||||
"port-version": 2,
|
||||
"description": "quirc is one of the C library available for scanning QR Codes"
|
||||
"port-version": 3,
|
||||
"description": "quirc is one of the C library available for scanning QR Codes",
|
||||
"homepage": "https://github.com/dlbeer/quirc",
|
||||
"license": null,
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -1358,7 +1358,7 @@
|
||||
},
|
||||
"chartdir": {
|
||||
"baseline": "7.0.0",
|
||||
"port-version": 4
|
||||
"port-version": 5
|
||||
},
|
||||
"check": {
|
||||
"baseline": "0.15.2",
|
||||
@ -4490,7 +4490,7 @@
|
||||
},
|
||||
"mdnsresponder": {
|
||||
"baseline": "878.270.2",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"mdspan": {
|
||||
"baseline": "2021-11-03",
|
||||
@ -4530,7 +4530,7 @@
|
||||
},
|
||||
"mgnlibs": {
|
||||
"baseline": "2019-09-29",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"mhook": {
|
||||
"baseline": "2.5.1",
|
||||
@ -4642,7 +4642,7 @@
|
||||
},
|
||||
"moos-core": {
|
||||
"baseline": "10.4.0",
|
||||
"port-version": 6
|
||||
"port-version": 7
|
||||
},
|
||||
"moos-essential": {
|
||||
"baseline": "10.0.1",
|
||||
@ -6094,7 +6094,7 @@
|
||||
},
|
||||
"quirc": {
|
||||
"baseline": "1.1",
|
||||
"port-version": 2
|
||||
"port-version": 3
|
||||
},
|
||||
"qwt": {
|
||||
"baseline": "6.2.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "004cfa7f9fabe534a808428ba7b6c6e3844153b9",
|
||||
"version": "7.0.0",
|
||||
"port-version": 5
|
||||
},
|
||||
{
|
||||
"git-tree": "7f64b5801adec2ea3f13517ffa35bd96b6a8bb9f",
|
||||
"version": "7.0.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "682a242458b4279dc56aa5111c5c94dc09038c23",
|
||||
"version": "878.270.2",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "3a57c5a00a432c5f54ca26ddf0a1ea7298364e55",
|
||||
"version": "878.270.2",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "1713a84947406acff6800ccc47f68951394b424d",
|
||||
"version-date": "2019-09-29",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "4a611255e7ec6133fd9167e7db71227a7da8dd22",
|
||||
"version-string": "2019-09-29",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "2081cab97d387c22addea1cec2a244f45a1a6b09",
|
||||
"version": "10.4.0",
|
||||
"port-version": 7
|
||||
},
|
||||
{
|
||||
"git-tree": "bbdd0d3fb08ac68bdd5d73aedb783d5edf912845",
|
||||
"version-string": "10.4.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "85b17d675bbbb05448d16af79d434bc5fca51f7b",
|
||||
"version": "1.1",
|
||||
"port-version": 3
|
||||
},
|
||||
{
|
||||
"git-tree": "15bad29ef4d2466b236311ce7af075dbb9507ed9",
|
||||
"version": "1.1",
|
||||
|
Loading…
Reference in New Issue
Block a user