Skip to content

Commit 020c2e8

Browse files
committed
enhance(build): Add missing args for easier local building
pkgconfig can conflict with whats inside the ndk. also it was uselessly redownloading those tars
1 parent bd8de1b commit 020c2e8

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

buildlibs.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ else
2828
--host=$TARGET \
2929
--prefix=`pwd`/build_android-${TARGET_SHORT} \
3030
--without-zlib \
31+
--without-bzip2 \
32+
--without-harfbuzz \
33+
--without-png \
3134
--with-brotli=no \
3235
--with-png=no \
3336
--with-harfbuzz=no $EXTRA_ARGS \

getlibs.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ set -e
44

55
. setdevkitpath.sh
66

7-
wget https://downloads.sourceforge.net/project/freetype/freetype2/$BUILD_FREETYPE_VERSION/freetype-$BUILD_FREETYPE_VERSION.tar.gz
7+
wget -nc https://downloads.sourceforge.net/project/freetype/freetype2/$BUILD_FREETYPE_VERSION/freetype-$BUILD_FREETYPE_VERSION.tar.gz
88
tar xf freetype-$BUILD_FREETYPE_VERSION.tar.gz
99

10-
wget https://github.com/apple/cups/releases/download/v2.2.4/cups-2.2.4-source.tar.gz
10+
wget -nc https://github.com/apple/cups/releases/download/v2.2.4/cups-2.2.4-source.tar.gz
1111
tar xf cups-2.2.4-source.tar.gz
1212

1313
# wget https://sourceforge.net/projects/freemarker/files/freemarker/2.3.8/freemarker-2.3.8.tar.gz/download -O freemarker-2.3.8.tar.gz
1414
# tar -xzf freemarker-2.3.8.tar.gz
1515

16-
rm cups-2.2.4-source.tar.gz freetype-$BUILD_FREETYPE_VERSION.tar.gz
16+
# rm cups-2.2.4-source.tar.gz freetype-$BUILD_FREETYPE_VERSION.tar.gz
1717
# freemarker-2.3.8.tar.gz

0 commit comments

Comments
 (0)