1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00
pdf2htmlEX/buildScripts/buildFontforge

39 lines
952 B
Plaintext
Raw Normal View History

#!/bin/bash
# This bash script build FontForge
2019-11-28 12:04:22 +00:00
source buildScripts/reSourceVersionEnvs
2019-11-26 12:55:53 +00:00
echo ""
echo "-------------------------------------------------------------------"
2020-05-30 06:20:37 +00:00
echo "BUILDING FontForge (using CMake)"
echo "-------------------------------------------------------------------"
echo ""
2020-05-30 06:20:37 +00:00
cd fontforge
2019-11-26 10:49:39 +00:00
2020-05-30 06:20:37 +00:00
mkdir build
2019-11-26 11:19:49 +00:00
2020-05-30 06:20:37 +00:00
cd build
2020-05-30 06:20:37 +00:00
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS:BOOL=OFF \
-DCMAKE_INSTALL_PREFIX=$PDF2HTMLEX_PREFIX \
-DENABLE_GUI:BOOL=OFF \
-DENABLE_X11:BOOL=OFF \
-DENABLE_PYTHON_SCRIPTING:BOOL=OFF \
-DENABLE_PYTHON_EXTENSION:AUTO=OFF \
..
2019-11-26 12:13:27 +00:00
2019-11-23 06:23:30 +00:00
# Apply any patches required for fontforge raw sources before we make
#
#for APATCHFILE in $(ls ../patches/fontforge-$FONTFORGE_VERSION-*)
#do
# echo "patching fontforge using [$APATCHFILE]"
# patch -p 1 < $APATCHFILE
#done
2019-11-23 06:23:30 +00:00
2019-11-26 13:10:52 +00:00
make $MAKE_PARALLEL
2019-11-26 09:54:05 +00:00