44# LICENSE: https://github.com/markus-perl/ffmpeg-build-script/blob/master/LICENSE
55
66PROGNAME=$( basename " $0 " )
7- FFMPEG_VERSION=8.0
7+ FFMPEG_VERSION=8.0.1
88SCRIPT_VERSION=1.58
9+
910CWD=$( pwd)
1011PACKAGES=" $CWD /packages"
1112WORKSPACE=" $CWD /workspace"
@@ -458,7 +459,7 @@ if $NONFREE_AND_GPL; then
458459 build_done " gettext" $CURRENT_PACKAGE_VERSION
459460 fi
460461
461- if build " openssl" " 3.5.2 " ; then
462+ if build " openssl" " 3.5.4 " ; then
462463 download " https://github.com/openssl/openssl/archive/refs/tags/openssl-$CURRENT_PACKAGE_VERSION .tar.gz" " openssl-$CURRENT_PACKAGE_VERSION .tar.gz"
463464 execute ./Configure --prefix=" ${WORKSPACE} " --openssldir=" ${WORKSPACE} " --libdir=" lib" --with-zlib-include=" ${WORKSPACE} " /include/ --with-zlib-lib=" ${WORKSPACE} " /lib no-shared zlib
464465 execute make -j $MJOBS
475476 build_done " gmp" $CURRENT_PACKAGE_VERSION
476477 fi
477478
478- if build " nettle" " 3.10" ; then
479+ if build " nettle" " 3.10.2 " ; then
479480 download " https://ftpmirror.gnu.org/gnu/nettle/nettle-$CURRENT_PACKAGE_VERSION .tar.gz"
480481 execute ./configure --prefix=" ${WORKSPACE} " --disable-shared --enable-static --disable-openssl --disable-documentation --libdir=" ${WORKSPACE} " /lib CPPFLAGS=" ${CFLAGS} " LDFLAGS=" ${LDFLAGS} "
481482 execute make -j $MJOBS
484485 fi
485486
486487 if [[ ! $ARCH == ' arm64' ]]; then
487- if build " gnutls" " 3.8.10 " ; then
488+ if build " gnutls" " 3.8.11 " ; then
488489 download " https://www.gnupg.org/ftp/gcrypt/gnutls/v3.8/gnutls-$CURRENT_PACKAGE_VERSION .tar.xz"
489490 execute ./configure --prefix=" ${WORKSPACE} " --disable-shared --enable-static --disable-doc --disable-tools --disable-cxx --disable-tests --disable-gtk-doc-html --disable-libdane --disable-nls --enable-local-libopts --disable-guile --with-included-libtasn1 --with-included-unistring --without-p11-kit CPPFLAGS=" ${CFLAGS} " LDFLAGS=" ${LDFLAGS} "
490491 execute make -j $MJOBS
@@ -547,7 +548,7 @@ if command_exists "python3"; then
547548 fi
548549 fi
549550 if command_exists " meson" ; then
550- if build " dav1d" " 1.5.1 " ; then
551+ if build " dav1d" " 1.5.3 " ; then
551552 download " https://code.videolan.org/videolan/dav1d/-/archive/$CURRENT_PACKAGE_VERSION /dav1d-$CURRENT_PACKAGE_VERSION .tar.gz"
552553 make_dir build
553554
599600
600601if $NONFREE_AND_GPL ; then
601602
602- if build " x264" " b35605ac " ; then
603+ if build " x264" " 0480cb05 " ; then
603604 download " https://code.videolan.org/videolan/x264/-/archive/$CURRENT_PACKAGE_VERSION /x264-$CURRENT_PACKAGE_VERSION .tar.gz" " x264-$CURRENT_PACKAGE_VERSION .tar.gz"
604605 cd " ${PACKAGES} " /x264-$CURRENT_PACKAGE_VERSION || exit
605606
@@ -718,8 +719,8 @@ if $NONFREE_AND_GPL; then
718719 CONFIGURE_OPTIONS+=(" --enable-libvidstab" )
719720fi
720721
721- if build " av1" " d9c115ce0951324dee243041ef810e27202de20f " ; then
722- # d9c115ce0951324dee243041ef810e27202de20f == v3.13.0
722+ if build " av1" " d772e334cc724105040382a977ebb10dfd393293 " ; then
723+ # d772e334cc724105040382a977ebb10dfd393293 == v3.13.1
723724 download " https://aomedia.googlesource.com/aom/+archive/$CURRENT_PACKAGE_VERSION .tar.gz" " av1.tar.gz" " av1"
724725 make_dir " $PACKAGES " /aom_build
725726 cd " $PACKAGES " /aom_build || exit
@@ -767,7 +768,7 @@ if ! $DISABLE_LV2 ; then
767768 download " https://gitlab.com/drobilla/autowaf/-/archive/$CURRENT_PACKAGE_VERSION /autowaf-$CURRENT_PACKAGE_VERSION .tar.gz" " autowaf.tar.gz"
768769 build_done " waflib" $CURRENT_PACKAGE_VERSION
769770 fi
770- if build " serd" " 0.32.2 " ; then
771+ if build " serd" " 0.32.6 " ; then
771772 download " https://gitlab.com/drobilla/serd/-/archive/v$CURRENT_PACKAGE_VERSION /serd-v$CURRENT_PACKAGE_VERSION .tar.gz" " serd-v$CURRENT_PACKAGE_VERSION .tar.gz"
772773 execute meson build --prefix=" ${WORKSPACE} " --buildtype=release --default-library=static --libdir=" ${WORKSPACE} " /lib
773774 execute ninja -C build
@@ -781,7 +782,7 @@ if ! $DISABLE_LV2 ; then
781782 execute make install
782783 build_done " pcre" $CURRENT_PACKAGE_VERSION
783784 fi
784- if build " zix" " 0.6.2 " ; then
785+ if build " zix" " 0.8.0 " ; then
785786 download " https://gitlab.com/drobilla/zix/-/archive/v$CURRENT_PACKAGE_VERSION /zix-v$CURRENT_PACKAGE_VERSION .tar.gz" " zix-v$CURRENT_PACKAGE_VERSION .tar.gz"
786787 execute meson setup build --prefix=" ${WORKSPACE} " --buildtype=release --default-library=static --libdir=" ${WORKSPACE} " /lib
787788 cd build || exit
@@ -790,21 +791,21 @@ if ! $DISABLE_LV2 ; then
790791 execute meson install
791792 build_done " zix" $CURRENT_PACKAGE_VERSION
792793 fi
793- if build " sord" " 0.16.16 " ; then
794+ if build " sord" " 0.16.20 " ; then
794795 download " https://gitlab.com/drobilla/sord/-/archive/v$CURRENT_PACKAGE_VERSION /sord-v$CURRENT_PACKAGE_VERSION .tar.gz" " sord-v$CURRENT_PACKAGE_VERSION .tar.gz"
795796 execute meson build --prefix=" ${WORKSPACE} " --buildtype=release --default-library=static --libdir=" ${WORKSPACE} " /lib
796797 execute ninja -C build
797798 execute ninja -C build install
798799 build_done " sord" $CURRENT_PACKAGE_VERSION
799800 fi
800- if build " sratom" " 0.6.16 " ; then
801+ if build " sratom" " 0.6.20 " ; then
801802 download " https://gitlab.com/lv2/sratom/-/archive/v$CURRENT_PACKAGE_VERSION /sratom-v$CURRENT_PACKAGE_VERSION .tar.gz" " sratom-v$CURRENT_PACKAGE_VERSION .tar.gz"
802803 execute meson build --prefix=" ${WORKSPACE} " -Ddocs=disabled --buildtype=release --default-library=static --libdir=" ${WORKSPACE} " /lib
803804 execute ninja -C build
804805 execute ninja -C build install
805806 build_done " sratom" $CURRENT_PACKAGE_VERSION
806807 fi
807- if build " lilv" " 0.24.16 " ; then
808+ if build " lilv" " 0.26.2 " ; then
808809 download " https://gitlab.com/lv2/lilv/-/archive/v$CURRENT_PACKAGE_VERSION /lilv-v$CURRENT_PACKAGE_VERSION .tar.gz" " lilv-v$CURRENT_PACKAGE_VERSION .tar.gz"
809810 execute meson build --prefix=" ${WORKSPACE} " -Ddocs=disabled --buildtype=release --default-library=static --libdir=" ${WORKSPACE} " /lib -Dcpp_std=c++11
810811 execute ninja -C build
@@ -839,7 +840,7 @@ if build "lame" "3.100"; then
839840fi
840841CONFIGURE_OPTIONS+=(" --enable-libmp3lame" )
841842
842- if build " opus" " 1.5.2 " ; then
843+ if build " opus" " 1.6 " ; then
843844 download " https://downloads.xiph.org/releases/opus/opus-$CURRENT_PACKAGE_VERSION .tar.gz"
844845 execute ./configure --prefix=" ${WORKSPACE} " --disable-shared --enable-static
845846 execute make -j $MJOBS
@@ -909,14 +910,14 @@ CONFIGURE_OPTIONS+=("--enable-libsoxr")
909910# # image library
910911# #
911912
912- if build " libtiff" " 4.7.0 " ; then
913+ if build " libtiff" " 4.7.1 " ; then
913914 download " https://download.osgeo.org/libtiff/tiff-$CURRENT_PACKAGE_VERSION .tar.xz"
914915 execute ./configure --prefix=" ${WORKSPACE} " --disable-shared --enable-static --disable-dependency-tracking --disable-lzma --disable-webp --disable-zstd --without-x
915916 execute make -j $MJOBS
916917 execute make install
917918 build_done " libtiff" $CURRENT_PACKAGE_VERSION
918919fi
919- if build " libpng" " 1.6.50 " ; then
920+ if build " libpng" " 1.6.53 " ; then
920921 download " https://sourceforge.net/projects/libpng/files/libpng16/$CURRENT_PACKAGE_VERSION /libpng-$CURRENT_PACKAGE_VERSION .tar.gz" " libpng-$CURRENT_PACKAGE_VERSION .tar.gz"
921922 export LDFLAGS=" ${LDFLAGS} "
922923 export CPPFLAGS=" ${CFLAGS} "
@@ -970,7 +971,7 @@ if build "libsdl" "2.32.10"; then
970971 build_done " libsdl" $CURRENT_PACKAGE_VERSION
971972fi
972973
973- if build " FreeType2" " 2.13.3 " ; then
974+ if build " FreeType2" " 2.14.1 " ; then
974975 download " https://downloads.sourceforge.net/freetype/freetype-$CURRENT_PACKAGE_VERSION .tar.xz"
975976 execute ./configure --prefix=" ${WORKSPACE} " --disable-shared --enable-static
976977 execute make -j $MJOBS
980981
981982CONFIGURE_OPTIONS+=(" --enable-libfreetype" )
982983
983- if build " VapourSynth" " 72 " ; then
984+ if build " VapourSynth" " 73 " ; then
984985 # VapourSynth library is loaded dynamically by ffmpeg if a VapourSynth script is opened
985986 # no need to build it at compile team, only headers need to be installed
986987 download " https://github.com/vapoursynth/vapoursynth/archive/R$CURRENT_PACKAGE_VERSION .tar.gz"
10421043# # HWaccel library
10431044# #
10441045
1045- if build " vulkan-headers" " 1.4.326 " ; then
1046+ if build " vulkan-headers" " 1.4.338 " ; then
10461047 download " https://github.com/KhronosGroup/Vulkan-Headers/archive/refs/tags/v$CURRENT_PACKAGE_VERSION .tar.gz" " Vulkan-Headers-$CURRENT_PACKAGE_VERSION .tar.gz"
10471048 execute cmake -DCMAKE_INSTALL_PREFIX=" ${WORKSPACE} " -B build/
10481049 execute cmake --install build --prefix " ${WORKSPACE} "
@@ -1052,7 +1053,7 @@ CONFIGURE_OPTIONS+=("--enable-vulkan")
10521053
10531054# vulkan filters and some encoders/decorders are implemented using shaders, for those we need a shader compiler
10541055if command_exists " python3" ; then
1055- if build " glslang" " 15.4 .0" ; then
1056+ if build " glslang" " 16.1 .0" ; then
10561057 download " https://github.com/KhronosGroup/glslang/archive/refs/tags/$CURRENT_PACKAGE_VERSION .tar.gz" " glslang-$CURRENT_PACKAGE_VERSION .tar.gz"
10571058 execute ./update_glslang_sources.py
10581059 execute cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_SHARED=OFF -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=" ${WORKSPACE} " .
@@ -1101,7 +1102,7 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
11011102 fi
11021103 fi
11031104
1104- if build " amf" " 1.4.36 " ; then
1105+ if build " amf" " 1.5.0 " ; then
11051106 download " https://github.com/GPUOpen-LibrariesAndSDKs/AMF/archive/refs/tags/v$CURRENT_PACKAGE_VERSION .tar.gz" " AMF-$CURRENT_PACKAGE_VERSION .tar.gz" " AMF-$CURRENT_PACKAGE_VERSION "
11061107 execute rm -rf " ${WORKSPACE} /include/AMF"
11071108 execute mkdir -p " ${WORKSPACE} /include/AMF"
0 commit comments