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 + } + ] +}