File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ echoDurationInSections $START_TIME
114
114
115
115
START_TIME=$( currentTimeInSeconds)
116
116
echoSection " compile freetype"
117
- $SCRIPT_DIR /build-freetype.sh " $SCRIPT_DIR " " $WORKING_DIR " " $TOOL_DIR " " $CPUS " " xxxx " > " $WORKING_DIR /build-freetype.log" 2>&1
117
+ $SCRIPT_DIR /build-freetype.sh " $SCRIPT_DIR " " $WORKING_DIR " " $TOOL_DIR " " $CPUS " " VER-2-11-1 " > " $WORKING_DIR /build-freetype.log" 2>&1
118
118
checkStatus $? " build freetype"
119
119
echoDurationInSections $START_TIME
120
120
Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ download_code () {
27
27
cd " $2 /${SOFTWARE} "
28
28
checkStatus $? " change directory failed"
29
29
# download source
30
- git clone https://gitlab.freedesktop.org/freetype/freetype.git --branch $5
30
+ # git clone https://gitlab.freedesktop.org/freetype/freetype.git --branch $5
31
+ git clone https://gitlab.freedesktop.org/freetype/freetype.git
31
32
checkStatus $? " download of ${SOFTWARE} failed"
32
33
33
34
}
@@ -42,7 +43,11 @@ configure_build () {
42
43
checkStatus $? " change directory failed"
43
44
44
45
# prepare build
45
- cmake -DCMAKE_INSTALL_PREFIX:PATH=$3 -D CMAKE_DISABLE_FIND_PACKAGE_HarfBuzz=TRUE -DFT_WITH_HARFBUZZ=NO -DFT_WITH_BZIP2=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release ../$SOFTWARE
46
+ cmake -DCMAKE_INSTALL_PREFIX:PATH=$3 \
47
+ -DFT_DISABLE_HARFBUZZ=ON \
48
+ -DFT_REQUIRE_BZIP2=ON \
49
+ -DBUILD_SHARED_LIBS=OFF \
50
+ -DCMAKE_BUILD_TYPE=Release ../$SOFTWARE
46
51
checkStatus $? " configuration of ${SOFTWARE} failed"
47
52
48
53
}
You can’t perform that action at this time.
0 commit comments