gentoo-overlay/dev-libs/libdatachannel/libdatachannel-0.23.2.ebuild
System user; root 79ab2090d7 obs updates
2026-05-31 13:48:22 -06:00

37 lines
732 B
Bash

# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Implementation of WebRTC data exchange and signaling"
HOMEPAGE="https://github.com/paullouisageneau/libdatachannel"
EGIT_REPO_URI="https://github.com/paullouisageneau/libdatachannel.git"
EGIT_COMMIT="v${PV}"
EGIT_SUBMODULES=( deps/plog deps/usrsctp deps/libsrtp deps/libjuice )
KEYWORDS="~amd64"
LICENSE="MPL-2.0"
SLOT="0"
IUSE="examples media websocket"
RDEPEND="
dev-cpp/plog
net-libs/libnice
"
DEPEND="${RDEPEND}"
inherit cmake git-r3
src_configure() {
local mycmakeargs=(
-DNO_EXAMPLES=$(usex !examples)
-DNO_MEDIA=$(usex !media)
-DNO_WEBSOCKET=$(usex !websocket)
)
cmake_src_configure
}