-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [liblsl] Update to 1.14.0 * Adjust CI baseline, assuming liblsl:x64-linux and liblsl:x64-osx pass * Add back set(VCPKG_LIBRARY_LINKAGE dynamic) * [libsls] Improve portfile.cmake, add homepage * update version record * Update ports/liblsl/CONTROL * Update versions/l-/liblsl.json * [liblsl] Use pugixml vcpkg package instead of bundled one * Convert tabs to spaces * Update version * Fix Supports in liblsl/CONTROL Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * Update versions/l-/liblsl.json Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com> Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
- Loading branch information
1 parent
02daf01
commit ce17802
Showing
5 changed files
with
27 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
Source: liblsl | ||
Version: 1.13.1 | ||
Version: 1.14.0 | ||
Homepage: https://github.com/sccn/liblsl | ||
Description: C++ lsl library for multi-modal time-synched data transmission over the local network | ||
Supports: !(static & staticcrt) | ||
Build-Depends: pugixml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,32 @@ | ||
set(VCPKG_LIBRARY_LINKAGE dynamic) | ||
# static builds are currently not supported since liblsl always also builds shared binaries | ||
# which need to be deleted for vcpkg but then the CMake target can no longer be imported because it still references them | ||
vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY) | ||
|
||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO sccn/liblsl | ||
REF 1.13.1 # NOTE: when updating version, also change it in the parameter to vcpkg_configure_cmake | ||
SHA512 95cfd69cff86eb7de62624775f3037dd71a5240a6ad82c12d9340bfaf2c38c25ac9e884b01635bf71e27fcd9ce385602d8fa347c61b6ce10cf2bb7f0ad761282 | ||
REF v1.14.0 # NOTE: when updating version, also change it in the parameter to vcpkg_configure_cmake | ||
SHA512 b4ec379339d174c457c8c1ec69f9e51ea78a738e72ecc96b9193f07b5273acb296b5b1f90c9dfe16591ecab0eef9aae9add640c1936d3769cae0bd96617205ec | ||
HEAD_REF master | ||
) | ||
|
||
vcpkg_configure_cmake( | ||
SOURCE_PATH ${SOURCE_PATH} | ||
PREFER_NINJA | ||
OPTIONS | ||
-DLSL_BUILD_STATIC=OFF | ||
-DLSL_UNIXFOLDERS=ON | ||
-DLSL_NO_FANCY_LIBNAME=ON | ||
-Dlslgitrevision="1.13.1" | ||
-Dlslgitbranch="master" | ||
SOURCE_PATH ${SOURCE_PATH} | ||
PREFER_NINJA | ||
OPTIONS | ||
-DLSL_BUILD_STATIC=OFF | ||
-DLSL_BUNDLED_PUGIXML=OFF # we use the pugixml vcpkg package instead | ||
-Dlslgitrevision=v1.14.0 | ||
-Dlslgitbranch=master | ||
) | ||
|
||
vcpkg_install_cmake() | ||
vcpkg_copy_pdbs() | ||
|
||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) | ||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share) | ||
vcpkg_copy_tools(TOOL_NAMES lslver AUTO_CLEAN) | ||
|
||
if(VCPKG_TARGET_IS_WINDOWS) | ||
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/bin/lslver.exe) | ||
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools/lslver/) | ||
file(RENAME ${CURRENT_PACKAGES_DIR}/bin/lslver.exe ${CURRENT_PACKAGES_DIR}/tools/lslver/lslver.exe) | ||
endif() | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") | ||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") | ||
|
||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/liblsl RENAME copyright) | ||
file(INSTALL ${SOURCE_PATH}/README.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/liblsl) | ||
file(INSTALL "${SOURCE_PATH}/README.md" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") | ||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters