Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[x64-windows-release] add a single config community triplet based on x64-windows and make it work on some ports #15983

Merged
merged 82 commits into from
Dec 20, 2021
Merged
Show file tree
Hide file tree
Changes from 67 commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
cf696f9
add a single config community triplet based on x64-windows
cenit Feb 1, 2021
5f27a5b
add a failed port, otherwise mechanism does not support empty list
cenit Feb 1, 2021
4cc3067
add failures to baseline
cenit Feb 2, 2021
bcbe7b2
remove duplicate entry
cenit Feb 2, 2021
56674da
Merge branch 'master' into dev/cenit/singleConfig
cenit Feb 2, 2021
b920a7c
second round of failures added to baseline
cenit Feb 2, 2021
f3e52b2
third round of regressions added to CI
cenit Feb 2, 2021
7ee42d3
[ade] fix single-config builds
cenit Feb 2, 2021
d53a4d1
[ade] update refs
cenit Feb 2, 2021
8b475d6
Merge branch 'master' into dev/cenit/singleConfig
cenit Apr 11, 2021
12dd475
Merge branch 'master' into dev/cenit/singleConfig
cenit Apr 21, 2021
4e9855f
Merge branch 'master' into dev/cenit/singleConfig
cenit Apr 30, 2021
5998f77
Merge branch 'master' into dev/cenit/singleConfig
cenit Jun 16, 2021
9c8f4ef
Merge branch 'master' into dev/cenit/singleConfig
cenit Jun 24, 2021
0585a66
Merge branch 'master' into dev/cenit/singleConfig
cenit Jul 9, 2021
bda098d
remove duplicate entries
cenit Jul 12, 2021
6d3e1d6
Merge branch 'master' into dev/cenit/singleConfig
cenit Sep 11, 2021
d605f5e
[unix2dos] restore eol in script file
cenit Sep 11, 2021
95d223d
Merge remote-tracking branch 'origin/master' into HEAD
BillyONeal Sep 11, 2021
90044be
add even more ports now failing in singleConfig...
cenit Sep 12, 2021
ba82eea
[libjpeg-turbo] remove unnecessary check
cenit Sep 14, 2021
134d8f4
[libjpeg-turbo] fix references
cenit Sep 14, 2021
2e84245
[baseline] restore check for ports that were added recently
cenit Sep 14, 2021
8680ebd
[libmodplug] enable single config triplets
cenit Sep 14, 2021
97d7285
[tensorflow-common] enable single config triplets
cenit Sep 14, 2021
8e2de7a
update baseline
cenit Sep 14, 2021
cfa1033
fix references
cenit Sep 14, 2021
f8f216e
remove wrong check for single config triplets
cenit Sep 15, 2021
d3f4ac8
fix references
cenit Sep 15, 2021
53ff9bd
Merge branch 'master' into dev/cenit/singleConfig
cenit Sep 15, 2021
c39fc1c
Merge branch 'master' into dev/cenit/singleConfig
cenit Sep 17, 2021
71ed32a
[ogre] fix single config builds
cenit Sep 20, 2021
e4b79eb
[ogre] fix references
cenit Sep 20, 2021
c449521
Merge branch 'dev/cenit/singleConfig' of https://github.com/cenit/vcp…
cenit Sep 20, 2021
75a6fa8
Merge branch 'master' into dev/cenit/singleConfig
cenit Sep 20, 2021
39c00de
[untested] force x64-windows-release as host triplet when testing x64…
cenit Sep 21, 2021
9126eae
fix
cenit Sep 21, 2021
831de2f
[x264] fix for single config
cenit Sep 21, 2021
a07eaad
[x264] update refs
cenit Sep 21, 2021
036c970
[libffi] enable single config builds
cenit Sep 21, 2021
d13d943
[libffi] update refs
cenit Sep 21, 2021
1139792
remove cli broken arguments
cenit Sep 21, 2021
a54c950
[calceph] enable single-config builds
cenit Sep 21, 2021
38c1a65
[calceph] fix references
cenit Sep 21, 2021
b791b18
Merge branch 'dev/cenit/singleConfig' of https://github.com/cenit/vcp…
cenit Sep 21, 2021
1eddc65
[kf5config] enable single-config builds
cenit Sep 21, 2021
d085bee
[kf5config] fix references
cenit Sep 21, 2021
7351547
[detours] enable single-config builds
cenit Sep 21, 2021
2a5aa85
[detours] fix references
cenit Sep 21, 2021
d406015
[kf5*] enable single-config builds
cenit Sep 21, 2021
a5ba53a
[kf5*] fix references
cenit Sep 21, 2021
d578007
fix
cenit Sep 21, 2021
0141dec
kf5config fix reference
cenit Sep 21, 2021
a6ce8dc
trying again to force host triplet in CI
cenit Sep 21, 2021
dba2422
[boost] fix for single-config builds
cenit Sep 22, 2021
2bff109
[boost] update references
cenit Sep 22, 2021
90aae4a
merge with master
cenit Sep 22, 2021
83940bf
fix
cenit Sep 22, 2021
e08e054
[boost] update refs
cenit Sep 22, 2021
600725a
disable host triplet in ci because it's not necessary
cenit Sep 22, 2021
7e89743
retrigger a build for ports previously failing
cenit Sep 22, 2021
cd29110
remove host triplet in ci, not necessary anymore?
cenit Sep 22, 2021
0571014
make PR dry
cenit Sep 23, 2021
5a529d1
merge with master
cenit Sep 24, 2021
22112d4
[tensorflow-common] bump version
cenit Sep 24, 2021
c9370de
[tensorflow-common] fix references
cenit Sep 24, 2021
dbeeb11
Merge remote-tracking branch 'origin/master' into HEAD
BillyONeal Sep 24, 2021
9e09326
Merge branch 'master' into dev/cenit/singleConfig
cenit Sep 28, 2021
3b13ccc
Merge remote-tracking branch 'origin/master' into HEAD
BillyONeal Sep 28, 2021
1f28a1e
Fix version database for boost-modular-build-helper.
BillyONeal Sep 28, 2021
9de2f77
Merge remote-tracking branch 'origin/master' into HEAD
BillyONeal Sep 30, 2021
befdc57
Merge branch 'master' into dev/cenit/singleConfig
cenit Nov 3, 2021
21a7836
fix references
cenit Nov 3, 2021
db504d6
Merge branch 'master' into dev/cenit/singleConfig
cenit Nov 19, 2021
c39073c
restore CRLF on some ports
cenit Nov 19, 2021
1a7895e
bump versions
cenit Nov 19, 2021
981287f
fix references
cenit Nov 19, 2021
fe11d43
Merge branch 'master' into dev/cenit/singleConfig
cenit Dec 17, 2021
659022b
bump port versions
cenit Dec 17, 2021
4cc5413
fix references
cenit Dec 17, 2021
ccafda4
Merge remote-tracking branch 'origin/master' into HEAD
BillyONeal Dec 17, 2021
5793a2a
boost-modular-build-helper: Reverted due to no changes.
BillyONeal Dec 17, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 29 additions & 18 deletions ports/boost-modular-build-helper/user-config.jam
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,12 @@ else
if "@PORT@" = "boost-python"
{
using python : @VCPKG_PYTHON3_VERSION@ : : "@VCPKG_PYTHON3_INCLUDE@" : "@VCPKG_PYTHON3_LIBS_RELEASE@" ;
using python : @VCPKG_PYTHON3_VERSION@ : : "@VCPKG_PYTHON3_INCLUDE@" : "@VCPKG_PYTHON3_LIBS_DEBUG@" : <python-debugging>on ;
using python : @VCPKG_PYTHON2_VERSION@ : : "@VCPKG_PYTHON2_INCLUDE@" : "@VCPKG_PYTHON2_LIBS_RELEASE@" ;
using python : @VCPKG_PYTHON2_VERSION@ : : "@VCPKG_PYTHON2_INCLUDE@" : "@VCPKG_PYTHON2_LIBS_DEBUG@" : <python-debugging>on ;
if "@VCPKG_BUILD_TYPE@" != "release"
{
using python : @VCPKG_PYTHON3_VERSION@ : : "@VCPKG_PYTHON3_INCLUDE@" : "@VCPKG_PYTHON3_LIBS_DEBUG@" : <python-debugging>on ;
using python : @VCPKG_PYTHON2_VERSION@ : : "@VCPKG_PYTHON2_INCLUDE@" : "@VCPKG_PYTHON2_LIBS_DEBUG@" : <python-debugging>on ;
}
}

