3 #sed -i 's:/\* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING \*/:#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING:' freetype/include/freetype/config/ftoption.h
4 sed -i '/define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2/d' freetype
/include
/freetype
/config
/ftoption.h
13 -Ddefault_library=both \
21 ninja
-C output
install
29 -Dpkg_config_path="$DESTDIR/usr/lib/pkgconfig" \
30 -Ddefault_library=both \
35 -Dbenchmark=disabled \
42 ninja
-C output
install
45 # Point Freetype to the Harfbuzz files.
46 export CFLAGS
="$CFLAGS -I$DESTDIR/usr/include/harfbuzz"
47 export CFLAGS
="$CFLAGS -L$DESTDIR/usr/lib "
48 export PKG_CONFIG_PATH
="$DESTDIR/usr/lib/pkgconfig"
50 # Point Harfbuzz to the Freetype files.
51 export CXXFLAGS
="$CXXFLAGS -I$DESTDIR/usr/include/freetype2"
52 export CXXFLAGS
="$CXXFLAGS -L$DESTDIR/usr/lib"
54 build_freetype
-Dharfbuzz=disabled
56 build_freetype
-Dharfbuzz=enabled
--reconfigure