Skip to content

Commit 589a94d

Browse files
authored
Update build-ffmpeg
- libpng update - libwebp update - libsdl update - srt update - amf update
1 parent 132a021 commit 589a94d

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

build-ffmpeg

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -806,49 +806,49 @@ if build "libtiff" "4.5.0"; then
806806
execute make install
807807
build_done "libtiff" "4.5.0"
808808
fi
809-
if build "libpng" "1.6.37"; then
810-
download "https://sourceforge.net/projects/libpng/files/libpng16/1.6.37/libpng-1.6.37.tar.gz/download?use_mirror=gigenet" "libpng-1.6.37.tar.gz"
809+
if build "libpng" "1.6.39"; then
810+
download "https://gigenet.dl.sourceforge.net/project/libpng/libpng16/1.6.39/libpng-1.6.39.tar.gz" "libpng-1.6.39.tar.gz"
811811
export LDFLAGS="${LDFLAGS}"
812812
export CPPFLAGS="${CFLAGS}"
813813
execute ./configure --prefix="${WORKSPACE}" --disable-shared --enable-static
814814
execute make -j $MJOBS
815815
execute make install
816-
build_done "libpng" "1.6.37"
816+
build_done "libpng" "1.6.39"
817817
fi
818818

819819
## does not compile on monterey -> _PrintGifError
820820
if [[ "$OSTYPE" != "darwin"* ]]; then
821-
if build "libwebp" "1.2.1"; then
821+
if build "libwebp" "1.2.2"; then
822822
# libwebp can fail to compile on Ubuntu if these flags were left set to CFLAGS
823823
CPPFLAGS=
824-
download "https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.2.1.tar.gz" "libwebp-1.2.1.tar.gz"
824+
download "https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.2.2.tar.gz" "libwebp-1.2.2.tar.gz"
825825
execute ./configure --prefix="${WORKSPACE}" --disable-shared --enable-static --disable-dependency-tracking --disable-gl --with-zlib-include="${WORKSPACE}"/include/ --with-zlib-lib="${WORKSPACE}"/lib
826826
make_dir build
827827
cd build || exit
828828
execute cmake -DCMAKE_INSTALL_PREFIX="${WORKSPACE}" -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_BINDIR=bin -DCMAKE_INSTALL_INCLUDEDIR=include -DENABLE_SHARED=OFF -DENABLE_STATIC=ON ../
829829
execute make -j $MJOBS
830830
execute make install
831831

832-
build_done "libwebp" "1.2.1"
832+
build_done "libwebp" "1.2.2"
833833
fi
834834
CONFIGURE_OPTIONS+=("--enable-libwebp")
835835
fi
836836
##
837837
## other library
838838
##
839839

840-
if build "libsdl" "2.0.20"; then
841-
download "https://www.libsdl.org/release/SDL2-2.0.20.tar.gz"
840+
if build "libsdl" "2.26.1"; then
841+
download "https://www.libsdl.org/release/SDL2-2.26.1.tar.gz"
842842
execute ./configure --prefix="${WORKSPACE}" --disable-shared --enable-static
843843
execute make -j $MJOBS
844844
execute make install
845845

846-
build_done "libsdl" "2.0.20"
846+
build_done "libsdl" "2.26.1"
847847
fi
848848

849849
if $NONFREE_AND_GPL; then
850-
if build "srt" "1.4.3"; then
851-
download "https://github.com/Haivision/srt/archive/v1.4.3.tar.gz" "srt-1.4.3.tar.gz"
850+
if build "srt" "1.5.1"; then
851+
download "https://github.com/Haivision/srt/archive/v1.5.1.tar.gz" "srt-1.5.1.tar.gz"
852852
export OPENSSL_ROOT_DIR="${WORKSPACE}"
853853
export OPENSSL_LIB_DIR="${WORKSPACE}"/lib
854854
export OPENSSL_INCLUDE_DIR="${WORKSPACE}"/include/
@@ -859,7 +859,7 @@ if $NONFREE_AND_GPL; then
859859
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
860860
fi
861861

862-
build_done "srt" "1.4.3"
862+
build_done "srt" "1.5.1"
863863
fi
864864
CONFIGURE_OPTIONS+=("--enable-libsrt")
865865
fi
@@ -899,12 +899,12 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
899899
fi
900900
fi
901901

902-
if build "amf" "1.4.21.0"; then
903-
download "https://github.com/GPUOpen-LibrariesAndSDKs/AMF/archive/refs/tags/v.1.4.21.tar.gz" "AMF-1.4.21.tar.gz" "AMF-1.4.21"
902+
if build "amf" "1.4.28"; then
903+
download 'https://github.com/GPUOpen-LibrariesAndSDKs/AMF/archive/refs/tags/v1.4.28.tar.gz' 'AMF-1.4.28.tar.gz' 'AMF-1.4.28'
904904
execute rm -rf "${WORKSPACE}/include/AMF"
905905
execute mkdir -p "${WORKSPACE}/include/AMF"
906906
execute cp -r "${PACKAGES}"/AMF-1.4.21/AMF-v.1.4.21/amf/public/include/* "${WORKSPACE}/include/AMF/"
907-
build_done "amf" "1.4.21.0"
907+
build_done "amf" "1.4.28"
908908
fi
909909
CONFIGURE_OPTIONS+=("--enable-amf")
910910
fi

0 commit comments

Comments
 (0)