Skip to content

Commit 84e9aaa

Browse files
David BurnettDavid Burnett
authored andcommitted
Freetype have fixed their build issue, so back to HEAD, update freetyoe cmake options
1 parent 5418bc8 commit 84e9aaa

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ echoDurationInSections $START_TIME
114114

115115
START_TIME=$(currentTimeInSeconds)
116116
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
118118
checkStatus $? "build freetype"
119119
echoDurationInSections $START_TIME
120120

build/build-freetype.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ download_code () {
2727
cd "$2/${SOFTWARE}"
2828
checkStatus $? "change directory failed"
2929
# 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
3132
checkStatus $? "download of ${SOFTWARE} failed"
3233

3334
}
@@ -42,7 +43,11 @@ configure_build () {
4243
checkStatus $? "change directory failed"
4344

4445
# 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
4651
checkStatus $? "configuration of ${SOFTWARE} failed"
4752

4853
}

0 commit comments

Comments
 (0)