mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 15:57:50 +08:00
ede03bad51
* portfile and json update * New version --------- Co-authored-by: Xander Stokes <xander.c.stokes@gmail.com>
37 lines
1.0 KiB
CMake
37 lines
1.0 KiB
CMake
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
vcpkg_download_distfile(ARCHIVE
|
|
URLS "http://live555.com/liveMedia/public/live.2023.07.24.tar.gz"
|
|
FILENAME "live.2023.07.24.tar.gz"
|
|
SHA512 d0708a087d9252b2f13d7b2e14c47e24e895ac329d5dd640a00756e92c846c57573198f6cc79e88272567babf5b0bb8cb268e750685efe8b9693fd9aec384e70
|
|
)
|
|
|
|
vcpkg_extract_source_archive(
|
|
SOURCE_PATH
|
|
ARCHIVE "${ARCHIVE}"
|
|
PATCHES
|
|
fix-RTSPClient.patch
|
|
fix_operator_overload.patch
|
|
)
|
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
vcpkg_copy_pdbs()
|
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME unofficial-live555)
|
|
|
|
file(GLOB HEADERS
|
|
"${SOURCE_PATH}/BasicUsageEnvironment/include/*.h*"
|
|
"${SOURCE_PATH}/groupsock/include/*.h*"
|
|
"${SOURCE_PATH}/liveMedia/include/*.h*"
|
|
"${SOURCE_PATH}/UsageEnvironment/include/*.h*"
|
|
)
|
|
|
|
file(COPY ${HEADERS} DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|