diff --git a/ports/stlab/CONTROL b/ports/stlab/CONTROL index 6a289c5319..86d31f6c7f 100644 --- a/ports/stlab/CONTROL +++ b/ports/stlab/CONTROL @@ -1,6 +1,6 @@ Source: stlab -Version: 1.4.1-1 +Version: 1.5.1 Description: - stlab is the ongoing work of what was Adobe’s Software Technology Lab. + stlab is the ongoing work of what was Adobe Software Technology Lab. The Concurrency library provides futures and channels, high level constructs for implementing algorithms that eases the use of multiple CPU cores while minimizing contention. This library solves several problems of the C++11 and C++17 TS futures. Build-Depends: boost-variant (osx) \ No newline at end of file diff --git a/ports/stlab/dont-require-testing.patch b/ports/stlab/dont-require-testing.patch deleted file mode 100644 index f5c2106e7f..0000000000 --- a/ports/stlab/dont-require-testing.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index d058bbe..260d940 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -123,8 +123,7 @@ if ( stlab.testing OR stlab.boost_variant OR stlab.boost_optional ) - endif() - endif() - -- -- if(NOT TARGET Boost::unit_test_framework) -+ if (stlab.testing AND NOT TARGET Boost::unit_test_framework) - message(FATAL_ERROR "Could not find Boost unit test framework.") - endif() - diff --git a/ports/stlab/portfile.cmake b/ports/stlab/portfile.cmake index 2bcb7d1028..84dbdd8ad0 100644 --- a/ports/stlab/portfile.cmake +++ b/ports/stlab/portfile.cmake @@ -1,12 +1,9 @@ -include(vcpkg_common_functions) - vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO stlab/libraries - REF v1.4.1 - SHA512 e9da6f2c570397842f5e73a681f49c5a77977fda430ec730eed6f19d04161172829b7f1adcafd416f0a3f35ea8717ca14e9b935b5ec8fa423e4951c3ba961c7a - HEAD_REF develop - PATCHES dont-require-testing.patch + REF 328ef2b423df2aadc7c932bb8d6408406714bf37 # v1.5.1 + SHA512 d9b89db678b838f9f835a5905ea81b6981cf7481c92635521967d15fc1a2e6e6f7564a7faee6242869295a3ee3179a07cad9c65cc496fb3e009277c2dbcaa6b0 + HEAD_REF develop ) vcpkg_configure_cmake( @@ -17,10 +14,11 @@ vcpkg_configure_cmake( ) vcpkg_install_cmake() +vcpkg_fixup_cmake_targets(CONFIG_PATH share/cmake/stlab) +vcpkg_copy_pdbs() # cleanup -file(RENAME ${CURRENT_PACKAGES_DIR}/share/cmake/stlab ${CURRENT_PACKAGES_DIR}/share/stlab) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug ${CURRENT_PACKAGES_DIR}/share/cmake) # handle copyright -file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/stlab RENAME copyright) \ No newline at end of file +file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) \ No newline at end of file