svn commit: r531279 - in head/www: . librtcdcpp librtcdcpp/files
Yuri Victorovich
yuri at FreeBSD.org
Fri Apr 10 01:29:15 UTC 2020
Author: yuri
Date: Fri Apr 10 01:29:13 2020
New Revision: 531279
URL: https://svnweb.freebsd.org/changeset/ports/531279
Log:
New port: www/librtcdcpp: Simple WebRTC DataChannels library
Added:
head/www/librtcdcpp/
head/www/librtcdcpp/Makefile (contents, props changed)
head/www/librtcdcpp/distinfo (contents, props changed)
head/www/librtcdcpp/files/
head/www/librtcdcpp/files/patch-CMakeLists.txt (contents, props changed)
head/www/librtcdcpp/files/patch-src_Logging.cpp (contents, props changed)
head/www/librtcdcpp/pkg-descr (contents, props changed)
head/www/librtcdcpp/pkg-plist (contents, props changed)
Modified:
head/www/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Fri Apr 10 00:57:56 2020 (r531278)
+++ head/www/Makefile Fri Apr 10 01:29:13 2020 (r531279)
@@ -298,6 +298,7 @@
SUBDIR += libnghttp2
SUBDIR += libnghttp3
SUBDIR += libresonic-standalone
+ SUBDIR += librtcdcpp
SUBDIR += libwpe
SUBDIR += libwww
SUBDIR += lightsquid
Added: head/www/librtcdcpp/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/librtcdcpp/Makefile Fri Apr 10 01:29:13 2020 (r531279)
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME= librtcdcpp
+DISTVERSION= g20180627
+CATEGORIES= www devel
+
+MAINTAINER= yuri at 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>
Added: head/www/librtcdcpp/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/librtcdcpp/distinfo Fri Apr 10 01:29:13 2020 (r531279)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1586481933
+SHA256 (chadnickbok-librtcdcpp-g20180627-49ddb949ed5dd2c8e859097b6723347f52e01645_GH0.tar.gz) = 032446b7e12b72b86c9bc42dc7b23fb73d553aaae4de6e27eb33a851b70695b0
+SIZE (chadnickbok-librtcdcpp-g20180627-49ddb949ed5dd2c8e859097b6723347f52e01645_GH0.tar.gz) = 5152018
Added: head/www/librtcdcpp/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/librtcdcpp/files/patch-CMakeLists.txt Fri Apr 10 01:29:13 2020 (r531279)
@@ -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)
Added: head/www/librtcdcpp/files/patch-src_Logging.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/librtcdcpp/files/patch-src_Logging.cpp Fri Apr 10 01:29:13 2020 (r531279)
@@ -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
Added: head/www/librtcdcpp/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/librtcdcpp/pkg-descr Fri Apr 10 01:29:13 2020 (r531279)
@@ -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
Added: head/www/librtcdcpp/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/librtcdcpp/pkg-plist Fri Apr 10 01:29:13 2020 (r531279)
@@ -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
More information about the svn-ports-all
mailing list