if "@PORT@" = "boost-mpi"
Expand All @@ -48,40 +51,48 @@ if "@VCPKG_PLATFORM_TOOLSET@" != "external"
lib advapi32 ;

lib icuuc : : <file>"@CURRENT_INSTALLED_DIR@/lib/icuuc.lib" <variant>release : : <library>advapi32 ;
lib icuuc : : <file>"@CURRENT_INSTALLED_DIR@/debug/lib/icuucd.lib" <variant>debug : : <library>advapi32 ;

lib icuin : : <file>"@CURRENT_INSTALLED_DIR@/lib/icuin.lib" <variant>release : : ;
lib icuin : : <file>"@CURRENT_INSTALLED_DIR@/debug/lib/icuind.lib" <variant>debug : : ;

lib icudt : : <file>"@CURRENT_INSTALLED_DIR@/lib/icudt.lib" <variant>release : : ;
lib icudt : : <file>"@CURRENT_INSTALLED_DIR@/debug/lib/icudtd.lib" <variant>debug : : ;

if "@VCPKG_BUILD_TYPE@" != "release"
{
lib icuuc : : <file>"@CURRENT_INSTALLED_DIR@/debug/lib/icuucd.lib" <variant>debug : : <library>advapi32 ;
lib icuin : : <file>"@CURRENT_INSTALLED_DIR@/debug/lib/icuind.lib" <variant>debug : : ;
lib icudt : : <file>"@CURRENT_INSTALLED_DIR@/debug/lib/icudtd.lib" <variant>debug : : ;
}
}
else
{
if "@CMAKE_SYSTEM_NAME@" = "Windows" # We are hopelessly stuck inside boost-modular-build-helper, only this works
{
lib icuuc : : <name>icuuc <search>"@CURRENT_INSTALLED_DIR@/lib" <variant>release : : ;
lib icuuc : : <name>icuucd <search>"@CURRENT_INSTALLED_DIR@/debug/lib" <variant>debug : : ;

lib icuin : : <name>icuin <search>"@CURRENT_INSTALLED_DIR@/lib" <variant>release : : ;
lib icuin : : <name>icuind <search>"@CURRENT_INSTALLED_DIR@/debug/lib" <variant>debug : : ;

lib icudt : : <name>icudt <search>"@CURRENT_INSTALLED_DIR@/lib" <variant>release : : ;
lib icudt : : <name>icudtd <search>"@CURRENT_INSTALLED_DIR@/debug/lib" <variant>debug : : ;
if "@VCPKG_BUILD_TYPE@" != "release"
{
lib icuuc : : <name>icuucd <search>"@CURRENT_INSTALLED_DIR@/debug/lib" <variant>debug : : ;
lib icuin : : <name>icuind <search>"@CURRENT_INSTALLED_DIR@/debug/lib" <variant>debug : : ;
lib icudt : : <name>icudtd <search>"@CURRENT_INSTALLED_DIR@/debug/lib" <variant>debug : : ;
}
}
else
{
lib dl ;
lib icuuc : : <name>icuuc <search>"@CURRENT_INSTALLED_DIR@/lib" <variant>release : : <library>dl ;
lib icuuc : : <name>icuuc <search>"@CURRENT_INSTALLED_DIR@/debug/lib" <variant>debug : : <library>dl ;

lib icuin : : <name>icui18n <search>"@CURRENT_INSTALLED_DIR@/lib" <variant>release : : ;
lib icuin : : <name>icui18n <search>"@CURRENT_INSTALLED_DIR@/debug/lib" <variant>debug : : ;

lib icudt : : <name>icudata <search>"@CURRENT_INSTALLED_DIR@/lib" <variant>release : : ;
lib icudt : : <name>icudata <search>"@CURRENT_INSTALLED_DIR@/debug/lib" <variant>debug : : ;

if "@VCPKG_BUILD_TYPE@" != "release"
{
lib icuuc : : <name>icuuc <search>"@CURRENT_INSTALLED_DIR@/debug/lib" <variant>debug : : <library>dl ;
lib icuin : : <name>icui18n <search>"@CURRENT_INSTALLED_DIR@/debug/lib" <variant>debug : : ;
lib icudt : : <name>icudata <search>"@CURRENT_INSTALLED_DIR@/debug/lib" <variant>debug : : ;
}
}
}

