Skip to content

Commit b04ad75

Browse files
author
Markus Perl
committed
Many libraries updated
1 parent a14f041 commit b04ad75

File tree

1 file changed

+37
-37
lines changed

1 file changed

+37
-37
lines changed

build-ffmpeg

+37-37
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ if build "libtool" "2.4.7"; then
395395
fi
396396

397397
if $NONFREE_AND_GPL; then
398-
if build "openssl" "1.1.1u"; then
398+
if build "openssl" "1.1.1w"; then
399399
download "https://www.openssl.org/source/openssl-$CURRENT_PACKAGE_VERSION.tar.gz"
400400
if $MACOS_M1; then
401401
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
@@ -417,27 +417,27 @@ else
417417
build_done "gmp" "6.2.1"
418418
fi
419419

420-
if build "nettle" "3.8.1"; then
421-
download "https://ftp.gnu.org/gnu/nettle/nettle-3.8.1.tar.gz"
420+
if build "nettle" "3.9.1"; then
421+
download "https://ftp.gnu.org/gnu/nettle/nettle-$CURRENT_PACKAGE_VERSION.tar.gz"
422422
execute ./configure --prefix="${WORKSPACE}" --disable-shared --enable-static --disable-openssl --disable-documentation --libdir="${WORKSPACE}"/lib CPPFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
423423
execute make -j $MJOBS
424424
execute make install
425-
build_done "nettle" "3.8.1"
425+
build_done "nettle" $CURRENT_PACKAGE_VERSION
426426
fi
427427

428428
if [[ ! $ARCH == 'arm64' ]]; then
429-
if build "gnutls" "3.7.9"; then
430-
download "https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.9.tar.xz"
429+
if build "gnutls" "3.7.10"; then
430+
download "https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-$CURRENT_PACKAGE_VERSION.tar.xz"
431431
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}"
432432
execute make -j $MJOBS
433433
execute make install
434-
build_done "gnutls" "3.7.9"
434+
build_done "gnutls" $CURRENT_PACKAGE_VERSION
435435
fi
436436
# CONFIGURE_OPTIONS+=("--enable-gmp" "--enable-gnutls")
437437
fi
438438
fi
439439

440-
if build "cmake" "3.26.4"; then
440+
if build "cmake" "3.27.7"; then
441441
download "https://github.com/Kitware/CMake/releases/download/v$CURRENT_PACKAGE_VERSION/cmake-$CURRENT_PACKAGE_VERSION.tar.gz"
442442
execute ./configure --prefix="${WORKSPACE}" --parallel="${MJOBS}" -- -DCMAKE_USE_OPENSSL=OFF
443443
execute make -j $MJOBS
@@ -485,7 +485,7 @@ if command_exists "python3"; then
485485
fi
486486
fi
487487

488-
if build "svtav1" "1.6.0"; then
488+
if build "svtav1" "1.7.0"; then
489489
# Last known working commit which passed CI Tests from HEAD branch
490490
download "https://gitlab.com/AOMediaCodec/SVT-AV1/-/archive/v$CURRENT_PACKAGE_VERSION/SVT-AV1-v$CURRENT_PACKAGE_VERSION.tar.gz" "svtav1-$CURRENT_PACKAGE_VERSION.tar.gz"
491491
cd "${PACKAGES}"/svtav1-$CURRENT_PACKAGE_VERSION//Build/linux || exit
@@ -501,11 +501,11 @@ CONFIGURE_OPTIONS+=("--enable-libsvtav1")
501501

502502
if command_exists "cargo"; then
503503
if [[ ! "$SKIPRAV1E" == "yes" ]]; then
504-
if build "rav1e" "0.6.3"; then
504+
if build "rav1e" "0.6.6"; then
505505
execute cargo install --version "0.9.20+cargo-0.71" cargo-c
506-
download "https://github.com/xiph/rav1e/archive/refs/tags/v0.6.3.tar.gz"
506+
download "https://github.com/xiph/rav1e/archive/refs/tags/v$CURRENT_PACKAGE_VERSION.tar.gz"
507507
execute cargo cinstall --prefix="${WORKSPACE}" --library-type=staticlib --crt-static --release
508-
build_done "rav1e" "0.6.3"
508+
build_done "rav1e" $CURRENT_PACKAGE_VERSION
509509
fi
510510
CONFIGURE_OPTIONS+=("--enable-librav1e")
511511
fi
@@ -576,8 +576,8 @@ EOF
576576
CONFIGURE_OPTIONS+=("--enable-libx265")
577577
fi
578578

