4
4
# LICENSE: https://github.com/markus-perl/ffmpeg-build-script/blob/master/LICENSE
5
5
6
6
PROGNAME=$( basename " $0 " )
7
- FFMPEG_VERSION=7.1
7
+ FFMPEG_VERSION=7.1.1
8
8
SCRIPT_VERSION=1.54
9
9
CWD=$( pwd)
10
10
PACKAGES=" $CWD /packages"
@@ -382,7 +382,7 @@ if build "yasm" "1.3.0"; then
382
382
build_done " yasm" $CURRENT_PACKAGE_VERSION
383
383
fi
384
384
385
- if build " nasm" " 2.16.01 " ; then
385
+ if build " nasm" " 2.16.03 " ; then
386
386
download " https://www.nasm.us/pub/nasm/releasebuilds/$CURRENT_PACKAGE_VERSION /nasm-$CURRENT_PACKAGE_VERSION .tar.xz"
387
387
execute ./configure --prefix=" ${WORKSPACE} " --disable-shared --enable-static
388
388
execute make -j $MJOBS
@@ -453,7 +453,7 @@ if $NONFREE_AND_GPL; then
453
453
fi
454
454
CONFIGURE_OPTIONS+=(" --enable-openssl" )
455
455
else
456
- if build " gmp" " 6.2.1 " ; then
456
+ if build " gmp" " 6.3.0 " ; then
457
457
download " https://ftp.gnu.org/gnu/gmp/gmp-$CURRENT_PACKAGE_VERSION .tar.xz"
458
458
execute ./configure --prefix=" ${WORKSPACE} " --disable-shared --enable-static
459
459
execute make -j $MJOBS
470
470
fi
471
471
472
472
if [[ ! $ARCH == ' arm64' ]]; then
473
- if build " gnutls" " 3.8.4 " ; then
473
+ if build " gnutls" " 3.8.5 " ; then
474
474
download " https://www.gnupg.org/ftp/gcrypt/gnutls/v3.8/gnutls-$CURRENT_PACKAGE_VERSION .tar.xz"
475
475
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} "
476
476
execute make -j $MJOBS
481
481
fi
482
482
fi
483
483
484
- if build " cmake" " 3.31.0 " ; then
484
+ if build " cmake" " 3.31.7 " ; then
485
485
CXXFLAGS_BACKUP=$CXXFLAGS
486
486
export CXXFLAGS+=" -std=c++11"
487
487
download " https://github.com/Kitware/CMake/releases/download/v$CURRENT_PACKAGE_VERSION /cmake-$CURRENT_PACKAGE_VERSION .tar.gz"
@@ -526,7 +526,7 @@ if command_exists "python3"; then
526
526
527
527
fi
528
528
if command_exists " meson" ; then
529
- if build " dav1d" " 1.5.0 " ; then
529
+ if build " dav1d" " 1.5.1 " ; then
530
530
download " https://code.videolan.org/videolan/dav1d/-/archive/$CURRENT_PACKAGE_VERSION /dav1d-$CURRENT_PACKAGE_VERSION .tar.gz"
531
531
make_dir build
532
532
578
578
579
579
if $NONFREE_AND_GPL ; then
580
580
581
- if build " x264" " be4f0200 " ; then
581
+ if build " x264" " ff620d0c " ; then
582
582
download " https://code.videolan.org/videolan/x264/-/archive/$CURRENT_PACKAGE_VERSION /x264-$CURRENT_PACKAGE_VERSION .tar.gz" " x264-$CURRENT_PACKAGE_VERSION .tar.gz"
583
583
cd " ${PACKAGES} " /x264-$CURRENT_PACKAGE_VERSION || exit
584
584
@@ -598,7 +598,7 @@ if $NONFREE_AND_GPL; then
598
598
fi
599
599
600
600
if $NONFREE_AND_GPL ; then
601
- if build " x265" " 4.0 " ; then
601
+ if build " x265" " 4.1 " ; then
602
602
download " https://bitbucket.org/multicoreware/x265_git/downloads/x265_$CURRENT_PACKAGE_VERSION .tar.gz" " x265-$CURRENT_PACKAGE_VERSION .tar.gz" # This is actually 3.4 if looking at x265Version.txt
603
603
cd build/linux || exit
604
604
rm -rf 8bit 10bit 12bit 2> /dev/null
@@ -746,7 +746,7 @@ if ! $DISABLE_LV2 ; then
746
746
download " https://gitlab.com/drobilla/autowaf/-/archive/$CURRENT_PACKAGE_VERSION /autowaf-$CURRENT_PACKAGE_VERSION .tar.gz" " autowaf.tar.gz"
747
747
build_done " waflib" $CURRENT_PACKAGE_VERSION
748
748
fi
749
- if build " serd" " 0.30.16 " ; then
749
+ if build " serd" " 0.32.2 " ; then
750
750
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"
751
751
execute meson build --prefix=" ${WORKSPACE} " --buildtype=release --default-library=static --libdir=" ${WORKSPACE} " /lib
752
752
execute ninja -C build
@@ -760,21 +760,30 @@ if ! $DISABLE_LV2 ; then
760
760
execute make install
761
761
build_done " pcre" $CURRENT_PACKAGE_VERSION
762
762
fi
763
- if build " sord" " 0.16.14" ; then
763
+ if build " zix" " 0.6.2" ; then
764
+ 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"
765
+ execute meson setup build
766
+ cd build || exit
767
+ execute meson configure -Dc_args=" -march=native" -Dprefix=" ${WORKSPACE} " -Dlibdir=" ${WORKSPACE} " /lib
768
+ execute meson compile
769
+ execute meson install
770
+ build_done " zix" $CURRENT_PACKAGE_VERSION
771
+ fi
772
+ if build " sord" " 0.16.16" ; then
764
773
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"
765
774
execute meson build --prefix=" ${WORKSPACE} " --buildtype=release --default-library=static --libdir=" ${WORKSPACE} " /lib
766
775
execute ninja -C build
767
776
execute ninja -C build install
768
777
build_done " sord" $CURRENT_PACKAGE_VERSION
769
778
fi
770
- if build " sratom" " 0.6.14 " ; then
779
+ if build " sratom" " 0.6.16 " ; then
771
780
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"
772
781
execute meson build --prefix=" ${WORKSPACE} " --buildtype=release --default-library=static --libdir=" ${WORKSPACE} " /lib
773
782
execute ninja -C build
774
783
execute ninja -C build install
775
784
build_done " sratom" $CURRENT_PACKAGE_VERSION
776
785
fi
777
- if build " lilv" " 0.24.20 " ; then
786
+ if build " lilv" " 0.24.24 " ; then
778
787
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"
779
788
execute meson build --prefix=" ${WORKSPACE} " --buildtype=release --default-library=static --libdir=" ${WORKSPACE} " /lib
780
789
execute ninja -C build
@@ -886,7 +895,7 @@ if build "libtiff" "4.7.0"; then
886
895
execute make install
887
896
build_done " libtiff" $CURRENT_PACKAGE_VERSION
888
897
fi
889
- if build " libpng" " 1.6.44 " ; then
898
+ if build " libpng" " 1.6.48 " ; then
890
899
download " https://sourceforge.net/projects/libpng/files/libpng16/$CURRENT_PACKAGE_VERSION /libpng-$CURRENT_PACKAGE_VERSION .tar.gz" " libpng-$CURRENT_PACKAGE_VERSION .tar.gz"
891
900
export LDFLAGS=" ${LDFLAGS} "
892
901
export CPPFLAGS=" ${CFLAGS} "
@@ -896,7 +905,7 @@ if build "libpng" "1.6.44"; then
896
905
build_done " libpng" $CURRENT_PACKAGE_VERSION
897
906
fi
898
907
899
- if build " libjxl" " 0.11.0 " ; then
908
+ if build " libjxl" " 0.11.1 " ; then
900
909
download " https://github.com/libjxl/libjxl/archive/refs/tags/v$CURRENT_PACKAGE_VERSION .tar.gz" " libjxl-$CURRENT_PACKAGE_VERSION .tar.gz"
901
910
# currently needed to fix linking of static builds in non-C++ applications
902
911
sed " s/-ljxl_threads/-ljxl_threads @JPEGXL_THREADS_PUBLIC_LIBS@/g" lib/threads/libjxl_threads.pc.in > lib/threads/libjxl_threads.pc.in.patched
@@ -913,7 +922,7 @@ if build "libjxl" "0.11.0"; then
913
922
fi
914
923
CONFIGURE_OPTIONS+=(" --enable-libjxl" )
915
924
916
- if build " libwebp" " 1.4 .0" ; then
925
+ if build " libwebp" " 1.5 .0" ; then
917
926
# libwebp can fail to compile on Ubuntu if these flags were left set to CFLAGS
918
927
CPPFLAGS=
919
928
download " https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-$CURRENT_PACKAGE_VERSION .tar.gz" " libwebp-$CURRENT_PACKAGE_VERSION .tar.gz"
@@ -967,7 +976,7 @@ if $NONFREE_AND_GPL; then
967
976
fi
968
977
CONFIGURE_OPTIONS+=(" --enable-libsrt" )
969
978
970
- if build " zvbi" " 0.2.42 " ; then
979
+ if build " zvbi" " 0.2.44 " ; then
971
980
download " https://github.com/zapping-vbi/zvbi/archive/refs/tags/v$CURRENT_PACKAGE_VERSION .tar.gz" " zvbi-$CURRENT_PACKAGE_VERSION .tar.gz"
972
981
execute ./autogen.sh --prefix=" ${WORKSPACE} "
973
982
execute ./configure CFLAGS=" -I${WORKSPACE} /include/libpng16 ${CFLAGS} " --prefix=" ${WORKSPACE} " --enable-static --disable-shared
1003
1012
1004
1013
if [[ " $OSTYPE " == " linux-gnu" ]]; then
1005
1014
if command_exists " nvcc" ; then
1006
- if build " nv-codec" " 11 .1.5.3 " ; then
1015
+ if build " nv-codec" " 12 .1.14.0 " ; then
1007
1016
download " https://github.com/FFmpeg/nv-codec-headers/releases/download/n$CURRENT_PACKAGE_VERSION /nv-codec-headers-$CURRENT_PACKAGE_VERSION .tar.gz"
1008
1017
execute make PREFIX=" ${WORKSPACE} "
1009
1018
execute make PREFIX=" ${WORKSPACE} " install
@@ -1064,7 +1073,7 @@ if [ -d "$CWD/.git" ]; then
1064
1073
fi
1065
1074
1066
1075
build " ffmpeg" " $FFMPEG_VERSION "
1067
- download " https://github.com/FFmpeg/FFmpeg/archive/refs/heads/release/ $FFMPEG_VERSION .tar.gz" " FFmpeg-release-$FFMPEG_VERSION .tar.gz"
1076
+ download " https://github.com/FFmpeg/FFmpeg/archive/refs/tags/n $FFMPEG_VERSION .tar.gz" " FFmpeg-release-$FFMPEG_VERSION .tar.gz"
1068
1077
# shellcheck disable=SC2086
1069
1078
execute ./configure " ${CONFIGURE_OPTIONS[@]} " \
1070
1079
--disable-debug \
0 commit comments