# -*- 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 compiler_blacklist_versions 1.0 PortGroup boost 1.0 github.setup Nheko-Reborn mtxclient 0.9.2 v epoch 2 revision 11 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 \ -DOLM_INCLUDE_DIR=${prefix}/include/olm \ -DOLM_LIBRARY=${prefix}/lib/libolm.a \ -DOPENSSL_ROOT_DIR=${prefix}/include/openssl \ -DSODIUM_ROOT_DIR=${prefix}/include/ \ -Dsodium_INCLUDE_DIR=${prefix}/include \ -Dsodium_LIBRARY_RELEASE=${prefix}/lib/libsodium.dylib \ depends_build-append \ path:lib/libssl.dylib:openssl \ port:coeurl \ port:libevent \ port:nlohmann-json \ port:olm \ port:pkgconfig \ port:spdlog-fmt8 depends_lib-append \ port:abseil \ port:libsodium \ port:olm \ port:re2 # 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.module_path-prepend \ ${prefix}/lib/libfmt8/cmake \ ${prefix}/libexec/spdlog-fmt8/lib/cmake