Fangjun Kuang
Committed by GitHub

Fix the alsa-lib version to v1.2.12 (#1048)

@@ -40,7 +40,7 @@ jobs: @@ -40,7 +40,7 @@ jobs:
40 uses: pypa/cibuildwheel@v2.16.5 40 uses: pypa/cibuildwheel@v2.16.5
41 env: 41 env:
42 CIBW_BEFORE_ALL: | 42 CIBW_BEFORE_ALL: |
43 - git clone --depth 1 https://github.com/alsa-project/alsa-lib 43 + git clone --depth 1 --branch v1.2.12 https://github.com/alsa-project/alsa-lib
44 cd alsa-lib 44 cd alsa-lib
45 ./gitcompile 45 ./gitcompile
46 cd .. 46 cd ..
@@ -36,7 +36,7 @@ jobs: @@ -36,7 +36,7 @@ jobs:
36 uses: pypa/cibuildwheel@v2.16.5 36 uses: pypa/cibuildwheel@v2.16.5
37 env: 37 env:
38 CIBW_BEFORE_ALL: | 38 CIBW_BEFORE_ALL: |
39 - git clone --depth 1 https://github.com/alsa-project/alsa-lib 39 + git clone --depth 1 --branch v1.2.12 https://github.com/alsa-project/alsa-lib
40 cd alsa-lib 40 cd alsa-lib
41 ./gitcompile 41 ./gitcompile
42 cd .. 42 cd ..
@@ -60,7 +60,7 @@ jobs: @@ -60,7 +60,7 @@ jobs:
60 60
61 cd /home/runner/work/sherpa-onnx/sherpa-onnx 61 cd /home/runner/work/sherpa-onnx/sherpa-onnx
62 62
63 - git clone --depth 1 https://github.com/alsa-project/alsa-lib 63 + git clone --depth 1 --branch v1.2.12 https://github.com/alsa-project/alsa-lib
64 pushd alsa-lib 64 pushd alsa-lib
65 ./gitcompile 65 ./gitcompile
66 popd 66 popd
@@ -88,7 +88,7 @@ jobs: @@ -88,7 +88,7 @@ jobs:
88 88
89 cd /home/runner/work/sherpa-onnx/sherpa-onnx 89 cd /home/runner/work/sherpa-onnx/sherpa-onnx
90 90
91 - git clone --depth 1 https://github.com/alsa-project/alsa-lib 91 + git clone --depth 1 --branch v1.2.12 https://github.com/alsa-project/alsa-lib
92 pushd alsa-lib 92 pushd alsa-lib
93 ./gitcompile 93 ./gitcompile
94 popd 94 popd
@@ -23,7 +23,7 @@ cd $dir @@ -23,7 +23,7 @@ cd $dir
23 if [ ! -f alsa-lib/src/.libs/libasound.so ]; then 23 if [ ! -f alsa-lib/src/.libs/libasound.so ]; then
24 echo "Start to cross-compile alsa-lib" 24 echo "Start to cross-compile alsa-lib"
25 if [ ! -d alsa-lib ]; then 25 if [ ! -d alsa-lib ]; then
26 - git clone --depth 1 https://github.com/alsa-project/alsa-lib 26 + git clone --depth 1 --branch v1.2.12 https://github.com/alsa-project/alsa-lib
27 fi 27 fi
28 # If it shows: 28 # If it shows:
29 # ./gitcompile: line 79: libtoolize: command not found 29 # ./gitcompile: line 79: libtoolize: command not found
@@ -23,7 +23,7 @@ cd $dir @@ -23,7 +23,7 @@ cd $dir
23 if [ ! -f alsa-lib/src/.libs/libasound.so ]; then 23 if [ ! -f alsa-lib/src/.libs/libasound.so ]; then
24 echo "Start to cross-compile alsa-lib" 24 echo "Start to cross-compile alsa-lib"
25 if [ ! -d alsa-lib ]; then 25 if [ ! -d alsa-lib ]; then
26 - git clone --depth 1 https://github.com/alsa-project/alsa-lib 26 + git clone --depth 1 --branch v1.2.12 https://github.com/alsa-project/alsa-lib
27 fi 27 fi
28 pushd alsa-lib 28 pushd alsa-lib
29 CC=arm-linux-gnueabihf-gcc ./gitcompile --host=arm-linux-gnueabihf 29 CC=arm-linux-gnueabihf-gcc ./gitcompile --host=arm-linux-gnueabihf
@@ -26,7 +26,7 @@ cd $dir @@ -26,7 +26,7 @@ cd $dir
26 if [ ! -f alsa-lib/src/.libs/libasound.so ]; then 26 if [ ! -f alsa-lib/src/.libs/libasound.so ]; then
27 echo "Start to cross-compile alsa-lib" 27 echo "Start to cross-compile alsa-lib"
28 if [ ! -d alsa-lib ]; then 28 if [ ! -d alsa-lib ]; then
29 - git clone --depth 1 https://github.com/alsa-project/alsa-lib 29 + git clone --depth 1 --branch v1.2.12 https://github.com/alsa-project/alsa-lib
30 fi 30 fi
31 # If it shows: 31 # If it shows:
32 # ./gitcompile: line 79: libtoolize: command not found 32 # ./gitcompile: line 79: libtoolize: command not found