mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 07:59:01 +08:00
592158c502
* [live555] Update to 2022-07-14 * version * Update ports/live555/vcpkg.json Co-authored-by: Javier Matos Denizac <javier.matosd@gmail.com> * Update versions/l-/live555.json Co-authored-by: Javier Matos Denizac <javier.matosd@gmail.com>
35 lines
1.0 KiB
CMake
35 lines
1.0 KiB
CMake
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
|
|
vcpkg_download_distfile(ARCHIVE
|
|
URLS "http://www.live555.com/liveMedia/public/live.2022.07.14.tar.gz"
|
|
FILENAME "live.2022.07.14.tar.gz"
|
|
SHA512 382544d9d9fe200699669a1f3301efb4ccec0193499c95b532ea923c380b1ec6fa721a4118d36a447ba9df08575f185498f244293c66bbe97cff0482eab033c7
|
|
)
|
|
|
|
vcpkg_extract_source_archive_ex(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
ARCHIVE ${ARCHIVE}
|
|
PATCHES
|
|
fix-RTSPClient.patch
|
|
)
|
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
)
|
|
|
|
vcpkg_cmake_install()
|
|
|
|
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")
|
|
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
|
|
|
vcpkg_copy_pdbs()
|