Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions recipes/harfbuzz/recipe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,23 @@ function shouldbuild_harfbuzz() {

function build_harfbuzz() {
cd $BUILD_harfbuzz

push_arm
#~ export LDFLAGS="-L$LIBS_PATH"
#~ export LDSHARED="$LIBLINK"
#try ./configure --build=i686-pc-linux-gnu --host=arm-linux-androideabi --prefix="$BUILD_PATH/python-install" --enable-shared --without-freetype --without-glib
#~ try ./autogen.sh --build=i686-pc-linux-gnu --host=arm-linux-androideabi --prefix="$BUILD_PATH/python-install" --without-freetype --without-glib
try ./configure --without-icu --host=arm-linux-androideabi --prefix="$BUILD_PATH/python-install" --without-freetype --without-glib
try make -j5
try make -nostdinc -j5
pop_arm
try cp -L $BUILD_harfbuzz/src/.libs/libharfbuzz.so $LIBS_PATH
}

# function called after all the compile have been done
function postbuild_harfbuzz() {
true
if [ -f "$BUILD_freetype/objs/.libs/libfreetype.so" ]; then
echo "freetype found rebuilding harfbuzz with freetype support";
cd $BUILD_harfbuzz
push_arm
try ./configure --without-icu --host=arm-linux-androideabi --prefix="$BUILD_PATH/python-install" --without-glib
try make -nostdinc -j5
pop_arm
try cp -L $BUILD_harfbuzz/src/.libs/libharfbuzz.so $LIBS_PATH
fi
}