pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net
Module Name: pkgsrc
Committed By: ktnb
Date: Mon Oct 5 13:18:20 UTC 2026
Modified Files:
pkgsrc/net: Makefile
Added Files:
pkgsrc/net/libdatachannel: DESCR Makefile PLIST buildlink3.mk distinfo
Log Message:
libdatachannel is a standalone implementation of WebRTC Data
Channels, WebRTC Media Transport, and WebSockets in C++ with C
bindings for multiple platforms, including GNU/Linux, Android,
FreeBSD, Apple macOS, iOS, and Microsoft Windows. WebRTC is a W3C
and IETF standard enabling real-time peer-to-peer data and media
exchange between two devices.
The library aims at being both straightforward and lightweight with
minimal external dependencies, to enable direct connectivity between
native applications and web browsers without the pain of importing
Google's bloated reference library. The interface consists of
somewhat simplified versions of the JavaScript WebRTC and WebSocket
APIs present in browsers, in order to ease the design of
cross-environment applications.
To generate a diff of this commit:
cvs rdiff -u -r1.1673 -r1.1674 pkgsrc/net/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/net/libdatachannel/DESCR \
pkgsrc/net/libdatachannel/Makefile pkgsrc/net/libdatachannel/PLIST \
pkgsrc/net/libdatachannel/buildlink3.mk \
pkgsrc/net/libdatachannel/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/Makefile
diff -u pkgsrc/net/Makefile:1.1673 pkgsrc/net/Makefile:1.1674
--- pkgsrc/net/Makefile:1.1673 Mon Oct 5 13:10:40 2026
+++ pkgsrc/net/Makefile Mon Oct 5 13:18:20 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1673 2026/10/05 13:10:40 ktnb Exp $
+# $NetBSD: Makefile,v 1.1674 2026/10/05 13:18:20 ktnb Exp $
#
COMMENT= Networking tools
@@ -342,6 +342,7 @@ SUBDIR+= libasyncns
SUBDIR+= libbind
SUBDIR+= libcares
SUBDIR+= libcmis
+SUBDIR+= libdatachannel
SUBDIR+= libdlna
SUBDIR+= libdnet
SUBDIR+= libexosip
Added files:
Index: pkgsrc/net/libdatachannel/DESCR
diff -u /dev/null pkgsrc/net/libdatachannel/DESCR:1.1
--- /dev/null Mon Oct 5 13:18:20 2026
+++ pkgsrc/net/libdatachannel/DESCR Mon Oct 5 13:18:20 2026
@@ -0,0 +1,14 @@
+libdatachannel is a standalone implementation of WebRTC Data
+Channels, WebRTC Media Transport, and WebSockets in C++ with C
+bindings for multiple platforms, including GNU/Linux, Android,
+FreeBSD, Apple macOS, iOS, and Microsoft Windows. WebRTC is a W3C
+and IETF standard enabling real-time peer-to-peer data and media
+exchange between two devices.
+
+The library aims at being both straightforward and lightweight with
+minimal external dependencies, to enable direct connectivity between
+native applications and web browsers without the pain of importing
+Google's bloated reference library. The interface consists of
+somewhat simplified versions of the JavaScript WebRTC and WebSocket
+APIs present in browsers, in order to ease the design of
+cross-environment applications.
Index: pkgsrc/net/libdatachannel/Makefile
diff -u /dev/null pkgsrc/net/libdatachannel/Makefile:1.1
--- /dev/null Mon Oct 5 13:18:20 2026
+++ pkgsrc/net/libdatachannel/Makefile Mon Oct 5 13:18:20 2026
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2026/10/05 13:18:20 ktnb Exp $
+
+DISTNAME= libdatachannel-0.24.6
+CATEGORIES= net devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=paullouisageneau/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= ktnb%NetBSD.org@localhost
+HOMEPAGE= https://github.com/paullouisageneau/libdatachannel/
+COMMENT= C/C++ WebRTC network library
+LICENSE= mpl-2.0
+
+USE_LANGUAGES= c c++
+USE_TOOLS+= gmake
+
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_BUILD_TYPE="Release"
+CMAKE_CONFIGURE_ARGS+= -DPREFER_SYSTEM_LIB=TRUE
+CMAKE_CONFIGURE_ARGS+= -DUSE_NICE=TRUE
+
+.include "../../devel/cmake/build.mk"
+.include "../../devel/plog/buildlink3.mk"
+.include "../../comms/srtp/buildlink3.mk"
+.include "../../net/libnice/buildlink3.mk"
+.include "../../net/usrsctp/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../textproc/nlohmann-json/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/libdatachannel/PLIST
diff -u /dev/null pkgsrc/net/libdatachannel/PLIST:1.1
--- /dev/null Mon Oct 5 13:18:20 2026
+++ pkgsrc/net/libdatachannel/PLIST Mon Oct 5 13:18:20 2026
@@ -0,0 +1,46 @@
+@comment $NetBSD: PLIST,v 1.1 2026/10/05 13:18:20 ktnb Exp $
+include/rtc/av1rtppacketizer.hpp
+include/rtc/candidate.hpp
+include/rtc/channel.hpp
+include/rtc/common.hpp
+include/rtc/configuration.hpp
+include/rtc/datachannel.hpp
+include/rtc/dependencydescriptor.hpp
+include/rtc/description.hpp
+include/rtc/frameinfo.hpp
+include/rtc/global.hpp
+include/rtc/h264rtpdepacketizer.hpp
+include/rtc/h264rtppacketizer.hpp
+include/rtc/h265nalunit.hpp
+include/rtc/h265rtpdepacketizer.hpp
+include/rtc/h265rtppacketizer.hpp
+include/rtc/iceudpmuxlistener.hpp
+include/rtc/mediahandler.hpp
+include/rtc/message.hpp
+include/rtc/nalunit.hpp
+include/rtc/pacinghandler.hpp
+include/rtc/peerconnection.hpp
+include/rtc/plihandler.hpp
+include/rtc/reliability.hpp
+include/rtc/rembhandler.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/rtpdepacketizer.hpp
+include/rtc/rtppacketizationconfig.hpp
+include/rtc/rtppacketizer.hpp
+include/rtc/track.hpp
+include/rtc/utils.hpp
+include/rtc/version.h
+include/rtc/websocket.hpp
+include/rtc/websocketserver.hpp
+lib/cmake/LibDataChannel/LibDataChannelConfig.cmake
+lib/cmake/LibDataChannel/LibDataChannelConfigVersion.cmake
+lib/cmake/LibDataChannel/LibDataChannelTargets-release.cmake
+lib/cmake/LibDataChannel/LibDataChannelTargets.cmake
+lib/libdatachannel.so
+lib/libdatachannel.so.0.24
+lib/libdatachannel.so.${PKGVERSION}
Index: pkgsrc/net/libdatachannel/buildlink3.mk
diff -u /dev/null pkgsrc/net/libdatachannel/buildlink3.mk:1.1
--- /dev/null Mon Oct 5 13:18:20 2026
+++ pkgsrc/net/libdatachannel/buildlink3.mk Mon Oct 5 13:18:20 2026
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2026/10/05 13:18:20 ktnb Exp $
+
+BUILDLINK_TREE+= libdatachannel
+
+.if !defined(LIBDATACHANNEL_BUILDLINK3_MK)
+LIBDATACHANNEL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libdatachannel+= libdatachannel>=0.24.6
+BUILDLINK_PKGSRCDIR.libdatachannel?= ../../net/libdatachannel
+
+BUILDLINK_DEPMETHOD.libdatachannel?= build
+.endif # LIBDATACHANNEL_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libdatachannel
Index: pkgsrc/net/libdatachannel/distinfo
diff -u /dev/null pkgsrc/net/libdatachannel/distinfo:1.1
--- /dev/null Mon Oct 5 13:18:20 2026
+++ pkgsrc/net/libdatachannel/distinfo Mon Oct 5 13:18:20 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/10/05 13:18:20 ktnb Exp $
+
+BLAKE2s (libdatachannel-0.24.6.tar.gz) = f6af5c2694fa992a933552089c92ba7867e67b1f2be1ade235c20c777fafdac6
+SHA512 (libdatachannel-0.24.6.tar.gz) = 95ee4e0be3c524867bf14ecbe438ab3bca08fd939e4ce79ca35b66055ff2cca8e61779eb8ad16ba0f3b2eb86b469f0e82cc0e7bff286f0797607a26c2c2b6e58
+Size (libdatachannel-0.24.6.tar.gz) = 52656037 bytes
Home |
Main Index |
Thread Index |
Old Index