Skip to content

Commit

Permalink
Use ffmpeg 7.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
WyattBlue committed Aug 4, 2024
1 parent cc5b5ff commit c2e8f08
Showing 1 changed file with 3 additions and 22 deletions.
25 changes: 3 additions & 22 deletions scripts/build-ffmpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,6 @@
source_url="https://download.gnome.org/sources/libxml2/2.9/libxml2-2.9.13.tar.xz",
build_arguments=["--without-python"],
),
Package(
name="freetype",
requires=["png"],
source_url="https://download.savannah.gnu.org/releases/freetype/freetype-2.10.1.tar.gz",
build_arguments=["--with-harfbuzz=no"],
),
Package(
name="fontconfig",
requires=["freetype", "xml2"],
source_url="https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.15.0.tar.xz",
build_arguments=["--disable-nls", "--enable-libxml2"],
),
]

gnutls_group = [
Expand Down Expand Up @@ -102,12 +90,6 @@
],
build_parallel=False,
),
Package(
name="bluray",
requires=["fontconfig"],
source_url="https://download.videolan.org/pub/videolan/libbluray/1.3.4/libbluray-1.3.4.tar.bz2",
build_arguments=["--disable-bdjava-jar"],
),
Package(
name="dav1d",
requires=["meson", "nasm", "ninja"],
Expand Down Expand Up @@ -209,7 +191,7 @@

ffmpeg_package = Package(
name="ffmpeg",
source_url="https://ffmpeg.org/releases/ffmpeg-7.0.1.tar.xz",
source_url="https://ffmpeg.org/releases/ffmpeg-7.0.2.tar.xz",
build_arguments=[],
)

Expand Down Expand Up @@ -328,14 +310,13 @@ def main():
"--disable-alsa",
"--disable-doc",
"--disable-libtheora",
"--disable-libfreetype",
"--disable-libfontconfig",
"--enable-mediafoundation" if plat == "Windows" else "--disable-mediafoundation",
"--enable-fontconfig",
"--enable-gmp",
"--enable-gnutls" if use_gnutls else "--disable-gnutls",
"--enable-libaom",
"--enable-libbluray",
"--enable-libdav1d",
"--enable-libfreetype",
"--enable-libmp3lame",
"--enable-libopencore-amrnb",
"--enable-libopencore-amrwb",
Expand Down

0 comments on commit c2e8f08

Please sign in to comment.