111.8. mtxclient-0.10.1
Client library for the Matrix protocol, with olm end-to-end encryption
0.10.1-1 · MIT · 2.8 SBU · 8.8 MiB, 94 files · 41_system, 276 of 1047 · ports/core/chat/mtxclient
Homepage: https://github.com/Nheko-Reborn/mtxclient
Depends on: cmake, ninja, pkgconf, openssl, olm, nlohmann-json, re2, libevent, curl, coeurl, spdlog, fmt.
Required by (1): nheko.
Sources: mtxclient-0.10.1.tar.gz (621.1 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install mtxclient'
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 BUILD_LIB_TESTS=OFF \
-D BUILD_LIB_EXAMPLES=OFF \
-D HUNTER_ENABLED=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
Libraries: libmatrix_client.so.
Directories: /usr/include/mtx, /usr/include/mtxclient, /usr/lib/cmake/MatrixClient, /usr/share/licenses/mtxclient.