From 62fb5ef70474ca6d4efe6fb0887d25d3ac30b5a1 Mon Sep 17 00:00:00 2001 From: as-shura <123847861+as-shura@users.noreply.github.com> Date: Thu, 2 Mar 2023 21:17:54 +0100 Subject: [PATCH] [rtmfp-cpp] Added rtmfp-cpp library (#29442) * Added rtmfp-cpp library. * Fix version database. * Added baseline. * Fixed few things. * Update version database * Removed ref id. * DB update. * Reset the REF and HEAD_REF * DB Update. * Changed old name for new one. * DB update. * Update ports/rtmfp-cpp/portfile.cmake Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com> * Update ports/rtmfp-cpp/portfile.cmake Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com> * Changed version. * Bump version in DB. * Update version database * Small modification. * vcpkg x-add-version --overwrite-version --all * New hash. * DB update. * Fix license. * DB update. --------- Co-authored-by: Billy Robert O'Neal III Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com> --- ports/rtmfp-cpp/portfile.cmake | 22 ++++++++++++++++++++++ ports/rtmfp-cpp/vcpkg.json | 19 +++++++++++++++++++ versions/baseline.json | 4 ++++ versions/r-/rtmfp-cpp.json | 9 +++++++++ 4 files changed, 54 insertions(+) create mode 100644 ports/rtmfp-cpp/portfile.cmake create mode 100644 ports/rtmfp-cpp/vcpkg.json create mode 100644 versions/r-/rtmfp-cpp.json diff --git a/ports/rtmfp-cpp/portfile.cmake b/ports/rtmfp-cpp/portfile.cmake new file mode 100644 index 0000000000..2b182fc983 --- /dev/null +++ b/ports/rtmfp-cpp/portfile.cmake @@ -0,0 +1,22 @@ +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO zenomt/rtmfp-cpp + REF "v${VERSION}" + SHA512 e83df63d01207300f53dcbece150e8c2db8630f19a5b477292285833ad3406a09037c3055181b9f67b6a6a0f528e1c36f72577c86451591161fd3ccd945f5841 + HEAD_REF main +) + +vcpkg_cmake_configure( + SOURCE_PATH "${SOURCE_PATH}" +) + +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/rtmfp) +vcpkg_copy_pdbs() + +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") + +set(LICENSE_FILES "${SOURCE_PATH}/LICENSE") +# Copyright and license +vcpkg_install_copyright(FILE_LIST ${LICENSE_FILES}) diff --git a/ports/rtmfp-cpp/vcpkg.json b/ports/rtmfp-cpp/vcpkg.json new file mode 100644 index 0000000000..9a4cd5f74d --- /dev/null +++ b/ports/rtmfp-cpp/vcpkg.json @@ -0,0 +1,19 @@ +{ + "name": "rtmfp-cpp", + "version": "1.4.0-20230213.18168ec", + "description": "Secure Real-Time Media Flow Protocol Library (RTMFP)", + "homepage": "https://github.com/zenomt/rtmfp-cpp", + "license": "MIT", + "supports": "x64 & !uwp", + "dependencies": [ + "openssl", + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] +} diff --git a/versions/baseline.json b/versions/baseline.json index 93ec82e11a..115554527c 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -6951,6 +6951,10 @@ "baseline": "2020-04-16", "port-version": 4 }, + "rtmfp-cpp": { + "baseline": "1.4.0-20230213.18168ec", + "port-version": 0 + }, "rtmidi": { "baseline": "5.0.0", "port-version": 2 diff --git a/versions/r-/rtmfp-cpp.json b/versions/r-/rtmfp-cpp.json new file mode 100644 index 0000000000..61cdef32a0 --- /dev/null +++ b/versions/r-/rtmfp-cpp.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "f79ae1d45117b5405db38e63128165d5c4a5114a", + "version": "1.4.0-20230213.18168ec", + "port-version": 0 + } + ] +}