Skip to content

Commit fcf28fc

Browse files
committed
update pre install shell
1 parent ab1bff4 commit fcf28fc

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

install-pre-any.sh

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ DAV1D_TAG='dav1d-1.3.0-231127183948'
3030
OPENSSL_TAG='openssl-1.1.1w-231127183927'
3131
DVDREAD_TAG='dvdread-6.1.3-240108102425'
3232
FFMPEG_TAG='ffmpeg-5.1.4-240123163221'
33+
34+
FREETYPE_TAG='freetype-2.13.2-231229172708'
35+
UNIBREAK_TAG='unibreak-5.1-231229171455'
36+
HARFBUZZ_TAG=''
37+
FRIBIDI_TAG=''
38+
ASS_TAG=''
3339
#----------------------------------------------------------
3440

3541
set -e
@@ -55,7 +61,7 @@ function install_lib ()
5561
function usage() {
5662
echo "=== useage ===================="
5763
echo "Download pre-compiled libs from github:"
58-
echo " $0 [ios,macos,all] [all|ffmpeg|libyuv|openssl|opus|bluray|dav1d|dvdread]"
64+
echo " $0 [ios,macos,all] [all|ffmpeg|libyuv|openssl|opus|bluray|dav1d|freetype|fribidi|harfbuzz|ass]"
5965
exit 1
6066
}
6167

@@ -101,6 +107,21 @@ if [[ "$PLAT" == 'ios' || "$PLAT" == 'macos' || "$PLAT" == 'all' ]]; then
101107
'dvdread')
102108
TAG=$DVDREAD_TAG
103109
;;
110+
'freetype')
111+
TAG=$FREETYPE_TAG
112+
;;
113+
'harfbuzz')
114+
TAG=$HARFBUZZ_TAG
115+
;;
116+
'fribidi')
117+
TAG=$FRIBIDI_TAG
118+
;;
119+
'unibreak')
120+
TAG=$UNIBREAK_TAG
121+
;;
122+
'ass')
123+
TAG=$ASS_TAG
124+
;;
104125
*)
105126
echo "wrong lib name:$lib"
106127
usage

0 commit comments

Comments
 (0)