commit 85803976753330d5ba4bdabb86300ef500478549
Author: Jakub Bogusz <[email protected]>
Date:   Fri Apr 21 19:14:08 2023 +0200

    - updated to 5.0.15

 linphone-no-sdk.patch | 12 ++++++------
 linphone.spec         | 31 ++++++++++++++++---------------
 2 files changed, 22 insertions(+), 21 deletions(-)
---
diff --git a/linphone.spec b/linphone.spec
index 7b39656..e3f5a53 100644
--- a/linphone.spec
+++ b/linphone.spec
@@ -1,14 +1,14 @@
 Summary:       Linphone Internet Phone
 Summary(pl.UTF-8):     Linphone - telefon internetowy
 Name:          linphone
-# 5.0+ requires SDK v5.2, which is partially on AGPL (see DEVEL-5 branch)
-Version:       4.4.11
+Version:       5.0.15
 Release:       1
-License:       GPL v3+ or proprietary
+# linphone itself is GPL, but ortp+mediastreamer+liblinphone 5.2 are AGPL
+License:       GPL v3+/AGPL v3+ or proprietary
 Group:         Applications/Communications
 #Source0Download: https://gitlab.linphone.org/BC/public/linphone-desktop/-/tags
 Source0:       
https://gitlab.linphone.org/BC/public/linphone-desktop/-/archive/%{version}/linphone-desktop-%{version}.tar.bz2
-# Source0-md5: 89948a7412880c6393b3254fb99c50ef
+# Source0-md5: f2e6513759255f2c24323af7f403ab34
 Patch0:                %{name}-no-sdk.patch
 Patch1:                %{name}-cmake.patch
 Patch2:                %{name}-install.patch
@@ -24,24 +24,24 @@ BuildRequires:      Qt5Quick-controls2-devel >= 5.12
 BuildRequires: Qt5Speech-devel >= 5.12
 BuildRequires: Qt5Svg-devel >= 5.12
 BuildRequires: Qt5Widgets-devel >= 5.12
-BuildRequires: bctoolbox-devel >= 0.0.3
-BuildRequires: belcard-devel >= 5.1
+BuildRequires: bctoolbox-devel >= 5.2
+BuildRequires: belcard-devel >= 5.2
 BuildRequires: cmake >= 3.1
 BuildRequires: doxygen
-BuildRequires: liblinphone-devel >= 5.1
-BuildRequires: liblinphone-c++-devel >= 5.1
+BuildRequires: liblinphone-devel >= 5.2
+BuildRequires: liblinphone-c++-devel >= 5.2
 BuildRequires: libstdc++-devel >= 6:4.7
-BuildRequires: mediastreamer-devel >= 5.1
-BuildRequires: ortp-devel >= 5.1
+BuildRequires: mediastreamer-devel >= 5.2
+BuildRequires: ortp-devel >= 5.2
 BuildRequires: pkgconfig
 BuildRequires: qt5-build >= 5.12
 BuildRequires: qt5-linguist >= 5.12
 BuildRequires: rpmbuild(macros) >= 1.605
-Requires:      belcard >= 5.1
-Requires:      liblinphone >= 5.1
-Requires:      liblinphone-c++ >= 5.1
-Requires:      mediastreamer >= 5.1
-Requires:      ortp >= 5.1
+Requires:      belcard >= 5.2
+Requires:      liblinphone >= 5.2
+Requires:      liblinphone-c++ >= 5.2
+Requires:      mediastreamer >= 5.2
+Requires:      ortp >= 5.2
 Obsoletes:     linphoneqt < 4.2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -124,6 +124,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_iconsdir}/hicolor/scalable/apps/linphone.svg
 %{_datadir}/linphone/assistant
 %dir %{_datadir}/linphone/languages
+%lang(cs) %{_datadir}/linphone/languages/cs.qm
 %lang(da) %{_datadir}/linphone/languages/da.qm
 %lang(de) %{_datadir}/linphone/languages/de.qm
 %{_datadir}/linphone/languages/en.qm
diff --git a/linphone-no-sdk.patch b/linphone-no-sdk.patch
index c14b0d2..f4ebaea 100644
--- a/linphone-no-sdk.patch
+++ b/linphone-no-sdk.patch
@@ -1,6 +1,6 @@
---- 
linphone-desktop-4.4.11/linphone-app/cmake_builder/linphone_package/CMakeLists.txt.orig
    2022-11-03 08:37:39.000000000 +0100
-+++ 
linphone-desktop-4.4.11/linphone-app/cmake_builder/linphone_package/CMakeLists.txt
 2023-04-19 22:47:47.690707946 +0200
-@@ -231,7 +231,9 @@ else()# Not Windows and Apple
+--- 
linphone-desktop-5.0.15/linphone-app/cmake_builder/linphone_package/CMakeLists.txt.orig
    2023-04-11 15:14:58.000000000 +0200
++++ 
linphone-desktop-5.0.15/linphone-app/cmake_builder/linphone_package/CMakeLists.txt
 2023-04-19 21:14:24.354397157 +0200
+@@ -241,7 +241,9 @@ else()# Not Windows and Apple
                execute_process(COMMAND install_name_tool -rpath 
"${LINPHONE_OUTPUT_DIR}/${CMAKE_INSTALL_LIBDIR}" "$ORIGIN/../lib" "${LIBRARY}")
                execute_process(COMMAND install_name_tool -addrpath 
"$ORIGIN/../lib64" "${LIBRARY}")
        endforeach ()
@@ -10,15 +10,15 @@
  #Just in case. This is useless because we have to use CMAKE_INSTALL_LIBDIR
        if( EXISTS "${LINPHONE_OUTPUT_DIR}/lib/")
                file(GLOB SHARED_LIBRARIES "${LINPHONE_OUTPUT_DIR}/lib/*.so*")
-@@ -257,6 +259,7 @@ else()# Not Windows and Apple
+@@ -267,6 +269,7 @@ else()# Not Windows and Apple
                endif()
                install(FILES ${SHARED_LIBRARIES} DESTINATION "lib64")
        endif()
 +      if (EXISTS "${LINPHONE_OUTPUT_DIR}/${CMAKE_INSTALL_DATAROOTDIR}")
-       install(DIRECTORY 
"${LINPHONE_OUTPUT_DIR}/${CMAKE_INSTALL_DATAROOTDIR}/" DESTINATION 
"${CMAKE_INSTALL_DATAROOTDIR}" USE_SOURCE_PERMISSIONS)
        install(DIRECTORY 
"${LINPHONE_OUTPUT_DIR}/${CMAKE_INSTALL_DATAROOTDIR}/" DESTINATION 
"${CMAKE_INSTALL_DATAROOTDIR}" USE_SOURCE_PERMISSIONS
                        PATTERN "linphone" EXCLUDE
-@@ -268,8 +271,11 @@ else()# Not Windows and Apple
+                       PATTERN "sounds" EXCLUDE
+@@ -284,8 +287,11 @@ else()# Not Windows and Apple
        if(ENABLE_BUILD_VERBOSE)
                message("INSTALLATION : 
${LINPHONE_OUTPUT_DIR}/${CMAKE_INSTALL_DATAROOTDIR}/" )
        endif()
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/linphone.git/commitdiff/85803976753330d5ba4bdabb86300ef500478549

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to