Skip to content

Commit

Permalink
[rtmfp-cpp] Added rtmfp-cpp library (#29442)
Browse files Browse the repository at this point in the history
* 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 <bion@microsoft.com>
Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com>
  • Loading branch information
3 people committed Mar 2, 2023
1 parent e91d0a2 commit 62fb5ef
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 0 deletions.
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 "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})
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.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
}
]
}
4 changes: 4 additions & 0 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
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": "f79ae1d45117b5405db38e63128165d5c4a5114a",
"version": "1.4.0-20230213.18168ec",
"port-version": 0
}
]
}

0 comments on commit 62fb5ef

Please sign in to comment.