mirror of
https://github.com/levogevo/ffmpeg-builder.git
synced 2026-03-16 19:20:11 +00:00
fixup libass
This commit is contained in:
51
lib/build.sh
51
lib/build.sh
@@ -368,11 +368,17 @@ glad 2.0.8 tar.gz https://github.com/Dav1dde/glad/archive
|
||||
libx265 4.1 tar.gz https://bitbucket.org/multicoreware/x265_git/downloads/x265_${ver}.${ext} libnuma
|
||||
libnuma 2.0.19 tar.gz https://github.com/numactl/numactl/archive/refs/tags/v${ver}.${ext}
|
||||
|
||||
libass 0.17.4 tar.xz https://github.com/libass/libass/releases/download/${ver}/libass-${ver}.${ext} freetype,fribidi,libunibreak
|
||||
freetype 2.14.1 tar.xz https://downloads.sourceforge.net/freetype/freetype-${ver}.${ext} libpng,harfbuzz
|
||||
harfbuzz 12.3.0 tar.xz https://github.com/harfbuzz/harfbuzz/releases/download/${ver}/harfbuzz-${ver}.${ext}
|
||||
fribidi 1.0.16 tar.xz https://github.com/fribidi/fribidi/releases/download/v${ver}/fribidi-${ver}.${ext}
|
||||
libass 0.17.4 tar.xz https://github.com/libass/libass/releases/download/${ver}/libass-${ver}.${ext} libfreetype,libfribidi,libunibreak,libxml2,xz,libfontconfig
|
||||
libunibreak 6.1 tar.gz https://github.com/adah1972/libunibreak/releases/download/libunibreak_${ver//./_}/libunibreak-${ver}.${ext}
|
||||
libxml2 2.15.1 tar.gz https://github.com/GNOME/libxml2/archive/refs/tags/v${ver}.${ext}
|
||||
xz 5.8.2 tar.xz https://github.com/tukaani-project/xz/releases/download/v${ver}/xz-${ver}.${ext}
|
||||
libfribidi 1.0.16 tar.xz https://github.com/fribidi/fribidi/releases/download/v${ver}/fribidi-${ver}.${ext}
|
||||
libfreetype 2.14.1 tar.xz https://downloads.sourceforge.net/freetype/freetype-${ver}.${ext} zlib,bzip,libpng,libharfbuzz,brotli
|
||||
bzip latest git https://github.com/libarchive/bzip2.git
|
||||
libharfbuzz 12.3.0 tar.xz https://github.com/harfbuzz/harfbuzz/releases/download/${ver}/harfbuzz-${ver}.${ext}
|
||||
brotli 1.2.0 tar.gz https://github.com/google/brotli/archive/refs/tags/v${ver}.${ext}
|
||||
libfontconfig 2.17.1 tar.xz https://gitlab.freedesktop.org/api/v4/projects/890/packages/generic/fontconfig/${ver}/fontconfig-${ver}.${ext} expat
|
||||
expat 2.7.3 tar.xz https://github.com/libexpat/libexpat/releases/download/R_${ver//./_}/expat-${ver}.${ext}
|
||||
'
|
||||
local supported_builds=()
|
||||
unset ver ext url deps extractedDir
|
||||
@@ -892,6 +898,27 @@ build_libx265() {
|
||||
del_pkgconfig_gcc_s x265.pc || return 1
|
||||
}
|
||||
|
||||
build_brotli() {
|
||||
meta_cmake_build || return 1
|
||||
sanitize_sysroot_libs \
|
||||
libbrotlicommon libbrotlidec libbrotlienc || return 1
|
||||
}
|
||||
|
||||
build_libxml2() {
|
||||
meta_cmake_build || return 1
|
||||
sanitize_sysroot_libs libxml2 || return 1
|
||||
}
|
||||
|
||||
build_xz() {
|
||||
meta_cmake_build || return 1
|
||||
sanitize_sysroot_libs liblzma || return 1
|
||||
}
|
||||
|
||||
build_expat() {
|
||||
meta_cmake_build || return 1
|
||||
sanitize_sysroot_libs libexpat || return 1
|
||||
}
|
||||
|
||||
### MESON ###
|
||||
meta_meson_build() {
|
||||
local addFlags=("$@")
|
||||
@@ -964,13 +991,23 @@ build_libvmaf() {
|
||||
fi
|
||||
}
|
||||
|
||||
build_freetype() {
|
||||
build_libfreetype() {
|
||||
meta_meson_build \
|
||||
-D tests=disabled || return 1
|
||||
sanitize_sysroot_libs libfreetype || return 1
|
||||
}
|
||||
|
||||
build_harfbuzz() {
|
||||
build_bzip() {
|
||||
meta_meson_build || return 1
|
||||
sanitize_sysroot_libs libbz2 || return 1
|
||||
}
|
||||
|
||||
build_libfontconfig() {
|
||||
meta_meson_build || return 1
|
||||
sanitize_sysroot_libs libfontconfig || return 1
|
||||
}
|
||||
|
||||
build_libharfbuzz() {
|
||||
meta_meson_build \
|
||||
-D tests=disabled \
|
||||
-D docs=disabled \
|
||||
@@ -978,7 +1015,7 @@ build_harfbuzz() {
|
||||
sanitize_sysroot_libs libharfbuzz || return 1
|
||||
}
|
||||
|
||||
build_fribidi() {
|
||||
build_libfribidi() {
|
||||
meta_meson_build \
|
||||
-D tests=false || return 1
|
||||
sanitize_sysroot_libs libfribidi || return 1
|
||||
|
||||
Reference in New Issue
Block a user