summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2021-12-22 16:30:36 +0900
committerSlávek Banko <slavek.banko@axis.cz>2021-12-23 04:25:46 +0100
commit9acff1e74573dac614d3560dff8b3f4a0c80d054 (patch)
tree9734d211b647dc5ec505ff7639cf1bd459c25349
parentc81b37199d4c54ac075aeffa2718862946772934 (diff)
downloadtdenetwork-9acff1e74573dac614d3560dff8b3f4a0c80d054.tar.gz
tdenetwork-9acff1e74573dac614d3560dff8b3f4a0c80d054.zip
kopete: update include path for speex>=1.0.5
Header files of `speex` are installed in sub directory since 1.0.4, and speex>=1.0.5 is required for libjingle using speex. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 000f9cdfa9920377350eda9de9f1db249f79d779)
-rw-r--r--kopete/protocols/jabber/jingle/libjingle/talk/ConfigureChecks.cmake5
-rw-r--r--kopete/protocols/jabber/jingle/libjingle/talk/session/phone/portaudiomediaengine.cpp2
-rw-r--r--kopete/protocols/jabber/jingle/libjingle/talk/session/phone/portaudiomediaengine.h2
-rw-r--r--kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/msspeexdec.h2
-rw-r--r--kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/msspeexenc.h2
5 files changed, 5 insertions, 8 deletions
diff --git a/kopete/protocols/jabber/jingle/libjingle/talk/ConfigureChecks.cmake b/kopete/protocols/jabber/jingle/libjingle/talk/ConfigureChecks.cmake
index 396efa92..6752f3b3 100644
--- a/kopete/protocols/jabber/jingle/libjingle/talk/ConfigureChecks.cmake
+++ b/kopete/protocols/jabber/jingle/libjingle/talk/ConfigureChecks.cmake
@@ -25,12 +25,9 @@ endif( )
# speex
if( WITH_SPEEX )
- pkg_search_module( SPEEX speex )
+ pkg_search_module( SPEEX speex>=1.0.5 )
if( SPEEX_FOUND )
set( HAVE_SPEEX 1 CACHE INTERNAL "" FORCE )
- if( NOT SPEEX_INCLUDE_DIRS )
- set( SPEEX_INCLUDE_DIRS "/usr/include/speex" )
- endif( )
else( )
tde_message_fatal( "speex is required, but was not found on your system" )
endif( )
diff --git a/kopete/protocols/jabber/jingle/libjingle/talk/session/phone/portaudiomediaengine.cpp b/kopete/protocols/jabber/jingle/libjingle/talk/session/phone/portaudiomediaengine.cpp
index 93cc24c3..3295b146 100644
--- a/kopete/protocols/jabber/jingle/libjingle/talk/session/phone/portaudiomediaengine.cpp
+++ b/kopete/protocols/jabber/jingle/libjingle/talk/session/phone/portaudiomediaengine.cpp
@@ -1,6 +1,6 @@
#include <portaudio.h>
#include <ortp.h>
-#include <speex.h>
+#include <speex/speex.h>
// Socket stuff
#ifndef _WIN32
diff --git a/kopete/protocols/jabber/jingle/libjingle/talk/session/phone/portaudiomediaengine.h b/kopete/protocols/jabber/jingle/libjingle/talk/session/phone/portaudiomediaengine.h
index b3bea30f..63c46fc5 100644
--- a/kopete/protocols/jabber/jingle/libjingle/talk/session/phone/portaudiomediaengine.h
+++ b/kopete/protocols/jabber/jingle/libjingle/talk/session/phone/portaudiomediaengine.h
@@ -2,7 +2,7 @@
#define PORTAUDIOMEDIAENGINE_H
#include <portaudio.h>
-#include <speex.h>
+#include <speex/speex.h>
#include <ortp.h>
#include "talk/session/phone/mediaengine.h"
diff --git a/kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/msspeexdec.h b/kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/msspeexdec.h
index 6ad1aba9..be8e6a43 100644
--- a/kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/msspeexdec.h
+++ b/kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/msspeexdec.h
@@ -23,7 +23,7 @@
#define MSSPEEXDEC_H
#include <mscodec.h>
-#include <speex.h>
+#include <speex/speex.h>
#if defined(__cplusplus)
extern "C" {
diff --git a/kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/msspeexenc.h b/kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/msspeexenc.h
index f63edfcd..cd0499eb 100644
--- a/kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/msspeexenc.h
+++ b/kopete/protocols/jabber/jingle/libjingle/talk/third_party/mediastreamer/msspeexenc.h
@@ -23,7 +23,7 @@
#define MSSPEEXENC_H
#include <mscodec.h>
-#include <speex.h>
+#include <speex/speex.h>
struct _MSSpeexEnc
{