Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit abd1a51

Browse filesBrowse files
authored
add libass
1 parent c1dbe6b commit abd1a51
Copy full SHA for abd1a51

File tree

Expand file treeCollapse file tree

1 file changed

+37
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+37
-2
lines changed

‎build-ffmpeg

Copy file name to clipboardExpand all lines: build-ffmpeg
+37-2Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -873,6 +873,43 @@ fi
873873

874874
CONFIGURE_OPTIONS+=("--enable-libfreetype")
875875

876+
if build "FreeType2" "2.11.1"; then
877+
download "https://downloads.sourceforge.net/freetype/freetype-2.11.1.tar.xz"
878+
execute ./configure --prefix="${WORKSPACE}" --disable-shared --enable-static
879+
execute make -j $MJOBS
880+
execute make install
881+
build_done "FreeType2" "2.11.1"
882+
fi
883+
CONFIGURE_OPTIONS+=("--enable-libfreetype")
884+
885+
if build "FriBidi" "1.0.11"; then
886+
download "https://github.com/fribidi/fribidi/releases/download/v1.0.11/fribidi-1.0.11.tar.xz"
887+
execute ./configure --prefix="${WORKSPACE}" --disable-shared --enable-static
888+
execute make -j $MJOBS
889+
execute make install
890+
build_done "FriBidi" "1.0.11"
891+
fi
892+
893+
if build "Harfbuzz" "2.6.7"; then
894+
download "https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-2.6.7.tar.xz"
895+
execute ./configure --prefix="${WORKSPACE}" --disable-shared --enable-static
896+
execute make -j $MJOBS
897+
execute make install
898+
build_done "Harfbuzz" "2.6.7"
899+
fi
900+
901+
if $NONFREE_AND_GPL; then
902+
if build "libass" "0.15.2"; then
903+
download "https://github.com/libass/libass/releases/download/0.15.2/libass-0.15.2.tar.gz" "libass-0.15.2.tar.xz"
904+
execute execute ./configure --prefix="${WORKSPACE}" --disable-shared --disable-require-system-font-provider
905+
execute make -j $MJOBS
906+
execute make install
907+
908+
build_done "libass" "0.15.2"
909+
fi
910+
CONFIGURE_OPTIONS+=("--enable-libass")
911+
fi
912+
876913
if $NONFREE_AND_GPL; then
877914
if build "srt" "1.5.3"; then
878915
download "https://github.com/Haivision/srt/archive/v$CURRENT_PACKAGE_VERSION.tar.gz" "srt-$CURRENT_PACKAGE_VERSION.tar.gz"
@@ -982,7 +1019,6 @@ echo "${CONFIGURE_OPTIONS[@]}" \
9821019
--enable-pthreads \
9831020
--enable-static \
9841021
--enable-version3 \
985-
--enable-libass \
9861022
--extra-cflags="${CFLAGS}" \
9871023
--extra-ldexeflags="${LDEXEFLAGS}" \
9881024
--extra-ldflags="${LDFLAGS}" \
@@ -998,7 +1034,6 @@ echo "${CONFIGURE_OPTIONS[@]}" \
9981034
--enable-pthreads \
9991035
--enable-static \
10001036
--enable-version3 \
1001-
--enable-libass \
10021037
--extra-cflags="${CFLAGS}" \
10031038
--extra-ldexeflags="${LDEXEFLAGS}" \
10041039
--extra-ldflags="${LDFLAGS}" \

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.