Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rtmfp-cpp] Added rtmfp-cpp library #29442

Merged
merged 24 commits into from
Mar 2, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions ports/rtmfp-cpp/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO zenomt/rtmfp-cpp
REF de55724f2894a4548a0dc3da29fcdf45d911f26a
SHA512 b928f39fe7fa38948acf267127c292aaa053c66e61b5a6ba239f8594a682344f760425d1b1c6adfe0af7de905d82836d35cc1c4ddb1396386408d72badac359b
HEAD_REF master
)

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)
as-shura marked this conversation as resolved.
Show resolved Hide resolved

vcpkg_cmake_install()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/rtmfp)
vcpkg_copy_pdbs()

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")

# Copyright and license
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
as-shura marked this conversation as resolved.
Show resolved Hide resolved
19 changes: 19 additions & 0 deletions ports/rtmfp-cpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "rtmfp-cpp",
"version": "1.3.0",
as-shura marked this conversation as resolved.
Show resolved Hide resolved
"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
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6868,6 +6868,10 @@
"baseline": "2020-04-16",
"port-version": 3
},
"rtmfp-cpp": {
"baseline": "1.3.0",
"port-version": 0
},
"rtmidi": {
"baseline": "5.0.0",
"port-version": 2
Expand Down
9 changes: 9 additions & 0 deletions versions/r-/rtmfp-cpp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"versions": [
{
"git-tree": "0d795ae2b23412c275c5a85cc7f35d991f3e5e5e",
"version": "1.3.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since actual-release 1.3.0 is unlikely to work well (or at all) with vcpkg on all platforms, do you still want to leave 1.3.0 here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This must be removed anyways. A PR can add just one entry.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@as-shura i don't understand why you marked this conversation "resolved" without taking the required action to remove the entry for version 1.3.0, so that this PR will add only one entry (for the correct version 1.4.0-20230213.18168ec)

"port-version": 0
}
]
}