/aplump

aplump – plump Android

Primary LanguageShellMIT LicenseMIT

aplump – plump Android

Copyright: 2017-2018 Boris Pek <tehnick-8@yandex.ru>
License: MIT (Expat)

Homepage: https://github.com/sibuserv/aplump

Description:
Collection of scripts for building of some extra libraries for Android.

Dependencies:
bash, realpath, pkg-config, make, autoreconf, automake, cmake, wget, curl, du,
tar (with gzip, bzip2 and xz support), unzip, patch, sed, find, openssl

Settings:
  Edit file settings.sh or add file settings.sh.<any-suffix>

Examples of usage:

# Downloading and unpacking of Android NDK and Android SDK:
  make android-ndk android-sdk

# Installation of Android NDK and Android SDK to target location:
  sudo make install-ndk install-sdk

# Building of extra libraries:
  make
  make openssl freeglut

# Other options:
  make download
  make list
  make clean
  make distclean
  make version
  make help

# Installation of extra libraries into Android NDK:
  sudo make install

Some useful links:
  https://github.com/sibuserv/sibuserv
  https://github.com/sibuserv/lxe
  https://github.com/sibuserv/mxe


Note for qmake based projects:
android: {
    # https://doc.qt.io/qt-5/opensslsupport.html
    message(ANDROID_PLATFORM_PATH = $$ANDROID_PLATFORM_PATH)
    ANDROID_EXTRA_LIBS = \
        $$ANDROID_PLATFORM_PATH/lib/libcrypto.so \
        $$ANDROID_PLATFORM_PATH/lib/libssl.so
}