[packages/bzrtp] - updated to 5.2.49
qboosh
qboosh at pld-linux.org
Sun Apr 9 20:49:51 CEST 2023
commit 2f90c89e7d91cdd99f8a144b7da87cf78441c139
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Apr 9 20:52:25 2023 +0200
- updated to 5.2.49
bzrtp-static.patch | 18 +++++++++++-------
bzrtp.spec | 4 ++--
2 files changed, 13 insertions(+), 9 deletions(-)
---
diff --git a/bzrtp.spec b/bzrtp.spec
index eca8987..476c1c5 100644
--- a/bzrtp.spec
+++ b/bzrtp.spec
@@ -5,13 +5,13 @@
Summary: Open source implementation of ZRTP keys exchange protocol
Summary(pl.UTF-8): Mająca otwarte źródła implementacja protokołu wymiany kluczy ZRTP
Name: bzrtp
-Version: 4.5.20
+Version: 5.2.49
Release: 1
License: GPL v3+
Group: Libraries
#Source0Download: https://gitlab.linphone.org/BC/public/bzrtp/tags
Source0: https://gitlab.linphone.org/BC/public/bzrtp/-/archive/%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5: a702edc1182579acb82d9456f6e35e88
+# Source0-md5: 30ed3cd6347609129eb71a3b7246eee0
Patch0: %{name}-static.patch
URL: http://www.linphone.org/
BuildRequires: CUnit
diff --git a/bzrtp-static.patch b/bzrtp-static.patch
index 50523e5..305c469 100644
--- a/bzrtp-static.patch
+++ b/bzrtp-static.patch
@@ -1,20 +1,24 @@
---- bzrtp-4.5.15/src/CMakeLists.txt.orig 2021-01-07 21:55:30.000000000 +0100
-+++ bzrtp-4.5.15/src/CMakeLists.txt 2021-06-15 20:01:07.586594468 +0200
-@@ -55,13 +55,13 @@
+--- bzrtp-5.2.49/src/CMakeLists.txt.orig 2023-04-09 20:47:59.297007234 +0200
++++ bzrtp-5.2.49/src/CMakeLists.txt 2023-04-09 20:50:27.739536385 +0200
+@@ -54,16 +54,16 @@ if(XML2_FOUND)
endif()
if(ENABLE_STATIC)
-- add_library(bzrtp STATIC ${SOURCE_FILES})
+- add_library(bzrtp STATIC ${BZRTP_SOURCE_FILES})
- set_target_properties(bzrtp PROPERTIES OUTPUT_NAME bzrtp)
- target_include_directories(bzrtp INTERFACE
-+ add_library(bzrtp-static STATIC ${SOURCE_FILES})
++ add_library(bzrtp-static STATIC ${BZRTP_SOURCE_FILES})
+ set_target_properties(bzrtp-static PROPERTIES OUTPUT_NAME bzrtp)
+ target_include_directories(bzrtp-static INTERFACE
$<INSTALL_INTERFACE:include>
PRIVATE ${INCLUDE_DIRS})
-- target_link_libraries(bzrtp PUBLIC bctoolbox ${LIBS})
+- target_link_libraries(bzrtp PRIVATE bctoolbox ${LIBS})
++ target_link_libraries(bzrtp-static PRIVATE bctoolbox ${LIBS})
+ if (postquantumcryptoengine_FOUND)
+- target_link_libraries(bzrtp PRIVATE postquantumcryptoengine)
++ target_link_libraries(bzrtp-static PRIVATE postquantumcryptoengine)
+ endif()
- install(TARGETS bzrtp EXPORT ${EXPORT_TARGETS_NAME}Targets
-+ target_link_libraries(bzrtp-static PUBLIC bctoolbox ${LIBS})
+ install(TARGETS bzrtp-static EXPORT ${EXPORT_TARGETS_NAME}Targets
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/bzrtp.git/commitdiff/2f90c89e7d91cdd99f8a144b7da87cf78441c139
More information about the pld-cvs-commit
mailing list