]> git.t-rg.ws Git - slackbuilds.git/commitdiff
qownnotes: added external Botan support
authorfsLeg <fsleg@t-rg.ws>
Sat, 4 Oct 2025 14:31:38 +0000 (17:31 +0300)
committerfsLeg <fsleg@t-rg.ws>
Sat, 4 Oct 2025 14:31:38 +0000 (17:31 +0300)
qownnotes/README
qownnotes/qownnotes.SlackBuild

index 96af2132332135afc0021e7ee75621c6a7c55b22..e8f8108bf65cd2b6d85f0b19c57d28e91343e427 100644 (file)
@@ -11,7 +11,11 @@ Nextcloud.
   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.
index f24c54fc906454ef0ba1ab453136765ef3292b30..3c7274259cd6b6005c7a4492adb8772d04213b95 100644 (file)
@@ -82,10 +82,14 @@ if [ "${QT6:-no}" != "no" ]; then
   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" \
@@ -95,6 +99,7 @@ cmake \
   -DBUILD_WITH_ASPELL=ON \
   $USE_QT6 \
   $USE_LIBGIT2 \
+  $USE_SYSTEM_BOTAN \
   -DCMAKE_BUILD_TYPE=Release \
   -B build
 cmake --build build