2021-02-21 13:14:29 +08:00
|
|
|
vcpkg_from_github(
|
2019-10-08 01:35:13 +08:00
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
2021-02-21 13:14:29 +08:00
|
|
|
REPO mirror/rtmpdump
|
|
|
|
REF c5f04a58fc2aeea6296ca7c44ee4734c18401aa3
|
|
|
|
SHA512 d97ac38672898a96412baa5f03d1e64d512ccefe15ead0a055ca039dc6057e2e620e046c28f4d7468e132b0b5a9eb9bd171250c1afa14da53760a0d7aae3c9e9
|
2017-10-05 20:56:49 +08:00
|
|
|
PATCHES
|
2020-01-14 07:43:36 +08:00
|
|
|
dh.patch #Openssl 1.1.1 patch
|
|
|
|
handshake.patch #Openssl 1.1.1 patch
|
|
|
|
hashswf.patch #Openssl 1.1.1 patch
|
2019-10-08 01:35:13 +08:00
|
|
|
fix_strncasecmp.patch
|
|
|
|
hide_netstackdump.patch
|
2017-10-05 20:56:49 +08:00
|
|
|
)
|
|
|
|
|
2023-03-08 06:14:52 +08:00
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt" DESTINATION "${SOURCE_PATH}")
|
|
|
|
file(COPY "${CMAKE_CURRENT_LIST_DIR}/librtmp.def" DESTINATION "${SOURCE_PATH}/librtmp")
|
2019-10-08 01:35:13 +08:00
|
|
|
|
2023-03-08 06:14:52 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2017-10-05 20:56:49 +08:00
|
|
|
)
|
|
|
|
|
2023-03-08 06:14:52 +08:00
|
|
|
vcpkg_cmake_install()
|
2017-10-05 20:56:49 +08:00
|
|
|
|
2023-03-08 06:14:52 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2017-10-05 20:56:49 +08:00
|
|
|
|
|
|
|
# License and man
|
2023-03-08 06:14:52 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/librtmp/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
|
|
|
file(INSTALL "${SOURCE_PATH}/librtmp/librtmp.3.html" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
2017-10-05 20:56:49 +08:00
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|