From b5e5fc539d6713be09c8ea8bea60f8e9ff888d1f Mon Sep 17 00:00:00 2001 From: mark Date: Tue, 1 Oct 2024 09:10:15 +1000 Subject: [PATCH 1/4] include libspeex --- build-ffmpeg | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/build-ffmpeg b/build-ffmpeg index 5d724d2..92f3878 100755 --- a/build-ffmpeg +++ b/build-ffmpeg @@ -1131,6 +1131,19 @@ fi CONFIGURE_OPTIONS+=("--enable-libopus") +if build "speex" "1.2.1"; then + + download "https://ftp.osuosl.org/pub/xiph/releases/speex/speex-1.2.1.tar.gz" + + execute ./configure --prefix="${WORKSPACE}" --disable-shared --enable-static + execute make -j ${MJOBS} + execute make install + + build_done "speex" "1.2.1" +fi + +CONFIGURE_OPTIONS+=("--enable-libspeex") + if ! isLinux; then if build "libogg" "1.3.5"; then From 25e680767a147eef870fdd2cdcc0b13dc8db3ce5 Mon Sep 17 00:00:00 2001 From: mark Date: Tue, 1 Oct 2024 09:10:54 +1000 Subject: [PATCH 2/4] include libspeex --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 3f5f9e6..da3dcb0 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,7 @@ FFmpeg is built with the following configuration options: --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopus + --enable-libspeex --enable-libsrt --enable-libsvtav1 --enable-libtheora From dde98a8d69feb56ce12879bd2231d218de4ba9c1 Mon Sep 17 00:00:00 2001 From: mark Date: Tue, 1 Oct 2024 10:18:30 +1000 Subject: [PATCH 3/4] include libspeex --- build-ffmpeg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-ffmpeg b/build-ffmpeg index 92f3878..285bbf6 100755 --- a/build-ffmpeg +++ b/build-ffmpeg @@ -6,8 +6,8 @@ # LICENSE: https://github.com/markus-perl/ffmpeg-build-script/blob/master/LICENSE # PROGNAME=$(basename "$0") -FFMPEG_VERSION=6.0 -SCRIPT_VERSION=1.46 +FFMPEG_VERSION=6.1.2 +SCRIPT_VERSION=1.47 CWD=$(pwd) PACKAGES="${CWD}/packages" WORKSPACE="${CWD}/workspace" From cedd8e9064ce82ff1c1037ce79ba164b57af7685 Mon Sep 17 00:00:00 2001 From: mark Date: Tue, 1 Oct 2024 11:27:49 +1000 Subject: [PATCH 4/4] Update build-ffmpeg --- build-ffmpeg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-ffmpeg b/build-ffmpeg index 285bbf6..99b4faa 100755 --- a/build-ffmpeg +++ b/build-ffmpeg @@ -1451,7 +1451,7 @@ fi build "ffmpeg" "${FFMPEG_VERSION}" -download "https://github.com/FFmpeg/FFmpeg/archive/refs/heads/release/${FFMPEG_VERSION}.tar.gz" "FFmpeg-release-${FFMPEG_VERSION}.tar.gz" +download "https://ffmpeg.org/releases/ffmpeg-${FFMPEG_VERSION}.tar.gz" "FFmpeg-release-${FFMPEG_VERSION}.tar.gz" # shellcheck disable=SC2086 echo ./configure "${CONFIGURE_OPTIONS[@]}" \