Files
2026-05-17 22:31:58 +04:00

53 lines
1.9 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup github 1.0
PortGroup cmake 1.1
PortGroup boost 1.0
github.setup Nheko-Reborn mtxclient 0.9.2 v
# Change github.tarball_from to 'releases' or 'archive' with next version update
github.tarball_from tarball
epoch 2
revision 15
checksums rmd160 4584fdcd4d6632a531343f235ec2258f7ba38204 \
sha256 14df722738830510edf8768b24648568d46f392953c9b2f8d1bf749f0c12435d \
size 623578
categories net chat devel
license GPL-3
maintainers nomaintainer
description Client API for Matrix
long_description Client API library for the Matrix protocol, built on top of Boost.Asio.
compiler.cxx_standard \
2020
# base does not yet know about c++20 so manually blacklist Xcode clangs for now
compiler.blacklist-append clang
configure.args-append \
-DBUILD_LIB_TESTS=OFF \
-DBUILD_LIB_EXAMPLES=OFF \
-DOPENSSL_ROOT_DIR=${prefix}/include/openssl
depends_build-append \
path:bin/pkg-config:pkgconfig \
port:nlohmann-json
depends_lib-append \
path:lib/libssl.dylib:openssl \
port:abseil \
port:coeurl \
port:libevent \
port:libsodium \
port:olm \
port:re2 \
port:spdlog-fmt8
# Note: The version of libfmt used, should match what spdlog uses once
# a new release is available. nheko must also use that version as well.
cmake.prefix_path-prepend \
${prefix}/lib/libfmt8/cmake \
${prefix}/libexec/spdlog-fmt8