[packages/ortp] - updated to 5.1.72 (last GPL-licensed version)
qboosh
qboosh at pld-linux.org
Sun Apr 9 22:01:23 CEST 2023
commit 84a791b535940b921f5f6f6327ccdef08b333b66
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Apr 9 22:03:42 2023 +0200
- updated to 5.1.72 (last GPL-licensed version)
ortp-pc.patch | 34 +++++++++++++++++-----------------
ortp.spec | 9 ++++-----
2 files changed, 21 insertions(+), 22 deletions(-)
---
diff --git a/ortp.spec b/ortp.spec
index b585a94..0ca44ce 100644
--- a/ortp.spec
+++ b/ortp.spec
@@ -5,13 +5,14 @@
Summary: RTP/RTCP protocol library
Summary(pl.UTF-8): Biblioteka obsługująca protokół RTP/RTCP
Name: ortp
-Version: 4.5.20
+# note: 5.2.x is AGPL-licensed; see DEVEL-5.2 branch
+Version: 5.1.72
Release: 1
License: GPL v3+
Group: Libraries
#Source0Download: https://gitlab.linphone.org/BC/public/ortp/tags
Source0: https://gitlab.linphone.org/BC/public/ortp/-/archive/%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5: 1fe62e2503eb17a427bf9d2306d2a755
+# Source0-md5: 4f6998df5aaa88d3bb538d7aede36686
Patch0: %{name}-am.patch
Patch1: %{name}-pc.patch
URL: http://www.linphone.org/technical-corner/ortp
@@ -96,9 +97,7 @@ rm -rf $RPM_BUILD_ROOT
DESTDIR=$RPM_BUILD_ROOT
# packaged as %doc
-%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/ortp-.
-# packaged as %doc in -apidocs
-%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/ortp-4.5.0
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/ortp-5.1.0
# disable completeness check incompatible with split packaging
%{__sed} -i -e '/^foreach(target .*IMPORT_CHECK_TARGETS/,/^endforeach/d; /^unset(_IMPORT_CHECK_TARGETS)/d' $RPM_BUILD_ROOT%{_libdir}/cmake/ortp/ortpTargets.cmake
diff --git a/ortp-pc.patch b/ortp-pc.patch
index 370b27b..76b2e10 100644
--- a/ortp-pc.patch
+++ b/ortp-pc.patch
@@ -1,17 +1,17 @@
---- ortp-4.5.15/CMakeLists.txt.orig 2021-03-23 14:09:09.000000000 +0100
-+++ ortp-4.5.15/CMakeLists.txt 2021-06-14 06:27:02.859775151 +0200
-@@ -190,11 +190,11 @@
-
-
- set(prefix ${CMAKE_INSTALL_PREFIX})
--set(exec_prefix ${prefix}/bin)
--set(libdir ${prefix}/lib)
-+set(exec_prefix ${prefix})
-+set(libdir ${prefix}/lib${LIB_SUFFIX})
- set(includedir ${prefix}/include)
- set(ORTP_PKGCONFIG_VERSION "${ORTP_VERSION}")
--set(ORTPDEPS_LIBS )
-+set(ORTPDEPS_LIBS -lbctoolbox)
-
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/ortp.pc.in ${CMAKE_CURRENT_BINARY_DIR}/ortp.pc)
- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ortp.pc DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
+--- ortp-5.1.72/CMakeLists.txt.orig 2023-04-09 21:59:31.773752891 +0200
++++ ortp-5.1.72/CMakeLists.txt 2023-04-09 22:00:07.306893725 +0200
+@@ -203,11 +203,11 @@ endif()
+
+
+ set(prefix ${CMAKE_INSTALL_PREFIX})
+-set(exec_prefix ${prefix}/bin)
+-set(libdir ${prefix}/lib)
++set(exec_prefix ${prefix})
++set(libdir ${prefix}/lib${LIB_SUFFIX})
+ set(includedir ${prefix}/include)
+ set(ORTP_PKGCONFIG_VERSION "${ORTP_VERSION}")
+-set(ORTPDEPS_LIBS )
++set(ORTPDEPS_LIBS -lbctoolbox)
+
+ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/ortp.pc.in ${CMAKE_CURRENT_BINARY_DIR}/ortp.pc)
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ortp.pc DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ortp.git/commitdiff/84a791b535940b921f5f6f6327ccdef08b333b66
More information about the pld-cvs-commit
mailing list