873
873
874
874
CONFIGURE_OPTIONS+=(" --enable-libfreetype" )
875
875
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
+
876
913
if $NONFREE_AND_GPL ; then
877
914
if build " srt" " 1.5.3" ; then
878
915
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[@]}" \
982
1019
--enable-pthreads \
983
1020
--enable-static \
984
1021
--enable-version3 \
985
- --enable-libass \
986
1022
--extra-cflags=" ${CFLAGS} " \
987
1023
--extra-ldexeflags=" ${LDEXEFLAGS} " \
988
1024
--extra-ldflags=" ${LDFLAGS} " \
@@ -998,7 +1034,6 @@ echo "${CONFIGURE_OPTIONS[@]}" \
998
1034
--enable-pthreads \
999
1035
--enable-static \
1000
1036
--enable-version3 \
1001
- --enable-libass \
1002
1037
--extra-cflags=" ${CFLAGS} " \
1003
1038
--extra-ldexeflags=" ${LDEXEFLAGS} " \
1004
1039
--extra-ldflags=" ${LDFLAGS} " \
0 commit comments