44# LICENSE: https://github.com/markus-perl/ffmpeg-build-script/blob/master/LICENSE
55
66PROGNAME=$( basename " $0 " )
7- FFMPEG_VERSION=5.0
8- SCRIPT_VERSION=1.36
7+ FFMPEG_VERSION=5.0.1
8+ SCRIPT_VERSION=1.37
99CWD=$( pwd)
1010PACKAGES=" $CWD /packages"
1111WORKSPACE=" $CWD /workspace"
@@ -387,8 +387,8 @@ if build "libtool" "2.4.6"; then
387387fi
388388
389389if $NONFREE_AND_GPL ; then
390- if build " openssl" " 1.1.1m " ; then
391- download " https://www.openssl.org/source/openssl-1.1.1m .tar.gz"
390+ if build " openssl" " 1.1.1q " ; then
391+ download " https://www.openssl.org/source/openssl-1.1.1q .tar.gz"
392392 if $MACOS_M1 ; then
393393 sed -n ' s/\(##### GNU Hurd\)/"darwin64-arm64-cc" => { \n inherit_from => [ "darwin-common", asm("aarch64_asm") ],\n CFLAGS => add("-Wall"),\n cflags => add("-arch arm64 "),\n lib_cppflags => add("-DL_ENDIAN"),\n bn_ops => "SIXTY_FOUR_BIT_LONG", \n perlasm_scheme => "macosx", \n}, \n\1/g' Configurations/10-main.conf
394394 execute ./Configure --prefix=" ${WORKSPACE} " no-shared no-asm darwin64-arm64-cc
@@ -397,7 +397,7 @@ if $NONFREE_AND_GPL; then
397397 fi
398398 execute make -j $MJOBS
399399 execute make install_sw
400- build_done " openssl" " 1.1.1m "
400+ build_done " openssl" " 1.1.1q "
401401 fi
402402 CONFIGURE_OPTIONS+=(" --enable-openssl" )
403403fi
@@ -427,7 +427,7 @@ if command_exists "python3"; then
427427 fi
428428 if command_exists " meson" ; then
429429 if build " dav1d" " 0.9.2" ; then
430- download " https://code.videolan.org/videolan/dav1d/-/archive/0.9.2 /dav1d-0.9.2 .tar.gz"
430+ download " https://code.videolan.org/videolan/dav1d/-/archive/1.0.0 /dav1d-1.0.0 .tar.gz"
431431 make_dir build
432432
433433 CFLAGSBACKUP=$CFLAGS
@@ -548,7 +548,7 @@ if build "libvpx" "1.10.0"; then
548548 sed " s/-Wl,--no-undefined -Wl,-soname/-Wl,-undefined,error -Wl,-install_name/g" build/make/Makefile.patched > build/make/Makefile
549549 fi
550550
551- execute ./configure --prefix=" ${WORKSPACE} " --disable-unit-tests --disable-shared --as=yasm --enable-vp9-highbitdepth
551+ execute ./configure --prefix=" ${WORKSPACE} " --disable-unit-tests --disable-shared --disable-examples -- as=yasm --enable-vp9-highbitdepth
552552 execute make -j $MJOBS
553553 execute make install
554554
@@ -601,9 +601,9 @@ if build "av1" "ae2be80"; then
601601 make_dir " $PACKAGES " /aom_build
602602 cd " $PACKAGES " /aom_build || exit
603603 if $MACOS_M1 ; then
604- execute cmake -DENABLE_TESTS=0 -DCMAKE_INSTALL_PREFIX=" ${WORKSPACE} " -DCMAKE_INSTALL_LIBDIR=lib -DCONFIG_RUNTIME_CPU_DETECT=0 " $PACKAGES " /av1
604+ execute cmake -DENABLE_TESTS=0 -DENABLE_EXAMPLES=0 - DCMAKE_INSTALL_PREFIX=" ${WORKSPACE} " -DCMAKE_INSTALL_LIBDIR=lib -DCONFIG_RUNTIME_CPU_DETECT=0 " $PACKAGES " /av1
605605 else
606- execute cmake -DENABLE_TESTS=0 -DCMAKE_INSTALL_PREFIX=" ${WORKSPACE} " -DCMAKE_INSTALL_LIBDIR=lib " $PACKAGES " /av1
606+ execute cmake -DENABLE_TESTS=0 -DENABLE_EXAMPLES=0 - DCMAKE_INSTALL_PREFIX=" ${WORKSPACE} " -DCMAKE_INSTALL_LIBDIR=lib " $PACKAGES " /av1
607607 fi
608608 execute make -j $MJOBS
609609 execute make install
0 commit comments