lib iconv : : <file>"@LIBICONV_LIBRARY@" <link>shared <runtime-link>shared <variant>release : : ;
lib iconv : : <file>"@LIBICONV_LIBRARY@" <link>shared <runtime-link>shared <variant>debug : : ;
if "@VCPKG_BUILD_TYPE@" != "release"
{
lib iconv : : <file>"@LIBICONV_LIBRARY@" <link>shared <runtime-link>shared <variant>debug : : ;
}
2 changes: 1 addition & 1 deletion ports/boost-modular-build-helper/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "boost-modular-build-helper",
"version-string": "1.76.0",
"port-version": 2,
"port-version": 3,
"dependencies": [
"boost-build",
"boost-uninstall"
Expand Down
10 changes: 6 additions & 4 deletions ports/calceph/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ vcpkg_extract_source_archive_ex(
)

if (VCPKG_TARGET_IS_WINDOWS)

vcpkg_install_nmake(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
Expand All @@ -29,7 +29,9 @@ if (VCPKG_TARGET_IS_WINDOWS)
)
file(INSTALL "${CURRENT_INSTALLED_DIR}/calceph/include/calceph.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
file(INSTALL "${CURRENT_INSTALLED_DIR}/calceph/lib/libcalceph.lib" DESTINATION "${CURRENT_PACKAGES_DIR}/lib")
file(INSTALL "${CURRENT_INSTALLED_DIR}/calceph/debug/lib/libcalceph.lib" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib")
if (NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
file(INSTALL "${CURRENT_INSTALLED_DIR}/calceph/debug/lib/libcalceph.lib" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib")
endif()
file(REMOVE_RECURSE "${CURRENT_INSTALLED_DIR}/calceph")

else() # Build in UNIX
Expand All @@ -40,10 +42,10 @@ else() # Build in UNIX
--enable-fortran=no
--enable-thread=yes
)

vcpkg_install_make()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")

endif()

file(INSTALL "${SOURCE_PATH}/README.rst" DESTINATION "${CURRENT_PACKAGES_DIR}/share/calceph" RENAME readme.rst)
Expand Down
1 change: 1 addition & 0 deletions ports/calceph/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "calceph",
"version": "3.5.0",
"port-version": 1,
"description": "C library to access the binary planetary ephemeris files.",
"homepage": "https://www.imcce.fr/inpop/calceph/",
"documentation": "https://www.imcce.fr/content/medias/recherche/equipes/asd/calceph/html/c/index.html",
Expand Down
8 changes: 5 additions & 3 deletions ports/detours/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ vcpkg_from_github(
REF v4.0.1
SHA512 0a9c21b8222329add2de190d2e94d99195dfa55de5a914b75d380ffe0fb787b12e016d0723ca821001af0168fd1643ffd2455298bf3de5fdc155b3393a3ccc87
HEAD_REF master
PATCHES
PATCHES
find-jmp-bounds-arm64.patch
)

Expand All @@ -20,7 +20,9 @@ vcpkg_build_nmake(
)

file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/lib.${VCPKG_TARGET_ARCHITECTURE}Release/ DESTINATION ${CURRENT_PACKAGES_DIR}/lib)
file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/lib.${VCPKG_TARGET_ARCHITECTURE}Debug/ DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib)
file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/include DESTINATION ${CURRENT_PACKAGES_DIR}/include RENAME detours)
if (NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/lib.${VCPKG_TARGET_ARCHITECTURE}Debug/ DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib)
endif()
file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/include DESTINATION ${CURRENT_PACKAGES_DIR}/include RENAME detours)

