Description: Add libpulse-simple dependency to cmtspeech-ofono
Author: Sebastian Reichel <sre@debian.org>
Last-Update: 2016-07-21

Index: libcmtspeechdata/Makefile.am
===================================================================
--- libcmtspeechdata.orig/Makefile.am
+++ libcmtspeechdata/Makefile.am
@@ -115,9 +115,11 @@ utils_cmtspeech_ramp_test_LDADD = \
 
 utils_cmtspeech_ofono_test_SOURCES = utils/cmtspeech_ofono_test.c
 utils_cmtspeech_ofono_test_CFLAGS = \
-			@DBUS_CFLAGS@
+			@DBUS_CFLAGS@ \
+			@PULSE_CFLAGS@
 utils_cmtspeech_ofono_test_LDADD = \
 			@DBUS_LIBS@ \
+			@PULSE_LIBS@ \
 			libcmtspeechdata.la
 
 # pkg-config
Index: libcmtspeechdata/configure.ac
===================================================================
--- libcmtspeechdata.orig/configure.ac
+++ libcmtspeechdata/configure.ac
@@ -86,6 +86,10 @@ PKG_CHECK_MODULES([DBUS], [dbus-1 >= 1.0
 AC_SUBST(DBUS_CFLAGS)
 AC_SUBST(DBUS_LIBS)
 
+PKG_CHECK_MODULES([PULSE], [libpulse-simple >= 9.0])
+AC_SUBST(PULSE_CFLAGS)
+AC_SUBST(PULSE_LIBS)
+
 dnl note: this affects the main library build (the dummy
 dnl       library is built always under dummy-backend/ )
 default_backend="nokiamodem"
