commit 2bc505ce58bb4fe8b849bafe7924f271e73b186a
Author: Jakub Bogusz <qbo...@pld-linux.org>
Date:   Mon Apr 1 21:58:59 2024 +0200

    - added jsoncpp patch to fix jsoncpp_lib target in installed cmake config 
files

 liblinphone-jsoncpp.patch | 12 ++++++++++++
 liblinphone.spec          |  2 ++
 2 files changed, 14 insertions(+)
---
diff --git a/liblinphone.spec b/liblinphone.spec
index c4f8712..cac4b05 100644
--- a/liblinphone.spec
+++ b/liblinphone.spec
@@ -17,6 +17,7 @@ Group:                Applications/Communications
 Source0:       
https://gitlab.linphone.org/BC/public/liblinphone/-/archive/%{version}/%{name}-%{version}.tar.bz2
 # Source0-md5: aa5da7c1131759bfb575276ed24f4bc1
 Patch0:                %{name}-wrappers.patch
+Patch1:                %{name}-jsoncpp.patch
 Patch4:                %{name}-zxing.patch
 URL:           https://www.linphone.org/technical-corner/liblinphone
 # base and tester components
@@ -204,6 +205,7 @@ pochodzącego z GNOME.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 %patch4 -p1
 
 %build
diff --git a/liblinphone-jsoncpp.patch b/liblinphone-jsoncpp.patch
new file mode 100644
index 0000000..5c5b695
--- /dev/null
+++ b/liblinphone-jsoncpp.patch
@@ -0,0 +1,12 @@
+--- liblinphone-5.3.32/cmake/LibLinphoneConfig.cmake.in.orig   2024-03-09 
13:44:49.000000000 +0100
++++ liblinphone-5.3.32/cmake/LibLinphoneConfig.cmake.in        2024-04-01 
07:13:16.219267313 +0200
+@@ -60,6 +60,9 @@ endif()
+ if(@Lime_FOUND@)
+       find_dependency(Lime)
+ endif()
++if(@ENABLE_FLEXIAPI@)
++      find_dependency(jsoncpp)
++endif()
+ if(@BUILD_SHARED_LIBS@)
+ else()
+       list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/liblinphone.git/commitdiff/2bc505ce58bb4fe8b849bafe7924f271e73b186a

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to