2019-05-03 13:57:43 +08:00
|
|
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
2018-02-24 15:00:39 +08:00
|
|
|
|
2019-04-04 01:18:04 +08:00
|
|
|
vcpkg_download_distfile(ARCHIVE
|
2021-12-29 07:04:54 +08:00
|
|
|
URLS "http://www.live555.com/liveMedia/public/live.2021.12.18.tar.gz"
|
|
|
|
FILENAME "live.2021.12.18.tar.gz"
|
|
|
|
SHA512 072ae92a1a63687e33c659627fbf562e6f2cdf73cf1c3199959aa3a713636ccd4113d56270c4793c86b42338000f180e16a7b2cf3d893402226a04360f8b2e97
|
2019-04-04 01:18:04 +08:00
|
|
|
)
|
|
|
|
|
2019-05-02 02:54:01 +08:00
|
|
|
vcpkg_extract_source_archive_ex(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
ARCHIVE ${ARCHIVE}
|
2019-12-21 04:00:56 +08:00
|
|
|
PATCHES
|
|
|
|
fix-RTSPClient.patch
|
2019-05-02 02:54:01 +08:00
|
|
|
)
|
2019-04-04 01:18:04 +08:00
|
|
|
|
2021-12-29 07:04:54 +08:00
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
2019-04-04 01:18:04 +08:00
|
|
|
|
2021-12-29 07:04:54 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2019-04-04 01:18:04 +08:00
|
|
|
)
|
|
|
|
|
2021-12-29 07:04:54 +08:00
|
|
|
vcpkg_cmake_install()
|
2019-04-04 01:18:04 +08:00
|
|
|
|
|
|
|
file(GLOB HEADERS
|
2019-05-02 02:54:01 +08:00
|
|
|
"${SOURCE_PATH}/BasicUsageEnvironment/include/*.h*"
|
|
|
|
"${SOURCE_PATH}/groupsock/include/*.h*"
|
|
|
|
"${SOURCE_PATH}/liveMedia/include/*.h*"
|
|
|
|
"${SOURCE_PATH}/UsageEnvironment/include/*.h*"
|
2019-04-04 01:18:04 +08:00
|
|
|
)
|
|
|
|
|
2021-12-29 07:04:54 +08:00
|
|
|
file(COPY ${HEADERS} DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
2019-04-04 01:18:04 +08:00
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|