file(INSTALL ${SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
2 changes: 1 addition & 1 deletion ports/detours/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "detours",
"version-string": "4.0.1",
"port-version": 3,
"port-version": 4,
"description": "Detours is a software package for monitoring and instrumenting API calls on Windows.",
"homepage": "https://github.com/microsoft/Detours"
}
10 changes: 6 additions & 4 deletions ports/kf5config/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ file(WRITE ${SOURCE_PATH}/.clang-format "DisableFormat: true\nSortIncludes: fals
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
OPTIONS
-DBUILD_TESTING=OFF
)

Expand All @@ -26,7 +26,9 @@ if(VCPKG_TARGET_IS_WINDOWS OR VCPKG_TARGET_IS_UWP)
file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/kreadconfig5.exe)
file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/kwriteconfig5.exe)
file (GLOB EXES ${CURRENT_PACKAGES_DIR}/debug/bin/*.exe)
file(REMOVE ${EXES})
if(NOT "${EXES}" STREQUAL "")
file(REMOVE ${EXES})
endif()
else()
file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/kreadconfig5)
file(REMOVE ${CURRENT_PACKAGES_DIR}/bin/kwriteconfig5)
Expand All @@ -40,8 +42,8 @@ vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/${PORT})
file(APPEND ${CURRENT_PACKAGES_DIR}/tools/${PORT}/qt.conf "Data = ../../data")
vcpkg_copy_pdbs()

if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
endif()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin/data)
Expand Down
2 changes: 1 addition & 1 deletion ports/kf5config/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "kf5config",
"version": "5.84.0",
"port-version": 2,
"port-version": 3,
"description": "Configuration system",
"homepage": "https://api.kde.org/frameworks/kconfig/html/index.html",
"dependencies": [
Expand Down
9 changes: 6 additions & 3 deletions ports/kf5holidays/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ file(WRITE ${SOURCE_PATH}/.clang-format "DisableFormat: true\nSortIncludes: fals
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
OPTIONS
-DBUILD_TESTING=OFF
)

Expand All @@ -21,15 +21,18 @@ vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/KF5Holidays)
vcpkg_copy_pdbs()

if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
endif()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/etc)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/etc)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)

file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/qml ${CURRENT_PACKAGES_DIR}/debug/qml )
if (NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/qml ${CURRENT_PACKAGES_DIR}/debug/qml )
endif()

file(RENAME ${CURRENT_PACKAGES_DIR}/lib/qml ${CURRENT_PACKAGES_DIR}/qml )

file(INSTALL ${SOURCE_PATH}/LICENSES/ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
2 changes: 1 addition & 1 deletion ports/kf5holidays/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "kf5holidays",
"version": "5.84.0",
"port-version": 2,
"port-version": 3,
"description": "Holiday calculation library",
"dependencies": [
"ecm",
Expand Down
6 changes: 4 additions & 2 deletions ports/kf5plotting/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ file(WRITE ${SOURCE_PATH}/.clang-format "DisableFormat: true\nSortIncludes: fals
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
OPTIONS
-DBUILD_TESTING=OFF
)

Expand All @@ -21,7 +21,9 @@ vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/KF5Plotting)
vcpkg_copy_pdbs()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/plugins ${CURRENT_PACKAGES_DIR}/debug/plugins)
if (NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/plugins ${CURRENT_PACKAGES_DIR}/debug/plugins)
endif()
file(RENAME ${CURRENT_PACKAGES_DIR}/lib/plugins ${CURRENT_PACKAGES_DIR}/plugins)

file(INSTALL ${SOURCE_PATH}/LICENSES/ DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
2 changes: 1 addition & 1 deletion ports/kf5plotting/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "kf5plotting",
"version": "5.84.0",
"port-version": 2,
"port-version": 3,
"description": "Lightweight plotting framework",
"homepage": "https://api.kde.org/frameworks/kplotting/html/index.html",
"dependencies": [
Expand Down
6 changes: 4 additions & 2 deletions ports/kf5solid/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ file(WRITE ${SOURCE_PATH}/.clang-format "DisableFormat: true\nSortIncludes: fals

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
OPTIONS
-DBUILD_TESTING=OFF
)

Expand All @@ -58,7 +58,9 @@ endif()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")

file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/qml" "${CURRENT_PACKAGES_DIR}/debug/qml")
if (NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/lib/qml" "${CURRENT_PACKAGES_DIR}/debug/qml")
endif()
file(RENAME "${CURRENT_PACKAGES_DIR}/lib/qml" "${CURRENT_PACKAGES_DIR}/qml")

file(INSTALL "${SOURCE_PATH}/LICENSES/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright")
2 changes: 1 addition & 1 deletion ports/kf5solid/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "kf5solid",
"version-semver": "5.84.0",
"port-version": 2,
"port-version": 3,
"description": "Desktop hardware abstraction",
"homepage": "https://api.kde.org/frameworks/solid/html/index.html",
"dependencies": [
Expand Down
1 change: 1 addition & 0 deletions ports/libbacktrace/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "libbacktrace",
"version-date": "2021-03-14",
"port-version": 1,
"description": "The libbacktrace library may be linked into a program or library and used to produce symbolic backtraces.",
"homepage": "https://github.com/ianlancetaylor/libbacktrace"
}
21 changes: 11 additions & 10 deletions ports/libffi/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,26 +29,27 @@ set(exec_prefix "\${prefix}")
set(libdir "\${prefix}/lib")
set(toolexeclibdir "\${libdir}")
set(includedir "\${prefix}/include")
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
configure_file("${SOURCE_PATH}/libffi.pc.in" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/libffi.pc" @ONLY)
endif()
configure_file("${SOURCE_PATH}/libffi.pc.in" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig/libffi.pc" @ONLY)

# debug
set(prefix "${CURRENT_INSTALLED_DIR}/debug")
set(exec_prefix "\${prefix}")
set(libdir "\${prefix}/lib")
set(toolexeclibdir "\${libdir}")
set(includedir "\${prefix}/../include")
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
if (NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
set(prefix "${CURRENT_INSTALLED_DIR}/debug")
set(exec_prefix "\${prefix}")
set(libdir "\${prefix}/lib")
set(toolexeclibdir "\${libdir}")
set(includedir "\${prefix}/../include")
configure_file("${SOURCE_PATH}/libffi.pc.in" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/libffi.pc" @ONLY)
endif()

vcpkg_copy_pdbs()
vcpkg_fixup_cmake_targets()
if(VCPKG_TARGET_IS_WINDOWS OR VCPKG_TARGET_IS_MINGW)
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/libffi.pc"
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/lib/pkgconfig/libffi.pc"
"-lffi" "-llibffi")
if (NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/libffi.pc"
"-lffi" "-llibffi")
endif()
endif()
vcpkg_fixup_pkgconfig()

Expand Down
2 changes: 1 addition & 1 deletion ports/libffi/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "libffi",
"version": "3.4.2",
"port-version": 1,
"port-version": 2,
"description": "Portable, high level programming interface to various calling conventions",
"homepage": "https://github.com/libffi/libffi"
}
3 changes: 0 additions & 3 deletions ports/libjpeg-turbo/vcpkg-cmake-wrapper.cmake
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
find_path(JPEG_INCLUDE_DIR NAMES jpeglib.h PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/include" NO_DEFAULT_PATH)
find_library(JPEG_LIBRARY_RELEASE NAMES jpeg PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/lib" NO_DEFAULT_PATH)
find_library(JPEG_LIBRARY_DEBUG NAMES jpeg PATHS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug/lib" NO_DEFAULT_PATH)
if(NOT JPEG_INCLUDE_DIR OR NOT JPEG_LIBRARY_RELEASE OR (NOT JPEG_LIBRARY_DEBUG AND EXISTS "${_VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/debug/lib"))
message(FATAL_ERROR "Broken installation of vcpkg port libjpeg-turbo")
endif()
if(CMAKE_VERSION VERSION_LESS 3.12)
include(SelectLibraryConfigurations)
select_library_configurations(JPEG)
Expand Down
2 changes: 1 addition & 1 deletion ports/libjpeg-turbo/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "libjpeg-turbo",
"version": "2.0.6",
"port-version": 2,
"port-version": 3,
"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",
"features": {
Expand Down
14 changes: 9 additions & 5 deletions ports/libmodplug/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
set(STATIC_PATCH "001-automagically-define-modplug-static.patch")
endif()

vcpkg_from_github(ARCHIVE
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Konstanty/libmodplug
REF ${MODPLUG_HASH}
Expand All @@ -28,10 +28,14 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic AND VCPKG_TARGET_IS_WINDOWS)
else()
set(BIN_NAME modplug.dll)
endif()
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/bin)
file(RENAME ${CURRENT_PACKAGES_DIR}/lib/${BIN_NAME} ${CURRENT_PACKAGES_DIR}/bin/${BIN_NAME})
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/debug/bin)
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/${BIN_NAME} ${CURRENT_PACKAGES_DIR}/debug/bin/${BIN_NAME})
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/bin)
file(RENAME ${CURRENT_PACKAGES_DIR}/lib/${BIN_NAME} ${CURRENT_PACKAGES_DIR}/bin/${BIN_NAME})
endif()
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/debug/bin)
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/${BIN_NAME} ${CURRENT_PACKAGES_DIR}/debug/bin/${BIN_NAME})
endif()
vcpkg_copy_pdbs()
endif()

Expand Down
Loading