Skip to content
This repository was archived by the owner on May 11, 2025. It is now read-only.

Commit 571c03f

Browse files
committed
Update vpx to 1.9.0, switch back to tar.gz
1 parent aa24f87 commit 571c03f

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ jobs:
1414
- uses: actions/setup-python@v1
1515
with:
1616
python-version: 3.8
17-
- name: Install yasm
17+
- name: Install yasm (macos)
18+
if: matrix.os == 'macos-latest'
19+
run: |
20+
brew update
21+
brew install yasm
22+
- name: Install yasm (windows)
1823
if: matrix.os == 'windows-latest'
1924
run: curl -L -o 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\yasm.exe' http://www.tortall.net/projects/yasm/releases/yasm-1.3.0-win64.exe
2025
- name: Build codecs

scripts/build-codecs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ extract() {
3333

3434
if [ "`uname`" = "Linux" ]; then
3535
outputdir=/output
36-
outputfile=$outputdir/codecs-manylinux_$(uname -m).tar.bz2
36+
outputfile=$outputdir/codecs-manylinux_$(uname -m).tar.gz
3737
elif [ "`uname`" = "Darwin" ]; then
3838
outputdir=`pwd`/output
39-
outputfile=$outputdir/codecs-macosx_$(uname -m).tar.bz2
39+
outputfile=$outputdir/codecs-macosx_$(uname -m).tar.gz
4040
else
4141
echo "Unknown platform"
4242
exit 1
@@ -49,7 +49,7 @@ if [ ! -e $outputfile ]; then
4949
cd $builddir
5050

5151
# build vpx
52-
extract vpx https://github.com/webmproject/libvpx/archive/v1.8.2.tar.gz
52+
extract vpx https://github.com/webmproject/libvpx/archive/v1.9.0.tar.gz
5353
cd vpx
5454
./configure --prefix=$destdir --disable-examples --disable-tools --disable-unit-tests --enable-pic
5555
make -j
@@ -64,5 +64,5 @@ if [ ! -e $outputfile ]; then
6464
make install
6565
cd ..
6666

67-
tar cjvf $outputfile -C $destdir include lib
67+
tar czvf $outputfile -C $destdir include lib
6868
fi

scripts/build-codecs.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
set destdir=%1
22

3-
set outputfile=output\codecs-win%PYTHON_ARCH%.tar.bz2
3+
set outputfile=output\codecs-win%PYTHON_ARCH%.tar.gz
44
if "%PYTHON_ARCH%" == "64" (
55
set triplet=x64-windows-static
66
) else (
@@ -21,4 +21,4 @@ xcopy C:\vcpkg\installed\%triplet%\lib %destdir%\lib\ /E
2121
if not exist output (
2222
mkdir output
2323
)
24-
tar cjvf %outputfile% -C %destdir% include lib
24+
tar czvf %outputfile% -C %destdir% include lib

0 commit comments

Comments
 (0)