File search-for-farstream0.2.diff of Package telepathy-qt4
diff --git a/cmake/modules/FindFarstream.cmake b/cmake/modules/FindFarstream.cmake
index de42c29..33139c3 100644
--- a/cmake/modules/FindFarstream.cmake
+++ b/cmake/modules/FindFarstream.cmake
@@ -23,9 +23,9 @@ if (NOT WIN32)
# in the find_path() and find_library() calls
find_package(PkgConfig)
if (FARSTREAM_MIN_VERSION)
- PKG_CHECK_MODULES(PC_FARSTREAM farstream-0.2>=${FARSTREAM_MIN_VERSION})
+ PKG_CHECK_MODULES(PC_FARSTREAM farstream-0.1>=${FARSTREAM_MIN_VERSION})
else (FARSTREAM_MIN_VERSION)
- PKG_CHECK_MODULES(PC_FARSTREAM farstream-0.2)
+ PKG_CHECK_MODULES(PC_FARSTREAM farstream-0.1)
endif (FARSTREAM_MIN_VERSION)
set(FARSTREAM_DEFINITIONS ${PC_FARSTREAM_CFLAGS_OTHER})
endif (NOT WIN32)
@@ -34,10 +34,10 @@ find_path(FARSTREAM_INCLUDE_DIR farstrea
PATHS
${PC_FARSTREAM_INCLUDEDIR}
${PC_FARSTREAM_INCLUDE_DIRS}
- PATH_SUFFIXES farstream-0.2
+ PATH_SUFFIXES farstream-0.1
)
-find_library(FARSTREAM_LIBRARIES NAMES farstream-0.2
+find_library(FARSTREAM_LIBRARIES NAMES farstream-0.1
PATHS
${PC_FARSTREAM_LIBDIR}
${PC_FARSTREAM_LIBRARY_DIRS}
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f112892..2e9aabb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -206,7 +206,7 @@ endif()
if(ENABLE_FARSTREAM)
# Find tp-farstream
- set(FARSTREAM_MIN_VERSION "0.2.0")
+ set(FARSTREAM_MIN_VERSION "0.1.0")
find_package(Farstream)
macro_log_feature(FARSTREAM_FOUND "Farstream"
"A Framework for dealing with audio/video conferencing protocols"
@@ -214,7 +214,7 @@ if(ENABLE_FARSTREAM)
"Needed, together with GStreamer and Telepathy-Farstream, to build telepathy-qt-farstream")
# Find tp-farstream
- set(TELEPATHY_FARSTREAM_MIN_VERSION "0.6.0")
+ set(TELEPATHY_FARSTREAM_MIN_VERSION "0.2.2")
find_package(TelepathyFarstream)
macro_log_feature(TELEPATHYFARSTREAM_FOUND "Telepathy-Farstream"
"A Framework for dealing with audio/video conferencing protocols"