[camport3] Update to 1.6.2 (#24184)

* Update camport3 to 1.6.2

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
This commit is contained in:
chausner 2022-04-19 01:34:05 +02:00 committed by GitHub
parent ed71abbc23
commit 5e79eeb548
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 34 additions and 30 deletions

View File

@ -1,40 +1,40 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO percipioxyz/camport3
REF v1.5.3
SHA512 efa41e75b4ed7147f94270765138aa226a92ec51c99157776e916ec178ad2a9fe55aa6e6e746be46e2f2178852f4c4f9323b515f5a1b151ac70c21f8f923d901
REF v1.6.2
SHA512 e3b1fadb13b826e86aa174215430f5e4175aafd9a967f2401beb3768dcc489a8ce5a74c151d615bd3e34b837c81e201db55b290ef258612381141b0b94212fd1
HEAD_REF master
)
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/include)
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/include")
file(COPY
${SOURCE_PATH}/include/TYApi.h
${SOURCE_PATH}/include/TYCoordinateMapper.h
${SOURCE_PATH}/include/TYImageProc.h
${SOURCE_PATH}/include/TyIsp.h
DESTINATION ${CURRENT_PACKAGES_DIR}/include)
"${SOURCE_PATH}/include/TYApi.h"
"${SOURCE_PATH}/include/TYCoordinateMapper.h"
"${SOURCE_PATH}/include/TYImageProc.h"
"${SOURCE_PATH}/include/TyIsp.h"
DESTINATION "${CURRENT_PACKAGES_DIR}/include")
if(VCPKG_TARGET_IS_WINDOWS)
if (NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/lib)
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/lib")
file(COPY
${SOURCE_PATH}/lib/win/hostapp/${VCPKG_TARGET_ARCHITECTURE}/tycam.lib
DESTINATION ${CURRENT_PACKAGES_DIR}/lib
"${SOURCE_PATH}/lib/win/hostapp/${VCPKG_TARGET_ARCHITECTURE}/tycam.lib"
DESTINATION "${CURRENT_PACKAGES_DIR}/lib"
)
file(COPY
${SOURCE_PATH}/lib/win/hostapp/${VCPKG_TARGET_ARCHITECTURE}/tycam.dll
DESTINATION ${CURRENT_PACKAGES_DIR}/bin
"${SOURCE_PATH}/lib/win/hostapp/${VCPKG_TARGET_ARCHITECTURE}/tycam.dll"
DESTINATION "${CURRENT_PACKAGES_DIR}/bin"
)
endif()
if (NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/debug/lib)
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/debug/lib")
file(COPY
${SOURCE_PATH}/lib/win/hostapp/${VCPKG_TARGET_ARCHITECTURE}/tycam.lib
DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib
"${SOURCE_PATH}/lib/win/hostapp/${VCPKG_TARGET_ARCHITECTURE}/tycam.lib"
DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib"
)
file(COPY
${SOURCE_PATH}/lib/win/hostapp/${VCPKG_TARGET_ARCHITECTURE}/tycam.dll
DESTINATION ${CURRENT_PACKAGES_DIR}/debug/bin
"${SOURCE_PATH}/lib/win/hostapp/${VCPKG_TARGET_ARCHITECTURE}/tycam.dll"
DESTINATION "${CURRENT_PACKAGES_DIR}/debug/bin"
)
endif()
@ -50,24 +50,24 @@ elseif(VCPKG_TARGET_IS_LINUX)
endif()
if (NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/lib)
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/lib")
file(COPY
${SOURCE_PATH}/lib/linux/lib_${CAMPORT3_ARCH}/libtycam.so
DESTINATION ${CURRENT_PACKAGES_DIR}/lib
"${SOURCE_PATH}/lib/linux/lib_${CAMPORT3_ARCH}/libtycam.so"
DESTINATION "${CURRENT_PACKAGES_DIR}/lib"
)
endif()
if (NOT VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/debug/lib)
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/debug/lib")
file(COPY
${SOURCE_PATH}/lib/linux/lib_${CAMPORT3_ARCH}/libtycam.so
DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib
"${SOURCE_PATH}/lib/linux/lib_${CAMPORT3_ARCH}/libtycam.so"
DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib"
)
endif()
endif()
file(INSTALL
${SOURCE_PATH}/LICENSE
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}
"${SOURCE_PATH}/LICENSE"
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
RENAME copyright
)

View File

@ -1,7 +1,6 @@
{
"name": "camport3",
"version-string": "1.5.3",
"port-version": 2,
"version": "1.6.2",
"description": "percipio.xyz cameras SDK",
"homepage": "https://github.com/percipioxyz/camport3",
"supports": "((windows & !uwp & !arm & !arm64 & !static) | linux) & !wasm32"

View File

@ -1237,8 +1237,8 @@
"port-version": 0
},
"camport3": {
"baseline": "1.5.3",
"port-version": 2
"baseline": "1.6.2",
"port-version": 0
},
"capnproto": {
"baseline": "0.9.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "f8fd1afea0703ffb17838422fd2aef895ab8c828",
"version": "1.6.2",
"port-version": 0
},
{
"git-tree": "ed31882bd5119a95ef69ba8323e0f4575ee5dc6d",
"version-string": "1.5.3",