Projects
Multimedia
libdatachannel
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
libdatachannel.spec
Changed
@@ -27,15 +27,13 @@ URL: https://libdatachannel.org/ Group: Development/Libraries/C and C++ Source0: https://github.com/paullouisageneau/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz +Patch0: %name.patch BuildRequires: cmake BuildRequires: gawk BuildRequires: gcc-c++ -BuildRequires: libsrtp-devel BuildRequires: make BuildRequires: pkgconfig BuildRequires: usrsctp-devel -# Not yet needed and not packaged in openSUSE yet -#BuildRequires: cmake(LibJuice) BuildRequires: pkgconfig(libsrtp2) BuildRequires: pkgconfig(nlohmann_json) >= 3 BuildRequires: cmake(plog) @@ -66,9 +64,10 @@ developing applications that use %{name}. %prep -%autosetup +%autosetup -p1 %build +rm -rf deps %cmake -DPREFER_SYSTEM_LIB=ON -DUSE_GNUTLS=ON -DUSE_NICE=ON %cmake_build
View file
libdatachannel.patch
Added
@@ -0,0 +1,84 @@ +--- + CMakeLists.txt | 2 +- + examples/client-benchmark/CMakeLists.txt | 2 +- + examples/client/CMakeLists.txt | 2 +- + examples/copy-paste-capi/CMakeLists.txt | 2 +- + examples/copy-paste/CMakeLists.txt | 2 +- + examples/media-receiver/CMakeLists.txt | 2 +- + examples/media-sender/CMakeLists.txt | 2 +- + examples/media-sfu/CMakeLists.txt | 2 +- + examples/streamer/CMakeLists.txt | 2 +- + 9 files changed, 9 insertions(+), 9 deletions(-) + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.7) ++cmake_minimum_required(VERSION 3.17) + project(libdatachannel + VERSION 0.21.2 + LANGUAGES CXX) +--- a/examples/client-benchmark/CMakeLists.txt ++++ b/examples/client-benchmark/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.7) ++cmake_minimum_required(VERSION 3.17) + if(POLICY CMP0079) + cmake_policy(SET CMP0079 NEW) + endif() +--- a/examples/client/CMakeLists.txt ++++ b/examples/client/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.7) ++cmake_minimum_required(VERSION 3.17) + if(POLICY CMP0079) + cmake_policy(SET CMP0079 NEW) + endif() +--- a/examples/copy-paste-capi/CMakeLists.txt ++++ b/examples/copy-paste-capi/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.7) ++cmake_minimum_required(VERSION 3.17) + project(offerer C) + + set(CMAKE_C_STANDARD 11) +--- a/examples/copy-paste/CMakeLists.txt ++++ b/examples/copy-paste/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.7) ++cmake_minimum_required(VERSION 3.17) + + set(OFFERER_UWP_RESOURCES + uwp/offerer/Logo.png +--- a/examples/media-receiver/CMakeLists.txt ++++ b/examples/media-receiver/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.7) ++cmake_minimum_required(VERSION 3.17) + + set(MEDIA_UWP_RESOURCES + uwp/Logo.png +--- a/examples/media-sender/CMakeLists.txt ++++ b/examples/media-sender/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.7) ++cmake_minimum_required(VERSION 3.17) + + set(MEDIA_UWP_RESOURCES + uwp/Logo.png +--- a/examples/media-sfu/CMakeLists.txt ++++ b/examples/media-sfu/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.7) ++cmake_minimum_required(VERSION 3.17) + + set(SFU_MEDIA_UWP_RESOURCES + uwp/Logo.png +--- a/examples/streamer/CMakeLists.txt ++++ b/examples/streamer/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.7) ++cmake_minimum_required(VERSION 3.17) + if(POLICY CMP0079) + cmake_policy(SET CMP0079 NEW) + endif()
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.