2023-01-20 10:23:25 +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
|
2023-12-20 13:12:16 +08:00
|
|
|
URLS "http://live555.com/liveMedia/public/live.2023.11.30.tar.gz"
|
|
|
|
FILENAME "live.2023.11.30.tar.gz"
|
|
|
|
SHA512 c91703197448f65d63a8a6e07597791da1ee63d3b59a0809454468a3869d86e21533c7fc434d0178a179d5a2e0e5614539e47daad813fbbe7468028419026892
|
2019-04-04 01:18:04 +08:00
|
|
|
)
|
|
|
|
|
2022-12-07 04:01:41 +08:00
|
|
|
vcpkg_extract_source_archive(
|
|
|
|
SOURCE_PATH
|
2023-01-20 10:23:25 +08:00
|
|
|
ARCHIVE "${ARCHIVE}"
|
2019-12-21 04:00:56 +08:00
|
|
|
PATCHES
|
|
|
|
fix-RTSPClient.patch
|
2023-07-08 00:04:03 +08:00
|
|
|
fix_operator_overload.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()
|
2022-12-13 06:35:22 +08:00
|
|
|
vcpkg_copy_pdbs()
|
|
|
|
|
|
|
|
vcpkg_cmake_config_fixup(PACKAGE_NAME unofficial-live555)
|
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")
|
2022-12-07 04:01:41 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|