mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 04:49:04 +08:00
[libdshowcapture] only windows (#22562)
This commit is contained in:
parent
eecbe2a571
commit
b1fe832714
@ -6,21 +6,20 @@ vcpkg_from_github(
|
||||
HEAD_REF master
|
||||
)
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
)
|
||||
|
||||
vcpkg_build_cmake(TARGET libdshowcapture)
|
||||
vcpkg_cmake_build(TARGET libdshowcapture)
|
||||
|
||||
# Copy files
|
||||
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libdshowcapture RENAME copyright)
|
||||
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/libdshowcapture" RENAME copyright)
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/libdshowcapture.dll DESTINATION ${CURRENT_PACKAGES_DIR}/debug/bin)
|
||||
file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/libdshowcapture.dll DESTINATION ${CURRENT_PACKAGES_DIR}/bin)
|
||||
file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/libdshowcapture.dll" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/bin")
|
||||
file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/libdshowcapture.dll" DESTINATION "${CURRENT_PACKAGES_DIR}/bin")
|
||||
endif()
|
||||
file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/libdshowcapture.lib DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib)
|
||||
file(INSTALL ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/libdshowcapture.lib DESTINATION ${CURRENT_PACKAGES_DIR}/lib)
|
||||
file(INSTALL ${SOURCE_PATH}/dshowcapture.hpp DESTINATION ${CURRENT_PACKAGES_DIR}/include)
|
||||
file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/libdshowcapture.lib" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib")
|
||||
file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/libdshowcapture.lib" DESTINATION "${CURRENT_PACKAGES_DIR}/lib")
|
||||
file(INSTALL "${SOURCE_PATH}/dshowcapture.hpp" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
@ -1,6 +1,13 @@
|
||||
{
|
||||
"name": "libdshowcapture",
|
||||
"version-string": "0.6.0",
|
||||
"port-version": 2,
|
||||
"description": "Free and Open Source C++11 Library for capturing DirectShow video/audio devices on windows."
|
||||
"version": "0.6.0",
|
||||
"port-version": 3,
|
||||
"description": "Free and Open Source C++11 Library for capturing DirectShow video/audio devices on windows.",
|
||||
"supports": "windows & !uwp",
|
||||
"dependencies": [
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -536,10 +536,6 @@ cpuid:x64-uwp=fail
|
||||
cpuid:arm64-windows=fail
|
||||
libdatrie:x64-linux=fail
|
||||
libdatrie:x64-osx=fail
|
||||
libdshowcapture:arm-uwp=fail
|
||||
libdshowcapture:x64-linux=fail
|
||||
libdshowcapture:x64-osx=fail
|
||||
libdshowcapture:x64-uwp=fail
|
||||
libepoxy:arm-uwp=fail
|
||||
libepoxy:x64-uwp=fail
|
||||
libepoxy:x64-windows-static=fail
|
||||
|
@ -3426,7 +3426,7 @@
|
||||
},
|
||||
"libdshowcapture": {
|
||||
"baseline": "0.6.0",
|
||||
"port-version": 2
|
||||
"port-version": 3
|
||||
},
|
||||
"libe57": {
|
||||
"baseline": "1.1.312",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "fc1b7753ef4b7e6fc6d6390bc86fe5186ca45a92",
|
||||
"version": "0.6.0",
|
||||
"port-version": 3
|
||||
},
|
||||
{
|
||||
"git-tree": "3573e5e73ce2e61477815f452a5d2cd4a96ec0c7",
|
||||
"version-string": "0.6.0",
|
||||
|
Loading…
Reference in New Issue
Block a user