File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -395,17 +395,19 @@ if build "cmake"; then
395
395
build_done " cmake"
396
396
fi
397
397
398
- if build " svtav1" ; then
399
- download " https://github.com/AOMediaCodec/SVT-AV1/archive/v0.8.6.tar.gz"
400
- cd Build/linux || exit
401
- execute cmake -DCMAKE_INSTALL_PREFIX=" ${WORKSPACE} " -DENABLE_SHARED=off -DBUILD_SHARED_LIBS=OFF ../.. -G" Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
402
- execute make -j $MJOBS
403
- execute make install
404
- execute cp SvtAv1Enc.pc " ${WORKSPACE} /lib/pkgconfig/"
405
- execute cp SvtAv1Dec.pc " ${WORKSPACE} /lib/pkgconfig/"
406
- build_done " svtav1"
398
+ if ! $MACOS_M1 ; then
399
+ if build " svtav1" ; then
400
+ download " https://github.com/AOMediaCodec/SVT-AV1/archive/v0.8.6.tar.gz"
401
+ cd Build/linux || exit
402
+ execute cmake -DCMAKE_INSTALL_PREFIX=" ${WORKSPACE} " -DENABLE_SHARED=off -DBUILD_SHARED_LIBS=OFF ../.. -G" Unix Makefiles" -DCMAKE_BUILD_TYPE=Release
403
+ execute make -j $MJOBS
404
+ execute make install
405
+ execute cp SvtAv1Enc.pc " ${WORKSPACE} /lib/pkgconfig/"
406
+ execute cp SvtAv1Dec.pc " ${WORKSPACE} /lib/pkgconfig/"
407
+ build_done " svtav1"
408
+ fi
409
+ CONFIGURE_OPTIONS+=(" --enable-libsvtav1" )
407
410
fi
408
- CONFIGURE_OPTIONS+=(" --enable-libsvtav1" )
409
411
410
412
# #
411
413
# # video library
You can’t perform that action at this time.
0 commit comments