579-
if build "libvpx" "1.13.0"; then
580-
download "https://github.com/webmproject/libvpx/archive/refs/tags/v1.13.0.tar.gz" "libvpx-1.13.0.tar.gz"
579+
if build "libvpx" "1.13.1"; then
580+
download "https://github.com/webmproject/libvpx/archive/refs/tags/v$CURRENT_PACKAGE_VERSION.tar.gz" "libvpx-$CURRENT_PACKAGE_VERSION.tar.gz"
581581

582582
if [[ "$OSTYPE" == "darwin"* ]]; then
583583
echo "Applying Darwin patch"
@@ -589,7 +589,7 @@ if build "libvpx" "1.13.0"; then
589589
execute make -j $MJOBS
590590
execute make install
591591

592-
build_done "libvpx" "1.13.0"
592+
build_done "libvpx" $CURRENT_PACKAGE_VERSION
593593
fi
594594
CONFIGURE_OPTIONS+=("--enable-libvpx")
595595

@@ -615,26 +615,26 @@ if $NONFREE_AND_GPL; then
615615
fi
616616

617617
if $NONFREE_AND_GPL; then
618-
if build "vid_stab" "1.1.0"; then
619-
download "https://github.com/georgmartius/vid.stab/archive/v1.1.0.tar.gz" "vid.stab-1.1.0.tar.gz"
618+
if build "vid_stab" "1.1.1"; then
619+
download "https://github.com/georgmartius/vid.stab/archive/v$CURRENT_PACKAGE_VERSION.tar.gz" "vid.stab-$CURRENT_PACKAGE_VERSION.tar.gz"
620620

621621
if $MACOS_M1; then
622-
curl -L --silent -o "$PACKAGES/vid.stab-1.1.0/fix_cmake_quoting.patch" "https://raw.githubusercontent.com/Homebrew/formula-patches/5bf1a0e0cfe666ee410305cece9c9c755641bfdf/libvidstab/fix_cmake_quoting.patch"
622+
curl -L --silent -o "$PACKAGES/vid.stab-$CURRENT_PACKAGE_VERSION/fix_cmake_quoting.patch" "https://raw.githubusercontent.com/Homebrew/formula-patches/5bf1a0e0cfe666ee410305cece9c9c755641bfdf/libvidstab/fix_cmake_quoting.patch"
623623
patch -p1 <fix_cmake_quoting.patch
624624
fi
625625

626626
execute cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX="${WORKSPACE}" -DUSE_OMP=OFF -DENABLE_SHARED=off .
627627
execute make
628628
execute make install
629629

630-
build_done "vid_stab" "1.1.0"
630+
build_done "vid_stab" $CURRENT_PACKAGE_VERSION
631631
fi
632632
CONFIGURE_OPTIONS+=("--enable-libvidstab")
633633
fi
634634

635-
if build "av1" "bcfe6fb"; then
635+
if build "av1" "7b5f665"; then
636636
# libaom bcfe6fb == v3.5.0
637-
download "https://aomedia.googlesource.com/aom/+archive/bcfe6fbfed315f83ee8a95465c654ee8078dbff9.tar.gz" "av1.tar.gz" "av1"
637+
download "https://aomedia.googlesource.com/aom/+archive/7b5f665231dfbcc5abc49d3b8d6d8826c75ce473.tar.gz" "av1.tar.gz" "av1"
638638
make_dir "$PACKAGES"/aom_build
639639
cd "$PACKAGES"/aom_build || exit
640640
if $MACOS_M1; then
@@ -645,19 +645,19 @@ if build "av1" "bcfe6fb"; then
645645
execute make -j $MJOBS
646646
execute make install
647647

648-
build_done "av1" "bcfe6fb"
648+
build_done "av1" "7b5f665"
649649
fi
650650
CONFIGURE_OPTIONS+=("--enable-libaom")
651651

652-
if build "zimg" "3.0.4"; then
653-
download "https://github.com/sekrit-twc/zimg/archive/refs/tags/release-3.0.4.tar.gz" "zimg-3.0.4.tar.gz" "zimg"
654-
cd zimg-release-3.0.4 || exit
652+
if build "zimg" "3.0.5"; then
653+
download "https://github.com/sekrit-twc/zimg/archive/refs/tags/release-$CURRENT_PACKAGE_VERSION.tar.gz" "zimg-$CURRENT_PACKAGE_VERSION.tar.gz" "zimg"
654+
cd zimg-release-$CURRENT_PACKAGE_VERSION || exit
655655
execute "${WORKSPACE}/bin/libtoolize" -i -f -q
656656
execute ./autogen.sh --prefix="${WORKSPACE}"
657657
execute ./configure --prefix="${WORKSPACE}" --enable-static --disable-shared
658658
execute make -j $MJOBS
659659
execute make install
660-
build_done "zimg" "3.0.4"
660+
build_done "zimg" $CURRENT_PACKAGE_VERSION
661661
fi
662662
CONFIGURE_OPTIONS+=("--enable-libzimg")
663663

