ndkports
A collection of Android build scripts for various open source libraries and the tooling to build them.
Buildscripts are based on Google's ndkports.
Compiled binaries are distributed through MavenCentral.
Most packages aim to deliver up-to-date versions, unless specified otherwise.
Matrix
Each port is built on a matrix of NDK versions and library type.
- com.viliussutkus89.ndk.thirdparty:libfoo-ndk26-static:0.4.1
- com.viliussutkus89.ndk.thirdparty:libfoo-ndk26-shared:0.4.1
- com.viliussutkus89.ndk.thirdparty:libfoo-ndk26-shared-with-shared-deps:0.4.1
- com.viliussutkus89.ndk.thirdparty:libfoo-ndk25-static:0.4.1
- com.viliussutkus89.ndk.thirdparty:libfoo-ndk25-shared:0.4.1
- com.viliussutkus89.ndk.thirdparty:libfoo-ndk25-shared-with-shared-deps:0.4.1
Min SDK Version:
Builds compiled with NDK-26 support Android SDK 21 (Lollipop) and later.
Builds compiled with NDK-25 support Android SDK 19 (KitKat) and later.
Libraries built with different NDK versions should not be used in the same application.
Libraries are built as:
- static (libfoo.a) with all dependencies linked as static libraries too,
- shared (libfoo.so) with all dependencies linked as static libraries,
- shared-with-shared-deps (libfoo.so) with all dependencies linked as shared libraries too.
Ports
GLib
Released versions 2.78.1 and 2.78.3 are problematic (issue #20). Usable version is 2.75.0
libpng
libjpeg-turbo
Fontconfig
Poppler
pdf2htmlEX
pdf2htmlEX-0.18.8.rc2 version is based on PR pdf2htmlEX/pdf2htmlEX#154 , not an official release,
pdf2htmlEX also has a Java wrapper - pdf2htmlEX-Android
GNU FriBidi
FreeType
PCRE2 - Perl-Compatible Regular Expressions
libffi
LibTIFF
Expat
Little CMS color engine
GNU Libtool
OpenJPEG
Spiro
Pixman
libiconv
libxml2
proxy-libintl
Cairo
Graphite
HarfBuzz
libuninameslist
Pango
FontForge
OpenLibm
libgsf
libwmf
wvWare
wvWare has a Java wrapper - wvWare-Android