Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mediastreamer2 for openSUSE:Factory checked in at 2024-05-27 11:55:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mediastreamer2 (Old) and /work/SRC/openSUSE:Factory/.mediastreamer2.new.24587 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mediastreamer2" Mon May 27 11:55:13 2024 rev:73 rq:1176866 version:5.3.37 Changes: -------- --- /work/SRC/openSUSE:Factory/mediastreamer2/mediastreamer2.changes 2024-05-17 20:06:16.965810462 +0200 +++ /work/SRC/openSUSE:Factory/.mediastreamer2.new.24587/mediastreamer2.changes 2024-05-27 12:03:05.993859043 +0200 @@ -1,0 +2,9 @@ +Sat May 25 13:07:00 UTC 2024 - Giacomo Comes <[email protected]> + +- add patch fix_soversion.patch +- add package libmediastreamer2-11 containing libmediastreamer2.so.11 + * do no pack such library in package mediastreamer2-devel + otherwise when installing linphone-desktop a bunch of unnecessary + devel packages get installed as well + +------------------------------------------------------------------- New: ---- fix_soversion.patch BETA DEBUG BEGIN: New: - add patch fix_soversion.patch - add package libmediastreamer2-11 containing libmediastreamer2.so.11 BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mediastreamer2.spec ++++++ --- /var/tmp/diff_new_pack.xxuR0s/_old 2024-05-27 12:03:06.705885183 +0200 +++ /var/tmp/diff_new_pack.xxuR0s/_new 2024-05-27 12:03:06.709885330 +0200 @@ -16,6 +16,9 @@ # +%define sobase libmediastreamer2 +%define sover 11 + Name: mediastreamer2 Version: 5.3.37 Release: 0 @@ -27,14 +30,15 @@ Patch0: mediastreamer2-fix-pkgconfig.patch Patch1: fix-srtp2-linphone.patch Patch2: fix-build-ffmpeg5.patch -Patch3: set_current_version.patch +Patch3: fix_soversion.patch +Patch4: set_current_version.patch %if 0%{?suse_version} >= 1600 BuildRequires: liboqs-devel # At the time of writing (22/Dec/2023), PQCE is only available on Tumbleweed. BuildRequires: postquantumcryptoengine-devel >= 5.3.0~git.20230802 %endif BuildRequires: Mesa-libGL-devel -BuildRequires: bcmatroska2-devel >= 0.23 +BuildRequires: bcmatroska2-devel >= 5.3.0 BuildRequires: broadvoice16-devel BuildRequires: cmake >= 3.22 BuildRequires: doxygen @@ -85,6 +89,15 @@ streaming and processing. It is written in pure C and based upon the oRTP library. +%package -n %{sobase}-%{sover} +Summary: Audio/video real-time streaming library, base part +Group: System/Libraries + +%description -n %{sobase}-%{sover} +Mediastreamer2 is a library to make audio and video real-time +streaming and processing. It is written in pure C and based upon the +oRTP library. + %package doc Summary: Documentation for the mediastreamer2 library Group: Documentation/HTML @@ -101,6 +114,7 @@ Summary: Headers and libraries for the mediastreamer2 library Group: Development/Libraries/C and C++ Requires: %{name} = %{version} +Requires: %{sobase}-%{sover} = %{version} Requires: bcmatroska2-devel %description devel @@ -119,6 +133,7 @@ %patch -P 2 -p1 fi %patch -P 3 -p1 +%patch -P 4 -p1 %build export CFLAGS="%(echo %{optflags}) -fcommon -Wno-implicit-function-declaration -I%_includedir/bcmatroska2 -I%_includedir/corec" @@ -142,6 +157,9 @@ mv -T %{buildroot}%{_datadir}/doc/%{name}-%{version}/ \ %{buildroot}%{_docdir}/%{name}/ +%post -n %{sobase}-%{sover} -p /sbin/ldconfig +%postun -n %{sobase}-%{sover} -p /sbin/ldconfig + %files %license LICENSE.txt %{_bindir}/mediastreamer2-mediastream @@ -154,6 +172,9 @@ %endif %endif +%files -n %{sobase}-%{sover} +%{_libdir}/%{sobase}.so.%{sover}* + %files doc %doc README.md %dir %{_docdir}/%{name}/ ++++++ fix_soversion.patch ++++++ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -613,8 +613,6 @@ if(VPX_FOUND) set_target_properties(mediastreamer2 PROPERTIES LINK_FLAGS "-Wl,--exclude-libs,libvpx.a") endif() - # Do not version shared library on Android - set_target_properties(mediastreamer2 PROPERTIES SOVERSION ${MEDIASTREAMER_SO_VERSION}) else() @@ -654,7 +652,8 @@ endif() - + # Do not version shared library on Android + set_target_properties(mediastreamer2 PROPERTIES SOVERSION ${MEDIASTREAMER_SO_VERSION}) endif() if(IOS) target_link_libraries(mediastreamer2 INTERFACE "-framework Foundation" "-framework AVFoundation")
