diff options
author | Robert Adam <krzmbrzl@gmail.com> | 2021-03-01 20:01:11 +0300 |
---|---|---|
committer | Robert Adam <krzmbrzl@gmail.com> | 2021-03-02 12:15:01 +0300 |
commit | 59ae429972c16c377135bcccfee646b7df446933 (patch) | |
tree | d4d82f96756f95255970f165195f3fde71273c40 /helpers | |
parent | 86710dab6202794bb14a26aff76e303c99c7dc43 (diff) |
MAINT: Update copyright notice to 2021
This was done by running scripts/updateLicenseHeaders.py and then
manually editing the LICENSE file.
Diffstat (limited to 'helpers')
-rw-r--r-- | helpers/vcpkg/ports/zeroc-ice/portfile.cmake | 115 |
1 files changed, 60 insertions, 55 deletions
diff --git a/helpers/vcpkg/ports/zeroc-ice/portfile.cmake b/helpers/vcpkg/ports/zeroc-ice/portfile.cmake index 9062aaa80..786b351f0 100644 --- a/helpers/vcpkg/ports/zeroc-ice/portfile.cmake +++ b/helpers/vcpkg/ports/zeroc-ice/portfile.cmake @@ -1,55 +1,60 @@ -vcpkg_from_github(
- OUT_SOURCE_PATH SOURCE_PATH
- REPO mumble-voip/ice
- REF 3.7
- SHA512 12cebb53ad1a9271e7db8c12df5f2db9f8cbaec97b562596c4c592bd2449177b6927156100166b432b7e27b13f0d202155748691fd1e848eb6db815f16bcc57f
-)
-
-if("cpp11" IN_LIST FEATURES)
- vcpkg_configure_cmake(
- SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
- OPTIONS
- -DBUILD_ICE_CXX=ON
- -DBUILD_ICE_CPP11=ON
- )
-else()
- vcpkg_configure_cmake(
- SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
- OPTIONS
- -DBUILD_ICE_CXX=ON
- )
-endif()
-
-vcpkg_install_cmake()
-
-vcpkg_copy_pdbs()
-
-file(INSTALL ${SOURCE_PATH}/cpp/include DESTINATION ${CURRENT_PACKAGES_DIR})
-file(INSTALL ${SOURCE_PATH}/slice DESTINATION ${CURRENT_PACKAGES_DIR})
-file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/include
- DESTINATION ${CURRENT_PACKAGES_DIR}
-)
-
-if(EXISTS ${CURRENT_PACKAGES_DIR}/bin)
- file(INSTALL ${CURRENT_PACKAGES_DIR}/bin/ DESTINATION ${CURRENT_PACKAGES_DIR}/tools/Ice)
-endif()
-
-file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/icebuilder/bin/ DESTINATION ${CURRENT_PACKAGES_DIR}/tools/Ice)
-
-vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/Ice)
-
-if(UNIX)
- vcpkg_execute_required_process(COMMAND chmod -R +x Ice
- WORKING_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools
- LOGNAME ice-${TARGET_TRIPLET}-setexe
- )
-endif()
-
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
-
-file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
-
-file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
-file(INSTALL ${SOURCE_PATH}/ICE_LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
+# Copyright 2020-2021 The Mumble Developers. All rights reserved. +# Use of this source code is governed by a BSD-style license +# that can be found in the LICENSE file at the root of the +# Mumble source tree or at <https://www.mumble.info/LICENSE>. + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO mumble-voip/ice + REF 3.7 + SHA512 12cebb53ad1a9271e7db8c12df5f2db9f8cbaec97b562596c4c592bd2449177b6927156100166b432b7e27b13f0d202155748691fd1e848eb6db815f16bcc57f +) + +if("cpp11" IN_LIST FEATURES) + vcpkg_configure_cmake( + SOURCE_PATH ${SOURCE_PATH} + PREFER_NINJA + OPTIONS + -DBUILD_ICE_CXX=ON + -DBUILD_ICE_CPP11=ON + ) +else() + vcpkg_configure_cmake( + SOURCE_PATH ${SOURCE_PATH} + PREFER_NINJA + OPTIONS + -DBUILD_ICE_CXX=ON + ) +endif() + +vcpkg_install_cmake() + +vcpkg_copy_pdbs() + +file(INSTALL ${SOURCE_PATH}/cpp/include DESTINATION ${CURRENT_PACKAGES_DIR}) +file(INSTALL ${SOURCE_PATH}/slice DESTINATION ${CURRENT_PACKAGES_DIR}) +file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/include + DESTINATION ${CURRENT_PACKAGES_DIR} +) + +if(EXISTS ${CURRENT_PACKAGES_DIR}/bin) + file(INSTALL ${CURRENT_PACKAGES_DIR}/bin/ DESTINATION ${CURRENT_PACKAGES_DIR}/tools/Ice) +endif() + +file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/icebuilder/bin/ DESTINATION ${CURRENT_PACKAGES_DIR}/tools/Ice) + +vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/Ice) + +if(UNIX) + vcpkg_execute_required_process(COMMAND chmod -R +x Ice + WORKING_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools + LOGNAME ice-${TARGET_TRIPLET}-setexe + ) +endif() + +file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin) + +file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) + +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) +file(INSTALL ${SOURCE_PATH}/ICE_LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}) |