]> git.pld-linux.org Git - packages/mediastreamer.git/commitdiff
- updated dependencies, avoid -Werror=adress errors in UPnP code, patch cleanup auto/th/mediastreamer-5.1.72-1
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 10 Apr 2023 19:35:16 +0000 (21:35 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 10 Apr 2023 19:35:16 +0000 (21:35 +0200)
mediastreamer-gsm.patch
mediastreamer.spec

index 2c4844aa70efe06fc3d2139c88b8cab942eaec98..6bd48557882ebaa1b4e221f4552956e11e691343 100644 (file)
@@ -9,24 +9,6 @@
  
  #ifdef _MSC_VER
  #include <malloc.h>
-#--- mediastreamer2-4.5.22/cmake/FindGSM.cmake.orig    2021-06-24 23:55:04.000000000 +0200
-#+++ mediastreamer2-4.5.22/cmake/FindGSM.cmake 2021-07-09 20:32:19.826129758 +0200
-#@@ -37,6 +37,15 @@ find_path(GSM_INCLUDE_DIRS
-# )
-# if(GSM_INCLUDE_DIRS)
-#      set(HAVE_GSM_GSM_H 1)
-#+else()
-#+     find_path(GSM_INCLUDE_DIRS
-#+             NAMES gsm.h
-#+             HINTS _GSM_ROOT_PATHS
-#+             PATH_SUFFIXES include
-#+     )
-#+     if(GSM_INCLUDE_DIRS)
-#+             set(HAVE_GSM_H 1)
-#+     endif()
-# endif()
-# 
-# find_library(GSM_LIBRARIES
 --- mediastreamer2-4.5.22/cmake/FindGSM.cmake.orig     2021-06-24 23:55:04.000000000 +0200
 +++ mediastreamer2-4.5.22/cmake/FindGSM.cmake  2021-07-09 20:42:12.959583145 +0200
 @@ -31,12 +31,12 @@ set(_GSM_ROOT_PATHS
index 0b943fd4bccaa5da7a12ef6a47b359cc6c87b129..e7e4979ae8e992c1a6549e42ec076517377829da 100644 (file)
@@ -49,10 +49,10 @@ URL:                http://www.linphone.org/technical-corner/mediastreamer2/overview
 %{?with_alsa:BuildRequires:    alsa-lib-devel}
 %{?with_arts:BuildRequires:    artsc-devel}
 %{?with_bcg729:BuildRequires:  bcg729-devel >= 1.1.1-1}
-%{?with_matroska:BuildRequires:        bcmatroska2-devel}
+%{?with_matroska:BuildRequires:        bcmatroska2-devel >= 5.1}
 BuildRequires: bctoolbox-devel >= 0.4.0
 %{?with_bv16:BuildRequires:    bv16-floatingpoint-devel}
-%{?with_zrtp:BuildRequires:    bzrtp-devel >= 4.5.15-1}
+%{?with_zrtp:BuildRequires:    bzrtp-devel >= 5.1}
 BuildRequires: cmake >= 3.1
 BuildRequires: doxygen
 # libavcodec >= 51.0.0, libswscale >= 0.7.0
@@ -70,7 +70,7 @@ BuildRequires:        libv4l-devel
 BuildRequires: libvpx-devel >= 0.9.6
 BuildRequires: libyuv-devel
 BuildRequires: opus-devel >= 0.9.0
-BuildRequires: ortp-devel >= 4.5.15-1
+BuildRequires: ortp-devel >= 5.1
 BuildRequires: pkgconfig
 %{?with_portaudio:BuildRequires:       portaudio-devel}
 %{?with_pulseaudio:BuildRequires:      pulseaudio-devel >= 0.9.21}
@@ -84,13 +84,14 @@ BuildRequires:      xorg-lib-libX11-devel
 BuildRequires: xorg-lib-libXv-devel
 %{?with_zxing:BuildRequires:   zxing-cpp-devel}
 %{?with_bcg729:Requires:       bcg729 >= 1.1.1-1}
+%{?with_matroska:Requires:     bcmatroska2 >= 5.1}
 Requires:      bctoolbox >= 0.4.0
-%{?with_zrtp:Requires: bzrtp >= 4.5}
+%{?with_zrtp:Requires: bzrtp >= 5.1}
 %{?with_opengl:Requires:       glew >= 1.5}
 Requires:      libtheora >= 1.0-0.alpha7
 Requires:      libvpx >= 0.9.6
 Requires:      opus >= 0.9.0
-Requires:      ortp >= 4.5
+Requires:      ortp >= 5.1
 %{?with_pulseaudio:Requires:   pulseaudio-libs >= 0.9.21}
 Requires:      spandsp >= 0.0.6
 Requires:      speex >= 1:1.2-beta3
@@ -116,10 +117,10 @@ Requires: %{name} = %{version}-%{release}
 %{?with_opengl:Requires:       OpenGL-devel}
 %{?with_alsa:Requires: alsa-lib-devel}
 %{?with_bcg729:Requires:       bcg729-devel >= 1.1.1-1}
-%{?with_matroska:Requires:     bcmatroska2-devel}
+%{?with_matroska:Requires:     bcmatroska2-devel >= 5.1}
 Requires:      bctoolbox-devel >= 0.4.0
 %{?with_bv16:Requires: bv16-floatingpoint-devel}
-%{?with_zrtp:Requires: bzrtp-devel >= 4.5.15-1}
+%{?with_zrtp:Requires: bzrtp-devel >= 5.1}
 Requires:      ffmpeg-devel
 %{?with_opengl:Requires:       glew-devel >= 1.5}
 Requires:      libtheora-devel >= 1.0-0.alpha7
@@ -127,7 +128,7 @@ Requires:   libupnp-devel >= 1.8
 Requires:      libv4l-devel
 Requires:      libvpx-devel >= 0.9.6
 Requires:      opus-devel >= 0.9.0
-Requires:      ortp-devel >= 4.5.15-1
+Requires:      ortp-devel >= 5.1
 %{?with_portaudio:Requires:    portaudio-devel}
 %{?with_pulseaudio:Requires:   pulseaudio-devel >= 0.9.21}
 Requires:      spandsp-devel >= 0.0.6
@@ -172,6 +173,8 @@ Statyczne biblioteki mediastreamer.
 # cmake checks for python3, so don't require python 2 as well
 %{__sed} -i -e '1s,/usr/bin/python$,%{__python3},' tools/xxd.py
 
+%{__sed} -i -e 's/"-Werror" /"-Werror" "-Wno-error=address"/' CMakeLists.txt
+
 %build
 install -d build
 cd build
This page took 0.175424 seconds and 4 git commands to generate.