Skip to content

Commit

Permalink
Remove libass
Browse files Browse the repository at this point in the history
We want to parse ASS/SSA, but we don't need rendering.
  • Loading branch information
WyattBlue committed Jul 17, 2024
1 parent f601f45 commit f449742
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions scripts/build-ffmpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@
name="freetype",
requires=["png"],
source_url="https://download.savannah.gnu.org/releases/freetype/freetype-2.10.1.tar.gz",
# At this point we have not built our own harfbuzz and we do NOT want to
# pick up the system's harfbuzz.
build_arguments=["--with-harfbuzz=no"],
),
Package(
Expand All @@ -56,23 +54,6 @@
source_url="https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.15.0.tar.xz",
build_arguments=["--disable-nls", "--enable-libxml2"],
),
Package(
name="fribidi",
source_url="https://github.com/fribidi/fribidi/releases/download/v1.0.11/fribidi-1.0.11.tar.xz",
),
Package(
name="harfbuzz",
requires=["freetype"],
source_url="https://github.com/harfbuzz/harfbuzz/releases/download/4.1.0/harfbuzz-4.1.0.tar.xz",
build_arguments=[
"--with-cairo=no",
"--with-chafa=no",
"--with-freetype=yes",
"--with-glib=no",
],
# parallel build fails on Windows
build_parallel=plat != "Windows",
),
]

gnutls_group = [
Expand Down Expand Up @@ -121,11 +102,6 @@
],
build_parallel=False,
),
Package(
name="ass",
requires=["fontconfig", "freetype", "fribidi", "harfbuzz", "nasm", "png"],
source_url="https://github.com/libass/libass/releases/download/0.17.3/libass-0.17.3.tar.gz",
),
Package(
name="bluray",
requires=["fontconfig"],
Expand Down Expand Up @@ -357,7 +333,6 @@ def main():
"--enable-gmp",
"--enable-gnutls" if use_gnutls else "--disable-gnutls",
"--enable-libaom",
"--enable-libass",
"--enable-libbluray",
"--enable-libdav1d",
"--enable-libfreetype",
Expand Down Expand Up @@ -395,7 +370,6 @@ def main():
["--enable-videotoolbox", "--extra-ldflags=-Wl,-ld_classic"]
)


if use_gnutls:
library_group += gnutls_group

Expand Down

0 comments on commit f449742

Please sign in to comment.