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
395395 build_done " cmake"
396396fi
397397
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" )
407410fi
408- CONFIGURE_OPTIONS+=(" --enable-libsvtav1" )
409411
410412# #
411413# # video library
You can’t perform that action at this time.
0 commit comments