[packages/srt] - updated to 1.5.1 (new soname)

qboosh qboosh at pld-linux.org
Wed Apr 5 19:46:00 CEST 2023


commit e2f2cbd30299fec6b3f1c548845ea320500a03fe
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Apr 5 19:48:31 2023 +0200

    - updated to 1.5.1 (new soname)

 srt-build_type.patch | 39 +++++++++++++++++----------------------
 srt.spec             |  8 ++++----
 2 files changed, 21 insertions(+), 26 deletions(-)
---
diff --git a/srt.spec b/srt.spec
index d719552..1880b6e 100644
--- a/srt.spec
+++ b/srt.spec
@@ -5,13 +5,13 @@
 Summary:	Secure Reliable Transport library
 Summary(pl.UTF-8):	Biblioteka Secure Reliable Transport
 Name:		srt
-Version:	1.4.4
+Version:	1.5.1
 Release:	1
 License:	MPL v2.0
 Group:		Libraries
 #Source0Download: https://github.com/Haivision/srt/releases
 Source0:	https://github.com/Haivision/srt/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	946735c0d8e976c6b8ac43f1d159c750
+# Source0-md5:	9d746de8bbc94ad327215d89801ac2fb
 Patch0:		%{name}-build_type.patch
 URL:		https://www.srtalliance.org/
 BuildRequires:	cmake >= 2.8.12
@@ -86,13 +86,13 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README.md docs/apps/*.md docs/{features,misc}/{*.md,images}
+%doc README.md docs/apps/*.md docs/{features,misc}
 %attr(755,root,root) %{_bindir}/srt-ffplay
 %attr(755,root,root) %{_bindir}/srt-file-transmit
 %attr(755,root,root) %{_bindir}/srt-live-transmit
 %attr(755,root,root) %{_bindir}/srt-tunnel
 %attr(755,root,root) %{_libdir}/libsrt.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libsrt.so.1.4
+%attr(755,root,root) %ghost %{_libdir}/libsrt.so.1.5
 
 %files devel
 %defattr(644,root,root,755)
diff --git a/srt-build_type.patch b/srt-build_type.patch
index b803995..4d17f73 100644
--- a/srt-build_type.patch
+++ b/srt-build_type.patch
@@ -1,23 +1,18 @@
---- srt-1.4.3/CMakeLists.txt.orig	2021-04-27 08:44:11.000000000 +0000
-+++ srt-1.4.3/CMakeLists.txt	2021-06-16 23:23:24.120623326 +0000
-@@ -64,13 +64,13 @@
- # Set CMAKE_BUILD_TYPE properly, now that you know
- # that ENABLE_DEBUG is set as it should.
- 
--if (ENABLE_DEBUG EQUAL 2)
--	set (CMAKE_BUILD_TYPE "RelWithDebInfo")
--elseif (ENABLE_DEBUG) # 1, ON, YES, TRUE, Y, or any other non-zero number
--	set (CMAKE_BUILD_TYPE "Debug")
--else()
--	set (CMAKE_BUILD_TYPE "Release")
--endif()
-+#if (ENABLE_DEBUG EQUAL 2)
-+#	set (CMAKE_BUILD_TYPE "RelWithDebInfo")
-+#elseif (ENABLE_DEBUG) # 1, ON, YES, TRUE, Y, or any other non-zero number
-+#	set (CMAKE_BUILD_TYPE "Debug")
-+#else()
-+#	set (CMAKE_BUILD_TYPE "Release")
-+#endif()
- 
- message(STATUS "BUILD TYPE: ${CMAKE_BUILD_TYPE}")
+--- srt-1.5.1/CMakeLists.txt.orig	2023-04-04 22:45:12.405917093 +0200
++++ srt-1.5.1/CMakeLists.txt	2023-04-05 06:25:29.629542138 +0200
+@@ -68,15 +68,12 @@ if (NOT MICROSOFT)
+ 	# Set CMAKE_BUILD_TYPE properly, now that you know
+ 	# that ENABLE_DEBUG is set as it should.
+ 	if (ENABLE_DEBUG EQUAL 2)
+-		set (CMAKE_BUILD_TYPE "RelWithDebInfo")
+ 		add_definitions(-DNDEBUG)
+ 	elseif (ENABLE_DEBUG) # 1, ON, YES, TRUE, Y, or any other non-zero number
+-		set (CMAKE_BUILD_TYPE "Debug")
  
+ 		# Add _DEBUG macro in debug mode only, to enable SRT_ASSERT().
+ 		add_definitions(-D_DEBUG)
+ 	else()
+-		set (CMAKE_BUILD_TYPE "Release")
+ 		add_definitions(-DNDEBUG)
+ 	endif()
+ endif()
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/srt.git/commitdiff/e2f2cbd30299fec6b3f1c548845ea320500a03fe



More information about the pld-cvs-commit mailing list