sync client.
- Use Nextcloud Notes to edit your notes in the web.
-To build using Qt6 instead of Qt5, use QT6=yes. This requires qt6.
+To build using Qt6, use QT6=yes, otherwise Qt5 will be used. This
+requires qt6.
-To enable git versioning of your notes, use GIT=yes. This requires
-libgit2.
+To enable internal git versioning of your notes, use LIBGIT2=yes,
+otherwise `git` command will be used. This requires libgit2.
+
+To use system Botan, use BOTAN=yes, otherwise a bundled stub will be
+used. This requires Botan3.
USE_QT6="-DQON_QT6_BUILD=ON"
fi
-if [ "${GIT:-no}" != "no" ]; then
+if [ "${LIBGIT2:-no}" != "no" ]; then
USE_LIBGIT2="-DBUILD_WITH_LIBGIT2=ON"
fi
+if [ "${BOTAN:-no}" != "no" ]; then
+ USE_SYSTEM_BOTAN="-DBUILD_WITH_SYSTEM_BOTAN=ON"
+fi
+
mkdir build
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-DBUILD_WITH_ASPELL=ON \
$USE_QT6 \
$USE_LIBGIT2 \
+ $USE_SYSTEM_BOTAN \
-DCMAKE_BUILD_TYPE=Release \
-B build
cmake --build build