- Fix exception in Candidate::changeAddress #1420 - Prevent dangling pointer warning with Visual Studio code analysis in #1421 - Changes from 0.23.0 - Add H265RtpDepacketizer in #1134 - libjuice: cmake find does not use correct names on imported target in #1297 - typo fix: SHA-384 in #1315 - Add createOffer() and createAnswer() in #1320 - fix: constrain DTLS cipher list with OpenSSL in #1335 - Add sendFrame() and refactor packetization in #1265 - Add Track::sendFrame byte* overload for consistency in #1359 - feat: add listener for unhandled STUN requests with ICE UDP mux in #1211 - Fix missing send lock on poll out event in TCP transport in #1361 - Fix the vector issue in AV1 fragment function in #1364 - Fix not setting rtp config for all packetizers in #1370 - add zero byte msgs by in #1369 - Update plog to build with CMake 4 in #1374 - Add G722 codec and packetizer in #1373 - Fix TCP mutex deadlock in #1379 - call resetcallbacks only after triggerClosed in #1384 - Support dependency descriptor and two-byte header for RTP header extension in #1127 - Bump tokio from 1.33.0 to 1.38.2 in /examples/signaling-server-rust in #1365 - Fix includes in dependencydescriptor.hpp in #1400 - Bumped checkout action to v4 in #1397 - Fix socket not getting closed in TcpTransport in #1401 - Fix X509 certificate version with OpenSSL in #1406 - ci: Install latest OpenSSL via chocolatey on Windows in #1407 - X509_VERSION_1 is not defined for OpenSSL<V3 in #1411 - Rewrite H264 and H265 RTP depacketization in #1396 - CMake: Fix deprecation warning in examples in #1412 OBS-URL: https://build.opensuse.org/package/show/home:ecsos/libdatachannel?expand=0&rev=14
96 lines
3.0 KiB
RPMSpec
96 lines
3.0 KiB
RPMSpec
#
|
|
# spec file for package libdatachannel
|
|
#
|
|
# Copyright (c) 2023 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
#%%define soversion() %%(echo "%%{1}" | awk -F. '{print $1"."$2}')
|
|
%define son 23
|
|
%define soversion 0_%{son}
|
|
%define libname %{name}%{soversion}
|
|
Name: libdatachannel
|
|
Version: 0.23.1
|
|
Release: 0
|
|
Summary: WebRTC network library featuring Data Channels, Media Transport, and WebSockets
|
|
License: MPL-2.0
|
|
URL: https://libdatachannel.org/
|
|
Group: Development/Libraries/C and C++
|
|
Source0: https://github.com/paullouisageneau/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
BuildRequires: cmake
|
|
BuildRequires: cmake(plog)
|
|
BuildRequires: gawk
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: make
|
|
BuildRequires: pkgconfig
|
|
# Not yet needed and not packaged in openSUSE yet
|
|
#BuildRequires: cmake(LibJuice)
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
BuildRequires: pkgconfig(libsrtp2)
|
|
BuildRequires: pkgconfig(nice)
|
|
BuildRequires: pkgconfig(nlohmann_json) >= 3
|
|
%if 0%{?suse_version} < 1600
|
|
BuildRequires: usrsctp-devel
|
|
%else
|
|
BuildRequires: pkgconfig(usrsctp)
|
|
%endif
|
|
|
|
%description
|
|
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, FreeBSD, Apple macOS and iOS) and Microsoft Windows.
|
|
|
|
%package -n %{libname}
|
|
Summary: C++ library for %{name}
|
|
Group: System/Libraries
|
|
|
|
%description -n %{libname}
|
|
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, FreeBSD, Apple macOS and iOS) and Microsoft Windows.
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{libname} = %{version}-%{release}
|
|
|
|
%description devel
|
|
The %{name}-devel package contains libraries and header files for
|
|
developing applications that use %{name}.
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
%build
|
|
%cmake -DPREFER_SYSTEM_LIB=ON -DUSE_GNUTLS=ON -DUSE_NICE=ON
|
|
%cmake_build
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%post -n %{libname} -p /sbin/ldconfig
|
|
%postun -n %{libname} -p /sbin/ldconfig
|
|
|
|
%files -n %{libname}
|
|
%license LICENSE
|
|
%{_libdir}/%{name}.so.*.%{son}*
|
|
|
|
%files devel
|
|
%doc README.md DOC.md
|
|
%{_includedir}/rtc/
|
|
%{_libdir}/cmake/LibDataChannel/
|
|
%{_libdir}/%{name}.so
|
|
|
|
%changelog
|