Skip to content

Commit

Permalink
[stlab]Upgrade to 1.5.1 (#8901)
Browse files Browse the repository at this point in the history
  • Loading branch information
JackBoosY authored and dan-shaw committed Nov 22, 2019
1 parent 96be3cd commit 8d26ea0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 24 deletions.
4 changes: 2 additions & 2 deletions ports/stlab/CONTROL
Original file line number Diff line number Diff line change
@@ -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)
14 changes: 0 additions & 14 deletions ports/stlab/dont-require-testing.patch

This file was deleted.

14 changes: 6 additions & 8 deletions ports/stlab/portfile.cmake
Original file line number Diff line number Diff line change
@@ -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(
Expand All @@ -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)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

0 comments on commit 8d26ea0

Please sign in to comment.