diff --git a/network/misc/libdatachannel/actions.py b/network/misc/libdatachannel/actions.py new file mode 100644 index 0000000000..359837574c --- /dev/null +++ b/network/misc/libdatachannel/actions.py @@ -0,0 +1,27 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file https://www.gnu.org/licenses/gpl-3.0.txt + +from pisi.actionsapi import cmaketools, mesontools, pisitools + +i = ''.join([ + ' -DCMAKE_INSTALL_PREFIX=/usr', + ' -DCMAKE_BUILD_TYPE=Release', + ' -Dsctp_build_shared_lib=1', + ' -DPREFER_SYSTEM_LIBS=ON', + ' -DUSE_SYSTEM_{PLOG,SRTP,JUICE,USRSCTP,JSON}=1', + ' -Bbuild -G Ninja -L ' + ]) + +def setup(): + cmaketools.configure(i) + +def build(): + mesontools.build() + +def install(): + mesontools.install() + + pisitools.dodoc("LICENSE") diff --git a/network/misc/libdatachannel/pspec.xml b/network/misc/libdatachannel/pspec.xml new file mode 100644 index 0000000000..82ed059993 --- /dev/null +++ b/network/misc/libdatachannel/pspec.xml @@ -0,0 +1,69 @@ + + + + + libdatachannel + https://libdatachannel.org/ + + Ertuğrul Erata + ertugrulerata@gmail.com + + MPLv2 + network.misc + C/C++ WebRTC network library. + C/C++ WebRTC network library featuring Data Channels, Media Transport, and WebSockets. + https://github.com/paullouisageneau/libdatachannel/archive/v0.22.4/libdatachannel-0.22.4.tar.gz + + plog + cmake + ninja + nlohmann-json + usrsctp-devel + libsrtp-devel + openssl-devel + libjuice-devel + + + + + + + + libdatachannel + + usrsctp + libsrtp + openssl + libjuice + + + /usr/lib + /usr/share + + + + + libdatachannel-devel + + usrsctp-devel + libsrtp-devel + openssl-devel + libjuice-devel + libdatachannel + + + /usr/include + /usr/lib/cmake + + + + + + 2025-02-06 + 0.22.4 + First release. + Ertuğrul Erata + ertugrulerata@gmail.com + + +