@@ -742,8 +742,8 @@ if build "lame" "3.100"; then
742742
fi
743743
CONFIGURE_OPTIONS+=("--enable-libmp3lame")
744744

745-
if build "opus" "1.3.1"; then
746-
download "https://archive.mozilla.org/pub/opus/opus-1.3.1.tar.gz"
745+
if build "opus" "1.4"; then
746+
download "https://downloads.xiph.org/releases/opus/opus-1.4.tar.gz"
747747
execute ./configure --prefix="${WORKSPACE}" --disable-shared --enable-static
748748
execute make -j $MJOBS
749749
execute make install
@@ -846,13 +846,13 @@ fi
846846
## other library
847847
##
848848

849-
if build "libsdl" "2.26.3"; then
850-
download "https://www.libsdl.org/release/SDL2-2.26.3.tar.gz"
849+
if build "libsdl" "2.28.5"; then
850+
download "https://www.libsdl.org/release/SDL2-$CURRENT_PACKAGE_VERSION.tar.gz"
851851
execute ./configure --prefix="${WORKSPACE}" --disable-shared --enable-static
852852
execute make -j $MJOBS
853853
execute make install
854854

855-
build_done "libsdl" "2.26.3"
855+
build_done "libsdl" $CURRENT_PACKAGE_VERSION
856856
fi
857857

858858
if build "FreeType2" "2.11.1"; then
@@ -866,8 +866,8 @@ fi
866866
CONFIGURE_OPTIONS+=("--enable-libfreetype")
867867

868868
if $NONFREE_AND_GPL; then
869-
if build "srt" "1.5.1"; then
870-
download "https://github.com/Haivision/srt/archive/v1.5.1.tar.gz" "srt-1.5.1.tar.gz"
869+
if build "srt" "1.5.3"; then
870+
download "https://github.com/Haivision/srt/archive/v$CURRENT_PACKAGE_VERSION.tar.gz" "srt-$CURRENT_PACKAGE_VERSION.tar.gz"
871871
export OPENSSL_ROOT_DIR="${WORKSPACE}"
872872
export OPENSSL_LIB_DIR="${WORKSPACE}"/lib
873873
export OPENSSL_INCLUDE_DIR="${WORKSPACE}"/include/
@@ -878,7 +878,7 @@ if $NONFREE_AND_GPL; then
878878
sed -i.backup 's/-lgcc_s/-lgcc_eh/g' "${WORKSPACE}"/lib/pkgconfig/srt.pc # The -i.backup is intended and required on MacOS: https://stackoverflow.com/questions/5694228/sed-in-place-flag-that-works-both-on-mac-bsd-and-linux
879879
fi
880880

881-
build_done "srt" "1.5.1"
881+
build_done "srt" $CURRENT_PACKAGE_VERSION
882882
fi
883883
CONFIGURE_OPTIONS+=("--enable-libsrt")
884884
fi
@@ -889,11 +889,11 @@ fi
889889

890890
if [[ "$OSTYPE" == "linux-gnu" ]]; then
891891
if command_exists "nvcc"; then
892-
if build "nv-codec" "11.1.5.2"; then
893-
download "https://github.com/FFmpeg/nv-codec-headers/releases/download/n11.1.5.2/nv-codec-headers-11.1.5.2.tar.gz"
892+
if build "nv-codec" "11.1.5.3"; then
893+
download "https://github.com/FFmpeg/nv-codec-headers/releases/download/n$CURRENT_PACKAGE_VERSION/nv-codec-headers-$CURRENT_PACKAGE_VERSION.tar.gz"
894894
execute make PREFIX="${WORKSPACE}"
895895
execute make PREFIX="${WORKSPACE}" install
896-
build_done "nv-codec" "11.1.5.2"
896+
build_done "nv-codec" $CURRENT_PACKAGE_VERSION
897897
fi
898898
CFLAGS+=" -I/usr/local/cuda/include"
899899
LDFLAGS+=" -L/usr/local/cuda/lib64"

0 commit comments

Comments
 (0)