head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	2026.10.05.13.18.20;	author ktnb;	state Exp;
branches;
next	;
commitid	CYaq4LlZ3ni43iYG;


desc
@@


1.1
log
@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.
@
text
@# $NetBSD$

DISTNAME=	libdatachannel-0.24.6
CATEGORIES=	net devel
MASTER_SITES=	${MASTER_SITE_GITHUB:=paullouisageneau/}
GITHUB_TAG=	v${PKGVERSION_NOREV}

MAINTAINER=	ktnb@@NetBSD.org
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"
@
