[Libdshowcapture] fix single config builds (#42728)

This commit is contained in:
Alexander Neumann 2024-12-16 19:07:40 +01:00 committed by GitHub
parent 2892ef50b7
commit 2193822361
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 14 additions and 5 deletions

View File

@ -13,12 +13,16 @@ vcpkg_cmake_configure(
vcpkg_cmake_build(TARGET libdshowcapture)
# Copy files
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/libdshowcapture" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/libdshowcapture.dll" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/bin")
if(NOT VCPKG_BUILD_TYPE)
file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/libdshowcapture.dll" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/bin")
endif()
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")
if(NOT VCPKG_BUILD_TYPE)
file(INSTALL "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/libdshowcapture.lib" DESTINATION "${CURRENT_PACKAGES_DIR}/debug/lib")
endif()
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")

View File

@ -1,7 +1,7 @@
{
"name": "libdshowcapture",
"version": "0.6.0",
"port-version": 3,
"port-version": 4,
"description": "Free and Open Source C++11 Library for capturing DirectShow video/audio devices on windows.",
"supports": "windows & !uwp",
"dependencies": [

View File

@ -4466,7 +4466,7 @@
},
"libdshowcapture": {
"baseline": "0.6.0",
"port-version": 3
"port-version": 4
},
"libdvdcss": {
"baseline": "1.4.3",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "df899babb69eb01159e5777fc4d4ef07a1570724",
"version": "0.6.0",
"port-version": 4
},
{
"git-tree": "fc1b7753ef4b7e6fc6d6390bc86fe5186ca45a92",
"version": "0.6.0",