mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
39 lines
952 B
Bash
Executable File
39 lines
952 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# This bash script build FontForge
|
|
|
|
source buildScripts/reSourceVersionEnvs
|
|
|
|
echo ""
|
|
echo "-------------------------------------------------------------------"
|
|
echo "BUILDING FontForge (using CMake)"
|
|
echo "-------------------------------------------------------------------"
|
|
echo ""
|
|
|
|
cd fontforge
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
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 \
|
|
..
|
|
|
|
# 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
|
|
|
|
make $MAKE_PARALLEL
|
|
|