mirror of https://github.com/microsoft/vcpkg.git
[dxcam-cpp] Add new port (#44562)
This commit is contained in:
parent
2f684c876c
commit
21816e0df9
|
|
@ -0,0 +1,17 @@
|
|||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO Fidelxyz/DXCam-CPP
|
||||
HEAD_REF main
|
||||
REF "v${VERSION}"
|
||||
SHA512 cd8463a687030da020ffaa8c8438c90185f4bf41f14b50e72ba3aea695828dd12c52e249d290ad0f0fdc1e1109a8a800d9ddf954e38037ff9da90d9ab5fa01cc
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
|
||||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/dxcam)
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
|
||||
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
dxcam-cpp provides CMake targets:
|
||||
|
||||
find_package(DXCam CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE DXCam::DXCam)
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"name": "dxcam-cpp",
|
||||
"version": "0.2.1",
|
||||
"maintainers": "Fidel Yin <fidel.yin@hotmail.com>",
|
||||
"description": "A high performance screen capturing library for Windows rewriting DXcam in C++.",
|
||||
"homepage": "https://github.com/Fidelxyz/DXCam-CPP",
|
||||
"documentation": "https://dxcam-cpp.readthedocs.io/en/latest/",
|
||||
"license": "MIT",
|
||||
"supports": "windows & !uwp",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "opencv4",
|
||||
"default-features": false
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
},
|
||||
{
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -2472,6 +2472,10 @@
|
|||
"baseline": "1.0.1",
|
||||
"port-version": 3
|
||||
},
|
||||
"dxcam-cpp": {
|
||||
"baseline": "0.2.1",
|
||||
"port-version": 0
|
||||
},
|
||||
"dxsdk-d3dx": {
|
||||
"baseline": "9.29.952.8",
|
||||
"port-version": 7
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "425578cede23b8c1f4773599edace2e56adb0ade",
|
||||
"version": "0.2.1",
|
||||
"port-version": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue