[packages/srt] - updated to 1.5.4
qboosh
qboosh at pld-linux.org
Sun Mar 23 16:58:07 CET 2025
commit bd84ac77a5623b4c2c56673e92ee01c4dbde5543
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Mar 23 16:27:27 2025 +0100
- updated to 1.5.4
srt-build_type.patch | 13 +++++++++----
srt.spec | 4 ++--
2 files changed, 11 insertions(+), 6 deletions(-)
---
diff --git a/srt.spec b/srt.spec
index 763d395..fb7eee3 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.5.3
+Version: 1.5.4
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: df8213a3669dd846ddaad0fa1e9f417b
+# Source0-md5: 08e946bbcdb6f9dc3863de5dd8a48aa3
Patch0: %{name}-build_type.patch
URL: https://www.srtalliance.org/
BuildRequires: cmake >= 2.8.12
diff --git a/srt-build_type.patch b/srt-build_type.patch
index 4d17f73..339444d 100644
--- a/srt-build_type.patch
+++ b/srt-build_type.patch
@@ -1,11 +1,16 @@
---- 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)
+--- srt-1.5.4/CMakeLists.txt.orig 2025-03-23 16:19:37.209633897 +0100
++++ srt-1.5.4/CMakeLists.txt 2025-03-23 16:21:38.892308019 +0100
+@@ -73,7 +73,6 @@ 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)
+ if (ENABLE_ASSERT)
+ # Add _DEBUG macro if explicitly requested, to enable SRT_ASSERT().
+ add_definitions(-D_DEBUG)
+@@ -81,12 +80,10 @@ if (NOT MICROSOFT)
+ add_definitions(-DNDEBUG)
+ endif()
elseif (ENABLE_DEBUG) # 1, ON, YES, TRUE, Y, or any other non-zero number
- set (CMAKE_BUILD_TYPE "Debug")
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/srt.git/commitdiff/bd84ac77a5623b4c2c56673e92ee01c4dbde5543
More information about the pld-cvs-commit
mailing list