File tree Expand file tree Collapse file tree 2 files changed +66
-0
lines changed
Expand file tree Collapse file tree 2 files changed +66
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ VERSION_freetype=${VERSION_freetype:- 2.5.5}
4+ DEPS_freetype=(harfbuzz)
5+ URL_freetype=http://download.savannah.gnu.org/releases/freetype/freetype-2.5.5.tar.gz
6+ MD5_freetype=7448edfbd40c7aa5088684b0a3edb2b8
7+ BUILD_freetype=$BUILD_PATH /freetype/$( get_directory $URL_freetype )
8+ RECIPE_freetype=$RECIPES_PATH /freetype
9+
10+ # function called for preparing source code if needed
11+ # (you can apply patch etc here.)
12+ function prebuild_freetype() {
13+ true
14+ }
15+
16+ function build_freetype() {
17+ cd $BUILD_freetype
18+ push_arm
19+ export LDFLAGS=" $LDFLAGS -L$BUILD_harfbuzz /src/.libs/"
20+ try ./configure --build=i686-pc-linux-gnu --host=arm-linux-androideabi --prefix=$BUILD_freetype --without-zlib --with-png=no --enable-shared
21+ try make -j5
22+ pop_arm
23+
24+ try cp $BUILD_freetype /objs/.libs/libfreetype.so $LIBS_PATH
25+ }
26+
27+ # function called after all the compile have been done
28+ function postbuild_freetype() {
29+ true
30+ }
31+
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ VERSION_harfbuzz=${VERSION_harfbuzz:- 2.5.5}
4+ URL_harfbuzz=http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-0.9.40.tar.bz2
5+ MD5_harfbuzz=0e27e531f4c4acff601ebff0957755c2
6+ BUILD_harfbuzz=$BUILD_PATH /harfbuzz/$( get_directory $URL_harfbuzz )
7+ RECIPE_harfbuzz=$RECIPES_PATH /harfbuzz
8+
9+ # function called for preparing source code if needed
10+ # (you can apply patch etc here.)
11+ function prebuild_harfbuzz() {
12+ true
13+ }
14+
15+ function shouldbuild_harfbuzz() {
16+ if [ -f " $BUILD_harfbuzz /src/.libs/libharfbuzz.so" ]; then
17+ DO_BUILD=0
18+ fi
19+ }
20+
21+ function build_harfbuzz() {
22+ cd $BUILD_harfbuzz
23+
24+ push_arm
25+ try ./configure --build=i686-pc-linux-gnu --host=arm-linux-androideabi --prefix=" $BUILD_PATH /python-install" --enable-shared --without-freetype --without-glib
26+ try make -j5
27+ pop_arm
28+ try cp -L $BUILD_harfbuzz /src/.libs/libharfbuzz.so $LIBS_PATH
29+ }
30+
31+ # function called after all the compile have been done
32+ function postbuild_harfbuzz() {
33+ true
34+ }
35+
You can’t perform that action at this time.
0 commit comments