mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 01:59:00 +08:00
[vcpkg_replace_string] warn unchanged by call (#34719)
If a call to `vcpkg_replace_string` makes no changes i.e doesn't effectively replace a string, A warning is logged. This should also help identify ports that no longer need these calls to fix things in `.pc` files etc.
This commit is contained in:
parent
ded9717095
commit
6db51d86a9
@ -53,7 +53,7 @@ else()
|
||||
|
||||
set(ACTIVEMQCPP_LIB_PREFFIX )
|
||||
set(ACTIVEMQCPP_LIB_SUFFIX d)
|
||||
vcpkg_replace_string("${ACTIVEMQCPP_MSVC_PROJ}" ";apr-1.lib" ";libapr-1.lib")
|
||||
vcpkg_replace_string("${ACTIVEMQCPP_MSVC_PROJ}" ";apr-1.lib" ";libapr-1.lib" IGNORE_UNCHANGED)
|
||||
else()
|
||||
set(RELEASE_CONF "Release")
|
||||
set(DEBUG_CONF "Debug")
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "activemq-cpp",
|
||||
"version-semver": "3.9.5",
|
||||
"port-version": 15,
|
||||
"port-version": 16,
|
||||
"description": "Apache ActiveMQ is the most popular and powerful open source messaging and Integration Patterns server.",
|
||||
"license": "Apache-2.0",
|
||||
"supports": "!(uwp | osx)",
|
||||
|
@ -75,8 +75,8 @@ else()
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/apr-1-config" "APR_SOURCE_DIR=\"${SOURCE_PATH}\"" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/apr-1-config" "APR_BUILD_DIR=\"${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel\"" "")
|
||||
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/build-1/libtool" "${CURRENT_INSTALLED_DIR}/lib" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/build-1/libtool" "${CURRENT_INSTALLED_DIR}/debug/lib" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/build-1/libtool" "${CURRENT_INSTALLED_DIR}/lib" "" IGNORE_UNCHANGED)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/build-1/libtool" "${CURRENT_INSTALLED_DIR}/debug/lib" "" IGNORE_UNCHANGED)
|
||||
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/build-1/apr_rules.mk" "${CURRENT_INSTALLED_DIR}" "$(INCLUDE)/..")
|
||||
if(NOT VCPKG_BUILD_TYPE)
|
||||
@ -84,8 +84,8 @@ else()
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug/bin/apr-1-config" "APR_SOURCE_DIR=\"${SOURCE_PATH}\"" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug/bin/apr-1-config" "APR_BUILD_DIR=\"${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg\"" "")
|
||||
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/build-1/libtool" "${CURRENT_INSTALLED_DIR}/lib" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/build-1/libtool" "${CURRENT_INSTALLED_DIR}/debug/lib" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/build-1/libtool" "${CURRENT_INSTALLED_DIR}/lib" "" IGNORE_UNCHANGED)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/build-1/libtool" "${CURRENT_INSTALLED_DIR}/debug/lib" "" IGNORE_UNCHANGED)
|
||||
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/build-1/apr_rules.mk" "${CURRENT_INSTALLED_DIR}/debug" "$(INCLUDE)/..")
|
||||
endif()
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "apr",
|
||||
"version": "1.7.4",
|
||||
"port-version": 1,
|
||||
"description": "The Apache Portable Runtime (APR) is a C library that forms a system portability layer that covers many operating systems.",
|
||||
"homepage": "https://apr.apache.org/",
|
||||
"license": "Apache-2.0",
|
||||
|
@ -30,9 +30,9 @@ vcpkg_cmake_configure(
|
||||
vcpkg_cmake_install()
|
||||
|
||||
vcpkg_cmake_config_fixup(PACKAGE_NAME Armadillo CONFIG_PATH share/Armadillo/CMake)
|
||||
vcpkg_replace_string( "${CURRENT_PACKAGES_DIR}/share/Armadillo/ArmadilloConfig.cmake"
|
||||
[[include("${VCPKG_IMPORT_PREFIX}/share/Armadillo/ArmadilloLibraryDepends.cmake")]]
|
||||
"include(CMakeFindDependencyMacro)\nfind_dependency(LAPACK)\ninclude(\"\${VCPKG_IMPORT_PREFIX}/share/Armadillo/ArmadilloLibraryDepends.cmake\")"
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/Armadillo/ArmadilloConfig.cmake"
|
||||
[[include("${CMAKE_CURRENT_LIST_DIR}/ArmadilloLibraryDepends.cmake")]]
|
||||
"include(CMakeFindDependencyMacro)\nfind_dependency(LAPACK)\ninclude(\"\${CMAKE_CURRENT_LIST_DIR}/ArmadilloLibraryDepends.cmake\")"
|
||||
)
|
||||
vcpkg_fixup_pkgconfig()
|
||||
vcpkg_copy_pdbs()
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "armadillo",
|
||||
"version": "12.8.4",
|
||||
"port-version": 1,
|
||||
"description": "Armadillo is a high quality linear algebra library (matrix maths) for the C++ language, aiming towards a good balance between speed and ease of use",
|
||||
"homepage": "https://arma.sourceforge.net/",
|
||||
"license": "Apache-2.0",
|
||||
|
@ -61,7 +61,7 @@ find_library(ASSIMP_DBG NAMES assimp assimpd ${DBG_NAMES} PATHS "${CURRENT_PACKA
|
||||
if(ASSIMP_REL)
|
||||
get_filename_component(ASSIMP_NAME_REL "${ASSIMP_REL}" NAME_WLE)
|
||||
string(REGEX REPLACE "^lib(.*)" "\\1" ASSIMP_NAME_REL "${ASSIMP_NAME_REL}")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/assimp.pc" "-lassimp" "-l${ASSIMP_NAME_REL}")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/assimp.pc" "-lassimp" "-l${ASSIMP_NAME_REL}" IGNORE_UNCHANGED)
|
||||
endif()
|
||||
if(ASSIMP_DBG)
|
||||
get_filename_component(ASSIMP_NAME_DBG "${ASSIMP_DBG}" NAME_WLE)
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "assimp",
|
||||
"version": "5.4.0",
|
||||
"port-version": 1,
|
||||
"description": "The Open Asset import library",
|
||||
"homepage": "https://github.com/assimp/assimp",
|
||||
"license": "BSD-3-Clause",
|
||||
|
@ -73,12 +73,12 @@ foreach(AWS_CONFIG IN LISTS AWS_CONFIGS)
|
||||
file(READ "${AWS_CONFIG}" _contents)
|
||||
file(WRITE "${AWS_CONFIG}" "include(CMakeFindDependencyMacro)\nfind_dependency(aws-cpp-sdk-core)\n${_contents}")
|
||||
endforeach()
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/awssdk/AWSSDKConfig.cmake" "include(${CMAKE_CURRENT_LIST_DIR}/compiler_settings.cmake)"
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/awssdk/AWSSDKConfig.cmake" [[include(${CMAKE_CURRENT_LIST_DIR}/compiler_settings.cmake)]]
|
||||
[[include(${CMAKE_CURRENT_LIST_DIR}/compiler_settings.cmake)
|
||||
include(CMakeFindDependencyMacro)
|
||||
find_dependency(ZLIB)
|
||||
find_dependency(CURL)]])
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/aws-cpp-sdk-core/aws-cpp-sdk-core-config.cmake" "find_dependency(aws-crt-cpp)"
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/aws-cpp-sdk-core/aws-cpp-sdk-core-config.cmake" "find_dependency(aws-crt-cpp)"
|
||||
[[find_dependency(aws-crt-cpp)
|
||||
find_dependency(ZLIB)
|
||||
find_dependency(CURL)]])
|
||||
|
@ -2,7 +2,7 @@
|
||||
"$note": "Automatically generated by generateFeatures.ps1",
|
||||
"name": "aws-sdk-cpp",
|
||||
"version": "1.11.285",
|
||||
"port-version": 3,
|
||||
"port-version": 4,
|
||||
"description": "AWS SDK for C++",
|
||||
"homepage": "https://github.com/aws/aws-sdk-cpp",
|
||||
"license": "Apache-2.0",
|
||||
|
@ -30,10 +30,10 @@ vcpkg_copy_pdbs()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake)
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/blitz/matbops.h" "${SOURCE_PATH}" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/blitz/matuops.h" "${SOURCE_PATH}" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/blitz/mathfunc.h" "${SOURCE_PATH}" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/blitz/promote-old.h" "${SOURCE_PATH}" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/blitz/matbops.h" "${SOURCE_PATH}" "" IGNORE_UNCHANGED)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/blitz/matuops.h" "${SOURCE_PATH}" "" IGNORE_UNCHANGED)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/blitz/mathfunc.h" "${SOURCE_PATH}" "" IGNORE_UNCHANGED)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/blitz/promote-old.h" "${SOURCE_PATH}" "" IGNORE_UNCHANGED)
|
||||
|
||||
# Handle copyright
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "blitz",
|
||||
"version-date": "2020-03-25",
|
||||
"port-version": 6,
|
||||
"port-version": 7,
|
||||
"description": "Blitz++ is a C++ template class library that provides high-performance multidimensional array containers for scientific computing.",
|
||||
"homepage": "https://github.com/blitzpp/blitz",
|
||||
"supports": "!(arm | arm64 | uwp)",
|
||||
|
@ -197,8 +197,8 @@ file(REMOVE_RECURSE
|
||||
)
|
||||
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/botan/build.h" "#define BOTAN_INSTALL_PREFIX R\"(${CURRENT_PACKAGES_DIR})\"" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/botan/build.h" "#define BOTAN_INSTALL_LIB_DIR R\"(${CURRENT_PACKAGES_DIR}\\lib)\"" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/botan/build.h" "#define BOTAN_INSTALL_LIB_DIR R\"(${CURRENT_PACKAGES_DIR}/lib)\"" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/botan/build.h" "#define BOTAN_INSTALL_LIB_DIR R\"(${CURRENT_PACKAGES_DIR}\\lib)\"" "" IGNORE_UNCHANGED)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/botan/build.h" "#define BOTAN_INSTALL_LIB_DIR R\"(${CURRENT_PACKAGES_DIR}/lib)\"" "" IGNORE_UNCHANGED)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/botan/build.h" "--prefix=${CURRENT_PACKAGES_DIR}" "")
|
||||
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/license.txt")
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "botan",
|
||||
"version": "3.3.0",
|
||||
"port-version": 1,
|
||||
"description": "A cryptography library written in C++11",
|
||||
"homepage": "https://botan.randombit.net",
|
||||
"license": "BSD-2-Clause",
|
||||
|
@ -35,7 +35,7 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
# Patch installed headers to look in the correct subdirectory
|
||||
file(GLOB HEADERS "${CURRENT_PACKAGES_DIR}/include/CCfits/*")
|
||||
foreach(HEADER IN LISTS HEADERS)
|
||||
vcpkg_replace_string("${HEADER}" "\"fitsio.h\"" "\"cfitsio/fitsio.h\"")
|
||||
vcpkg_replace_string("${HEADER}" "\"fitsio.h\"" "\"cfitsio/fitsio.h\"" IGNORE_UNCHANGED)
|
||||
endforeach()
|
||||
|
||||
vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/include/CCfits/CCfits.h
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "ccfits",
|
||||
"version": "2.5",
|
||||
"port-version": 12,
|
||||
"port-version": 13,
|
||||
"description": "CCfits is an object oriented interface to the cfitsio library. It is designed to make the capabilities of cfitsio available to programmers working in C++.",
|
||||
"homepage": "https://heasarc.gsfc.nasa.gov/fitsio/CCfits/",
|
||||
"license": "NASA-1.3",
|
||||
|
@ -65,6 +65,7 @@ vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/unofficial-cfitsio/unofficia
|
||||
"cmake_policy(VERSION 2.6)\r\n\
|
||||
# Required for the evaluation of \"if(@BUILD_SHARED_LIBS@)\" below to function\r\n\
|
||||
cmake_policy(SET CMP0012 NEW)\r\n"
|
||||
IGNORE_UNCHANGED
|
||||
)
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include" "${CURRENT_PACKAGES_DIR}/include/unistd.h" "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "cfitsio",
|
||||
"version": "3.49",
|
||||
"port-version": 5,
|
||||
"port-version": 6,
|
||||
"description": "Library of C and Fortran subroutines for reading and writing data files in FITS (Flexible Image Transport System) data format",
|
||||
"homepage": "https://heasarc.gsfc.nasa.gov/fitsio/",
|
||||
"dependencies": [
|
||||
|
@ -97,14 +97,14 @@ endif()
|
||||
|
||||
#Fix install path
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/bin/curl-config" "${CURRENT_PACKAGES_DIR}" "\${prefix}")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/bin/curl-config" "${CURRENT_INSTALLED_DIR}" "\${prefix}")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/bin/curl-config" "\nprefix=\${prefix}" [=[prefix=$(CDPATH= cd -- "$(dirname -- "$0")"/../../.. && pwd -P)]=])
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/bin/curl-config" "${CURRENT_INSTALLED_DIR}" "\${prefix}" IGNORE_UNCHANGED)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/bin/curl-config" "\nprefix=\${prefix}" [=[prefix=$(CDPATH= cd -- "$(dirname -- "$0")"/../../.. && pwd -P)]=] IGNORE_UNCHANGED)
|
||||
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin")
|
||||
file(RENAME "${CURRENT_PACKAGES_DIR}/bin/curl-config" "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/curl-config")
|
||||
if(EXISTS "${CURRENT_PACKAGES_DIR}/debug/bin/curl-config")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/bin/curl-config" "${CURRENT_PACKAGES_DIR}" "\${prefix}")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/bin/curl-config" "${CURRENT_INSTALLED_DIR}" "\${prefix}")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/bin/curl-config" "\nprefix=\${prefix}/debug" [=[prefix=$(CDPATH= cd -- "$(dirname -- "$0")"/../../../.. && pwd -P)]=])
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/bin/curl-config" "${CURRENT_INSTALLED_DIR}" "\${prefix}" IGNORE_UNCHANGED)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/bin/curl-config" "\nprefix=\${prefix}/debug" [=[prefix=$(CDPATH= cd -- "$(dirname -- "$0")"/../../../.. && pwd -P)]=] IGNORE_UNCHANGED)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/bin/curl-config" "-lcurl" "-l${namespec}-d")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/bin/curl-config" "curl." "curl-d.")
|
||||
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug/bin")
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "curl",
|
||||
"version": "8.8.0",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "A library for transferring data with URLs",
|
||||
"homepage": "https://curl.se/",
|
||||
"license": "curl AND ISC AND BSD-3-Clause",
|
||||
|
@ -148,10 +148,10 @@ vcpkg_cmake_config_fixup()
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/dcmtk/config/osconfig.h" "#define DCMTK_PREFIX \"${CURRENT_PACKAGES_DIR}\"" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/dcmtk/config/osconfig.h" "#define DCM_DICT_DEFAULT_PATH \"${CURRENT_PACKAGES_DIR}/share/dcmtk-${VERSION}/dicom.dic:${CURRENT_PACKAGES_DIR}/share/dcmtk-${VERSION}/private.dic\"" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/dcmtk/config/osconfig.h" "#define DEFAULT_CONFIGURATION_DIR \"${CURRENT_PACKAGES_DIR}/etc/dcmtk-${VERSION}/\"" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/dcmtk/config/osconfig.h" "#define DEFAULT_SUPPORT_DATA_DIR \"${CURRENT_PACKAGES_DIR}/share/dcmtk-${VERSION}/\"" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/dcmtk/config/osconfig.h" "#define DCMTK_PREFIX \"${CURRENT_PACKAGES_DIR}\"" "" IGNORE_UNCHANGED)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/dcmtk/config/osconfig.h" "#define DCM_DICT_DEFAULT_PATH \"${CURRENT_PACKAGES_DIR}/share/dcmtk-${VERSION}/dicom.dic:${CURRENT_PACKAGES_DIR}/share/dcmtk-${VERSION}/private.dic\"" "" IGNORE_UNCHANGED)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/dcmtk/config/osconfig.h" "#define DEFAULT_CONFIGURATION_DIR \"${CURRENT_PACKAGES_DIR}/etc/dcmtk-${VERSION}/\"" "" IGNORE_UNCHANGED)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/dcmtk/config/osconfig.h" "#define DEFAULT_SUPPORT_DATA_DIR \"${CURRENT_PACKAGES_DIR}/share/dcmtk-${VERSION}/\"" "" IGNORE_UNCHANGED)
|
||||
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "dcmtk",
|
||||
"version": "3.6.8",
|
||||
"port-version": 5,
|
||||
"port-version": 6,
|
||||
"description": "This DICOM ToolKit (DCMTK) package consists of source code, documentation and installation instructions for a set of software libraries and applications implementing part of the DICOM/MEDICOM Standard.",
|
||||
"homepage": "https://github.com/DCMTK/dcmtk",
|
||||
"license": "BSD-3-Clause OR BSD-2-Clause OR libtiff OR MIT OR Zlib OR Libpng",
|
||||
|
@ -13,15 +13,15 @@ vcpkg_extract_source_archive(
|
||||
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||
vcpkg_replace_string("${SOURCE_PATH}/src/duk_config.h" "#undef DUK_F_DLL_BUILD" "#define DUK_F_DLL_BUILD")
|
||||
vcpkg_replace_string("${SOURCE_PATH}/src/duk_config.h" "#undef DUK_F_DLL_BUILD" "#define DUK_F_DLL_BUILD")
|
||||
else()
|
||||
vcpkg_replace_string("${SOURCE_PATH}/src/duk_config.h" "#define DUK_F_DLL_BUILD" "#undef DUK_F_DLL_BUILD")
|
||||
vcpkg_replace_string("${SOURCE_PATH}/src/duk_config.h" "#define DUK_F_DLL_BUILD" "#undef DUK_F_DLL_BUILD" IGNORE_UNCHANGED)
|
||||
endif()
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
-DVERSION=${VERSION}
|
||||
"-DVERSION=${VERSION}"
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "duktape",
|
||||
"version": "2.7.0",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "Embeddable Javascript engine with a focus on portability and compact footprint.",
|
||||
"homepage": "https://github.com/svaarala/duktape",
|
||||
"license": "MIT",
|
||||
|
@ -56,11 +56,13 @@ foreach(CSPROJ IN ITEMS
|
||||
"${CSPROJ}"
|
||||
"<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>"
|
||||
"<TargetFrameworkVersion>4.7.2</TargetFrameworkVersion>"
|
||||
IGNORE_UNCHANGED
|
||||
)
|
||||
vcpkg_replace_string(
|
||||
"${CSPROJ}"
|
||||
"<TargetFrameworkProfile>Client</TargetFrameworkProfile>"
|
||||
""
|
||||
IGNORE_UNCHANGED
|
||||
)
|
||||
endforeach()
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "easyhook",
|
||||
"version": "2.7.7097.0",
|
||||
"port-version": 7,
|
||||
"port-version": 8,
|
||||
"description": "This project supports extending (hooking) unmanaged code (APIs) with pure managed ones, from within a fully managed environment on 32- or 64-bit Windows Vista x64, Windows Server 2008 x64, Windows 7, Windows 8.1, and Windows 10.",
|
||||
"homepage": "https://github.com/EasyHook/EasyHook",
|
||||
"supports": "windows & !static & !uwp & (x86 | x64)",
|
||||
|
@ -69,7 +69,7 @@ if(EXISTS "${CURRENT_PACKAGES_DIR}/share/fbthrift/FBThriftConfig.cmake")
|
||||
endif()
|
||||
|
||||
# Only used internally and removed in master
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/fbthrift/FBThriftTargets.cmake" "LOCATION_HH=\\\"${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/thrift/compiler/location.hh\\\"" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/fbthrift/FBThriftTargets.cmake" "LOCATION_HH=\\\"${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/thrift/compiler/location.hh\\\"" "" IGNORE_UNCHANGED)
|
||||
|
||||
# Handle copyright
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "fbthrift",
|
||||
"version-string": "2024.06.17.00",
|
||||
"port-version": 1,
|
||||
"description": "Facebook's branch of Apache Thrift, including a new C++ server.",
|
||||
"homepage": "https://github.com/facebook/fbthrift",
|
||||
"license": "Apache-2.0",
|
||||
|
@ -783,7 +783,7 @@ if (VCPKG_TARGET_IS_WINDOWS)
|
||||
OUTPUT_VARIABLE CYG_INSTALLED_DIR
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
)
|
||||
vcpkg_replace_string("${PKGCONFIG_FILE}" "-libpath:${CYG_INSTALLED_DIR}${_debug}lib/pkgconfig/../../lib " "")
|
||||
vcpkg_replace_string("${PKGCONFIG_FILE}" "-libpath:${CYG_INSTALLED_DIR}${_debug}lib/pkgconfig/../../lib " "" IGNORE_UNCHANGED)
|
||||
# transform libdir, includedir, and prefix paths from cygwin style to windows style
|
||||
file(READ "${PKGCONFIG_FILE}" PKGCONFIG_CONTENT)
|
||||
foreach(PATH_NAME prefix libdir includedir)
|
||||
@ -811,7 +811,7 @@ if (VCPKG_TARGET_IS_WINDOWS)
|
||||
set(LIBS_VALUE_OLD "${LIBS_VALUE}")
|
||||
string(REGEX REPLACE "([^ ]+)[.]lib" "-l\\1" LIBS_VALUE "${LIBS_VALUE}")
|
||||
set(LIBS_VALUE_NEW "${LIBS_VALUE}")
|
||||
vcpkg_replace_string("${PKGCONFIG_FILE}" "${LIBS_ENTRY}: ${LIBS_VALUE_OLD}" "${LIBS_ENTRY}: ${LIBS_VALUE_NEW}")
|
||||
vcpkg_replace_string("${PKGCONFIG_FILE}" "${LIBS_ENTRY}: ${LIBS_VALUE_OLD}" "${LIBS_ENTRY}: ${LIBS_VALUE_NEW}" IGNORE_UNCHANGED)
|
||||
endif()
|
||||
endforeach()
|
||||
endforeach()
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "ffmpeg",
|
||||
"version": "6.1.1",
|
||||
"port-version": 8,
|
||||
"port-version": 9,
|
||||
"description": [
|
||||
"a library to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created.",
|
||||
"FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge. No matter if they were designed by some standards committee, the community or a corporation. It is also highly portable: FFmpeg compiles, runs, and passes our testing infrastructure FATE across Linux, Mac OS X, Microsoft Windows, the BSDs, Solaris, etc. under a wide variety of build environments, machine architectures, and configurations."
|
||||
|
@ -30,11 +30,11 @@ if(VCPKG_TARGET_IS_WINDOWS)
|
||||
endif()
|
||||
set(configfile "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/config.h")
|
||||
vcpkg_replace_string("${configfile}" "${CURRENT_PACKAGES_DIR}" "${replacement}")
|
||||
vcpkg_replace_string("${configfile}" "#define FC_TEMPLATEDIR \"/share/fontconfig/conf.avail\"" "#define FC_TEMPLATEDIR \"/usr/share/fontconfig/conf.avail\"")
|
||||
vcpkg_replace_string("${configfile}" "#define FC_TEMPLATEDIR \"/share/fontconfig/conf.avail\"" "#define FC_TEMPLATEDIR \"/usr/share/fontconfig/conf.avail\"" IGNORE_UNCHANGED)
|
||||
if(NOT VCPKG_BUILD_TYPE)
|
||||
set(configfile "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/config.h")
|
||||
vcpkg_replace_string("${configfile}" "${CURRENT_PACKAGES_DIR}/debug" "${replacement}")
|
||||
vcpkg_replace_string("${configfile}" "#define FC_TEMPLATEDIR \"/share/fontconfig/conf.avail\"" "#define FC_TEMPLATEDIR \"/usr/share/fontconfig/conf.avail\"")
|
||||
vcpkg_replace_string("${configfile}" "#define FC_TEMPLATEDIR \"/share/fontconfig/conf.avail\"" "#define FC_TEMPLATEDIR \"/usr/share/fontconfig/conf.avail\"" IGNORE_UNCHANGED)
|
||||
endif()
|
||||
|
||||
vcpkg_install_meson(ADD_BIN_TO_PATH)
|
||||
@ -43,9 +43,9 @@ vcpkg_copy_pdbs()
|
||||
#Fix missing libintl static dependency
|
||||
if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
|
||||
if(NOT VCPKG_BUILD_TYPE)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/fontconfig.pc" "-liconv" "-liconv -lintl")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/fontconfig.pc" "-liconv" "-liconv -lintl" IGNORE_UNCHANGED)
|
||||
endif()
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/fontconfig.pc" "-liconv" "-liconv -lintl")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/fontconfig.pc" "-liconv" "-liconv -lintl" IGNORE_UNCHANGED)
|
||||
endif()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
@ -61,7 +61,7 @@ endif()
|
||||
# Make path to cache in fonts.conf relative
|
||||
set(_file "${CURRENT_PACKAGES_DIR}/etc/fonts/fonts.conf")
|
||||
if(EXISTS "${_file}")
|
||||
vcpkg_replace_string("${_file}" "${CURRENT_PACKAGES_DIR}/var/cache/fontconfig" "./../../var/cache/fontconfig")
|
||||
vcpkg_replace_string("${_file}" "${CURRENT_PACKAGES_DIR}/var/cache/fontconfig" "./../../var/cache/fontconfig" IGNORE_UNCHANGED)
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/var"
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "fontconfig",
|
||||
"version": "2.14.2",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "Library for configuring and customizing font access.",
|
||||
"homepage": "https://www.freedesktop.org/wiki/Software/fontconfig",
|
||||
"license": "MIT",
|
||||
|
@ -38,14 +38,14 @@ vcpkg_fixup_pkgconfig()
|
||||
|
||||
file(GLOB pc_files "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/*.pc" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/*.pc")
|
||||
foreach(file IN LISTS pc_files)
|
||||
vcpkg_replace_string("${file}" ";-D" " -D")
|
||||
vcpkg_replace_string("${file}" ";-D" " -D" IGNORE_UNCHANGED)
|
||||
endforeach()
|
||||
|
||||
if(NOT VCPKG_TARGET_IS_ANDROID)
|
||||
file(COPY_FILE "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/glut.pc" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/freeglut.pc")
|
||||
if(NOT VCPKG_BUILD_TYPE)
|
||||
if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/glut.pc" " -lfreeglut" " -lfreeglutd")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/glut.pc" " -lfreeglut" " -lfreeglutd" IGNORE_UNCHANGED)
|
||||
endif()
|
||||
file(COPY_FILE "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/glut.pc" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/freeglut.pc")
|
||||
endif()
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "freeglut",
|
||||
"version": "3.4.0",
|
||||
"port-version": 2,
|
||||
"port-version": 3,
|
||||
"description": "A free OpenGL utility toolkit, the open-sourced alternative to the GLUT library.",
|
||||
"homepage": "https://sourceforge.net/projects/freeglut/",
|
||||
"license": null,
|
||||
|
@ -113,9 +113,9 @@ if(tools)
|
||||
vcpkg_copy_tools(TOOL_NAMES ${tools} AUTO_CLEAN)
|
||||
endif()
|
||||
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/freerdp/build-config.h" "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel" ".")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/freerdp/build-config.h" "${CURRENT_PACKAGES_DIR}/" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/freerdp/build-config.h" "${CURRENT_PACKAGES_DIR}" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/freerdp/build-config.h" "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel" "." IGNORE_UNCHANGED)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/freerdp/build-config.h" "${CURRENT_PACKAGES_DIR}/" "" IGNORE_UNCHANGED)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/freerdp/build-config.h" "${CURRENT_PACKAGES_DIR}" "" IGNORE_UNCHANGED)
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
# They build static with dllexport, so it must be used with dllexport. Proper fix needs invasive patching.
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/freerdp/api.h" "#ifdef FREERDP_EXPORTS" "#if 1")
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "freerdp",
|
||||
"version": "3.4.0",
|
||||
"port-version": 2,
|
||||
"port-version": 3,
|
||||
"description": "A free implementation of the Remote Desktop Protocol (RDP)",
|
||||
"homepage": "https://github.com/FreeRDP/FreeRDP",
|
||||
"license": "Apache-2.0",
|
||||
|
@ -129,7 +129,8 @@ vcpkg_replace_string(
|
||||
"${CURRENT_PACKAGES_DIR}/share/geogram/GeogramTargets.cmake"
|
||||
[[INTERFACE_INCLUDE_DIRECTORIES "/src/lib;${_IMPORT_PREFIX}/include"]]
|
||||
[[INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"]]
|
||||
)
|
||||
IGNORE_UNCHANGED
|
||||
)
|
||||
|
||||
# Handle copyright
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/doc/devkit/license.dox")
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "geogram",
|
||||
"version": "1.8.3",
|
||||
"port-version": 2,
|
||||
"port-version": 3,
|
||||
"description": "Geogram is a programming library of geometric algorithms.",
|
||||
"homepage": "https://github.com/BrunoLevy/geogram",
|
||||
"license": "BSD-3-Clause",
|
||||
|
@ -178,7 +178,7 @@ if(subdirs)
|
||||
endif()
|
||||
|
||||
if("tools" IN_LIST FEATURES)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/gettext/user-email" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../..")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/gettext/user-email" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../.." IGNORE_UNCHANGED)
|
||||
else()
|
||||
# A fast installation of the autopoint tool and data, needed for autoconfig
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/install-autopoint.cmake")
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "gettext",
|
||||
"version": "0.22.5",
|
||||
"port-version": 1,
|
||||
"description": "A GNU framework to help produce multi-lingual messages.",
|
||||
"homepage": "https://www.gnu.org/software/gettext/",
|
||||
"license": "GPL-3.0-only",
|
||||
|
@ -109,11 +109,11 @@ endif()
|
||||
set(pc_replace_intl_path gio glib gmodule-no-export gobject gthread)
|
||||
foreach(pc_prefix IN LISTS pc_replace_intl_path)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/${pc_prefix}-2.0.pc" "\"" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/${pc_prefix}-2.0.pc" "\${prefix}/debug/lib/${LIBINTL_NAME}" "-lintl")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/${pc_prefix}-2.0.pc" "\${prefix}/lib/${LIBINTL_NAME}" "-lintl")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/${pc_prefix}-2.0.pc" "\${prefix}/debug/lib/${LIBINTL_NAME}" "-lintl" IGNORE_UNCHANGED)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/${pc_prefix}-2.0.pc" "\${prefix}/lib/${LIBINTL_NAME}" "-lintl" IGNORE_UNCHANGED)
|
||||
if(NOT VCPKG_BUILD_TYPE)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/${pc_prefix}-2.0.pc" "\"" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/${pc_prefix}-2.0.pc" "\${prefix}/lib/${LIBINTL_NAME}" "-lintl")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/${pc_prefix}-2.0.pc" "\${prefix}/lib/${LIBINTL_NAME}" "-lintl" IGNORE_UNCHANGED)
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "glib",
|
||||
"version": "2.78.4",
|
||||
"port-version": 2,
|
||||
"port-version": 3,
|
||||
"description": "Portable, general-purpose utility library.",
|
||||
"homepage": "https://developer.gnome.org/glib/",
|
||||
"license": "LGPL-2.1-or-later",
|
||||
|
@ -37,7 +37,7 @@ endif()
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
vcpkg_copy_pdbs()
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/graphqlparser/parser.tab.hpp" "${SOURCE_PATH}" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/graphqlparser/parser.tab.hpp" "${SOURCE_PATH}" "" IGNORE_UNCHANGED)
|
||||
|
||||
# Handle copyright
|
||||
configure_file("${SOURCE_PATH}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/graphqlparser/copyright" COPYONLY)
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "graphqlparser",
|
||||
"version": "0.7.0",
|
||||
"port-version": 4,
|
||||
"port-version": 5,
|
||||
"description": "A GraphQL query parser in C++ with C and C++ APIs",
|
||||
"dependencies": [
|
||||
{
|
||||
|
@ -71,7 +71,7 @@ vcpkg_fixup_pkgconfig()
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
file(GLOB headers "${CURRENT_PACKAGES_DIR}/include/graphviz/*.h")
|
||||
foreach(file IN LISTS headers)
|
||||
vcpkg_replace_string("${file}" "#ifdef GVDLL" "#if 1")
|
||||
vcpkg_replace_string("${file}" "#ifdef GVDLL" "#if 1" IGNORE_UNCHANGED)
|
||||
endforeach()
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
# static libs built with dllexport must be used with dllexport
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "graphviz",
|
||||
"version-semver": "10.0.1",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "Graph Visualization Tools",
|
||||
"homepage": "https://graphviz.org/",
|
||||
"license": "EPL-1.0",
|
||||
|
@ -22,12 +22,12 @@ vcpkg_fixup_pkgconfig()
|
||||
|
||||
if (NOT VCPKG_BUILD_TYPE)
|
||||
foreach(file guile-tools guile-config guild)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug/bin/${file}" "${CURRENT_INSTALLED_DIR}/debug/../tools/guile/debug/bin" "`dirname $0`")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug/bin/${file}" "${CURRENT_INSTALLED_DIR}/debug/../tools/guile/debug/bin" "`dirname $0`" IGNORE_UNCHANGED)
|
||||
endforeach()
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug/bin/guile-config" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../../..")
|
||||
endif()
|
||||
foreach(file guile-tools guile-config guild)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/${file}" "${CURRENT_INSTALLED_DIR}/tools/guile/bin" "`dirname $0`")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/${file}" "${CURRENT_INSTALLED_DIR}/tools/guile/bin" "`dirname $0`" IGNORE_UNCHANGED)
|
||||
endforeach()
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/guile-config" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../..")
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "guile",
|
||||
"version": "3.0.9",
|
||||
"port-version": 1,
|
||||
"description": "GNU's programming and extension language",
|
||||
"homepage": "https://www.gnu.org/software/guile/",
|
||||
"documentation": "https://www.gnu.org/software/guile/manual/",
|
||||
|
@ -16,7 +16,8 @@ ignition_modular_library(
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/gz-common5-graphics/gz-common5-graphics-config.cmake" "find_package(GTS "
|
||||
"# Ensure that consumers get a pkg-config tool which is needed for GTS
|
||||
set(PKG_CONFIG_EXECUTABLE \"\${CMAKE_CURRENT_LIST_DIR}/../../../${HOST_TRIPLET}/tools/pkgconf/pkgconf${VCPKG_HOST_EXECUTABLE_SUFFIX}\" CACHE STRING vcpkg)
|
||||
find_package(GTS ")
|
||||
find_package(GTS "
|
||||
IGNORE_UNCHANGED)
|
||||
|
||||
foreach(component IN ITEMS av events geospatial graphics io profiler testing)
|
||||
if(NOT EXISTS "${CURRENT_PACKAGES_DIR}/share/${PORT}-${component}/${PORT}-${component}-config.cmake")
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "gz-common5",
|
||||
"version": "5.4.1",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "Common libraries for robotics applications",
|
||||
"homepage": "https://ignitionrobotics.org/libs/common",
|
||||
"license": "Apache-2.0",
|
||||
|
@ -43,6 +43,7 @@ if(EXISTS "${CURRENT_PACKAGES_DIR}/debug/lib/hayai_main.lib")
|
||||
"${CURRENT_PACKAGES_DIR}/share/${PORT}/hayai-targets-debug.cmake"
|
||||
"\${CMAKE_CURRENT_LIST_DIR}/../../debug/lib/hayai_main.lib"
|
||||
"\${CMAKE_CURRENT_LIST_DIR}/../../debug/lib/manual-link/hayai_main.lib"
|
||||
IGNORE_UNCHANGED
|
||||
)
|
||||
endif()
|
||||
|
||||
@ -57,6 +58,7 @@ if(EXISTS "${CURRENT_PACKAGES_DIR}/lib/hayai_main.lib")
|
||||
"${CURRENT_PACKAGES_DIR}/share/${PORT}/hayai-targets-release.cmake"
|
||||
"\${CMAKE_CURRENT_LIST_DIR}/../../lib/hayai_main.lib"
|
||||
"\${CMAKE_CURRENT_LIST_DIR}/../../lib/manual-link/hayai_main.lib"
|
||||
IGNORE_UNCHANGED
|
||||
)
|
||||
endif()
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "hayai",
|
||||
"version-date": "2019-08-10",
|
||||
"port-version": 3,
|
||||
"port-version": 4,
|
||||
"description": "C++ benchmarking framework",
|
||||
"homepage": "https://github.com/nickbruun/hayai",
|
||||
"dependencies": [
|
||||
|
@ -87,10 +87,10 @@ vcpkg_fixup_pkgconfig()
|
||||
file(GLOB pc_files "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/*.pc" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/*.pc")
|
||||
foreach(file IN LISTS pc_files)
|
||||
if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW AND VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
vcpkg_replace_string("${file}" " -lhdf5" " -llibhdf5")
|
||||
vcpkg_replace_string("${file}" " -lhdf5" " -llibhdf5" IGNORE_UNCHANGED)
|
||||
endif()
|
||||
if(VCPKG_TARGET_IS_WINDOWS)
|
||||
vcpkg_replace_string("${file}" "/msmpi.lib\"" "/msmpi\"")
|
||||
vcpkg_replace_string("${file}" "/msmpi.lib\"" "/msmpi\"" IGNORE_UNCHANGED)
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
@ -136,7 +136,7 @@ if(HDF5_TOOLS)
|
||||
vcpkg_copy_tools(TOOL_NAMES ${HDF5_TOOLS} AUTO_CLEAN)
|
||||
foreach(tool h5cc h5pcc h5hlcc)
|
||||
if(EXISTS "${CURRENT_PACKAGES_DIR}/tools/${PORT}/${tool}")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/${PORT}/${tool}" "${CURRENT_INSTALLED_DIR}" "$(dirname \"$0\")/../..")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/${PORT}/${tool}" "${CURRENT_INSTALLED_DIR}" "$(dirname \"$0\")/../.." IGNORE_UNCHANGED)
|
||||
endif()
|
||||
endforeach()
|
||||
if(EXISTS "${CURRENT_PACKAGES_DIR}/bin/h5fuse.sh")
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "hdf5",
|
||||
"version": "1.14.4.3",
|
||||
"port-version": 1,
|
||||
"description": "HDF5 is a data model, library, and file format for storing and managing data",
|
||||
"homepage": "https://www.hdfgroup.org/downloads/hdf5/",
|
||||
"license": "BSD-3-Clause",
|
||||
|
@ -26,7 +26,7 @@ if ("pp-data-dump" IN_LIST FEATURES)
|
||||
vcpkg_copy_tools(TOOL_NAMES pp_data_dump AUTO_CLEAN)
|
||||
endif()
|
||||
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/hidapi/libhidapi.cmake" "\"/hidapi\"" "\"\${_IMPORT_PREFIX}/include\"")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/hidapi/libhidapi.cmake" "\"/hidapi\"" "\"\${_IMPORT_PREFIX}/include\"" IGNORE_UNCHANGED)
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE-bsd.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "hidapi",
|
||||
"version-semver": "0.14.0",
|
||||
"port-version": 1,
|
||||
"description": "A Simple library for communicating with USB and Bluetooth HID devices on Linux, Mac and Windows.",
|
||||
"homepage": "https://github.com/libusb/hidapi",
|
||||
"license": "BSD-3-Clause-Clear",
|
||||
|
@ -89,7 +89,7 @@ file(REMOVE "${CURRENT_PACKAGES_DIR}/bin/hpxcxx" "${CURRENT_PACKAGES_DIR}/debug/
|
||||
if(EXISTS "${CURRENT_PACKAGES_DIR}/bin/hpxrun.py")
|
||||
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/tools/${PORT}")
|
||||
file(RENAME "${CURRENT_PACKAGES_DIR}/bin/hpxrun.py" "${CURRENT_PACKAGES_DIR}/tools/${PORT}/hpxrun.py")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/${PORT}/hpxrun.py" "'${CURRENT_INSTALLED_DIR}/tools/openmpi/bin/mpiexec'" "'mpiexec'")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/${PORT}/hpxrun.py" "'${CURRENT_INSTALLED_DIR}/tools/openmpi/bin/mpiexec'" "'mpiexec'" IGNORE_UNCHANGED)
|
||||
endif()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "hpx",
|
||||
"version": "1.10.0",
|
||||
"port-version": 1,
|
||||
"description": [
|
||||
"The C++ Standards Library for Concurrency and Parallelism",
|
||||
"HPX is a C++ Standards Library for Concurrency and Parallelism. It implements all of the corresponding facilities as defined by the C++ Standard. Additionally, in HPX we implement functionalities proposed as part of the ongoing C++ standardization process. We also extend the C++ Standard APIs to the distributed case."
|
||||
|
@ -45,10 +45,10 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
if(EXISTS "${CURRENT_PACKAGES_DIR}/tools/hwloc/bin/hwloc-compress-dir")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/hwloc/bin/hwloc-compress-dir" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../..")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/hwloc/bin/hwloc-compress-dir" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../.." IGNORE_UNCHANGED)
|
||||
endif()
|
||||
if(EXISTS "${CURRENT_PACKAGES_DIR}/tools/hwloc/debug/bin/hwloc-compress-dir")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/hwloc/debug/bin/hwloc-compress-dir" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../../..")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/hwloc/debug/bin/hwloc-compress-dir" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../../.." IGNORE_UNCHANGED)
|
||||
endif()
|
||||
|
||||
if(EXISTS "${CURRENT_PACKAGES_DIR}/tools/hwloc/bin/hwloc-gather-topology")
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "hwloc",
|
||||
"version": "2.10.0",
|
||||
"port-version": 1,
|
||||
"maintainers": "bgoglin<Brice.Goglin@inria.fr>",
|
||||
"description": [
|
||||
"Portable Hardware Locality (hwloc)",
|
||||
|
@ -156,7 +156,7 @@ endif()
|
||||
vcpkg_copy_pdbs()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/icu/bin/icu-config" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../../")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/icu/bin/icu-config" "${CURRENT_INSTALLED_DIR}" "`dirname $0`/../../../" IGNORE_UNCHANGED)
|
||||
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "icu",
|
||||
"version": "74.2",
|
||||
"port-version": 2,
|
||||
"port-version": 3,
|
||||
"description": "Mature and widely used Unicode and localization library.",
|
||||
"homepage": "https://icu.unicode.org/home",
|
||||
"license": "ICU",
|
||||
|
@ -210,13 +210,13 @@ else()
|
||||
)
|
||||
file(REMOVE ${files_to_remove})
|
||||
file(COPY_FILE "${mkl_dir}/lib/pkgconfig/${main_pc_file}" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/${main_pc_file}")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/${main_pc_file}" "\${exec_prefix}/${package_libdir}" "\${exec_prefix}/lib/intel64")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/${main_pc_file}" "\${exec_prefix}/${package_libdir}" "\${exec_prefix}/lib/intel64" IGNORE_UNCHANGED)
|
||||
|
||||
set(compiler_dir "${extract_1_dir}/_installdir/compiler/2023.0.0")
|
||||
if(threading STREQUAL "intel_thread")
|
||||
file(COPY "${compiler_dir}/${compiler_libdir}/" DESTINATION "${CURRENT_PACKAGES_DIR}/lib/intel64")
|
||||
file(COPY_FILE "${compiler_dir}/lib/pkgconfig/openmp.pc" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/libiomp5.pc")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/libiomp5.pc" "/${compiler_libdir}/" "/lib/intel64/")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/libiomp5.pc" "/${compiler_libdir}/" "/lib/intel64/" IGNORE_UNCHANGED)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/${main_pc_file}" "openmp" "libiomp5")
|
||||
endif()
|
||||
endif()
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "intel-mkl",
|
||||
"version": "2023.0.0",
|
||||
"port-version": 3,
|
||||
"port-version": 4,
|
||||
"description": "Intel® Math Kernel Library (Intel® MKL) accelerates math processing routines, increases application performance, and reduces development time on Intel® processors.",
|
||||
"homepage": "https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl.html",
|
||||
"license": null,
|
||||
|
@ -66,6 +66,7 @@ endif()
|
||||
vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/share/libevent/LibeventTargets-${_target_suffix}.cmake
|
||||
"${CURRENT_PACKAGES_DIR}"
|
||||
"${CURRENT_INSTALLED_DIR}"
|
||||
IGNORE_UNCHANGED
|
||||
)
|
||||
vcpkg_replace_string(${CURRENT_PACKAGES_DIR}/share/libevent/LibeventConfig.cmake "${SOURCE_PATH}/include;${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/include" "")
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "libevent",
|
||||
"version": "2.1.12+20230128",
|
||||
"port-version": 1,
|
||||
"description": "An event notification library",
|
||||
"homepage": "https://github.com/libevent/libevent",
|
||||
"license": "BSD-3-Clause",
|
||||
|
@ -37,7 +37,6 @@ vcpkg_cmake_config_fixup(PACKAGE_NAME geotiff)
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/geotiff/geotiff-config.cmake" "if (GeoTIFF_USE_STATIC_LIBS)" "if (1)")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/bin" "${CURRENT_PACKAGES_DIR}/bin")
|
||||
endif()
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "libgeotiff",
|
||||
"version": "1.7.3",
|
||||
"port-version": 1,
|
||||
"description": "Libgeotiff is an open source library on top of libtiff for reading and writing GeoTIFF information tags.",
|
||||
"homepage": "https://github.com/OSGeo/libgeotiff",
|
||||
"license": "MIT",
|
||||
|
@ -26,9 +26,9 @@ vcpkg_copy_pdbs()
|
||||
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/libheif/)
|
||||
# libheif's pc file assumes libstdc++, which isn't always true.
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/libheif.pc" " -lstdc++" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/libheif.pc" " -lstdc++" "" IGNORE_UNCHANGED)
|
||||
if(NOT VCPKG_BUILD_TYPE)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/libheif.pc" " -lstdc++" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/libheif.pc" " -lstdc++" "" IGNORE_UNCHANGED)
|
||||
endif()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "libheif",
|
||||
"version": "1.17.6",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "libheif is an HEIF and AVIF file format decoder and encoder.",
|
||||
"homepage": "http://www.libheif.org/",
|
||||
"license": "LGPL-3.0-only",
|
||||
|
@ -76,15 +76,15 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
|
||||
if (EXISTS "${CURRENT_PACKAGES_DIR}/share/${PORT}/libjpeg-turboTargets-debug.cmake")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/${PORT}/libjpeg-turboTargets-debug.cmake"
|
||||
"jpeg-static${VCPKG_TARGET_STATIC_LIBRARY_SUFFIX}" "jpeg${VCPKG_TARGET_STATIC_LIBRARY_SUFFIX}")
|
||||
"jpeg-static${VCPKG_TARGET_STATIC_LIBRARY_SUFFIX}" "jpeg${VCPKG_TARGET_STATIC_LIBRARY_SUFFIX}" IGNORE_UNCHANGED)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/${PORT}/libjpeg-turboTargets-debug.cmake"
|
||||
"turbojpeg-static${VCPKG_TARGET_STATIC_LIBRARY_SUFFIX}" "turbojpeg${VCPKG_TARGET_STATIC_LIBRARY_SUFFIX}")
|
||||
"turbojpeg-static${VCPKG_TARGET_STATIC_LIBRARY_SUFFIX}" "turbojpeg${VCPKG_TARGET_STATIC_LIBRARY_SUFFIX}" IGNORE_UNCHANGED)
|
||||
endif()
|
||||
if (EXISTS "${CURRENT_PACKAGES_DIR}/share/${PORT}/libjpeg-turboTargets-release.cmake")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/${PORT}/libjpeg-turboTargets-release.cmake"
|
||||
"jpeg-static${VCPKG_TARGET_STATIC_LIBRARY_SUFFIX}" "jpeg${VCPKG_TARGET_STATIC_LIBRARY_SUFFIX}")
|
||||
"jpeg-static${VCPKG_TARGET_STATIC_LIBRARY_SUFFIX}" "jpeg${VCPKG_TARGET_STATIC_LIBRARY_SUFFIX}" IGNORE_UNCHANGED)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/${PORT}/libjpeg-turboTargets-release.cmake"
|
||||
"turbojpeg-static${VCPKG_TARGET_STATIC_LIBRARY_SUFFIX}" "turbojpeg${VCPKG_TARGET_STATIC_LIBRARY_SUFFIX}")
|
||||
"turbojpeg-static${VCPKG_TARGET_STATIC_LIBRARY_SUFFIX}" "turbojpeg${VCPKG_TARGET_STATIC_LIBRARY_SUFFIX}" IGNORE_UNCHANGED)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "libjpeg-turbo",
|
||||
"version": "3.0.2",
|
||||
"port-version": 1,
|
||||
"description": "libjpeg-turbo is a JPEG image codec that uses SIMD instructions (MMX, SSE2, NEON, AltiVec) to accelerate baseline JPEG compression and decompression on x86, x86-64, ARM, and PowerPC systems.",
|
||||
"homepage": "https://github.com/libjpeg-turbo/libjpeg-turbo",
|
||||
"license": "BSD-3-Clause",
|
||||
|
@ -19,7 +19,7 @@ vcpkg_fixup_pkgconfig()
|
||||
vcpkg_cmake_config_fixup(PACKAGE_NAME sigc++-3 CONFIG_PATH lib/cmake/sigc++-3)
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/sigc++config.h" "ifdef BUILD_SHARED" "if 1")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/sigc++config.h" "ifdef BUILD_SHARED" "if 1" IGNORE_UNCHANGED)
|
||||
endif()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "libsigcpp",
|
||||
"version": "3.6.0",
|
||||
"port-version": 1,
|
||||
"description": "Typesafe callback framework for C++",
|
||||
"homepage": "https://libsigcplusplus.github.io/libsigcplusplus/",
|
||||
"license": "LGPL-3.0-or-later",
|
||||
|
@ -197,7 +197,7 @@ else()
|
||||
"${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/Makefile"
|
||||
)
|
||||
foreach(makefile IN LISTS makefiles)
|
||||
vcpkg_replace_string("${makefile}" " -I$(top_builddir)/./src/headers/spatialite" " -I$(top_builddir)/./src/headers")
|
||||
vcpkg_replace_string("${makefile}" " -I$(top_builddir)/./src/headers/spatialite" " -I$(top_builddir)/./src/headers" IGNORE_UNCHANGED)
|
||||
endforeach()
|
||||
|
||||
vcpkg_install_make()
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "libspatialite",
|
||||
"version": "5.1.0",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "SpatiaLite is an open source library intended to extend the SQLite core to support fully fledged Spatial SQL capabilities.",
|
||||
"homepage": "https://www.gaia-gis.it/fossil/libspatialite/index",
|
||||
"license": null,
|
||||
|
@ -40,9 +40,9 @@ vcpkg_copy_pdbs()
|
||||
#Fixup pthread naming
|
||||
if(NOT VCPKG_TARGET_IS_MINGW AND VCPKG_TARGET_IS_WINDOWS)
|
||||
if(NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/libssh.pc" "-lpthread" "-lpthreadVC3d")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/libssh.pc" "-lpthread" "-lpthreadVC3d" IGNORE_UNCHANGED)
|
||||
endif()
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/libssh.pc" "-lpthread" "-lpthreadVC3")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/libssh.pc" "-lpthread" "-lpthreadVC3" IGNORE_UNCHANGED)
|
||||
endif()
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "libssh",
|
||||
"version": "0.10.5",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "libssh is a multiplatform C library implementing the SSHv2 protocol on client and server side",
|
||||
"homepage": "https://www.libssh.org/",
|
||||
"license": "LGPL-2.1-only",
|
||||
|
@ -44,9 +44,9 @@ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/libssh2)
|
||||
if (VCPKG_TARGET_IS_WINDOWS)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/libssh2.h" "ifdef LIBSSH2_WIN32" "if 1")
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/libssh2.h" "ifdef _WINDLL" "if 1")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/libssh2.h" "ifdef _WINDLL" "if 1" IGNORE_UNCHANGED)
|
||||
else()
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/libssh2.h" "ifdef _WINDLL" "if 0")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/libssh2.h" "ifdef _WINDLL" "if 0" IGNORE_UNCHANGED)
|
||||
endif()
|
||||
if(VCPKG_TARGET_STATIC_LIBRARY_PREFIX STREQUAL "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/libssh2.pc" " -lssh2" " -llibssh2")
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "libssh2",
|
||||
"version": "1.11.0",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": "libssh2 is a client-side C library implementing the SSH2 protocol.",
|
||||
"homepage": "https://www.libssh2.org",
|
||||
"license": "BSD-3-Clause",
|
||||
|
@ -169,11 +169,11 @@ string(REPLACE "/../include" "/../../include" LIBWEBSOCKETSCONFIG_CMAKE "${LIBWE
|
||||
file(WRITE "${CURRENT_PACKAGES_DIR}/share/libwebsockets/libwebsockets-config.cmake" "${LIBWEBSOCKETSCONFIG_CMAKE}")
|
||||
|
||||
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
|
||||
vcpkg_replace_string( "${CURRENT_PACKAGES_DIR}/share/libwebsockets/LibwebsocketsTargets-debug.cmake" "websockets_static.lib" "websockets.lib")
|
||||
vcpkg_replace_string( "${CURRENT_PACKAGES_DIR}/share/libwebsockets/LibwebsocketsTargets-debug.cmake" "websockets_static.lib" "websockets.lib" IGNORE_UNCHANGED)
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
|
||||
vcpkg_replace_string( "${CURRENT_PACKAGES_DIR}/share/libwebsockets/LibwebsocketsTargets-release.cmake" "websockets_static.lib" "websockets.lib")
|
||||
vcpkg_replace_string( "${CURRENT_PACKAGES_DIR}/share/libwebsockets/LibwebsocketsTargets-release.cmake" "websockets_static.lib" "websockets.lib" IGNORE_UNCHANGED)
|
||||
endif()
|
||||
|
||||
if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "libwebsockets",
|
||||
"version-semver": "4.3.3",
|
||||
"port-version": 1,
|
||||
"description": "Libwebsockets is a lightweight pure C library built to use minimal CPU and memory resources, and provide fast throughput in both directions as client or server.",
|
||||
"homepage": "https://github.com/warmcat/libwebsockets",
|
||||
"supports": "!uwp",
|
||||
|
@ -55,7 +55,7 @@ if(NOT VCPKG_BUILD_TYPE)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/libxslt/debug/xslt-config" [[$(cd "$(dirname "$0")"; pwd -P)/..]] [[$(cd "$(dirname "$0")/../../../debug"; pwd -P)]])
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/tools/libxslt/debug/xslt-config" [[${prefix}/include]] [[${prefix}/../include]])
|
||||
endif()
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/libxslt/xsltconfig.h" "#define LIBXSLT_DEFAULT_PLUGINS_PATH() \"${CURRENT_INSTALLED_DIR}/lib/libxslt-plugins\"" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/libxslt/xsltconfig.h" "#define LIBXSLT_DEFAULT_PLUGINS_PATH() \"${CURRENT_INSTALLED_DIR}/lib/libxslt-plugins\"" "" IGNORE_UNCHANGED)
|
||||
vcpkg_copy_tools(TOOL_NAMES xsltproc AUTO_CLEAN)
|
||||
|
||||
vcpkg_fixup_pkgconfig()
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "libxslt",
|
||||
"version": "1.1.37",
|
||||
"port-version": 3,
|
||||
"port-version": 4,
|
||||
"description": "Libxslt is a XSLT library implemented in C for XSLT 1.0 and most of EXSLT",
|
||||
"homepage": "https://github.com/GNOME/libxslt",
|
||||
"license": null,
|
||||
|
@ -102,8 +102,8 @@ list(REMOVE_DUPLICATES tools)
|
||||
vcpkg_copy_tools(TOOL_NAMES ${tools} AUTO_CLEAN)
|
||||
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/mgl2/config.h" "#define MGL_INSTALL_DIR \"${CURRENT_PACKAGES_DIR}\"" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/mgl2/config.h" "#define MGL_FONT_PATH\t\"${CURRENT_PACKAGES_DIR}/fonts\"" "") # there is no fonts folder
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/mgl2/config.h" "#define MGL_FONT_PATH\t\"${CURRENT_PACKAGES_DIR}/share/mathgl/fonts\"" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/mgl2/config.h" "#define MGL_FONT_PATH\t\"${CURRENT_PACKAGES_DIR}/fonts\"" "" IGNORE_UNCHANGED) # there is no fonts folder
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/mgl2/config.h" "#define MGL_FONT_PATH\t\"${CURRENT_PACKAGES_DIR}/share/mathgl/fonts\"" "" IGNORE_UNCHANGED)
|
||||
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "mathgl",
|
||||
"version": "8.0.1",
|
||||
"port-version": 6,
|
||||
"port-version": 7,
|
||||
"description": "MathGL is a free library of fast C++ routines for the plotting of the data varied in one or more dimensions",
|
||||
"license": "GPL-3.0-only",
|
||||
"supports": "!uwp & !xbox & !android",
|
||||
|
@ -63,7 +63,9 @@ endif()
|
||||
if("secure" IN_LIST FEATURES)
|
||||
string(APPEND mi_basename "-secure")
|
||||
endif()
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/mimalloc.pc" " -lmimalloc" " -l${mi_basename}")
|
||||
if(NOT "mimalloc" STREQUAL "${mi_basename}")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/mimalloc.pc" " -lmimalloc" " -l${mi_basename}")
|
||||
endif()
|
||||
if(NOT VCPKG_BUILD_TYPE)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/mimalloc.pc" " -lmimalloc" " -l${mi_basename}-debug")
|
||||
endif()
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "mimalloc",
|
||||
"version": "2.1.2",
|
||||
"port-version": 2,
|
||||
"port-version": 3,
|
||||
"description": "Compact general purpose allocator with excellent performance",
|
||||
"homepage": "https://github.com/microsoft/mimalloc",
|
||||
"license": "MIT",
|
||||
|
@ -60,7 +60,7 @@ endif()
|
||||
if ("bzip2" IN_LIST FEATURES)
|
||||
file(GLOB HEADERS "${CURRENT_PACKAGES_DIR}/include/minizip/*.h")
|
||||
foreach(HEADER ${HEADERS})
|
||||
vcpkg_replace_string("${HEADER}" "#ifdef HAVE_BZIP2" "#if 1")
|
||||
vcpkg_replace_string("${HEADER}" "#ifdef HAVE_BZIP2" "#if 1" IGNORE_UNCHANGED)
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "minizip",
|
||||
"version": "1.3.1",
|
||||
"port-version": 1,
|
||||
"description": "Minizip zip file manipulation library",
|
||||
"homepage": "https://github.com/madler/zlib",
|
||||
"license": "Zlib",
|
||||
|
@ -41,11 +41,13 @@ foreach(VCXPROJ IN ITEMS
|
||||
"${VCXPROJ}"
|
||||
"<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>"
|
||||
"<DebugInformationFormat>OldStyle</DebugInformationFormat>"
|
||||
IGNORE_UNCHANGED
|
||||
)
|
||||
vcpkg_replace_string(
|
||||
"${VCXPROJ}"
|
||||
"<DebugInformationFormat>EditAndContinue</DebugInformationFormat>"
|
||||
"<DebugInformationFormat>OldStyle</DebugInformationFormat>"
|
||||
IGNORE_UNCHANGED
|
||||
)
|
||||
endforeach()
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "monkeys-audio",
|
||||
"version-string": "10.08",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": [
|
||||
"Monkey's Audio is an excellent audio compression tool which has multiple advantages over traditional methods.",
|
||||
"Audio files compressed with it end with .ape extension."
|
||||
|
@ -55,6 +55,7 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static" OR NOT VCPKG_TARGET_IS_WINDOWS)
|
||||
${CURRENT_PACKAGES_DIR}/share/${PORT}/nanomsg-config.cmake
|
||||
"set_and_check(nanomsg_BINDIR \${VCPKG_IMPORT_PREFIX}/bin)"
|
||||
""
|
||||
IGNORE_UNCHANGED
|
||||
)
|
||||
endif()
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "nanomsg",
|
||||
"version-semver": "1.2.1",
|
||||
"port-version": 1,
|
||||
"port-version": 2,
|
||||
"description": [
|
||||
"A simple high-performance implementation of several \"scalability protocols\".",
|
||||
"These scalability protocols are light-weight messaging protocols which can be used to solve a number of very common messaging patterns, such as request/reply, publish/subscribe, surveyor/respondent, and so forth. These protocols can run over a variety of transports such as TCP, UNIX sockets, and even WebSocket."
|
||||
|
@ -31,6 +31,7 @@ vcpkg_replace_string(
|
||||
"${CURRENT_PACKAGES_DIR}/share/nlohmann_json/nlohmann_jsonTargets.cmake"
|
||||
"{_IMPORT_PREFIX}/nlohmann_json.natvis"
|
||||
"{_IMPORT_PREFIX}/share/nlohmann_json/nlohmann_json.natvis"
|
||||
IGNORE_UNCHANGED
|
||||
)
|
||||
if(EXISTS "${CURRENT_PACKAGES_DIR}/nlohmann_json.natvis")
|
||||
file(RENAME
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "nlohmann-json",
|
||||
"version-semver": "3.11.3",
|
||||
"port-version": 1,
|
||||
"description": "JSON for Modern C++",
|
||||
"homepage": "https://github.com/nlohmann/json",
|
||||
"license": "MIT",
|
||||
|
@ -125,10 +125,10 @@ vcpkg_fixup_pkgconfig()
|
||||
|
||||
if(NOT VCPKG_BUILD_TYPE)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/etc/${PORT}/resources.cfg" "=../../share" "=../../../share")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/etc/${PORT}/resources.cfg" "[Tests]\nFileSystem=${CURRENT_PACKAGES_DIR}/debug/Tests/Media" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/${PORT}/OgreTargets-debug.cmake" "${_IMPORT_PREFIX}/plugins" "${_IMPORT_PREFIX}/debug/plugins")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/etc/${PORT}/resources.cfg" "[Tests]\nFileSystem=${CURRENT_PACKAGES_DIR}/debug/Tests/Media" "" IGNORE_UNCHANGED)
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/share/${PORT}/OgreTargets-debug.cmake" "${_IMPORT_PREFIX}/plugins" "${_IMPORT_PREFIX}/debug/plugins" IGNORE_UNCHANGED)
|
||||
endif()
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/etc/${PORT}/resources.cfg" "[Tests]\nFileSystem=${CURRENT_PACKAGES_DIR}/Tests/Media" "")
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/etc/${PORT}/resources.cfg" "[Tests]\nFileSystem=${CURRENT_PACKAGES_DIR}/Tests/Media" "" IGNORE_UNCHANGED)
|
||||
|
||||
file(REMOVE_RECURSE
|
||||
"${CURRENT_PACKAGES_DIR}/etc/ogre/samples.cfg"
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "ogre",
|
||||
"version": "14.2.2",
|
||||
"port-version": 1,
|
||||
"description": "3D Object-Oriented Graphics Rendering Engine",
|
||||
"homepage": "https://github.com/OGRECave/ogre",
|
||||
"license": "MIT",
|
||||
|
@ -134,7 +134,7 @@ if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
|
||||
if(filename STREQUAL "omnithread3")
|
||||
vcpkg_replace_string("${pc_file}" "-lomnithread" "-lomnithread_rt")
|
||||
else()
|
||||
vcpkg_replace_string("${pc_file}" "-l${filename}" "-l${filename}_rt")
|
||||
vcpkg_replace_string("${pc_file}" "-l${filename}" "-l${filename}_rt" IGNORE_UNCHANGED)
|
||||
endif()
|
||||
endforeach()
|
||||
endif()
|
||||
@ -163,7 +163,7 @@ if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_MINGW)
|
||||
if(filename STREQUAL "omnithread3")
|
||||
vcpkg_replace_string("${pc_file}" "-lomnithread" "-lomnithread_rtd")
|
||||
else()
|
||||
vcpkg_replace_string("${pc_file}" "-l${filename}" "-l${filename}_rtd")
|
||||
vcpkg_replace_string("${pc_file}" "-l${filename}" "-l${filename}_rtd" IGNORE_UNCHANGED)
|
||||
endif()
|
||||
endforeach()
|
||||
endif()
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "omniorb",
|
||||
"version": "4.3.0",
|
||||
"port-version": 2,
|
||||
"port-version": 3,
|
||||
"description": "omniORB is a robust high performance CORBA ORB for C++",
|
||||
"homepage": "https://omniorb.sourceforge.io/",
|
||||
"license": "LGPL-2.1-or-later",
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user