aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/Makefile1
-rw-r--r--www/libdatachannel/Makefile26
-rw-r--r--www/libdatachannel/distinfo13
-rw-r--r--www/libdatachannel/pkg-descr5
-rw-r--r--www/libdatachannel/pkg-plist55
5 files changed, 100 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index c0e96c1ba4e3..96849d525271 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -285,6 +285,7 @@
SUBDIR += lagrange
SUBDIR += larbin
SUBDIR += libapreq2
+ SUBDIR += libdatachannel
SUBDIR += libdom
SUBDIR += libecap
SUBDIR += libepc
diff --git a/www/libdatachannel/Makefile b/www/libdatachannel/Makefile
new file mode 100644
index 000000000000..8f9615fc8d47
--- /dev/null
+++ b/www/libdatachannel/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= libdatachannel
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.13.0
+CATEGORIES= www
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= WebRTC Data Channels, WebRTC Media Transport, and WebSockets library
+
+LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libsrtp2.so:net/libsrtp2
+
+USES= cmake:testing
+
+USE_GITHUB= yes
+GH_ACCOUNT= paullouisageneau
+GH_TUPLE= \
+ SergiusTheBest:plog:d8461e9:plog/deps/plog \
+ sctplab:usrsctp:07f871b:usrsctp/deps/usrsctp \
+ paullouisageneau:libjuice:4393345:libjuice/deps/libjuice \
+ nlohmann:json:973c52d:json/deps/json
+
+CMAKE_ON= USE_SYSTEM_SRTP NO_EXAMPLES NO_TESTS
+
+.include <bsd.port.mk>
diff --git a/www/libdatachannel/distinfo b/www/libdatachannel/distinfo
new file mode 100644
index 000000000000..f3990cbc801d
--- /dev/null
+++ b/www/libdatachannel/distinfo
@@ -0,0 +1,13 @@
+TIMESTAMP = 1621197360
+SHA256 (paullouisageneau-libdatachannel-v0.13.0_GH0.tar.gz) = 1ad77e81731d7881fd9f608d87995cf1a9579f8263050990f14187cb00b888d0
+SIZE (paullouisageneau-libdatachannel-v0.13.0_GH0.tar.gz) = 52428117
+SHA256 (SergiusTheBest-plog-d8461e9_GH0.tar.gz) = 2d30536bc920fc44e6ec90f60244afe9249c79bc618574f7d3e78fbcd1a51ec8
+SIZE (SergiusTheBest-plog-d8461e9_GH0.tar.gz) = 44215
+SHA256 (sctplab-usrsctp-07f871b_GH0.tar.gz) = 1b02f2574e53c8b3dca7c5687172766fe04a0fc8f8f52a0ef8707155ae76cef1
+SIZE (sctplab-usrsctp-07f871b_GH0.tar.gz) = 771605
+SHA256 (paullouisageneau-libjuice-4393345_GH0.tar.gz) = 8307296f64820c8083a9bd007ea41b3fdad82f253db1c8e5ef58f8d436b74ac6
+SIZE (paullouisageneau-libjuice-4393345_GH0.tar.gz) = 82427
+SHA256 (nlohmann-json-973c52d_GH0.tar.gz) = cd8ec6d071db0dba7b7d2eb107747deb3921aa5b4e0423df39388843937907b5
+SIZE (nlohmann-json-973c52d_GH0.tar.gz) = 119021919
+SHA256 (cisco-libsrtp-f379f48_GH0.tar.gz) = 23e26242a9f5b4d9f0bc6fda18b57e6903c4020816c957b197adc9d4fde0ce42
+SIZE (cisco-libsrtp-f379f48_GH0.tar.gz) = 635824
diff --git a/www/libdatachannel/pkg-descr b/www/libdatachannel/pkg-descr
new file mode 100644
index 000000000000..f3332e69a234
--- /dev/null
+++ b/www/libdatachannel/pkg-descr
@@ -0,0 +1,5 @@
+libdatachannel is a standalone implementation of WebRTC Data Channels, WebRTC
+Media Transport, and WebSockets in C++17 with C bindings for POSIX platforms
+(including GNU/Linux, Android, and Apple macOS) and Microsoft Windows.
+
+WWW: https://github.com/paullouisageneau/libdatachannel
diff --git a/www/libdatachannel/pkg-plist b/www/libdatachannel/pkg-plist
new file mode 100644
index 000000000000..c8fad885f65b
--- /dev/null
+++ b/www/libdatachannel/pkg-plist
@@ -0,0 +1,55 @@
+include/plog/Appenders/AndroidAppender.h
+include/plog/Appenders/ColorConsoleAppender.h
+include/plog/Appenders/ConsoleAppender.h
+include/plog/Appenders/DebugOutputAppender.h
+include/plog/Appenders/EventLogAppender.h
+include/plog/Appenders/IAppender.h
+include/plog/Appenders/RollingFileAppender.h
+include/plog/Converters/NativeEOLConverter.h
+include/plog/Converters/UTF8Converter.h
+include/plog/Formatters/CsvFormatter.h
+include/plog/Formatters/FuncMessageFormatter.h
+include/plog/Formatters/MessageOnlyFormatter.h
+include/plog/Formatters/TxtFormatter.h
+include/plog/Init.h
+include/plog/Initializers/RollingFileInitializer.h
+include/plog/Log.h
+include/plog/Logger.h
+include/plog/Record.h
+include/plog/Severity.h
+include/plog/Util.h
+include/plog/WinApi.h
+include/rtc/candidate.hpp
+include/rtc/channel.hpp
+include/rtc/common.hpp
+include/rtc/configuration.hpp
+include/rtc/datachannel.hpp
+include/rtc/description.hpp
+include/rtc/global.hpp
+include/rtc/h264packetizationhandler.hpp
+include/rtc/h264rtppacketizer.hpp
+include/rtc/mediachainablehandler.hpp
+include/rtc/mediahandler.hpp
+include/rtc/mediahandlerelement.hpp
+include/rtc/mediahandlerrootelement.hpp
+include/rtc/message.hpp
+include/rtc/nalunit.hpp
+include/rtc/opuspacketizationhandler.hpp
+include/rtc/opusrtppacketizer.hpp
+include/rtc/peerconnection.hpp
+include/rtc/reliability.hpp
+include/rtc/rtc.h
+include/rtc/rtc.hpp
+include/rtc/rtcpnackresponder.hpp
+include/rtc/rtcpreceivingsession.hpp
+include/rtc/rtcpsrreporter.hpp
+include/rtc/rtp.hpp
+include/rtc/rtppacketizationconfig.hpp
+include/rtc/rtppacketizer.hpp
+include/rtc/track.hpp
+include/rtc/utils.hpp
+include/rtc/websocket.hpp
+lib/libdatachannel.so
+lib/libdatachannel.so.0.13.0
+share/cmake/libdatachannel/datachannel-export-%%CMAKE_BUILD_TYPE%%.cmake
+share/cmake/libdatachannel/datachannel-export.cmake