sip-lab 1.12.4 → 1.12.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/install.sh +24 -20
  2. package/package.json +1 -1
package/install.sh CHANGED
@@ -24,6 +24,28 @@ then
24
24
  fi
25
25
 
26
26
 
27
+ cd $START_DIR/3rdParty
28
+ if [[ ! -d rapidjson ]]
29
+ then
30
+ git clone https://github.com/Tencent/rapidjson
31
+ cd rapidjson
32
+ git checkout 27c3a8dc0e2c9218fe94986d249a12b5ed838f1d
33
+ fi
34
+
35
+
36
+ cd $START_DIR/3rdParty
37
+ if [[ ! -d bcg729 ]]
38
+ then
39
+ git clone https://github.com/MayamaTakeshi/bcg729
40
+ cd bcg729
41
+ git checkout faaa895862165acde6df8add722ba4f85a25007d
42
+ cmake .
43
+ make
44
+ mkdir -p lib
45
+ cp -f src/libbcg729.a lib
46
+ fi
47
+
48
+
27
49
  cd $START_DIR/3rdParty
28
50
  if [[ ! -d pjproject ]]
29
51
  then
@@ -40,7 +62,8 @@ then
40
62
  export LDFLAGS +=
41
63
  EOF
42
64
 
43
- ./configure --with-bcg729
65
+ sed -i -r 's/BCG729_LIBS="-lbcg729"/BCG729_LIBS=''/' aconfigure
66
+ LIBS=`pwd`/../bcg729/src/libbcg729.a ./configure --with-bcg729=`pwd`/../bcg729
44
67
  cat > pjlib/include/pj/config_site.h <<EOF
45
68
  #define PJMEDIA_HAS_SRTP 0
46
69
  EOF
@@ -48,25 +71,6 @@ EOF
48
71
  fi
49
72
 
50
73
 
51
- cd $START_DIR/3rdParty
52
- if [[ ! -d rapidjson ]]
53
- then
54
- git clone https://github.com/Tencent/rapidjson
55
- cd rapidjson
56
- git checkout 27c3a8dc0e2c9218fe94986d249a12b5ed838f1d
57
- fi
58
-
59
-
60
- cd $START_DIR/3rdParty
61
- if [[ ! -d bcg729 ]]
62
- then
63
- git clone https://github.com/MayamaTakeshi/bcg729
64
- cd bcg729
65
- git checkout faaa895862165acde6df8add722ba4f85a25007d
66
- cmake .
67
- make
68
- fi
69
-
70
74
 
71
75
  cd $START_DIR
72
76
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sip-lab",
3
- "version": "1.12.4",
3
+ "version": "1.12.5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "engines": {