111.7. olm-3.2.16
The olm and megolm end-to-end encryption ratchets of Matrix
3.2.16-1 · Apache-2.0 · 0.6 SBU · 305.9 KiB, 16 files · 41_system, 270 of 1047 · ports/core/chat/olm
Homepage: https://gitlab.matrix.org/matrix-org/olm
Required by (3): libquotient, mtxclient, nheko.
Sources: olm-3.2.16.tar.gz (2.8 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install olm'
build.sh:
cmake -S . -B build -G Ninja \
-D CMAKE_POLICY_VERSION_MINIMUM=3.5 \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D BUILD_SHARED_LIBS=ON \
-D OLM_TESTS=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
Libraries: libolm.so.
Directories: /usr/include/olm, /usr/lib/cmake/Olm, /usr/share/licenses/olm.