aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2022-08-11 20:10:51 +0200
committerLinus Jahn <lnj@kaidan.im>2022-08-13 15:55:03 +0200
commite577f28b630628a068b4c60c1bbd5537fc63153d (patch)
tree53db975851e4df74cf317631ab550f89bbf82e58 /src
parentf0e0e1cd227c08ffd97aa42813a479b8c3ca6d23 (diff)
downloadqxmpp-e577f28b630628a068b4c60c1bbd5537fc63153d.tar.gz
Add README for omemo module
Diffstat (limited to 'src')
-rw-r--r--src/omemo/README.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/omemo/README.md b/src/omemo/README.md
new file mode 100644
index 00000000..57ffc9c2
--- /dev/null
+++ b/src/omemo/README.md
@@ -0,0 +1,25 @@
+QXmpp OMEMO module
+==================
+
+Usage
+-----
+
+QXmpp OMEMO is available as a CMake module. You can use it like this:
+
+```cmake
+find_package(QXmpp COMPONENTS Omemo)
+target_link_libraries(${PROJECT} PRIVATE QXmpp::QXmpp QXmpp::Omemo)
+```
+
+How to use the OMEMO Manager is explained in the code documentation.
+
+Licensing issues
+----------------
+
+QXmppOmemo itself is (like the core) licensed under LGPL-2.1-or-later. However,
+as of today it is linking to `libomemo-c` which uses GPL-3.0. *This means that
+the resulting binaries must be used under the terms of the **GPL-3.0**.*
+
+We might move to a different, more permissive OMEMO library in the future and
+in that case no relicensing would be necessary.
+