Browse Source

fix the version of alsa-lib (#348)

Fangjun Kuang 1 year ago
parent
commit
661b4e715c

+ 1 - 1
.github/workflows/build-wheels-aarch64.yaml

@@ -39,7 +39,7 @@ jobs:
         uses: pypa/cibuildwheel@v2.15.0
         env:
           CIBW_BEFORE_ALL: |
-            git clone --depth 1 https://github.com/alsa-project/alsa-lib
+            git clone --depth 1 --branch v1.2.12 https://github.com/alsa-project/alsa-lib
             cd alsa-lib
             ./gitcompile
             cd ..

+ 1 - 1
.github/workflows/build-wheels-linux.yaml

@@ -34,7 +34,7 @@ jobs:
         uses: pypa/cibuildwheel@v2.15.0
         env:
           CIBW_BEFORE_ALL: |
-            git clone --depth 1 https://github.com/alsa-project/alsa-lib
+            git clone --depth 1 --branch v1.2.12 https://github.com/alsa-project/alsa-lib
             cd alsa-lib
             ./gitcompile
             cd ..

+ 1 - 1
build-aarch64-linux-gnu.sh

@@ -17,7 +17,7 @@ cd $dir
 if [ ! -f alsa-lib/src/.libs/libasound.so ]; then
   echo "Start to cross-compile alsa-lib"
   if [ ! -d alsa-lib ]; then
-    git clone --depth 1 https://github.com/alsa-project/alsa-lib
+    git clone --depth 1 --branch v1.2.12 https://github.com/alsa-project/alsa-lib
   fi
   # If it shows:
   #  ./gitcompile: line 79: libtoolize: command not found

+ 1 - 1
build-arm-linux-gnueabihf.sh

@@ -17,7 +17,7 @@ cd $dir
 if [ ! -f alsa-lib/src/.libs/libasound.so ]; then
   echo "Start to cross-compile alsa-lib"
   if [ ! -d alsa-lib ]; then
-    git clone --depth 1 https://github.com/alsa-project/alsa-lib
+    git clone --depth 1 --branch v1.2.12 https://github.com/alsa-project/alsa-lib
   fi
   pushd alsa-lib
   CC=arm-linux-gnueabihf-gcc ./gitcompile --host=arm-linux-gnueabihf

+ 1 - 1
build-riscv64-linux-gnu.sh

@@ -18,7 +18,7 @@ cd $dir
 if [ ! -f alsa-lib/src/.libs/libasound.so ]; then
   echo "Start to cross-compile alsa-lib"
   if [ ! -d alsa-lib ]; then
-    git clone --depth 1 https://github.com/alsa-project/alsa-lib
+    git clone --depth 1 --branch v1.2.12 https://github.com/alsa-project/alsa-lib
   fi
   # If it shows:
   #  ./gitcompile: line 79: libtoolize: command not found