[Pkg-voip-commits] [linphone] 04/16: add patch to install linphone pkgconfig file

Johannes Schauer josch-guest at moszumanska.debian.org
Tue Apr 25 03:59:09 UTC 2017


This is an automated email from the git hooks/post-receive script.

josch-guest pushed a commit to branch master
in repository linphone.

commit c4a1fc8360d9c48e2e0221829f37f5bbfbea4a9d
Author: Johannes 'josch' Schauer <josch at mister-muffin.de>
Date:   Mon Apr 24 19:59:03 2017 +0200

    add patch to install linphone pkgconfig file
---
 debian/patches/install-pkgconfig | 17 +++++++++++++++++
 debian/patches/series            |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/install-pkgconfig b/debian/patches/install-pkgconfig
new file mode 100644
index 0000000..a6407d0
--- /dev/null
+++ b/debian/patches/install-pkgconfig
@@ -0,0 +1,17 @@
+Install linphone pkgconfig file
+
+--- a/share/CMakeLists.txt
++++ b/share/CMakeLists.txt
+@@ -70,4 +70,12 @@ if(ENABLE_GTK_UI)
+ 	)
+ endif()
+ 
++set(prefix ${CMAKE_INSTALL_PREFIX})
++set(exec_prefix ${prefix}/bin)
++set(libdir ${prefix}/lib)
++set(includedir ${prefix}/include)
++
++configure_file(${CMAKE_CURRENT_SOURCE_DIR}/linphone.pc.in ${CMAKE_CURRENT_BINARY_DIR}/linphone.pc)
++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/linphone.pc DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
++
+ add_subdirectory(rings)
diff --git a/debian/patches/series b/debian/patches/series
index 770c395..5033f3c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix-spelling-errors.patch
+install-pkgconfig

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/linphone.git



More information about the Pkg-voip-commits mailing list