mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
New port: www/librtcdcpp: Simple WebRTC DataChannels library
This commit is contained in:
parent
ca9b65b811
commit
d4ae43bf69
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=531279
@ -298,6 +298,7 @@
|
||||
SUBDIR += libnghttp2
|
||||
SUBDIR += libnghttp3
|
||||
SUBDIR += libresonic-standalone
|
||||
SUBDIR += librtcdcpp
|
||||
SUBDIR += libwpe
|
||||
SUBDIR += libwww
|
||||
SUBDIR += lightsquid
|
||||
|
30
www/librtcdcpp/Makefile
Normal file
30
www/librtcdcpp/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= librtcdcpp
|
||||
DISTVERSION= g20180627
|
||||
CATEGORIES= www devel
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Simple WebRTC DataChannels library
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
||||
|
||||
BUILD_DEPENDS= spdlog>0:devel/spdlog
|
||||
LIB_DEPENDS= libnice.so:net-im/libnice \
|
||||
libusrsctp.so:net/libusrsctp
|
||||
|
||||
USES= cmake compiler:c++14-lang gnome ssl
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= chadnickbok
|
||||
GH_TAGNAME= 49ddb949ed5dd2c8e859097b6723347f52e01645
|
||||
USE_GNOME= glib20
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
CFLAGS+= -DSPDLOG_FMT_EXTERNAL
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC}/include && ${COPYTREE_SHARE} rtcdcpp ${STAGEDIR}${PREFIX}/include
|
||||
${INSTALL_LIB} ${BUILD_WRKSRC}/librtcdcpp.so ${STAGEDIR}${PREFIX}/lib
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/librtcdcpp/distinfo
Normal file
3
www/librtcdcpp/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1586481933
|
||||
SHA256 (chadnickbok-librtcdcpp-g20180627-49ddb949ed5dd2c8e859097b6723347f52e01645_GH0.tar.gz) = 032446b7e12b72b86c9bc42dc7b23fb73d553aaae4de6e27eb33a851b70695b0
|
||||
SIZE (chadnickbok-librtcdcpp-g20180627-49ddb949ed5dd2c8e859097b6723347f52e01645_GH0.tar.gz) = 5152018
|
8
www/librtcdcpp/files/patch-CMakeLists.txt
Normal file
8
www/librtcdcpp/files/patch-CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
--- CMakeLists.txt.orig 2020-04-09 23:40:12 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -66,4 +66,4 @@ target_link_libraries(rtcdcpp
|
||||
add_library(LibRtcdcpp::LibRtcdcpp ALIAS rtcdcpp)
|
||||
|
||||
# Build examples
|
||||
-add_subdirectory(examples/websocket_client)
|
||||
+#add_subdirectory(examples/websocket_client)
|
13
www/librtcdcpp/files/patch-src_Logging.cpp
Normal file
13
www/librtcdcpp/files/patch-src_Logging.cpp
Normal file
@ -0,0 +1,13 @@
|
||||
--- src/Logging.cpp.orig 2020-04-10 01:02:36 UTC
|
||||
+++ src/Logging.cpp
|
||||
@@ -27,6 +27,10 @@
|
||||
|
||||
#include "rtcdcpp/Logging.hpp"
|
||||
|
||||
+#ifndef SPDLOG_DISABLED
|
||||
+#include <spdlog/sinks/stdout_color_sinks.h>
|
||||
+#endif
|
||||
+
|
||||
namespace rtcdcpp {
|
||||
|
||||
#ifndef SPDLOG_DISABLED
|
7
www/librtcdcpp/pkg-descr
Normal file
7
www/librtcdcpp/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
librtcdcpp is a simple C++ implementation of the WebRTC DataChannels API.
|
||||
It was originally written by Andrew Gault and Nick Chadwick, and was inspired in
|
||||
by librtcdc.
|
||||
Its goal is to be the easiest way to build native WebRTC DataChannels apps
|
||||
across PC/Mac/Linux/iOS/Android.
|
||||
|
||||
WWW: https://github.com/chadnickbok/librtcdcpp
|
11
www/librtcdcpp/pkg-plist
Normal file
11
www/librtcdcpp/pkg-plist
Normal file
@ -0,0 +1,11 @@
|
||||
include/rtcdcpp/Chunk.hpp
|
||||
include/rtcdcpp/ChunkQueue.hpp
|
||||
include/rtcdcpp/DTLSWrapper.hpp
|
||||
include/rtcdcpp/DataChannel.hpp
|
||||
include/rtcdcpp/Logging.hpp
|
||||
include/rtcdcpp/NiceWrapper.hpp
|
||||
include/rtcdcpp/PeerConnection.hpp
|
||||
include/rtcdcpp/RTCCertificate.hpp
|
||||
include/rtcdcpp/SCTPWrapper.hpp
|
||||
include/rtcdcpp/librtcdcpp.h
|
||||
lib/librtcdcpp.so
|
Loading…
Reference in New Issue
Block a user