]> git.pld-linux.org Git - packages/asterisk.git/blob - asterisk-opus.patch
- rebuild with mysql 5.7
[packages/asterisk.git] / asterisk-opus.patch
1 --- a/build_tools/menuselect-deps.in
2 +++ b/build_tools/menuselect-deps.in
3 @@ -45,6 +45,7 @@ NEON29=@PBX_NEON29@
4  OGG=@PBX_OGG@
5  OPENH323=@PBX_OPENH323@
6  OPUS=@PBX_OPUS@
7 +OPUSFILE=@PBX_OPUSFILE@
8  OSPTK=@PBX_OSPTK@
9  OSS=@PBX_OSS@
10  PGSQL=@PBX_PGSQL@
11 --- a/configure.ac
12 +++ b/configure.ac
13 @@ -468,6 +468,7 @@ AST_EXT_LIB_SETUP([NEWT], [newt], [newt])
14  AST_EXT_LIB_SETUP([OGG], [OGG], [ogg])
15  AST_EXT_LIB_SETUP([OPENR2], [MFR2], [openr2])
16  AST_EXT_LIB_SETUP([OPUS], [Opus], [opus])
17 +AST_EXT_LIB_SETUP([OPUSFILE], [Opusfile], [opusfile])
18  AST_EXT_LIB_SETUP([OSPTK], [OSP Toolkit], [osptk])
19  AST_EXT_LIB_SETUP([OSS], [Open Sound System], [oss])
20  AST_EXT_LIB_SETUP([PGSQL], [PostgreSQL], [postgres])
21 @@ -2293,6 +2294,13 @@ AST_EXT_LIB_CHECK([SS7], [ss7], [ss7_set_isup_timer], [libss7.h])
22  AST_EXT_LIB_CHECK([OPENR2], [openr2], [openr2_chan_new], [openr2.h])
23  
24  AST_EXT_LIB_CHECK([OPUS], [opus], [opus_encoder_create], [opus/opus.h])
25 +# opusfile.h includes <opus_multistream.h> so we need to make sure that
26 +# either $OPUS_INCLUDE or /usr/include/opus is added to the search path.
27 +__opus_include=${OPUS_INCLUDE}
28 +if test -z "$__opus_include" -o x"$__opus_include" = x" " ; then
29 +       __opus_include=-I/usr/include/opus
30 +fi
31 +AST_EXT_LIB_CHECK([OPUSFILE], [opusfile], [op_open_callbacks], [opus/opusfile.h], [], [$__opus_include])
32  
33  if test "${USE_PWLIB}" != "no"; then
34         if test -n "${PWLIB_DIR}"; then
35 --- a/makeopts.in
36 +++ b/makeopts.in
37 @@ -223,6 +223,9 @@ OGG_LIB=@OGG_LIB@
38  OPUS_INCLUDE=@OPUS_INCLUDE@
39  OPUS_LIB=@OPUS_LIB@
40  
41 +OPUSFILE_INCLUDE=@OPUSFILE_INCLUDE@
42 +OPUSFILE_LIB=@OPUSFILE_LIB@
43 +
44  OSPTK_INCLUDE=@OSPTK_INCLUDE@
45  OSPTK_LIB=@OSPTK_LIB@
46  
This page took 0.038403 seconds and 3 git commands to generate.