libdecsync is a multiplatform library for synchronizing using DecSync.
Install dependencies:
sudo apt install \
build-essential \
openjdk-8-jdk \
libncurses5
sudo dnf install \
make \
java-1.8.0-openjdk-headless \
ncurses-compat-libs
git clone https://github.com/39aldo39/libdecsync
cd libdecsync
make
sudo make install
This installs the shared library libdecsync.so
, the header libdecsync.h
(and libdecsync_api.h
) and the pkg-config file decsync.pc
. For documentation on how to use the library, see libdecsync.h. The shared library contains the same functions, but without type information. Moreover, these functions have the prefix decsync_so
instead of decsync
.
./gradlew assembleRelease
This creates the aar-file build/outputs/aar/libdecsync-release.aar
.