4
4
# LICENSE: https://github.com/markus-perl/ffmpeg-build-script/blob/master/LICENSE
5
5
6
6
PROGNAME=$( basename " $0 " )
7
- FFMPEG_VERSION=5.0
8
- SCRIPT_VERSION=1.36
7
+ FFMPEG_VERSION=5.0.1
8
+ SCRIPT_VERSION=1.37
9
9
CWD=$( pwd)
10
10
PACKAGES=" $CWD /packages"
11
11
WORKSPACE=" $CWD /workspace"
@@ -387,8 +387,8 @@ if build "libtool" "2.4.6"; then
387
387
fi
388
388
389
389
if $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"
392
392
if $MACOS_M1 ; then
393
393
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
394
394
execute ./Configure --prefix=" ${WORKSPACE} " no-shared no-asm darwin64-arm64-cc
@@ -397,7 +397,7 @@ if $NONFREE_AND_GPL; then
397
397
fi
398
398
execute make -j $MJOBS
399
399
execute make install_sw
400
- build_done " openssl" " 1.1.1m "
400
+ build_done " openssl" " 1.1.1q "
401
401
fi
402
402
CONFIGURE_OPTIONS+=(" --enable-openssl" )
403
403
fi
@@ -427,7 +427,7 @@ if command_exists "python3"; then
427
427
fi
428
428
if command_exists " meson" ; then
429
429
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"
431
431
make_dir build
432
432
433
433
CFLAGSBACKUP=$CFLAGS
@@ -548,7 +548,7 @@ if build "libvpx" "1.10.0"; then
548
548
sed " s/-Wl,--no-undefined -Wl,-soname/-Wl,-undefined,error -Wl,-install_name/g" build/make/Makefile.patched > build/make/Makefile
549
549
fi
550
550
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
552
552
execute make -j $MJOBS
553
553
execute make install
554
554
@@ -601,9 +601,9 @@ if build "av1" "ae2be80"; then
601
601
make_dir " $PACKAGES " /aom_build
602
602
cd " $PACKAGES " /aom_build || exit
603
603
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
605
605
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
607
607
fi
608
608
execute make -j $MJOBS
609
609
execute make install
0 commit comments